/* Storybench marketing site — single stylesheet, CUT-PAPER ATELIER design.
   "Paper on a desk": every block is a sheet of warm paper lifted off a clean
   white desk by soft cast shadows (--shadow-*), espresso ink, gouache accents,
   mono uppercase structural labels, sparing washi-tape + half-degree tilt.
   This file is the ONLY thing that styles the marketing pages; the app
   (client/src) is untouched. Theme via <html data-theme="dark">.
   Mobile-first; 820px is the main breakpoint. */

/* ── Tokens ─── Cut-Paper Atelier (shared with the app — docs/design/design-system) ── */
:root {
  --display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --sans: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 9px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);

  /* Paper neutrals (warm, putty + cream) */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F4F2ED;
  --surface-3: #ECE8E0;
  --border: #E7E1D6;
  --border-soft: #F2EFE8;
  --edge: #2C261C;
  --ink: #2C261C;
  --ink-2: #4E4636;
  --ink-3: #7A6F58;
  --ink-4: #A89B80;
  --ink-muted: #A89B80;
  --ink-contrast: #FCEFD9;

  /* Gouache accents */
  --show: #C2553B;   --show-soft: #F6E3DA;  --show-tint: #FBF3EE;
  --cast: #B0506A;   --cast-soft: #F3DCE1;  --cast-tint: #FBEEF1;
  --world: #2E6E73;  --world-soft: #D7E6E1;
  --episode: #B5780C; --episode-soft: #F4E7C8;
  --channel: #7E5A8C; --channel-soft: #ECE2EE;
  --danger: #A8392B;
  --success: #5F7D34; --success-soft: #E5EDD3;

  /* Warm cut-paper cast shadows (hairline ring + soft brown shadow) */
  --shadow-sm: 0 0 0 1px rgba(74,54,28,.07), 0 1px 2px rgba(74,54,28,.08), 0 6px 12px -8px rgba(74,54,28,.30);
  --shadow-md: 0 0 0 1px rgba(74,54,28,.08), 0 2px 5px rgba(74,54,28,.09), 0 14px 24px -12px rgba(74,54,28,.36);
  --shadow-lg: 0 0 0 1px rgba(74,54,28,.09), 0 5px 10px rgba(74,54,28,.10), 0 26px 44px -20px rgba(74,54,28,.42);

  /* Textures */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
  --tape: repeating-linear-gradient(45deg, rgba(220,180,120,.55) 0 6px, rgba(235,205,150,.55) 6px 12px);
}

[data-theme="dark"] {
  /* Atelier at night: warm walnut + kraft */
  --bg: #241F17;
  --surface: #1B1710;
  --surface-2: #2C2618;
  --surface-3: #382F1E;
  --border: #3C331F;
  --border-soft: #2A2415;
  --edge: #0E0B06;
  --ink: #F0E7D3;
  --ink-2: #CDC1A4;
  --ink-3: #9A8E70;
  --ink-4: #6B6045;
  --ink-muted: #6B6045;
  --ink-contrast: #211608;

  --show: #DA7458;   --show-soft: #3C2118;  --show-tint: #2A1C12;
  --cast: #D98AA8;   --cast-soft: #3A2330;  --cast-tint: #2E1A22;
  --world: #6FA98C;  --world-soft: #163029;
  --episode: #E0A94C; --episode-soft: #2E2410;
  --channel: #B08AC0; --channel-soft: #2C2036;
  --danger: #E0795F;
  --success: #9DBF6A; --success-soft: #1F2A12;

  --shadow-sm: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 12px -8px rgba(0,0,0,.6);
  --shadow-md: 0 1px 0 rgba(255,255,255,.05) inset, 0 14px 22px -12px rgba(0,0,0,.66);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.05) inset, 0 26px 42px -20px rgba(0,0,0,.72);
}

/* ── Reset / base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  position: relative;
}

/* Whisper of paper tooth over the white desk — the base "material" of the system. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 160px 160px;
  mix-blend-mode: multiply;
  opacity: .05;
}
.mkt-nav, .mkt-main, .mkt-footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p { margin: 0; }

a { color: var(--show); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: color-mix(in srgb, var(--show) 80%, var(--ink)); }

em { font-style: italic; }
strong { font-weight: 800; color: var(--ink); }

img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--show) 45%, transparent); outline-offset: 2px; }

/* ── Layout shell ───────────────────────────────────────────────────────── */
.mkt-container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.mkt-main { display: block; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.mkt-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.mkt-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  color: var(--ink);
}
.mkt-nav__brand:hover { color: var(--ink); }
.mkt-nav__logo { display: block; width: 30px; height: 30px; }

