/* ═══════════════════════════════════════════════════════════════
   MakerMind — Waitlist Site v2.0
   Cinematic. Editorial. Apple-quality.
   ─────────────────────────────────────────────────────────────
   Same design tokens as the app and the launch video (Remotion).
   The animation timing curve `cubic-bezier(0.33, 0, 0.2, 1)` is
   the iOS-style ease used throughout LogoReveal.tsx.
═══════════════════════════════════════════════════════════════ */


/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Color palette — mirrors src/index.css */
  --bg:        #F7F5F0;
  --ink:       #2A1F1A;
  --accent:    #C47B6A;
  --muted:     #68635A;
  --border:    #E2DFD6;
  --sidebar:   #EFEDE8;
  --night:     #0B0A08;
  --night-2:   #141210;
  --white:     #FFFFFF;

  /* Typography */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.33, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w:   1320px;
  --max-w-narrow: 1100px;
  --nav-h:   64px;
  --pad-x:   48px;
  --section: 160px;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 24px rgba(28,28,28,0.06);
  --shadow-md: 0 12px 48px rgba(28,28,28,0.10);
  --shadow-lg: 0 32px 96px rgba(28,28,28,0.18);
}


/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; appearance: none; -webkit-appearance: none; }
ul { list-style: none; }

/* ── LEGAL PAGES ────────────────────────────────────────────── */
.legal-page {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(247,245,240,0.92)),
    var(--bg);
  min-height: 100vh;
}
.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px var(--pad-x) 96px;
}
.legal-back {
  display: inline-flex;
  margin-bottom: 72px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.legal-back:hover { color: var(--accent); }
.legal-header {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.legal-header h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.9;
  font-style: italic;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.legal-header p:last-child {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal-content {
  display: grid;
  gap: 38px;
}
.legal-content section {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(226, 223, 214, 0.72);
}
.legal-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.legal-content p {
  color: rgba(42, 31, 26, 0.78);
  font-size: 1rem;
  line-height: 1.82;
}


/* ── SHARED UTILITIES ───────────────────────────────────────── */
.accent { color: var(--accent); }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}


/* ── REVEAL ON SCROLL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   NAV — fixed, frosted, restrained
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(247, 245, 240, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition:
    background 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mark {
  width: 32px; height: 32px;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--ink); }

.footer-link {
  font-size: 0.875rem;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-link:hover { opacity: 1; }

.footer-icon {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease);
}
.footer-link:hover .footer-icon { opacity: 1; color: var(--accent); }

.how-logos {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.brand-logo {
  width: 24px;
  height: 24px;
  color: var(--muted);
  opacity: 0.4;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.how-step:hover .brand-logo {
  opacity: 0.8;
  color: var(--ink);
}
[data-theme="dark"] .how-step:hover .brand-logo { color: var(--white); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: #2a2a2a; transform: translateY(-1px); }


/* ═══════════════════════════════════════════════════════════════
   SECTION 01 — HERO
   The cold open, in HTML form.
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) var(--pad-x) 100px;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

/* Stamp at top */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(8px);
  animation: fade-up 0.9s var(--ease) 0.1s forwards;
}
.stamp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dot-pulse 2.4s ease-in-out infinite 1.5s;
}
.stamp-sep { opacity: 0.35; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

/* Animated MakerMind mark */
.hero-mark {
  width: 360px;
  height: 360px;
  color: var(--ink);
  margin: 0 auto 32px;
  overflow: visible;
}
/* Mark wipe is driven by SMIL <animate> in the HTML for reliable cross-browser clipPath height */
.mark-arc {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: mark-draw 0.8s var(--ease) 1.7s forwards;
}
.mark-thread {
  stroke: var(--accent);
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  opacity: 0;
  animation:
    mark-thread-fade 0.4s var(--ease) 2.0s forwards,
    mark-draw 0.6s var(--ease) 2.0s forwards;
}
.mark-dot {
  fill: var(--accent);
  opacity: 0;
  transform: scale(0);
  transform-origin: 256px 324px;
  transform-box: fill-box;
  animation: mark-dot-pop 0.6s var(--ease-out) 1.6s forwards;
}
@keyframes mark-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes mark-thread-fade {
  to { opacity: 1; }
}
@keyframes mark-dot-pop {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* Hero wordmark */
.hero-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(8px);
  animation: fade-up 0.9s var(--ease) 2.4s forwards;
}

/* Editorial rule */
.hero-rule {
  width: 0;
  height: 1px;
  background: var(--border);
  margin: 0 auto 56px;
  animation: rule-grow 0.9s var(--ease) 2.7s forwards;
}
@keyframes rule-grow { to { width: 56px; } }

/* Hero headline — word by word */
.hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 auto 40px;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.32em;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-up 0.85s var(--ease) forwards;
}
.hero-headline .word:nth-child(1) { animation-delay: 2.95s; }
.hero-headline .word:nth-child(2) { animation-delay: 3.10s; }
.hero-headline .word:nth-child(3) { animation-delay: 3.32s; }
.hero-headline .word:nth-child(4) { animation-delay: 3.46s; }
.hero-headline .word:nth-child(5) { animation-delay: 3.58s; }
.hero-headline .word:nth-child(6) { animation-delay: 3.72s; }
.hero-headline .word:nth-child(7) { animation-delay: 3.90s; }
@keyframes word-up { to { opacity: 1; transform: translateY(0); } }

