/*
 * DwellAtlas marketing site — v6 "Field Guide" design system.
 * Rebuilt 2026-05-30. Cartographic, editorial, premium.
 * Identity comes from the brand mark itself: a compass + house in teal.
 * Palette: Obsidian ink, Atlas teal, Compass mint, Compass gold, warm Ivory.
 * Type: Inter for everything readable; IBM Plex Mono for coordinates, plate
 *       numbers, and figures (the instrument layer). No display serifs (rule #16).
 * Signature texture: faint topographic contour rings + corner survey ticks.
 * Light theme default with intrinsically dark hero / bands / footer.
 * Dark theme via [data-theme="dark"], toggled bottom-right, saved to localStorage.
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
  /* Brand constants (do not flip with theme) — taken from the app mark */
  --obsidian: #0B1220;
  --navy: #0F172A;
  --atlas-teal: #0E7490;     /* deep teal from the chevron/needle */
  --teal: #14B8A6;
  --mint: #5EEAD4;           /* the "Atlas" wordmark color */
  --ocean: #0369A1;
  --gold: #D4A24C;           /* compass gold */
  --gold-soft: #E4BE78;
  --ivory: #F5F1E6;

  /* Always-dark surfaces (hero, system band, closing, footer) */
  --ink-bg: #0B1220;
  --ink-surface: #111C30;
  --ink-surface-2: #0E1626;
  --ink-border: rgba(255, 255, 255, 0.10);
  --ink-hair: rgba(255, 255, 255, 0.07);
  --ink-text: #EAF1F8;
  --ink-text-muted: rgba(234, 241, 248, 0.58);
  --ink-accent: #5EEAD4;     /* mint reads bright + premium on ink */

  /* Semantic tokens (flip with theme) */
  --bg: #F5F1E6;             /* warm ivory */
  --surface: #FCFAF3;
  --surface-2: #EFEADC;
  --text: #10161F;
  --text-secondary: #4B5562;
  --text-muted: #8C8675;     /* warm muted, not cool gray */
  --border: #E2DCCB;
  --border-strong: #D2CAB3;
  --hair: #E2DCCB;
  --accent: #0E6E78;         /* atlas teal darkened for AA on ivory */
  --accent-ink: #0A565E;
  --gold-ink: #98712B;       /* gold darkened so it passes as text on ivory */
  --emerald-bright: #34D399; /* section labels on ink bands; referenced inline but undefined until 2026-06-12 */

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05), 0 2px 8px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 10px 28px rgba(11, 18, 32, 0.10), 0 2px 6px rgba(11, 18, 32, 0.05);
  --shadow-lg: 0 30px 70px rgba(11, 18, 32, 0.16), 0 10px 26px rgba(11, 18, 32, 0.08);

  --max-width: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #080D17;
  --surface: #111C30;
  --surface-2: #0E1626;
  --text: #EAF1F8;
  --text-secondary: #B7C2D0;
  --text-muted: #7E8A9C;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --hair: rgba(255, 255, 255, 0.09);
  --accent: #2DD4BF;
  --accent-ink: #5EEAD4;
  --gold-ink: var(--gold-soft);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 34px 76px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv05" 1, "ss01" 1;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg { display: block; max-width: 100%; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 820px; }

/* Tabular / mono figures */
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

/* ------------------------------------------------------------------ */
/* Typography                                                          */
/* ------------------------------------------------------------------ */
h1, h2, h3 { letter-spacing: -0.026em; line-height: 1.06; color: var(--text); }

/* Coordinate / plate eyebrow — the instrument label */
.eyebrow,
.section-label {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block;
}
.on-ink .section-label,
.band-ink .section-label { color: var(--ink-accent); }
.on-ink .section-label::before,
.band-ink .section-label::before { background: var(--ink-accent); }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; font-family: inherit; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--atlas-teal); color: #F4FEFB;
  box-shadow: 0 8px 22px rgba(14, 116, 144, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); background: #0B6276; box-shadow: 0 14px 32px rgba(14, 116, 144, 0.38); }
