/* ═══════════════════════════════════════════════════════════
   HARAZI LANDING — v2 (Phase 1+2: subtraction + typography)
   ───────────────────────────────────────────────────────────
   Closed research desk aesthetic. Inter Tight headings, Inter
   body, JetBrains Mono numerics. Layered grays, 72rem grid,
   clamp() scale, strict 8px vertical rhythm.
   Self-contained — does NOT import base.css (the fixed-height
   app shell would break landing scroll).
   ═══════════════════════════════════════════════════════════ */

/* ── Reset + root ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.landing {
  /* ── Palette ─ */
  --bg:        #0a0b0d;
  --bg-card:   #0e1014;
  --bg-elev:   #14171d;
  --border:    #22262f;
  --border-2:  #1a1d23;
  /* Text */
  --fg:        #edf0f6;
  --fg-mute:   #8b94a1;
  --fg-dim:    #5b6573;
  /* Accents */
  --blue:      #4d8eff;
  --green:     #3ed598;
  --red:       #ff5470;
  --amber:     #ffb547;
  /* Fonts */
  --ff-heading: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background:
    radial-gradient(ellipse 1200px 600px at 50% -200px, rgba(77,142,255,0.06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;   /* iOS: account for the dynamic address bar */
  /* Premium contextual tuning — enables alt 1/l/r glyphs in Inter. */
  font-feature-settings: 'ss01', 'cv11';
}

::selection { background: rgba(77,142,255,0.25); color: var(--fg); }

/* ── Scroll progress ──────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 100; transition: width 80ms linear;
  will-change: width;
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 1.6vw, 20px) clamp(20px, 4vw, 56px);
  background: rgba(10, 11, 13, 0.62);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--border-2);
  background: rgba(10, 11, 13, 0.82);
}

.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); text-decoration: none;
  font-family: var(--ff-heading); font-weight: 700;
  font-size: 14px; letter-spacing: -0.01em;
}
/* The 3D-H IS the first letter of HARAZI — when paired with the SVG
   variant, kill the gap so the icon + "ARAZI" read as one word. */
.nav__mark--logo + .nav__name { margin-left: -6px; letter-spacing: -0.02em; }
.nav__mark {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fg); color: var(--bg);
  font-family: var(--ff-mono); font-weight: 700; font-size: 13px;
  border-radius: 6px;
}
/* Variant when the mark is the 3D SVG logo (post-redesign May 2026).
   Drops the box background so the SVG's gradients sell the depth.
   Subtle hover tilt makes the 3D pop. */
.nav__mark--logo {
  background: transparent;
  width: 30px; height: 30px;
  border-radius: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 220ms cubic-bezier(.2,.8,.3,1), filter 220ms ease;
}
.nav__brand:hover .nav__mark--logo {
  transform: rotate(-4deg) translateY(-1px) scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(77, 142, 255, 0.6));
}
/* Match the SVG H's depth on the wordmark — 3D extrusion in the same
   blue palette. Stays subtle enough to remain readable at 14/11px. */
.nav__name {
  letter-spacing: 0.02em;
  color: #cfddff;
  text-shadow:
    1px 1px 0 #2c5eb8,
    2px 2px 0 #1d57c8,
    3px 3px 0 #0f2c70,
    4px 5px 6px rgba(0, 0, 0, 0.45);
}
.nav__sub {
  color: var(--blue); margin-left: 6px;
  font-family: var(--ff-mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.08em;
  text-shadow:
    1px 1px 0 #1d57c8,
    2px 2px 0 #0f2c70,
    3px 4px 5px rgba(0, 0, 0, 0.45);
}

.nav__links {
  display: inline-flex; align-items: center; gap: clamp(16px, 2.2vw, 32px);
}
.nav__link {
  color: var(--fg-mute); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 6px 0; position: relative;
  transition: color 140ms ease;
}
.nav__link:hover,
.nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--fg);
  border-radius: 2px;
}

