:root {
  --white: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --slate: #6e6e73;
  --steel: #86868b;
  --hair: #d6d6d6;
  --blue: #0071e3;
  --blue-ink: #0066cc;
  --orange: #b64400;
  --green: #1d8a3a;
  --r-card: 28px;
  --r-pill: 9999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.wide { width: min(1320px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 28px; letter-spacing: -0.025em; }
.brand:hover { text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink); opacity: 0.8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 720px) { .nav-links .opt { display: none; } .nav-links { gap: 16px; } .nav-in { height: 60px; } .brand { font-size: 22px; gap: 9px; } .brand img { width: 38px; height: 38px; border-radius: 9px; } }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--r-pill); padding: 11px 22px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  border: 0; cursor: pointer; font-family: inherit;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.pill:hover { text-decoration: none; }
.pill:active { transform: scale(0.97); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: #0077ed; }
.pill-ghost { background: transparent; color: var(--blue-ink); border: 1px solid var(--blue-ink); }
.pill-ghost:hover { background: rgba(0, 113, 227, 0.06); }
.pill-sm { padding: 6px 14px; font-size: 13px; }

/* Type */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--orange); margin: 0 0 10px; letter-spacing: -0.01em; }
.h-hero { font-size: clamp(48px, 9vw, 112px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; margin: 0; }
.h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; margin: 0; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--slate); font-weight: 500; letter-spacing: -0.02em; margin: 16px 0 0; max-width: 34ch; }
.muted { color: var(--slate); }
.dim { color: var(--steel); }

/* Sections */
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 160px) 0; }
.mist { background: var(--mist); }
.card { background: var(--white); border-radius: var(--r-card); overflow: hidden; position: relative; }
.mist .card { background: var(--white); }
.card-mist { background: var(--mist); border-radius: var(--r-card); overflow: hidden; position: relative; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-scale { opacity: 0; transform: scale(0.94); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.rv-scale.in { opacity: 1; transform: none; }

/* Footer */
.foot { background: var(--mist); color: var(--slate); font-size: 12px; padding: 36px 0 48px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.foot a { color: var(--ink); opacity: 0.8; }
.foot-bot { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Legal and support pages */
.doc { padding: 72px 0 120px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.06; letter-spacing: -0.04em; margin: 0 0 8px; }
.doc .updated { color: var(--steel); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.doc p, .doc li { color: #333336; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout { background: var(--mist); border-radius: var(--r-card); padding: 28px 32px; margin: 0 0 8px; }
.callout p { margin: 0; font-size: 21px; line-height: 1.38; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; }
.faq details { border-top: 1px solid var(--hair); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-scale { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}