.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--text); }
/* On dark surfaces */
.on-ink .btn--primary { background: var(--mint); color: #04231F; box-shadow: 0 8px 24px rgba(94, 234, 212, 0.22); }
.on-ink .btn--primary:hover { background: #7FF0DD; box-shadow: 0 14px 34px rgba(94, 234, 212, 0.30); }
.on-ink .btn--ghost { color: var(--ink-text); border-color: rgba(255,255,255,0.26); }
.on-ink .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn--sm { padding: 10px 17px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header nav { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18.5px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -0.025em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin-left: 16px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 14.5px;
  position: relative; transition: color 0.15s; letter-spacing: -0.01em; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.22s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-spacer { flex: 1; }
.nav-signin {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-secondary); text-decoration: none;
  transition: color 0.18s; margin-right: 6px; white-space: nowrap;
}
.nav-signin:hover { color: var(--text); }
.nav-cta { margin-left: 2px; }

/* ------------------------------------------------------------------ */
/* Cartographic helpers                                                */
/* ------------------------------------------------------------------ */
/* Faint topographic contour rings, used behind dark surfaces */
.contours::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background:
    repeating-radial-gradient(circle at 86% 6%, transparent 0 47px, rgba(94,234,212,0.05) 47px 48px),
    repeating-radial-gradient(circle at 12% 96%, transparent 0 55px, rgba(212,162,76,0.045) 55px 56px);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 90% at 60% 30%, #000 30%, transparent 80%);
}
/* Survey corner ticks on cards/plates */
.ticked { position: relative; }
.ticked::before, .ticked::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
  border-color: var(--accent); opacity: 0.4;
}
.ticked::before { top: 12px; left: 12px; border-top: 1.5px solid; border-left: 1.5px solid; }
.ticked::after { bottom: 12px; right: 12px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* ------------------------------------------------------------------ */
/* Hero (always dark)                                                  */
/* ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink-bg); color: var(--ink-text);
  padding: 78px 0 70px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 72% -6%, rgba(20,184,166,0.18), transparent 60%),
    radial-gradient(720px 520px at 96% 14%, rgba(3,105,161,0.30), transparent 62%),
    radial-gradient(640px 520px at 4% 24%, rgba(212,162,76,0.08), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background:
    repeating-radial-gradient(circle at 88% 4%, transparent 0 44px, rgba(94,234,212,0.06) 44px 45px),
    repeating-radial-gradient(circle at 88% 4%, transparent 0 132px, rgba(94,234,212,0.04) 132px 133px);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 75% 25%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 75% 25%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px;
  border: 1px solid var(--ink-border); border-radius: var(--radius-pill);
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-text-muted); background: rgba(255,255,255,0.03); margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(94,234,212,0.16); }
.hero h1 { font-size: clamp(42px, 5.6vw, 70px); font-weight: 800; letter-spacing: -0.038em; margin-bottom: 18px; color: var(--ink-text); }
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 0%, var(--mint) 52%, var(--gold-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub-headline { font-size: clamp(17px, 1.9vw, 20px); font-weight: 600; color: var(--ink-text); margin-bottom: 12px; letter-spacing: -0.01em; }
.hero .lede { font-size: 16.5px; color: var(--ink-text-muted); max-width: 520px; margin-bottom: 30px; line-height: 1.65; }
.hero .cta-row { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 14px 26px; flex-wrap: wrap; margin-top: 30px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-text-muted); font-weight: 500; }
.hero-proof svg { width: 16px; height: 16px; color: var(--mint); }

/* Hero visual — the "Portfolio Plate": a precise survey instrument, not a glass card */
.hero-visual { position: relative; }
.plate-card {
  position: relative;
  background: linear-gradient(180deg, #131F36 0%, #0D1525 100%);
  border: 1px solid var(--ink-border); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 20px 20px 22px;
}
.plate-card::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(94,234,212,0.10); border-radius: 9px; pointer-events: none;
}
.plate-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; position: relative; z-index: 1; }
.plate-head .pid { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-accent); text-transform: uppercase; }
.plate-head .pcoord { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-text-muted); }
.plate-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 13px; position: relative; z-index: 1; }
.plate-kpi { background: rgba(255,255,255,0.035); border: 1px solid var(--ink-border); border-radius: 11px; padding: 12px 12px; }
.plate-kpi .k-label { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-text-muted); margin-bottom: 7px; }
.plate-kpi .k-value { font-size: 20px; font-weight: 750; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plate-kpi .k-value.gold { color: var(--gold-soft); }
.plate-kpi .k-delta { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--mint); margin-top: 4px; }
.plate-chart { background: rgba(255,255,255,0.025); border: 1px solid var(--ink-border); border-radius: 11px; padding: 13px 14px; position: relative; z-index: 1; }
.plate-chart .c-label { font-family: var(--mono); font-size: 10px; color: var(--ink-text-muted); margin-bottom: 12px; display: flex; justify-content: space-between; letter-spacing: 0.03em; }
.plate-chart .c-label .up { color: var(--mint); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--mint), var(--atlas-teal)); display: block; opacity: 0.92; }
.bars i:nth-child(7) { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); }
.plate-float {
  position: absolute; right: -10px; bottom: -16px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 13px; padding: 11px 14px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 11px; font-size: 12.5px; font-weight: 600; z-index: 2;
}
.plate-float .pill { width: 32px; height: 32px; border-radius: 9px; background: rgba(14,110,120,0.12); color: var(--accent); display: grid; place-items: center; }
.plate-float small { display: block; color: var(--text-muted); font-weight: 500; font-size: 11px; margin-top: 1px; }