.mkt-nav__toggle {
  display: none;
  appearance: none;
  background: var(--bg);
  border: none;
  border-radius: var(--r-sm);
  /* Stamped paper button — hard cut edge, not a soft glass chip. */
  box-shadow: inset 0 0 0 1.5px var(--edge), 2px 2px 0 var(--edge);
  color: var(--ink);
  font-size: 20px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.mkt-nav__toggle:active { transform: translate(2px, 2px); box-shadow: inset 0 0 0 1.5px var(--edge), 0 0 0 var(--edge); }

.mkt-nav__links { display: flex; align-items: center; gap: 4px; }

.mkt-nav__link {
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .15s var(--ease), background .15s var(--ease);
}
.mkt-nav__link:hover { color: var(--show); background: var(--show-tint); }

.mkt-nav__cta { margin-left: 8px; }

/* ── Buttons (cut-paper tabs) ───────────────────────────────────────────── */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  /* Calm paper lift, not a bouncy scale. */
  transition: transform .14s var(--ease), background .15s var(--ease),
    box-shadow .14s var(--ease), color .15s var(--ease);
}

/* Brick is THE brand action — solid fill, cream ink, soft cast shadow. */
.mkt-btn--primary {
  background: var(--show);
  color: var(--ink-contrast);
  box-shadow: var(--shadow-sm);
}
.mkt-btn--primary:hover {
  color: var(--ink-contrast);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.mkt-btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

/* Secondary = stamped paper: white sheet, espresso ink, hard cut edge. */
.mkt-btn--ghost {
  background: var(--bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--edge), 2px 2px 0 var(--edge);
}
.mkt-btn--ghost:hover {
  color: var(--ink);
  background: var(--show-tint);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1.5px var(--edge), 2px 4px 0 var(--edge);
}
.mkt-btn--ghost:active { transform: translate(2px, 2px); box-shadow: inset 0 0 0 1.5px var(--edge), 0 0 0 var(--edge); }

/* ── Sections ───────────────────────────────────────────────────────────── */
.mkt-section { padding-block: 80px; }
/* "surface" bands read as a faint warm sheet on the desk, with a stitched seam. */
.mkt-section--surface { background: var(--surface-2); border-block: 1px dashed var(--border); }

/* Eyebrow = stamped mono label, not a pill chip. */
.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--show);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.mkt-eyebrow::before { content: "◆"; font-size: 9px; opacity: .85; }

.mkt-section__title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  max-width: 20ch;
  margin-bottom: 18px;
}

.mkt-section__body { max-width: 60ch; font-size: 18px; color: var(--ink-2); }
.mkt-section__title + .mkt-section__body { margin-bottom: 38px; }

/* ── Prose / voice ──────────────────────────────────────────────────────── */
.mkt-lede { max-width: 62ch; font-size: clamp(19px, 2.2vw, 22px); line-height: 1.55; color: var(--ink-2); margin-bottom: 18px; }
.mkt-prose { max-width: 62ch; font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 18px; }
.mkt-prose:last-child { margin-bottom: 0; }
.mkt-prose strong, .mkt-lede strong { color: var(--ink); }
.mkt-prose a, .mkt-lede a { color: var(--show); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* Emotional one-liner — set in the serif italic (the book-cover voice). */
.mkt-punch {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--show);
  margin: 14px 0 26px;
}

/* "What if?" cascade: a faint brand panel ringed in brick, italic lines. */
.mkt-cascade {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 60ch;
  margin: 14px 0 26px;
  padding: 26px 28px;
  background: var(--show-tint);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1.5px var(--show);
}
.mkt-cascade__line { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.35; font-style: italic; color: var(--ink-2); }
.mkt-cascade__resolve { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2.3vw, 24px); line-height: 1.35; color: var(--show); margin-top: 8px; }

/* Quiet aside — a paper sheet with a brick seam down its binding edge. */
.mkt-note {
  max-width: 60ch;
  margin-top: 22px;
  padding: 16px 22px;
  background: var(--surface-2);
  border-left: 3px solid var(--show);
  border-radius: var(--r-md);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-2);
}