/* ── Hamburger (mobile only) ──────────────────────────── */
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  color: var(--fg);
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  transition: border-color 160ms ease, background 160ms ease;
}
.nav__burger:hover { border-color: var(--fg-mute); background: rgba(255,255,255,0.02); }
.nav__burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--fg); border-radius: 2px;
  transition: transform 240ms cubic-bezier(0.32,0.72,0,1), opacity 180ms ease;
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile slide-down sheet ──────────────────────────── */
.mobile-sheet {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none; visibility: hidden;
}
.mobile-sheet.is-open { pointer-events: auto; visibility: visible; }
.mobile-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 200ms ease;
}
.mobile-sheet.is-open .mobile-sheet__backdrop { opacity: 1; }
.mobile-sheet__panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: clamp(14px, 2vw, 18px) clamp(20px, 4vw, 40px) clamp(24px, 3vw, 32px);
  transform: translateY(-18px);
  opacity: 0;
  transition:
    transform 280ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 220ms ease;
  max-height: 100vh; max-height: 100dvh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mobile-sheet.is-open .mobile-sheet__panel {
  transform: translateY(0); opacity: 1;
}
.mobile-sheet__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.mobile-sheet__close {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--fg); cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.mobile-sheet__close:hover { border-color: var(--fg-mute); background: rgba(255,255,255,0.02); }
.mobile-sheet__nav {
  display: flex; flex-direction: column;
  margin-bottom: 20px;
}
.mobile-sheet__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  min-height: 44px;
  font-family: var(--ff-heading); font-weight: 600;
  font-size: 20px; letter-spacing: -0.02em;
  color: var(--fg); text-decoration: none;
  border-bottom: 1px solid var(--border-2);
  transition: color 160ms ease;
}
.mobile-sheet__link:last-child { border-bottom: 1px solid var(--border-2); }
.mobile-sheet__link span {
  color: var(--fg-dim); font-weight: 400; font-family: var(--ff-body);
  transition: transform 180ms ease, color 180ms ease;
}
.mobile-sheet__link:hover span,
.mobile-sheet__link:active span { transform: translateX(4px); color: var(--fg); }
.mobile-sheet__cta {
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-sheet__btn { width: 100%; }

body.sheet-open { overflow: hidden; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--ff-body); font-weight: 600; font-size: 14px;
  text-decoration: none; line-height: 1;
  border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 7px; }
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 9px; }

.btn--primary {
  background: var(--fg); color: var(--bg);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.12) inset, 0 1px 2px rgba(0,0,0,0.4);
}
.btn--primary:hover { transform: translateY(-1px); background: #fff; }

.btn--ghost {
  background: transparent; color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--fg-mute);
  background: rgba(255,255,255,0.02);
}
.btn__arrow { transition: transform 180ms ease; display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Section shell ────────────────────────────────────── */
.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.section__kicker {
  font-family: var(--ff-mono); font-size: 12px; font-weight: 500;
  color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.section__title {
  font-family: var(--ff-heading); font-weight: 700;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--fg);
  max-width: 22ch;
  margin: 0 0 22px;
}
.section__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6; color: var(--fg-mute);
  max-width: 62ch; margin: 0;
}
.section__sub strong { color: var(--fg); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(140px, 20vw, 220px) clamp(20px, 4vw, 56px) clamp(80px, 14vw, 180px);
  max-width: 72rem; margin: 0 auto;
  overflow: hidden;
}
.hero__aura {
  position: absolute; inset: -200px auto auto 50%;
  transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(77,142,255,0.12), transparent 55%);
  pointer-events: none; z-index: 0;
  filter: blur(30px);
}
.hero__inner { position: relative; z-index: 1; max-width: 920px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--ff-mono); font-size: 12px; font-weight: 500;
  color: var(--fg-mute);
  margin-bottom: clamp(22px, 2.6vw, 34px);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(62,213,152,0.18);
  animation: eyebrow-pulse 2.4s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(62,213,152,0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(62,213,152,0.08); }
}