/* ------------------------------------------------------------------ */
/* Positioning strip                                                   */
/* ------------------------------------------------------------------ */
.trust { padding: 26px 0; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.trust .container { display: flex; align-items: center; justify-content: center; gap: 14px 48px; flex-wrap: wrap; text-align: center; }
.trust p { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.trust .stat { font-weight: 700; color: var(--text); }

/* ------------------------------------------------------------------ */
/* Generic section                                                     */
/* ------------------------------------------------------------------ */
section { position: relative; }
.section { padding: 74px 0; }
.section--tight { padding: 52px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 15px 0 14px; letter-spacing: -0.03em; }
.section-head p { font-size: 17px; color: var(--text-secondary); line-height: 1.6; }

/* ------------------------------------------------------------------ */
/* Plates — the indexed "field guide" feature legend                   */
/* ------------------------------------------------------------------ */
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--border-strong); }
.plate {
  display: grid; grid-template-columns: 34px 1fr; gap: 18px;
  padding: 24px 4px; border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}
.plate:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.plate .no { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--gold-ink); letter-spacing: 0.04em; padding-top: 3px; }
.plate .ptitle { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.plate .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.plate .ic svg { width: 17px; height: 17px; }
.plate h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.plate p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ------------------------------------------------------------------ */
/* The System (capture / organize / decide) — dark band               */
/* ------------------------------------------------------------------ */
.band-ink { background: var(--ink-bg); color: var(--ink-text); position: relative; overflow: hidden; }
.band-ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 420px at 82% 0%, rgba(20,184,166,0.13), transparent 60%),
              radial-gradient(620px 420px at 8% 100%, rgba(212,162,76,0.09), transparent 60%);
}
.band-ink .container { position: relative; z-index: 1; }
.band-ink .section-head h2 { color: var(--ink-text); }
.band-ink .section-head p { color: var(--ink-text-muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink-border); }
.step { padding: 30px 28px 30px 0; border-right: 1px solid var(--ink-hair); }
.step:last-child { border-right: none; padding-right: 0; }
.step .num { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--gold-soft); letter-spacing: 0.1em; margin-bottom: 16px; }
.step .num b { color: var(--ink-accent); font-weight: 600; }
.step h3 { font-size: 19px; font-weight: 700; color: var(--ink-text); margin-bottom: 9px; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--ink-text-muted); line-height: 1.62; }

/* ------------------------------------------------------------------ */
/* Intelligence (the data) — dark band                                 */
/* ------------------------------------------------------------------ */
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.data-grid h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; margin: 14px 0 16px; color: var(--ink-text); letter-spacing: -0.03em; }
.data-grid .data-lede { color: var(--ink-text-muted); font-size: 16px; margin-bottom: 24px; line-height: 1.65; }
.data-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.data-stat { background: rgba(255,255,255,0.035); border: 1px solid var(--ink-border); border-radius: 13px; padding: 22px 20px; }
.data-stat .v { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; color: #fff; font-variant-numeric: tabular-nums; }
.data-stat .v.gold { color: var(--gold-soft); }
.data-stat .l { font-size: 13px; color: var(--ink-text-muted); margin-top: 7px; font-weight: 500; }
.data-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.data-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink-text); }
.data-list svg { width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; margin-top: 1px; }

