/* Licensed — public pages.
   The app's identity (DESIGN_SYSTEM.md): navy with one gold light, SF Pro, rounded numerals,
   the navy hero as the one deep surface. None of the tells §12 lists: no cream-and-serif,
   no muted gold, no left-ruled callouts, no all-caps labels. Nothing loads from another site. */

:root {
  --ink: #161210;
  --ink2: #6F6964;
  --paper: #FFFFFF;
  --stone: #F5F3F0;
  --line: #E7E5E0;
  --accent: #22477D;
  --accent-hover: #1B3A66;
  --on-accent: #FFFFFF;
  --mist: #F5F9FF;
  --gold: #FDB515;
  --hero-top: #1B3A66;
  --hero-bottom: #0C2340;
  --frame: #0B0C0E;
  --wrap: 1080px;
  --gutter: 24px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F5F5F7;
    --ink2: #B5B5BC;
    --paper: #08090C;
    --stone: #111317;
    --line: #2D3136;
    --accent: #94B9F1;
    --accent-hover: #B4CEF5;
    --on-accent: #0C2340;
    --mist: #171D26;
    --hero-top: #132E53;
    --hero-bottom: #06162C;
    --frame: #1D1F23;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 28px; font-size: 15px; }
.site-nav a { color: var(--ink2); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }

/* Home: hero */
.hero { background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom)); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero-copy { padding-bottom: 72px; }
.hero h1 { font-size: 54px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 20px; }
.hero p { font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); margin: 0 0 28px; max-width: 34em; }
.availability { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.availability strong { color: #fff; font-weight: 600; }
.store-note { display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 10px 16px; color: #fff; font-weight: 600; }
.hero-device { align-self: end; justify-self: center; transform: translateY(24px); }

/* Device frame around real app captures */
.device { background: var(--frame); border-radius: 46px; padding: 9px; width: 300px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.35); }
.device img { border-radius: 38px; width: 100%; }
.hero .device { width: 320px; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.45); }

/* Home: feature rows */
.feature { padding: 96px 0; }
.feature.alt { background: var(--stone); }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature .device { justify-self: center; }
.feature h2 { font-size: 38px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 16px; }
.feature p { font-size: 19px; color: var(--ink2); margin: 0 0 14px; max-width: 30em; }
.feature p strong { color: var(--ink); font-weight: 600; }

/* Home: states */
.states { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head h2 { font-size: 38px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 12px; }
.section-head p { font-size: 19px; color: var(--ink2); margin: 0; }
.state-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.state { padding: 28px 28px 8px 0; }
.state + .state { padding-left: 28px; border-left: 1px solid var(--line); }
.state h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 18px; }
.figure { font-family: var(--rounded); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.figure-label { font-size: 15px; color: var(--ink2); margin: 6px 0 20px; }
.state dl { margin: 0; font-size: 15px; }
.state dt { color: var(--ink2); }
.state dd { margin: 0 0 12px; color: var(--ink); }

/* Home: privacy and pricing band */
.band { background: var(--mist); padding: 72px 0; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.band h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 10px; }
.band p { margin: 0; color: var(--ink2); font-size: 17px; }

.disclaimer { padding: 40px 0 0; font-size: 14px; color: var(--ink2); max-width: 60em; }

/* Documents: privacy, terms, support, 404 */
.doc { padding: 64px 0 24px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 10px; }
.doc .meta { color: var(--ink2); font-size: 15px; margin: 0 0 36px; }
.doc h2 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; margin: 40px 0 10px; }
.doc p { margin: 0 0 14px; }
.summary { background: var(--mist); border-radius: 16px; padding: 22px 26px; margin: 0 0 8px; font-size: 18px; }
.summary p { margin: 0; }
.summary a { font-weight: 600; }

/* Footer */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--ink2); }
.home .site-footer { margin-top: 72px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink2); }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin: 0; }

/* Narrow screens */
@media (max-width: 860px) {
  .hero .wrap, .feature .wrap, .band .wrap { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; gap: 8px; }
  .hero-copy { padding-bottom: 32px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 18px; }
  .feature { padding: 64px 0; }
  .feature .wrap { gap: 40px; }
  .feature.flip .feature-copy { order: 0; }
  .feature h2, .section-head h2 { font-size: 30px; }
  .feature p, .section-head p { font-size: 17px; }
  .states { padding: 64px 0; }
  .state-list { grid-template-columns: 1fr; }
  .state, .state + .state { padding: 24px 0 8px; border-left: 0; }
  .state + .state { border-top: 1px solid var(--line); }
  .doc { padding-top: 40px; }
  .doc h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .site-nav { gap: 18px; }
  .hero .device { width: 260px; }
  .device { width: 250px; border-radius: 40px; padding: 8px; }
  .device img { border-radius: 33px; }
}