.hero__title {
  font-family: var(--ff-heading); font-weight: 700;
  font-size: clamp(44px, 7.8vw, 104px);
  line-height: 1.0; letter-spacing: -0.038em;
  color: var(--fg); margin: 0 0 clamp(18px, 2vw, 28px);
}
.hero__title-accent {
  background: linear-gradient(180deg, var(--fg) 0%, var(--fg-mute) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--fg-mute);
  max-width: 58ch;
  margin: 0 0 clamp(28px, 3.8vw, 44px);
}
.hero__sub strong { color: var(--fg); font-weight: 600; }

.hero__cta {
  display: inline-flex; flex-wrap: wrap; gap: 12px;
}

/* ── Live status strip ────────────────────────────────── */
/* Sits between the hero and features. Four tiles, mono
   values, hairline borders. Server-rendered — the numbers
   are real, not decorative. */
.status-strip {
  padding: 0 clamp(20px, 4vw, 56px);
  margin: 0 auto;
  max-width: 72rem;
}
.status-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  background: rgba(14, 16, 20, 0.55);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
}
.status-tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
  border-left: 1px solid var(--border-2);
}
.status-tile:first-child { border-left: none; }
.status-tile__label {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 500;
  color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.status-tile__value {
  font-family: var(--ff-mono); font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--fg); letter-spacing: -0.01em;
  line-height: 1.1;
}

/* ── Features ─────────────────────────────────────────── */
.features {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--border-2);
}
.features__grid {
  max-width: 72rem;
  margin: clamp(44px, 6vw, 72px) auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.feature {
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.feature:hover {
  border-color: var(--fg-dim);
  background: var(--bg-elev);
  transform: translateY(-2px);
}
.feature__icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(77,142,255,0.08);
  color: var(--blue);
  margin-bottom: 22px;
  border: 1px solid rgba(77,142,255,0.15);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__title {
  font-family: var(--ff-heading); font-weight: 600;
  font-size: 19px; letter-spacing: -0.015em;
  margin: 0 0 10px; color: var(--fg);
}
.feature__body {
  font-size: 15px; line-height: 1.55;
  color: var(--fg-mute); margin: 0;
}

/* ── How it works (stacked) ───────────────────────────── */
.how {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--border-2);
}
.steps {
  max-width: 72rem;
  margin: clamp(44px, 6vw, 72px) auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  list-style: none;
  display: flex; flex-direction: column;
}
.step {
  display: grid; grid-template-columns: 120px 1fr;
  gap: clamp(20px, 3.2vw, 56px);
  padding: clamp(24px, 3.4vw, 40px) 0;
  border-top: 1px solid var(--border-2);
}
.step:first-child { border-top: none; }
.step__num {
  font-family: var(--ff-mono); font-weight: 500; font-size: 13px;
  color: var(--fg-dim); letter-spacing: 0.06em;
  padding-top: 8px;
}
.step__title {
  font-family: var(--ff-heading); font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em;
  margin: 0 0 10px; color: var(--fg);
}
.step__body p {
  margin: 0; font-size: 16px; line-height: 1.6;
  color: var(--fg-mute); max-width: 62ch;
}

/* ── Roadmap / Journey timeline ────────────────────────
   Vertical trail with a gradient spine on the left and
   phase-colored dots. Tells the full project story —
   origin → wall → rebuild → now → future → goal.
   ──────────────────────────────────────────────────── */
.roadmap {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--border-2);
  position: relative;
}

/* ── Roadmap / Editorial chapters ────────────────────
   Scrapped the map metaphor. Each milestone is now a full-
   width editorial panel with a rich inline-SVG illustration
   and narrative prose, alternating image-left / image-right.
   Think Linear / Stripe long-form pages, not Duolingo maps. */
.journey {
  max-width: 1280px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vw, 128px);
}

.chapter { position: relative; }

.chapter__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
/* Alternate layout: even chapters flip image↔text. */
.chapter:nth-child(even) .chapter__text   { grid-column: 2; grid-row: 1; }
.chapter:nth-child(even) .chapter__figure { grid-column: 1; grid-row: 1; }