/* ------------------------------------------------------------------ */
/* Pricing / Plans                                                     */
/* ------------------------------------------------------------------ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.pcard li.soon { color: var(--text-muted); }
.pcard li.soon svg { color: var(--text-muted); }
.soon-tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 1px 7px; margin-left: 6px; white-space: nowrap; }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.pcard.featured { border-color: var(--gold); border-width: 1.5px; box-shadow: var(--shadow-md); }
.pcard .ptier { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.pcard.featured .ptier { color: var(--text); }
.badge-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #2a1c05; padding: 4px 11px; border-radius: var(--radius-pill); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.pcard .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pcard .price small { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-left: 4px; letter-spacing: 0; }
.pcard .psummary { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.pcard ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pcard li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.5; }
.pcard li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.pcard .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 26px; }
.price-note a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.price-note a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------ */
/* Closing / Waitlist (always dark)                                    */
/* ------------------------------------------------------------------ */
.waitlist { background: var(--ink-bg); color: var(--ink-text); text-align: center; overflow: hidden; position: relative; }
.waitlist::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 400px at 50% 0%, rgba(20,184,166,0.18), transparent 62%);
}
.waitlist::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: repeating-radial-gradient(circle at 50% -10%, transparent 0 60px, rgba(94,234,212,0.045) 60px 61px);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%);
}
.waitlist .container { position: relative; z-index: 1; max-width: 700px; }
.waitlist h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; color: var(--ink-text); margin-bottom: 14px; letter-spacing: -0.03em; }
.waitlist p.sub { font-size: 17px; color: var(--ink-text-muted); margin-bottom: 30px; }
.wl-form { display: flex; gap: 11px; max-width: 500px; margin: 0 auto; }
.wl-form input {
  flex: 1; padding: 15px 17px; border-radius: var(--radius-sm); font-size: 15.5px; font-family: inherit;
  background: rgba(255,255,255,0.05); border: 1.5px solid var(--ink-border); color: #fff;
  transition: border-color 0.18s, background 0.18s;
}
.wl-form input::placeholder { color: rgba(234,241,248,0.42); }
.wl-form input:focus { outline: none; border-color: var(--mint); background: rgba(255,255,255,0.08); }
.wl-form .btn { flex-shrink: 0; }
.wl-signin { font-size: 13px; color: var(--ink-text-muted); margin-top: 14px; }
.wl-signin a { color: var(--mint); font-weight: 600; text-decoration: none; }
.wl-signin a:hover { text-decoration: underline; text-underline-offset: 2px; }
.wl-micro { font-size: 12.5px; color: var(--ink-text-muted); margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; }
.wl-micro::before {
  content: ""; width: 15px; height: 15px; flex-shrink: 0; background: var(--mint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 12l2 2 4-4' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 12l2 2 4-4' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wl-status { margin-top: 20px; font-size: 15px; font-weight: 600; min-height: 22px; }
.wl-status.ok { color: var(--mint); }
.wl-status.err { color: #FCA5A5; }
.wl-success {
  display: none; max-width: 500px; margin: 0 auto; padding: 26px; border-radius: var(--radius);
  background: rgba(20,184,166,0.10); border: 1px solid rgba(94,234,212,0.32);
}
.wl-success .check { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: #04231F; display: grid; place-items: center; margin: 0 auto 14px; }
.wl-success h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.wl-success p { color: var(--ink-text-muted); font-size: 15px; }

/* ------------------------------------------------------------------ */
/* Footer (always dark)                                                */
/* ------------------------------------------------------------------ */
.site-footer { background: #070B14; color: var(--ink-text); padding: 60px 0 38px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; color: #fff; margin-bottom: 14px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-tag { color: var(--ink-text-muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(234,241,248,0.5); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--ink-text-muted); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-credit { font-size: 12.5px; color: rgba(234,241,248,0.4); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-credit .mono { font-family: var(--mono); letter-spacing: 0.02em; }

/* ------------------------------------------------------------------ */
/* Theme toggle                                                        */
/* ------------------------------------------------------------------ */
.theme-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: grid; place-items: center; color: var(--text);
  transition: transform 0.2s var(--ease), background 0.3s, color 0.3s;
}
.theme-toggle:hover { transform: scale(1.08) rotate(-8deg); }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ------------------------------------------------------------------ */
/* Inner content pages (privacy, support, delete-account, features)    */
/* ------------------------------------------------------------------ */
.page-hero { background: var(--ink-bg); color: var(--ink-text); padding: 70px 0 58px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 30% 0%, rgba(20,184,166,0.15), transparent 60%); pointer-events: none; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: repeating-radial-gradient(circle at 85% 0%, transparent 0 46px, rgba(94,234,212,0.05) 46px 47px);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 10%, #000 30%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; margin: 14px 0 12px; color: var(--ink-text); letter-spacing: -0.03em; }
.page-hero p { font-size: 17px; color: var(--ink-text-muted); max-width: 640px; }

.page-content { max-width: 820px; margin: 0 auto; padding: 60px 28px; }
.page-content h2 { font-size: 24px; font-weight: 750; margin: 42px 0 14px; letter-spacing: -0.02em; }
.page-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.page-content p { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.72; }
.page-content ul { margin: 0 0 18px 22px; color: var(--text-secondary); }
.page-content li { margin-bottom: 9px; line-height: 1.65; }
.page-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
[data-theme="dark"] .page-content a { color: var(--accent); }
.last-updated { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--teal); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 28px; font-size: 14px; color: var(--text); }

.faq-block { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 4px 22px; margin-bottom: 12px; transition: border-color 0.2s; }
.faq-block:hover { border-color: var(--border-strong); }
.faq-block summary { font-size: 16px; font-weight: 650; color: var(--text); cursor: pointer; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.2s; }
.faq-block[open] summary::after { transform: rotate(45deg); }
.faq-block p { margin: 0 0 18px; color: var(--text-secondary); font-size: 15px; line-height: 1.65; }

/* ------------------------------------------------------------------ */
/* Scroll reveal                                                       */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.05s; }
.reveal[data-d="2"] { transition-delay: 0.10s; }
.reveal[data-d="3"] { transition-delay: 0.15s; }
.reveal[data-d="4"] { transition-delay: 0.20s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ */
/* Mobile app showcase                                                 */
/* ------------------------------------------------------------------ */
.mobile-showcase { background: var(--surface-2); position: relative; overflow: hidden; }
.mobile-showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background:
    repeating-radial-gradient(circle at 50% 120%, transparent 0 70px, rgba(14,110,120,0.06) 70px 71px),
    repeating-radial-gradient(circle at 50% 120%, transparent 0 210px, rgba(212,162,76,0.05) 210px 211px);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 100%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 100%, #000 30%, transparent 78%);
}
.mobile-showcase .container { position: relative; z-index: 1; }
.mobile-showcase .section-head { margin-bottom: 38px; }

/* Compass rose graphic */
.compass-wrap { position: absolute; top: -40px; right: -60px; width: 280px; height: 280px; opacity: 0.10; pointer-events: none; z-index: 0; color: var(--accent); }
.compass-wrap svg { width: 100%; height: 100%; }

/* Phone trio */
.phone-row { display: flex; justify-content: center; align-items: flex-end; gap: 30px; }
.device {
  position: relative; width: 240px; flex-shrink: 0; border-radius: 40px; padding: 9px;
  background: linear-gradient(165deg, #1b2740 0%, #0c1322 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 44px 90px -28px rgba(11,18,32,0.55), 0 12px 30px rgba(11,18,32,0.20);
}
[data-theme="dark"] .device { box-shadow: 0 44px 90px -24px rgba(0,0,0,0.7); }
.device--raised { margin-bottom: 38px; transform: scale(1.045); z-index: 2; }
.device .screen {
  position: relative; border-radius: 32px; overflow: hidden; background: var(--surface);
  width: 222px; height: 470px; display: flex; flex-direction: column;
}
.device .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0B1220; border-radius: 12px; z-index: 5; }
.device .home-ind { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 92px; height: 4px; border-radius: 4px; background: var(--border-strong); z-index: 5; }

/* Phone screen building blocks */
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 6px; font-family: var(--mono); font-size: 9.5px; color: var(--text); font-weight: 600; }
.ph-status .dots { display: inline-flex; gap: 3px; align-items: center; }
.ph-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--text); opacity: 0.5; display: block; }
.ph-head { padding: 8px 18px 12px; }
.ph-head .eylabel { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.ph-head h4 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; color: var(--text); }
.ph-body { flex: 1; padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ph-hero-stat { background: linear-gradient(150deg, var(--atlas-teal), #0a4f5f); border-radius: 16px; padding: 14px 15px; color: #EAFBFB; }
.ph-hero-stat .l { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.ph-hero-stat .v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; font-variant-numeric: tabular-nums; }
.ph-hero-stat .d { font-family: var(--mono); font-size: 9.5px; margin-top: 4px; color: var(--mint); }
.ph-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 11px; }
.ph-tile .l { font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.ph-tile .v { font-size: 16px; font-weight: 750; color: var(--text); margin-top: 3px; font-variant-numeric: tabular-nums; }
.ph-tile .v.gold { color: var(--gold-ink); }
.ph-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; padding: 10px 12px 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.ph-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--teal), var(--atlas-teal)); display: block; }
.ph-bars i.g { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); }
.ph-list { display: flex; flex-direction: column; gap: 8px; }
.ph-item { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 11px; }
.ph-item .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.ph-item .ic svg { width: 15px; height: 15px; }
.ph-item .ic.gold { background: color-mix(in srgb, var(--gold-ink) 16%, transparent); color: var(--gold-ink); }
.ph-item .t { flex: 1; min-width: 0; }
.ph-item .t b { display: block; font-size: 11.5px; font-weight: 700; color: var(--text); }
.ph-item .t span { font-size: 10px; color: var(--text-muted); }
.ph-item .tag { font-family: var(--mono); font-size: 8.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; letter-spacing: 0.04em; }
.ph-item .tag.done { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }
.ph-item .tag.open { background: color-mix(in srgb, var(--gold-ink) 18%, transparent); color: var(--gold-ink); }
.ph-item .tag.val { background: transparent; color: var(--text); font-weight: 700; }
.ph-check { display: flex; align-items: center; gap: 9px; padding: 9px 2px; border-bottom: 1px solid var(--border); }
.ph-check:last-child { border-bottom: none; }
.ph-check .box { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; }
.ph-check .box.on { background: var(--accent); color: #fff; }
.ph-check .box.on svg { width: 12px; height: 12px; }
.ph-check .box.off { border: 1.5px solid var(--border-strong); }
.ph-check .box.prog { border: 1.5px solid var(--accent); color: var(--accent); }
.ph-check .label { font-size: 12px; font-weight: 600; color: var(--text); flex: 1; }
.ph-check .label.muted { color: var(--text-muted); font-weight: 500; }
.ph-thumbs { display: flex; gap: 6px; margin-top: 2px; }
.ph-thumbs i { flex: 1; height: 38px; border-radius: 8px; background: linear-gradient(150deg, var(--surface-2), var(--border)); border: 1px solid var(--border); display: block; }
.ph-cta { margin-top: auto; background: var(--atlas-teal); color: #F4FEFB; text-align: center; font-size: 12px; font-weight: 700; padding: 11px; border-radius: 11px; }
.ph-tabs { display: flex; justify-content: space-around; align-items: center; padding: 11px 16px 16px; border-top: 1px solid var(--border); background: var(--surface); }
.ph-tabs i { width: 19px; height: 19px; border-radius: 5px; background: var(--border-strong); display: block; opacity: 0.6; }
.ph-tabs i.active { background: var(--accent); opacity: 1; }
.mobile-feats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 30px; margin-top: 42px; }
.mobile-feats span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.mobile-feats svg { width: 18px; height: 18px; color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { max-width: 460px; }
  .plates { grid-template-columns: 1fr; gap: 0; }
  .plates { border-top: none; }
  .plate:first-child { border-top: 1px solid var(--border-strong); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--ink-hair); padding: 26px 0; }
  .step:last-child { border-bottom: none; }
  .data-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .phone-row { gap: 20px; }
  .device--raised { transform: none; margin-bottom: 0; }
  .device:nth-child(3) { display: none; }
}
/* Mobile nav (hamburger), added 2026-06-12. Button hidden on desktop. */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.site-header.on-dark .nav-burger, .nav-burger.on-ink { border-color: var(--ink-border); color: var(--ink-text); }
.nav-burger svg { width: 20px; height: 20px; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 auto 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: 10px 0 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:active { background: var(--surface-2); }

@media (max-width: 680px) {
  .nav-links, .nav-signin { display: none; }
  .section { padding: 54px 0; }
  .section--tight { padding: 40px 0; }
  .hero { padding: 60px 0 56px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .data-stats { grid-template-columns: 1fr 1fr; }
  .wl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .plate-float { display: none; }
  .btn { width: 100%; }
  .hero .cta-row { width: 100%; }
  .phone-row { flex-direction: column; align-items: center; gap: 26px; }
  .device:nth-child(3) { display: block; }
  .device--raised { transform: none; margin-bottom: 0; }
  .compass-wrap { width: 180px; height: 180px; top: -20px; right: -40px; }
}
