:root {
  --bg: #fff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --accent: #0071e3;
  --dark: #111113;
  --radius: 28px;
  --max: 1120px;
  --phone: 272px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(42px, 5.6vw, 68px); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(32px, 3.8vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.015em; }
p { color: var(--muted); }

.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; background: #fff; padding: 12px 16px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { top: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header-inner { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; }
.desktop-nav { display: flex; gap: 32px; margin-inline: auto; font-size: 14px; color: var(--muted); }
.desktop-nav a, .footer-links a, .mobile-menu a { transition: color 0.2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .footer-links a:hover { color: var(--ink); }
.header-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-action { background: var(--ink); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 550; transition: background 0.2s ease; }
.header-action:hover { background: #3a3a3c; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 11px 10px; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--ink); margin: 5px 0; border-radius: 1px; transition: transform 0.2s ease; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Shared */
.eyebrow { color: var(--accent); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.lede { font-size: 19px; line-height: 1.6; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 550; white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.button:active { transform: scale(0.98); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #3a3a3c; }
.button-secondary { background: var(--surface); color: var(--ink); }
.button-secondary:hover { background: #e8e8ed; }
.arrow-link { display: inline-flex; gap: 6px; font-weight: 550; color: var(--accent); }
.arrow-link span { transition: transform 0.2s ease; }
.arrow-link:hover span { transform: translateX(3px); }
.section { padding-block: 120px; }

/* Phone mockup: every screenshot uses the same frame, size, and shadow. */
.phone {
  width: var(--phone);
  aspect-ratio: 1320 / 2868;
  padding: calc(var(--phone) * 0.026);
  border-radius: calc(var(--phone) * 0.155);
  background: #0b0b0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08), 0 24px 60px -12px rgba(0, 0, 0, 0.25), 0 8px 20px -8px rgba(0, 0, 0, 0.15);
  flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--phone) * 0.13); }
.stage { display: flex; justify-content: center; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 56px 32px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding-block: 72px 48px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 480px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine-print { font-size: 14px; margin-top: 20px; color: #86868b; }
.stage-hero { background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--surface) 60%); padding-block: 64px; }

/* Providers */
.providers { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px; padding-block: 40px 16px; }
.providers p { font-size: 14px; }
.providers ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.providers li { font-size: 14px; font-weight: 550; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: #424245; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy .lede { max-width: 480px; }
.check-list { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #424245; }
.check-list svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.steps { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; }
.steps li > span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); font-size: 14px; font-weight: 600; }
.steps strong { font-size: 17px; font-weight: 600; }
.steps p { font-size: 15px; margin-top: 2px; }
.note { font-size: 14px; margin-top: 28px; color: #86868b; max-width: 440px; }

/* Cards */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-copy { padding: 44px 44px 0; }
.card-copy h3 { font-size: 28px; margin-bottom: 10px; }
.card-copy p { font-size: 16px; max-width: 420px; }
.stage-card { background: transparent; padding: 44px 32px 56px; flex: 1; align-items: flex-end; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.mini-grid > div { padding: 32px; border: 1px solid var(--line); border-radius: 22px; }
.mini-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--ink); margin-bottom: 20px; }
.mini-grid h3 { font-size: 18px; margin-bottom: 8px; }
.mini-grid p { font-size: 15px; }

/* Privacy */
.privacy-card { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: var(--dark); border-radius: var(--radius); padding: 72px; }
.privacy-card .eyebrow { color: #6cb4ff; }
.privacy-card h2 { color: #fff; }
.privacy-card p:not(.eyebrow) { color: #a1a1a6; font-size: 17px; margin-bottom: 20px; }
.privacy-card .arrow-link { color: #6cb4ff; }

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 16px; height: 16px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 7px; left: 0; width: 16px; height: 2px; border-radius: 1px; background: var(--muted); transition: transform 0.25s ease; }
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { transform: rotate(0); }
.faq-list details p { font-size: 16px; line-height: 1.65; padding: 0 40px 24px 0; }
.faq-list details a, .support-footer a { color: var(--accent); }

/* Closing CTA */
.cta-section { padding-bottom: 120px; }
.cta { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--surface); border-radius: var(--radius); padding: 80px 32px; }
.cta img { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 24px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3); }
.cta h2 { margin-bottom: 12px; }
.cta p { margin-bottom: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { display: flex; justify-content: space-between; gap: 64px; padding-block: 56px; }
.footer-top p { font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; gap: 80px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links span { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-block: 20px; color: #86868b; font-size: 13px; }

/* Legal pages */
.legal-page { padding-block: 80px 120px; }
.legal-layout { display: grid; grid-template-columns: 200px minmax(0, 700px); gap: 96px; align-items: start; }
.legal-aside { position: sticky; top: 104px; }
.legal-aside .eyebrow { color: var(--ink); font-size: 13px; }
.legal-aside nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.legal-aside a:hover { color: var(--ink); }
.legal-content h1, .support-hero h1, .not-found h1 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 12px; }
.legal-updated { font-size: 14px; color: #86868b; }
.legal-lede { font-size: 19px; line-height: 1.6; color: #424245; margin: 32px 0 48px; }
.legal-content section { scroll-margin-top: 96px; border-top: 1px solid var(--line); padding: 32px 0; }
.legal-content section h2 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 12px; }
.legal-content section p { font-size: 16px; line-height: 1.75; margin-bottom: 12px; }
.legal-content section p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--accent); }

/* Support */
.support-hero { padding-block: 96px 64px; max-width: 760px; }
.support-hero > p:not(.eyebrow) { font-size: 19px; line-height: 1.6; margin: 8px 0 32px; }
.support-pending { font-size: 15px !important; }
.support-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 80px; }
.support-card { background: var(--surface); border-radius: 22px; padding: 32px; }
.support-card > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 600; }
.support-card h2 { font-size: 20px; margin: 24px 0 8px; letter-spacing: -0.015em; }
.support-card p { font-size: 15px; }
.support-footer { border-top: 1px solid var(--line); padding-block: 48px 96px; }
.support-footer h2 { font-size: 24px; margin-bottom: 8px; }
.support-footer p { font-size: 16px; }

.not-found { min-height: 60vh; padding-block: 140px; }
.not-found p:not(.eyebrow) { font-size: 19px; margin-bottom: 28px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  :root { --phone: 248px; }
  .hero, .split { gap: 48px; }
  .card-copy { padding: 36px 32px 0; }
  .privacy-card { padding: 56px; gap: 40px; }
}

@media (max-width: 800px) {
  :root { --phone: 240px; }
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { height: 56px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .section { padding-block: 80px; }
  .lede { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 24px; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .stage { padding: 40px 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-copy { order: 0; }
  .card-grid, .mini-grid, .support-content { grid-template-columns: 1fr; }
  .card-copy { padding: 32px 28px 0; }
  .card-copy h3 { font-size: 24px; }
  .stage-card { padding: 32px 24px 40px; }
  .mini-grid > div { padding: 28px; }
  .section-head { margin-bottom: 40px; }
  .privacy-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 16px; }
  .cta { padding: 56px 24px; }
  .cta-section { padding-bottom: 80px; }
  .footer-top { flex-direction: column; gap: 40px; padding-block: 48px; }
  .footer-links { gap: 56px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .legal-page { padding-block: 48px 80px; }
  .legal-layout { display: block; }
  .legal-aside { display: none; }
  .legal-lede { font-size: 17px; margin: 24px 0 40px; }
  .support-hero { padding-block: 64px 48px; }
  .support-content { padding-bottom: 56px; }
  .not-found { padding-block: 96px; }
}

@media (max-width: 420px) {
  :root { --phone: 220px; }
  .actions { flex-direction: column; }
  .actions .button { width: 100%; }
  .footer-links { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