.chapter__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-dim);
  margin-bottom: clamp(14px, 1.6vw, 20px);
}
.chapter__num {
  color: var(--fg-mute);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.chapter__kicker {
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.chapter__dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--fg-dim);
}
.chapter__date {
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

/* Phase-specific kicker colors so each chapter has its own tone. */
.chapter[data-phase="origin"] .chapter__kicker { color: var(--fg-mute); }
.chapter[data-phase="pivot"]  .chapter__kicker { color: var(--amber); }
.chapter[data-phase="build"]  .chapter__kicker { color: var(--blue); }
.chapter[data-phase="now"]    .chapter__kicker { color: var(--green); }
.chapter[data-phase="next"]   .chapter__kicker { color: var(--blue); }
.chapter[data-phase="later"]  .chapter__kicker { color: var(--fg-mute); }
.chapter[data-phase="goal"]   .chapter__kicker { color: var(--amber); }
.chapter[data-phase="now"]    .chapter__num    { color: var(--green); }
.chapter[data-phase="goal"]   .chapter__num    { color: var(--amber); }

.chapter__title {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0 0 clamp(18px, 2vw, 28px);
}
.chapter[data-phase="now"]  .chapter__title { color: var(--fg); }
.chapter[data-phase="goal"] .chapter__title { color: var(--amber); }

.chapter__lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--fg-mute);
  margin: 0;
  max-width: 56ch;
}
.chapter__lead strong { color: var(--fg); font-weight: 600; }

/* The illustration container — responsive, keeps a 5:4 frame.
   Each chapter provides its own inline SVG as the figure. */
.chapter__figure {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  max-width: 640px;
  justify-self: center;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0e12 0%, #090b0f 100%);
  border: 1px solid var(--border-2);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 1px 0 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 400ms ease, box-shadow 400ms ease;
}
.chapter:hover .chapter__figure {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.55),
    0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
}
.chapter__svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile: stack, figure first. */
@media (max-width: 860px) {
  .journey { gap: clamp(48px, 10vw, 72px); padding: 0 clamp(16px, 4vw, 24px); }
  .chapter__inner { grid-template-columns: 1fr; gap: 24px; }
  .chapter:nth-child(even) .chapter__text,
  .chapter:nth-child(odd)  .chapter__text    { grid-column: 1; grid-row: 2; }
  .chapter:nth-child(even) .chapter__figure,
  .chapter:nth-child(odd)  .chapter__figure  { grid-column: 1; grid-row: 1; }
  .chapter__figure { max-width: 100%; }
}

/* ── Story so far ─────────────────────────────────────── */
.story {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--border-2);
}
.story .section {
  position: relative;
}
.story__quote {
  font-family: var(--ff-heading); font-weight: 500;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.35; letter-spacing: -0.02em;
  color: var(--fg);
  margin: clamp(28px, 3vw, 40px) 0 18px;
  padding-left: clamp(20px, 3vw, 28px);
  border-left: 2px solid var(--blue);
  max-width: 46ch;
}
.story__attrib {
  padding-left: clamp(20px, 3vw, 28px);
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--fg-dim); letter-spacing: 0.04em;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--border-2);
}
.faq__list {
  max-width: 72rem;
  margin: clamp(44px, 6vw, 72px) auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
}
.faq__item {
  border-top: 1px solid var(--border-2);
  padding: 4px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--border-2); }