/* Hero body */
.hero-body {
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 4.3s forwards;
}
.br-desk { display: block; }


/* ── EMAIL FORMS ────────────────────────────────────────────── */
.email-form {
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 4.6s forwards;
}
.email-row {
  display: flex;
  gap: 8px;
  position: relative;
}
.email-input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.email-input::placeholder { color: var(--muted); opacity: 1; }
.email-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28,28,28,0.07);
}
.email-input-full { width: 100%; flex: none; margin-bottom: 8px; }
.email-input-dark {
  background: rgba(247,245,240,0.07);
  border-color: rgba(247,245,240,0.16);
  color: var(--white);
}
.email-input-dark::placeholder { color: rgba(247,245,240,0.42); }
.email-input-dark:focus {
  border-color: rgba(247,245,240,0.5);
  box-shadow: 0 0 0 3px rgba(247,245,240,0.08);
}
.email-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.email-note {
  font-size: 0.8125rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.email-note-left { text-align: left; }
.email-success {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.email-success[hidden] { display: none; }
.email-success-dark { color: var(--bg); }
.check-mark { color: var(--accent); }


/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 24px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-ink {
  background: var(--ink);
  color: var(--bg);
}
.btn-ink:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #c0441f;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,77,38,0.32);
}
.btn-soft {
  background: rgba(42, 31, 26, 0.06);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-soft:hover {
  background: rgba(42, 31, 26, 0.1);
  transform: translateY(-1px);
}
.btn-dark-soft {
  background: rgba(247,245,240,0.08);
  color: #F7F5F0;
  border: 1px solid rgba(247,245,240,0.18);
}
.btn-dark-soft:hover {
  background: rgba(247,245,240,0.14);
  transform: translateY(-1px);
}
.btn-full { width: 100%; }


/* ── SCROLL CUE ───────────────────────────────────────────── */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 5s forwards;
}
.cue-label { display: block; }
.cue-line {
  width: 1px;
  height: 36px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  animation: cue-down 2.6s var(--ease) infinite;
}
@keyframes cue-down {
  0%, 100% { top: -100%; }
  50%      { top: 100%; }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 02 — THE FILM
═══════════════════════════════════════════════════════════════ */
.film {
  background: var(--bg);
  padding: var(--section) 0;
  border-top: 1px solid var(--border);
}
.film-meta {
  max-width: var(--max-w);
  margin: 0 auto 56px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.film-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.film-headline em { font-style: italic; font-weight: 400; }

.film-frame {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.film-frame::before {
  /* film container shell */
  content: '';
  position: absolute;
  inset: 0 var(--pad-x);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 0;
}
.film-video {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  z-index: 1;
  background: var(--night);
}
.film-overlay {
  position: absolute;
  inset: 0 var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 28px;
  pointer-events: none;
  z-index: 2;
}
.film-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  background: rgba(11,10,8,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bg);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}
.film-play:hover {
  background: rgba(11,10,8,0.92);
  transform: translateY(-1px);
}
.film-play svg {
  width: 14px;
  height: 14px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 03 — THE PROBLEM
═══════════════════════════════════════════════════════════════ */
.problem {
  background: var(--bg);
  padding: var(--section) 0 72px;
}
.problem-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 80px;
  max-width: 920px;
}
.problem-headline em { font-style: italic; font-weight: 400; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.problem-card {
  background: var(--bg);
  padding: 56px 44px;
  transition: background 0.3s var(--ease);
}
.problem-card:hover { background: var(--sidebar); }
.problem-num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 28px;
}
.problem-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 18px;
}
.problem-title em { font-style: italic; font-weight: 700; }
.problem-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT PROOF SCREENSHOTS
═══════════════════════════════════════════════════════════════ */
.product-proof,
.screenshot-proof,
.assistant-proof {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.product-proof {
  background: linear-gradient(180deg, var(--bg) 0%, var(--sidebar) 100%);
}
.screenshot-proof {
  background: var(--sidebar);
}
.assistant-proof {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.product-proof-grid,
.assistant-proof-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: center;
}
.assistant-proof-grid {
  grid-template-columns: minmax(0, 1.24fr) minmax(280px, 0.76fr);
}
.product-proof-copy,
.assistant-proof-copy {
  max-width: 520px;
}
.product-proof-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 24px;
}
.product-proof-headline em {
  font-style: italic;
  font-weight: 400;
}
.product-proof-body {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--muted);
}
.product-proof-frame,
.assistant-proof-frame,
.screenshot-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .product-proof-frame,
[data-theme="dark"] .assistant-proof-frame,
[data-theme="dark"] .screenshot-panel {
  background: var(--night-2);
}
.product-proof-frame img,
.assistant-proof-frame img,
.screenshot-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}
.screenshot-proof-header {
  max-width: 920px;
  margin-bottom: 56px;
}
.screenshot-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.screenshot-panel {
  box-shadow: var(--shadow-md);
}
.screenshot-panel figcaption {
  padding: 22px 24px 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 04 — STICKY SHOWCASE
   Image pinned, text scrolls past. The Apple iPhone-page pattern.
═══════════════════════════════════════════════════════════════ */
.showcase {
  background: var(--bg);
  padding: var(--section) 0 0;
}
.showcase-intro {
  max-width: var(--max-w);
  margin: 0 auto 100px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.showcase-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.showcase-headline em { font-style: italic; font-weight: 400; }

.showcase-track {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.showcase-images {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-image-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.9s var(--ease),
    transform 1.4s var(--ease);
}
.showcase-img.is-active {
  opacity: 1;
  transform: scale(1);
}
.showcase-progress {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  border-radius: 1px;
  overflow: hidden;
}
.progress-track {
  position: absolute;
  inset: 0;
  background: rgba(247,245,240,0.3);
}
.progress-fill {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 33.33%;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.showcase-text {
  display: flex;
  flex-direction: column;
}
.showcase-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.step-inner { max-width: 540px; }
.step-label {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.step-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.step-headline em { font-style: italic; font-weight: 400; }

.step-rule {
  width: 36px;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}
.step-body {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 32px;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-list li {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 05 — FEATURES GRID
═══════════════════════════════════════════════════════════════ */
.features {
  background: var(--sidebar);
  padding: var(--section) 0;
}
.features-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 80px;
}
.features-headline em { font-style: italic; font-weight: 400; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature-card {
  background: var(--sidebar);
  padding: 48px 36px;
  transition: background 0.3s var(--ease);
}
.feature-card:hover { background: var(--bg); }
.feature-num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 14px;
}
.feature-title em { font-style: italic; font-weight: 700; }
.feature-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 06 — POSITIONING (DARK)
═══════════════════════════════════════════════════════════════ */
.positioning {
  background: var(--night);
  padding: 200px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.positioning::before,
.positioning::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  left: 50%;
  transform: translateX(-50%);
}
.positioning::before { top: 60px; }
.positioning::after  { bottom: 60px; }

.pos-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 56px;
}
.pos-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.4);
  margin-bottom: 24px;
}
.pos-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: var(--white);
}
.pos-line-2 .accent,
.pos-line-2 { /* leave as is */ }
.pos-rule {
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 1.2s var(--ease) 0.4s;
}
.pos-rule.is-visible { width: 96px; }


/* ═══════════════════════════════════════════════════════════════
   SECTION 07 — NEWSLETTER
═══════════════════════════════════════════════════════════════ */
.newsletter {
  background: var(--bg);
  padding: var(--section) 0;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.newsletter-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.newsletter-headline em { font-style: italic; font-weight: 400; }
.newsletter-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 32px;
}
.newsletter-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.newsletter-list li {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.newsletter-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.newsletter-card {
  background: var(--sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  box-shadow: var(--shadow-sm);
}
.newsletter-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.newsletter-mark {
  width: 42px;
  height: 42px;
  color: var(--ink);
  flex-shrink: 0;
}
.newsletter-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.newsletter-sub {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 08 — FINAL CTA (DARK, FULL-BLEED)
═══════════════════════════════════════════════════════════════ */
.final {
  position: relative;
  background: var(--night);
  padding: 180px var(--pad-x);
  text-align: center;
  overflow: hidden;
}
.final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(0.25);
}
.final-bg::after {
  /* dark gradient for legibility */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--night) 80%);
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.final-lifestyle {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 580px;
  box-shadow: var(--shadow-lg);
}
.final-lifestyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.final-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
}
.final-label {
  color: rgba(247,245,240,0.4) !important;
}
.final-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.final-headline em { font-style: italic; font-weight: 400; }
.final-sub {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.45);
  margin-bottom: 56px;
}
.final-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: -20px auto 34px;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--night);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--pad-x) 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mark {
  width: 32px; height: 32px;
  color: rgba(247,245,240,0.55);
  flex-shrink: 0;
}
.footer-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(247,245,240,0.55);
  letter-spacing: -0.01em;
}
.footer-links { display: flex; gap: 36px; }
.footer-link {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.32);
  transition: color 0.2s ease;
}
.footer-link:hover { color: rgba(247,245,240,0.78); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 48px;
}
.footer-rule {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 28px;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-stamp {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.22);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: rgba(247,245,240,0.22);
}