.mkt-hero__microcopy { margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); }

/* ── Hero (paper sheet on the desk, one taped corner) ───────────────────── */
.mkt-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 104px) clamp(64px, 10vw, 110px);
  background: linear-gradient(180deg, var(--show-tint) 0%, var(--bg) 72%);
  border-bottom: 1px dashed var(--border);
}
/* A single strip of washi tape pinning the hero to the desk (Do: one per view). */
.mkt-hero::before {
  content: "";
  position: absolute;
  top: 30px;
  right: clamp(24px, 9vw, 132px);
  width: 132px;
  height: 34px;
  transform: rotate(-8deg);
  background: var(--tape);
  box-shadow: var(--shadow-sm);
  z-index: 0;
  pointer-events: none;
}

.mkt-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.mkt-hero__title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  max-width: 17ch;
}

.mkt-hero__subhead { margin-top: 24px; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.mkt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ── Pillars (cut-paper sheets in object hues) ──────────────────────────── */
.mkt-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.mkt-pillar {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
/* Hand-placed: a touch of tilt, straightening when you reach for one. */
.mkt-pillar:nth-child(odd) { transform: rotate(-.5deg); }
.mkt-pillar:nth-child(even) { transform: rotate(.5deg); }
.mkt-pillar:hover { transform: translateY(-4px) rotate(0); box-shadow: var(--shadow-lg); }

/* Object-coloured construction paper — the hue labels what the pillar is about. */
.mkt-pillar--show { background: var(--show-soft); }
.mkt-pillar--cast { background: var(--cast-soft); }
.mkt-pillar--episode { background: var(--episode-soft); }

.mkt-pillar__media { margin-bottom: 18px; }

.mkt-pillar__title { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.mkt-pillar__body { color: var(--ink-2); font-size: 16px; }

/* ── Steps (friendly numbered circles) ──────────────────────────────────── */
.mkt-steps { display: flex; flex-direction: column; gap: 24px; }

.mkt-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas: "num title" "num body" "media media";
  column-gap: 20px;
  row-gap: 10px;
  align-items: start;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.mkt-step__num {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--show);
  color: var(--ink-contrast);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

.mkt-step__title { grid-area: title; font-family: var(--display); font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; }
.mkt-step__body { grid-area: body; color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.mkt-step__media { grid-area: media; margin-top: 14px; }

@media (min-width: 821px) {
  .mkt-step {
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "num title media" "num body media";
    column-gap: 28px;
    align-items: center;
  }
  .mkt-step__media { margin-top: 0; }
}

/* ── Features (rounded cards w/ colorful dot) ───────────────────────────── */
.mkt-features { display: flex; flex-direction: column; gap: 16px; }

.mkt-feature {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 26px 26px 26px 64px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.mkt-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mkt-feature::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 30px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--world);
  box-shadow: var(--shadow-sm);
}
.mkt-feature__title { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.mkt-feature__body { color: var(--ink-2); font-size: 17px; max-width: 64ch; }

/* ── FAQ (rounded soft cards) ───────────────────────────────────────────── */
.mkt-faq { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }

.mkt-faq__item {
  background: var(--bg);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: background .15s var(--ease);
}
.mkt-faq__item[open] { background: var(--show-tint); }

.mkt-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.mkt-faq__q::-webkit-details-marker { display: none; }
.mkt-faq__q::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--show);
  color: var(--ink-contrast);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s var(--ease);
}
.mkt-faq__item[open] .mkt-faq__q::after { content: "\2013"; transform: rotate(180deg); }
.mkt-faq__a { padding: 0 24px 22px; color: var(--ink-2); font-size: 16.5px; max-width: 70ch; }

/* ── CTA band (one brick sheet, cream ink, grain) ───────────────────────── */
.mkt-cta-band {
  position: relative;
  background: var(--show);
  color: var(--ink-contrast);
  text-align: center;
  padding-block: 80px;
  overflow: hidden;
}
.mkt-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  mix-blend-mode: overlay;
  opacity: .12;
  pointer-events: none;
}
.mkt-cta-band .mkt-container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mkt-cta-band__title { font-family: var(--display); font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; color: var(--ink-contrast); max-width: 18ch; }
.mkt-cta-band__sub { max-width: 52ch; font-size: 17px; line-height: 1.55; color: color-mix(in srgb, var(--ink-contrast) 82%, transparent); }
/* Inverse stamped CTA — cream sheet, brick ink. */
.mkt-cta-band .mkt-btn--primary { background: var(--ink-contrast); color: var(--show); box-shadow: var(--shadow-md); }
.mkt-cta-band .mkt-btn--primary:hover { background: var(--ink-contrast); color: var(--show); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── Accent icons (finished decorative marks on cards & steps) ───────────── */
.mkt-icon {
  --ic: var(--show);
  display: grid;
  place-items: center;
  color: var(--ic);
}
.mkt-icon--show { --ic: var(--show); }
.mkt-icon--cast { --ic: var(--cast); }
.mkt-icon--world { --ic: var(--world); }
.mkt-icon--episode { --ic: var(--episode); }
.mkt-icon--channel { --ic: var(--channel); }
/* Small chip — sits at the top of a card. */
.mkt-icon--badge {
  width: 54px;
  height: 54px;
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.mkt-icon--badge svg { width: 27px; height: 27px; }
/* Wide tinted panel — fills a step's media column. */
.mkt-icon--panel {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--ic) 16%, transparent);
  background:
    radial-gradient(130% 120% at 50% -10%, color-mix(in srgb, var(--ic) 16%, var(--surface)) 0%, var(--surface) 74%);
}
.mkt-icon--panel svg { width: 46px; height: 46px; }

/* ── Waitlist ───────────────────────────────────────────────────────────── */
.mkt-waitlist { max-width: 520px; }
.mkt-waitlist__row { display: flex; gap: 10px; }
.mkt-waitlist__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.mkt-waitlist__input::placeholder { color: var(--ink-4); font-weight: 500; }
.mkt-waitlist__input:focus { outline: none; border-color: var(--show); box-shadow: 0 0 0 4px var(--show-soft); }
.mkt-waitlist__submit { flex: none; }
.mkt-waitlist__status { margin-top: 18px; font-size: 15px; font-weight: 700; }
.mkt-waitlist__status.is-error { color: var(--danger); }
.mkt-waitlist__status.is-ok { color: var(--success); }
.mkt-waitlist__note { margin-top: 16px; font-size: 14px; color: var(--ink-3); max-width: 52ch; }
.cf-turnstile { margin-block: 18px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.mkt-footer { background: var(--surface-2); border-top: 1px dashed var(--border); padding-block: 56px 36px; }
.mkt-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.mkt-footer__brand { max-width: 320px; }
.mkt-footer__logo { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--ink); }
.mkt-footer__tagline { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.mkt-footer__cols { display: flex; flex-wrap: wrap; gap: 52px; }
.mkt-footer__col { display: flex; flex-direction: column; gap: 12px; }
.mkt-footer__heading { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-4); margin-bottom: 2px; }
.mkt-footer__link { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.mkt-footer__link:hover { color: var(--show); }
.mkt-footer__legal { margin-top: 44px; font-size: 13px; color: var(--ink-4); }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.mkt-404 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-block: clamp(72px, 14vw, 150px); padding-inline: 24px; }
.mkt-404__code { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 18vw, 150px); line-height: 1; color: var(--show); }
.mkt-404__title { font-size: clamp(26px, 4vw, 36px); }
.mkt-404__body { max-width: 50ch; color: var(--ink-2); font-size: 18px; }
.mkt-404 .mkt-hero__actions { justify-content: center; margin-top: 16px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .mkt-container, .mkt-hero__inner { padding-inline: 18px; }
  .mkt-section { padding-block: 60px; }
  .mkt-nav__toggle { display: inline-flex; }
  .mkt-nav__links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .mkt-nav__links.is-open { display: flex; }
  .mkt-nav__link { padding: 13px 14px; }
  .mkt-nav__cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .mkt-hero::before { display: none; } /* tape would crowd the headline on narrow screens */
  .mkt-pillars { grid-template-columns: 1fr; }
  .mkt-waitlist__row { flex-direction: column; }
  .mkt-footer__inner { flex-direction: column; gap: 32px; }
  .mkt-footer__cols { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .mkt-btn:hover, .mkt-pillar:hover, .mkt-feature:hover { transform: none !important; }
}