.faq__item > summary {
  cursor: pointer; list-style: none;
  display: grid; grid-template-columns: 56px 1fr 24px;
  gap: 14px; align-items: center;
  padding: 18px 4px;
  transition: opacity 120ms ease;
}
.faq__item > summary:hover { opacity: 0.88; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__num {
  font-family: var(--ff-mono); font-size: 13px; font-weight: 500;
  color: var(--fg-dim); letter-spacing: 0.06em;
}
.faq__q {
  font-family: var(--ff-heading); font-weight: 600;
  font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -0.015em;
  color: var(--fg);
}
.faq__toggle {
  width: 16px; height: 16px; position: relative;
  justify-self: end;
}
.faq__toggle::before, .faq__toggle::after {
  content: ''; position: absolute; inset: 50% 0 auto 0;
  height: 1.5px; background: var(--fg-mute);
  border-radius: 2px; transform-origin: center;
  transition: transform 220ms ease, background 220ms ease;
}
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__item[open] .faq__toggle::before,
.faq__item[open] .faq__toggle::after { background: var(--fg); }
.faq__a {
  padding: 0 4px 18px 70px;
}
.faq__a p {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--fg-mute); max-width: 68ch;
}
.faq__a p strong { color: var(--fg); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-2);
  padding: clamp(40px, 6vw, 56px) 0;
  margin-top: clamp(72px, 10vw, 120px);
}
.footer__inner {
  max-width: 72rem; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  justify-content: space-between;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-heading); font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.footer__links {
  display: inline-flex; gap: 28px;
}
.footer__links a {
  color: var(--fg-mute); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 140ms ease;
}
.footer__links a:hover { color: var(--fg); }
.footer__copy {
  font-size: 12px; color: var(--fg-dim);
  font-family: var(--ff-mono); letter-spacing: 0.02em;
}

/* ── Scroll-reveal ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}

/* ── Responsive (Phase 4 refines; Phase 1+2 keeps a sensible
     single-column breakpoint so mobile isn't broken today) ─ */
/* ── Responsive — Phase 4 breakpoints ─────────────────────
   1060px — roadmap collapses to 2-column
    860px — desktop nav → hamburger; grids stack to single
            column; features, roadmap, status-strip all fold
    480px — fine-tune hero/type density for narrow phones
   Touch targets: buttons, nav links, and FAQ summaries all
   respect a 44×44 min on mobile per Apple HIG. */

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }

  .features__grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 72px 1fr; gap: 16px; }
  .faq__item > summary { grid-template-columns: 44px 1fr 20px; padding: 20px 4px; }
  .faq__a { padding-left: 58px; }
  .footer__inner { justify-content: flex-start; }

  .status-strip__inner { grid-template-columns: repeat(2, 1fr); border-radius: 10px; }
  .status-tile:nth-child(3) { border-left: none; border-top: 1px solid var(--border-2); }
  .status-tile:nth-child(4) { border-top: 1px solid var(--border-2); }

  /* Journey on mobile — map stacks ABOVE cards as a sticky banner.
     Still full-screen impact: the map fills the upper 55vh while
     you read the cards scrolling below it. The active waypoint
     updates as you scroll, keeping the narrative visual. */
  .journey {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 clamp(16px, 4vw, 24px);
  }
  .journey__map {
    position: sticky;
    top: clamp(56px, 8vh, 72px);
    height: 52vh;
    width: 100%;
    padding: 6px 0;
    background: linear-gradient(180deg, rgba(10,11,13,0.94) 0%, rgba(10,11,13,0.86) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-2);
    border-radius: 0 0 12px 12px;
    z-index: 8;
  }
  .map { max-height: 52vh; }
  .stop { padding: clamp(20px, 3vw, 28px) 0; }

  /* Touch-size buttons globally on mobile (≥44px tall). */
  .btn       { min-height: 44px; padding: 12px 20px; }
  .btn--sm   { min-height: 40px; padding: 10px 16px; }
  .btn--lg   { min-height: 48px; padding: 14px 22px; }

  /* Ensure hero CTAs stack gracefully with full-width fills. */
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  /* Tighter hero — big display type still scales via clamp(), but the
     sub-heading and paddings benefit from a small-screen trim. */
  .hero { padding-top: clamp(104px, 25vw, 140px); }
  .hero__sub { font-size: 15px; }
  .section__title { max-width: 18ch; }
  .step { grid-template-columns: 56px 1fr; gap: 12px; }
  .step__num { padding-top: 4px; }
  .story__quote { font-size: 20px; line-height: 1.4; }
  .stop__title { font-size: 17px; }
  .stop__body p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .eyebrow__dot { animation: none; }
}