/* ═══════════════════════════════════════════════════════════════
   FILM MODAL
═══════════════════════════════════════════════════════════════ */
.film-modal {
  position: fixed;
  inset: 0;
  background: rgba(11,10,8,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.film-modal[hidden] { display: none; }
.film-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.film-modal-frame {
  position: relative;
  max-width: 1280px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.film-modal-video {
  width: 100%;
  height: auto;
  display: block;
}
.film-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247,245,240,0.1);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1;
}
.film-modal-close:hover { background: rgba(247,245,240,0.22); }



/* ═══════════════════════════════════════════════════════════════
   SECTION 05 — THE DISPATCHES (JOURNAL)
═══════════════════════════════════════════════════════════════ */
.journal {
  background: var(--bg);
  padding: var(--section) 0;
  border-top: 1px solid var(--border);
}
.journal-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 80px;
  max-width: 920px;
}
.journal-headline em { font-style: italic; font-weight: 400; }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.journal-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.journal-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border);
  position: relative;
}

.journal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.journal-card:hover .journal-card-img {
  transform: scale(1.05);
}

.journal-card-meta {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.journal-card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease);
}
.journal-card-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.journal-card:hover .journal-card-title {
  color: var(--accent);
}

.journal-card-excerpt {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.journal-card-cta {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.journal-card-cta .btn-arrow {
  transition: transform 0.3s var(--ease);
}
.journal-card:hover .journal-card-cta .btn-arrow {
  transform: translateX(6px);
}

.journal-header {
  padding: 160px var(--pad-x) 80px;
  text-align: center;
  background: var(--bg);
}
.journal-header .journal-headline {
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; --section: 120px; }
  .showcase-track { gap: 56px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 28px; --section: 96px; }

  .hero { padding-bottom: 80px; }
  .hero-mark { width: 280px; height: 280px; }
  .br-desk { display: none; }

  .problem-grid,
  .features-grid,
  .journal-grid { grid-template-columns: 1fr; }
  .problem-card,
  .feature-card,
  .journal-card { padding: 40px 28px; }
  .journal-card { gap: 16px; border-bottom: 1px solid var(--border); padding-bottom: 48px; }
  .journal-card:last-of-type { border-bottom: none; }

  /* Sticky showcase becomes a stacked layout on mobile */
  .showcase-track {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .showcase-images {
    position: relative;
    height: auto;
    margin-bottom: 24px;
  }
  .showcase-image-stack {
    aspect-ratio: 16 / 9;
  }
  /* Hide all but the active image since image swaps no longer make sense */
  .showcase-step { min-height: auto; padding: 32px 0 64px; }
  .showcase-step:not(:first-of-type) { border-top: 1px solid var(--border); padding-top: 64px; }

  .newsletter-grid { grid-template-columns: 1fr; gap: 56px; }
  .newsletter-card { padding: 40px 32px; }
  .download-grid { grid-template-columns: 1fr; gap: 48px; }
  .download-card { max-width: 520px; }

  .product-proof-grid,
  .assistant-proof-grid,
  .screenshot-duo {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-proof-copy,
  .assistant-proof-copy {
    max-width: 640px;
  }

  .assistant-proof-frame {
    order: 2;
  }

  .assistant-proof-copy {
    order: 1;
  }

  .footer-top { flex-direction: column; gap: 28px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
  .footer-meta { flex-direction: column; gap: 10px; text-align: center; }

  .pos-inner { gap: 40px; }
}

@media (max-width: 620px) {
  :root {
    --nav-h: 72px;
    --pad-x: 22px;
    --section: 84px;
  }

  .nav {
    position: relative;
    height: auto;
    background: rgba(247, 245, 240, 0.94);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    border-bottom-color: var(--border);
  }

  .nav-inner {
    height: auto;
    min-height: var(--nav-h);
    padding: 12px 16px;
    gap: 12px;
    max-width: none;
    min-width: 0;
    flex-wrap: wrap;
  }

  .nav-brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }

  .nav-mark {
    width: 28px;
    height: 28px;
  }

  .nav-wordmark {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    flex: 0 0 100%;
    width: 100%;
    gap: 12px;
  }

  .theme-toggle {
    display: none;
  }

  .nav-link {
    display: inline-flex;
    min-width: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: var(--muted);
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.8125rem;
    line-height: 1.1;
    white-space: normal;
    max-width: 104px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 48px var(--pad-x) 48px;
    justify-content: flex-start;
  }

  .stamp {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    max-width: 280px;
    margin: 0 auto 24px;
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    line-height: 1.6;
  }

  .hero-mark {
    width: min(34vw, 124px);
    height: min(34vw, 124px);
    margin-bottom: 18px;
  }

  .hero-wordmark {
    margin-bottom: 20px;
    font-size: 1.35rem;
  }

  .hero-rule {
    margin-bottom: 20px;
  }

  .hero-headline {
    font-size: clamp(2.05rem, 9.8vw, 2.75rem);
    line-height: 1.06;
    gap: 0 0.22em;
    margin-bottom: 22px;
  }

  .hero-body {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .features-grid { grid-template-columns: 1fr; }
  .email-row { flex-direction: column; }
  .email-input,
  .btn {
    height: 52px;
  }
  .email-row .btn { width: 100%; }
  .email-note {
    font-size: 0.875rem;
    line-height: 1.45;
    max-width: 280px;
    margin: 16px auto 0;
  }

  .scroll-cue {
    bottom: 28px;
    font-size: 0.5625rem;
    letter-spacing: 0.24em;
    gap: 12px;
  }

  .cue-line {
    height: 32px;
  }

  .film {
    padding-top: 56px;
  }

  .film-meta {
    margin-bottom: 38px;
  }

  .film-overlay { padding: 16px; }
  .film-play { font-size: 0.625rem; padding: 0 14px; height: 38px; }

  .product-proof,
  .screenshot-proof,
  .assistant-proof {
    padding: var(--section) 0;
  }

  .product-proof-headline {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .product-proof-body {
    font-size: 0.9375rem;
    line-height: 1.62;
  }

  .screenshot-proof-header {
    margin-bottom: 36px;
  }

  .screenshot-panel figcaption {
    padding: 18px;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
  }

  .download-card {
    padding: 32px 24px;
  }

  .download-list li {
    align-items: flex-start;
  }

  .final-actions {
    flex-direction: column;
    max-width: 320px;
  }

  .final-actions .btn {
    width: 100%;
  }
}



/* ═══════════════════════════════════════════════════════════════
   DISPATCH — ARTICLE POST LAYOUT
═══════════════════════════════════════════════════════════════ */
.dispatch-hero {
  padding: calc(var(--nav-h) + 80px) 0 64px;
  text-align: center;
}
.dispatch-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  transition: color 0.3s var(--ease);
}
.dispatch-back:hover { color: var(--accent); }
.dispatch-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.dispatch-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 780px;
  margin: 0 auto 24px;
}
.dispatch-title em { font-style: italic; color: var(--accent); }
.dispatch-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.dispatch-hero-img {
  width: 100%;
  max-width: 960px;
  margin: 56px auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Article body */
.dispatch-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px var(--pad-x) 120px;
}
.dispatch-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 28px;
}
.dispatch-body h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 56px 0 20px;
  letter-spacing: -0.015em;
}
.dispatch-body h2 em { font-style: italic; color: var(--accent); }
.dispatch-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  margin: 40px 0 14px;
}
.dispatch-body ul {
  margin: 24px 0;
  padding-left: 0;
}
.dispatch-body li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.dispatch-body li:last-child { border-bottom: none; }
.dispatch-body li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.625rem;
  top: 14px;
}
.dispatch-body strong { font-weight: 600; }

/* Pull quote */
.dispatch-pullquote {
  border-left: 2px solid var(--accent);
  padding: 24px 32px;
  margin: 48px 0;
  background: var(--sidebar);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.dispatch-pullquote p {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* Drop cap */
.dispatch-body .drop-cap::first-letter {
  font-family: var(--serif);
  font-size: 3.6em;
  float: left;
  line-height: 0.8;
  margin: 6px 14px 0 0;
  color: var(--accent);
  font-weight: 700;
}

/* Divider */
.dispatch-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 56px auto;
}

/* End CTA */
.dispatch-end-cta {
  text-align: center;
  padding: 56px 0 0;
}
.dispatch-end-cta p {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.dispatch-end-cta .btn { margin: 0 auto; }

@media (max-width: 768px) {
  .dispatch-hero { padding-top: calc(var(--nav-h) + 48px); }
  .dispatch-body { padding: 40px 24px 80px; }
  .dispatch-pullquote { padding: 20px 24px; margin: 32px 0; }
}



/* ═══════════════════════════════════════════════════════════════
   UPGRADES — TECHNICAL & FUNCTIONAL
═══════════════════════════════════════════════════════════════ */

/* 1. Logo Animation */
.nav-mark .mark-strokes path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.nav-mark.animate .mark-strokes path {
  stroke-dashoffset: 0;
}
.nav-mark .mark-dot {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s var(--ease) 1.4s, transform 0.5s var(--ease) 1.4s;
}
.nav-mark.animate .mark-dot {
  opacity: 1;
  transform: scale(1);
}

/* 3. Dark Mode Overrides */
[data-theme="dark"] {
  --bg:      var(--night);
  --ink:     #F7F5F0;
  --border:  #2A2825;
  --sidebar: var(--night-2);
  --muted:   #8C887D;
}
[data-theme="dark"] .nav, 
[data-theme="dark"] .footer { background: var(--night); }
[data-theme="dark"] .nav-links a { color: var(--muted); }
[data-theme="dark"] .nav-links a:hover { color: var(--white); }
[data-theme="dark"] .journal-card { background: var(--night-2); }
[data-theme="dark"] .showcase-step.is-active .step-inner { background: var(--night-2); border-color: var(--accent); }
[data-theme="dark"] .feature-card { background: var(--night-2); border-color: var(--border); }
[data-theme="dark"] .email-input { background: rgba(255,255,255,0.03); color: var(--white); border-color: var(--border); }
[data-theme="dark"] .email-success { color: var(--accent); }
[data-theme="dark"] .nav-cta { background: var(--accent); color: var(--night); }
[data-theme="dark"] .btn-soft,
[data-theme="dark"] .download-card {
  background: var(--night-2);
  border-color: var(--border);
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  margin-right: 8px;
  transition: color 0.3s var(--ease);
}
.theme-toggle:hover { color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }

/* 4. Journal Card Hover */
.journal-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.journal-card-img-wrap {
  overflow: hidden;
}
.journal-card-img {
  transition: transform 0.6s var(--ease);
}
.journal-card:hover .journal-card-img {
  transform: scale(1.04);
}

/* 7. Reading Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* 5. How It Works Section */
.how-it-works { padding: var(--section) 0; border-top: 1px solid var(--border); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.how-step { display: flex; flex-direction: column; gap: 24px; }
.how-num { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.how-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; font-style: italic; }
.how-body { font-size: 1rem; color: var(--muted); line-height: 1.6; }

/* 6. Social Proof Strip */
.proof-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  background: var(--sidebar);
  position: relative;
  overflow: hidden;
}
.proof-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
.proof-content {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.proof-content strong { color: var(--accent); font-weight: 700; }

/* 6B. Mac App Store */
.download {
  background: var(--bg);
  padding: 76px 0 96px;
  border-bottom: 1px solid var(--border);
}
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 80px;
  align-items: start;
}
.download-copy {
  max-width: 720px;
}
.download-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin-bottom: 28px;
}
.download-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 34px;
}
.download-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.download-list li {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.download-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.download-card {
  background: var(--sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-md);
}
.download-kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.download-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.download-release {
  display: inline-flex;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.download-release:hover { color: var(--accent); }
.download-meta {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.download-meta div {
  display: grid;
  gap: 4px;
}
.download-meta dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.download-meta dd {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.download-note {
  margin-top: 24px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

/* 9. Technical UI Preview Wireframe */
.ui-preview { padding: var(--section) 0; border-top: 1px solid var(--border); }
.ui-frame {
  width: 100%;
  max-width: 1000px;
  margin: 64px auto 0;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ui-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.ui-sidebar { width: 240px; border-right: 1px solid var(--border); padding: 32px 24px; display: flex; flex-direction: column; gap: 20px; }
.ui-nav-item { height: 10px; background: var(--border); border-radius: 4px; width: 80%; }
.ui-nav-item.active { background: var(--accent); width: 60%; opacity: 0.8; }
.ui-main { flex: 1; padding: 48px; display: flex; flex-direction: column; gap: 40px; background: var(--white); }
[data-theme="dark"] .ui-main { background: var(--night-2); }
.ui-header { height: 28px; background: var(--border); border-radius: 4px; width: 30%; margin-bottom: 8px; }
.ui-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ui-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); }
.ui-card:hover { transform: translateY(-4px); border-color: var(--accent); }
[data-theme="dark"] .ui-card { background: var(--night); }
.ui-card-head { height: 14px; background: var(--muted); opacity: 0.15; border-radius: 2px; width: 45%; margin-bottom: 4px; }
.ui-line { height: 6px; background: var(--border); border-radius: 2px; width: 100%; }
.ui-line-short { width: 65%; }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 40px; margin-top: 8px; }
.ui-bar { flex: 1; background: var(--border); border-radius: 2px; min-height: 4px; }
.ui-bar:nth-child(2) { height: 70%; background: var(--accent); opacity: 0.4; }
.ui-bar:nth-child(1) { height: 40%; }
.ui-bar:nth-child(3) { height: 90%; }
.ui-bar:nth-child(4) { height: 60%; }

/* Parallax Layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  will-change: transform;
}

/* Mobile Adaptations */
@media (max-width: 900px) {
  .final-grid { grid-template-columns: 1fr; }
  .final-lifestyle { display: none; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .download-grid { grid-template-columns: 1fr; gap: 48px; }
  .download-card { max-width: 520px; }
  .ui-frame {
    aspect-ratio: 1672 / 941;
    min-height: 0;
    margin-top: 36px;
  }
  .ui-sidebar { display: none; }
}

/* Final mobile pass: keep late desktop/theme rules from widening the phone layout. */
@media (max-width: 620px) {
  .theme-toggle,
  .nav-links .theme-toggle {
    display: none;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-cta {
    max-width: 132px;
  }

  .download-card {
    padding: 32px 24px;
  }

  .download-list li {
    align-items: flex-start;
  }

  .final-actions {
    flex-direction: column;
    max-width: 320px;
  }

  .final-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .scroll-cue {
    position: static;
    transform: none;
    margin: 26px auto 0;
  }
}
