@charset "utf-8";

/* ==========================================================================
   Brand Your Story — marketing site
   --------------------------------------------------------------------------
   The site wears the product's own brand kit, on purpose: a page selling brand
   consistency cannot look like a template. Everything below is lifted from the
   app's theme (frontend/src/styles/_brutal-variables.scss) so the two read as
   one product — thick true-black borders, hard offset shadows with ZERO blur,
   loud flat colour on warm paper, and controls that physically press down.

   Three rules from the app that are easy to break and must not be:
     1. NO blurred shadows. A blur anywhere breaks the idiom at a glance.
     2. NO uppercase and no letter-spacing. The app contains not one
        text-transform; emphasis is weight, borders and yellow fills. The usual
        brutalist ALL-CAPS would NOT match it.
     3. Yellow is never text. #ffc700 on white is ~1.9:1. It is a fill and a
        highlighter stroke, nothing else.
   ========================================================================== */

/* ── fonts ───────────────────────────────────────────────────────────────── */
/* Self-hosted for the same reason the app self-hosts: no third-party origin in
   the critical path, and the whole page serves from one host. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── tokens ──────────────────────────────────────────────────────────────── */
:root {
  /* The app's palette, verbatim. */
  --ink: #000000;
  --paper: #fff8e7;      /* warm paper — the page at rest, deliberately not white */
  --paper-deep: #fdf1d3; /* the deeper warm tone, for letterboxing and alt bands */
  --raised: #ffffff;     /* anything that should read as lifted off the paper */
  --brand: #ffc700;      /* THE brand. Fills and highlighter strokes only. */
  --orange: #fa984a;
  --red: #f56565;
  --green: #4ecb71;
  --cyan: #22d2ed;
  --blue: #61bcff;
  --pink: #ff90e8;
  --purple: #be82fa;

  --muted: rgba(0, 0, 0, 0.62);

  /* Structure. 2px everywhere, one hairline exception for table interiors. */
  --bw: 2px;
  --r-sm: 0.375rem;
  --r: 0.625rem;
  --r-lg: 1rem;
  --r-xl: 1.25rem;
  --r-pill: 50rem;

  /* Hard offsets, zero blur, zero spread, fully opaque. */
  --sh-sm: 0.1875rem 0.1875rem 0 var(--ink);
  --sh: 0.25rem 0.25rem 0 var(--ink);
  --sh-lg: 0.5rem 0.5rem 0 var(--ink);
  --sh-xl: 0.75rem 0.75rem 0 var(--ink);

  /* Hover paints 2px past top/left and 3px past right/bottom, so any pressable
     element inside a clipped container needs this much clearance. */
  --lift-room: 0.25rem;

  --wrap: 72rem;
  --wrap-narrow: 46rem;
  --gutter: 1.25rem;

  --step-1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step2: clamp(1.4rem, 1.25rem + 0.75vw, 1.9rem);
  --step3: clamp(1.85rem, 1.5rem + 1.7vw, 2.9rem);
  --step4: clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem);
}

/* ── reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', roboto,
    'Helvetica Neue', arial, sans-serif;
  font-size: var(--step0);
  line-height: 1.6;
  font-synthesis-weight: none; /* the variable file stops at 700; faux-bold smears */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--brand); color: var(--ink); }

/* A solid black ring, never a soft halo — this theme has no soft edges to hide it. */
:focus-visible { outline: 0.1875rem solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* ── utilities ───────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100%; z-index: 100;
  background: var(--brand); color: var(--ink); font-weight: 700;
  padding: 0.6rem 1rem; border: var(--bw) solid var(--ink);
  border-radius: var(--r); box-shadow: var(--sh-sm); text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ── buttons: the app's one physical metaphor, used identically everywhere ── */
.btn {
  --btn-bg: var(--raised);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--btn-bg);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  /* NOT nowrap: a caption that cannot wrap runs straight out of its own border. */
  white-space: normal;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0.3125rem 0.3125rem 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn--primary { --btn-bg: var(--brand); }
.btn--ghost { --btn-bg: var(--raised); }
.btn--dark { --btn-bg: var(--ink); color: var(--paper); }
.btn--lg { padding: 0.8rem 1.5rem; font-size: var(--step1); border-radius: var(--r-lg); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: none; }
}

.badge {
  display: inline-block; padding: 0.3em 0.7em;
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-pill); font-size: var(--step-1); font-weight: 700;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: var(--step-1);
  padding: 0.3rem 0.8rem 0.3rem 0.55rem;
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-pill); box-shadow: var(--sh-sm);
  margin-bottom: 1.25rem;
}
.eyebrow__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--brand); border: 1.5px solid var(--ink); }

/* The one place the brand colour may touch text: as a stroke behind it. */
mark.hl {
  background: linear-gradient(to top, var(--brand) 0.42em, transparent 0.42em);
  color: inherit; padding-inline: 0.05em;
}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--raised);
  border-bottom: var(--bw) solid var(--ink);
}
.nav__inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }

.wordmark {
  font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink);
  background: var(--brand); border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm); padding: 0.125rem 0.625rem;
  box-shadow: 0.125rem 0.125rem 0 var(--ink);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.wordmark:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-sm); }
.wordmark--footer { display: inline-block; }

.nav__links { display: none; gap: 1.5rem; margin-left: auto; }
.nav__links a {
  color: var(--ink); font-weight: 600; text-decoration: underline;
  text-underline-offset: 0.2em; text-decoration-thickness: 0.08em;
}
.nav__links a:hover { text-decoration-color: var(--brand); text-decoration-thickness: 0.2em; }
.nav__cta { display: none; }

.nav__toggle {
  margin-left: auto; width: 2.75rem; height: 2.5rem;
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm); box-shadow: var(--sh-sm); cursor: pointer;
  display: grid; place-items: center;
}
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
  content: ''; display: block; width: 1.15rem; height: 2px; background: var(--ink);
}
.nav__toggle-bar { position: relative; }
.nav__toggle-bar::before { position: absolute; top: -6px; }
.nav__toggle-bar::after { position: absolute; top: 6px; }

.nav__mobile {
  display: grid; gap: 0.75rem; padding: 1rem var(--gutter) 1.25rem;
  border-top: var(--bw) solid var(--ink); background: var(--raised);
}
.nav__mobile a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: none; padding: 0.35rem 0; }

@media (min-width: 60rem) {
  .nav__links, .nav__cta { display: inline-flex; }
  .nav__links { margin-left: auto; }
  .nav__cta { margin-left: 0.5rem; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.5rem, 1rem + 6vw, 5.5rem) 0 clamp(2rem, 1rem + 4vw, 4rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); }
.hero__headline { font-size: var(--step4); }
.hero__sub {
  margin-top: 1.25rem; font-size: var(--step1); max-width: 34ch;
  color: rgba(0, 0, 0, 0.78);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

@media (min-width: 62rem) {
  .hero__copy { max-width: 52rem; }
  .hero__headline { max-width: 16ch; }
  .hero__sub { max-width: 46ch; font-size: var(--step2); line-height: 1.35; }
}

/* ── the kit demo ────────────────────────────────────────────────────────── */
/* Every kit-dependent value is a custom property set on .demo, so switching kit
   is one attribute change. With JS off, kit 1 is the served default and the
   whole thing still reads correctly. */
.demo {
  --k-bg: var(--paper);
  --k-ink: #000000;
  --k-accent: var(--brand);
  --k-accent-2: var(--orange);
  --k-font: 'Space Grotesk', sans-serif;

  display: grid; gap: 1rem; align-items: center;
}
.demo[data-kit='2'] { --k-bg: #eaf4ff; --k-ink: #06233d; --k-accent: var(--blue); --k-accent-2: var(--purple); }
.demo[data-kit='3'] { --k-bg: #fff0fa; --k-ink: #2c0b23; --k-accent: var(--pink); --k-accent-2: var(--green); }

.demo__panel, .demo__out {
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.15rem;
}
.demo__panel-title { font-weight: 700; font-size: var(--step-1); margin-bottom: 0.85rem; }
.demo__panel-title--out { color: var(--muted); }

.demo__row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; }
.demo__label { width: 5.4rem; flex: 0 0 auto; font-size: var(--step-1); color: var(--muted); }

.demo__swatches { display: flex; gap: 0.3rem; }
.sw { width: 1.35rem; height: 1.35rem; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); }
.sw--1 { background: var(--k-accent); }
.sw--2 { background: var(--k-accent-2); }
.sw--3 { background: var(--k-bg); }
.sw--4 { background: var(--k-ink); }

.demo__type { font-family: var(--k-font); font-weight: 700; font-size: var(--step1); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: var(--bw) solid var(--ink); border-radius: var(--r-pill);
  padding: 0.15rem 0.7rem 0.15rem 0.4rem; font-size: var(--step-1); font-weight: 600;
  background: var(--raised);
}
.chip__dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--k-accent); border: 1.5px solid var(--ink); }
.chip__dot--env { border-radius: var(--r-sm); background: var(--k-accent-2); }

.demo__switch { display: flex; gap: 0.5rem; margin-top: 1rem; }
.kitbtn {
  flex: 1; padding: 0.45rem 0.5rem; font-weight: 700; font-size: var(--step-1);
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm); box-shadow: var(--sh-sm); cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.kitbtn:hover { transform: translate(-2px, -2px); box-shadow: 0.3125rem 0.3125rem 0 var(--ink); }
.kitbtn[aria-checked='true'] {
  /* Rendered as held down, exactly like the app's checked segmented buttons. */
  transform: translate(3px, 3px); box-shadow: none;
}
.kitbtn--1[aria-checked='true'] { background: var(--brand); }
.kitbtn--2[aria-checked='true'] { background: var(--blue); }
.kitbtn--3[aria-checked='true'] { background: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .kitbtn, .kitbtn:hover { transform: none; transition: none; }
  .kitbtn[aria-checked='true'] { transform: none; box-shadow: inset 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.25); }
}

.demo__hint { margin-top: 0.7rem; font-size: var(--step-1); color: var(--muted); }
.demo__arrow { display: none; color: var(--ink); justify-self: center; }

.demo__posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.post { display: grid; gap: 0.4rem; min-width: 0; }
.post__art {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--k-bg);
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  display: grid; place-items: center;
  transition: background-color 0.35s ease;
}
.post--story .post__art { aspect-ratio: 9 / 16; }

/* The CSS art is the floor, not the ceiling: it paints instantly, re-skins with
   the kit, and is what a visitor sees if a generated image fails to load. */
.post__subject {
  width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--k-accent), var(--k-accent-2));
  border: var(--bw) solid var(--k-ink);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.post--b .post__subject { border-radius: var(--r-lg); width: 62%; aspect-ratio: 4 / 5; }
.post--c .post__subject { border-radius: var(--r-lg) var(--r-lg) 50% 50%; width: 66%; aspect-ratio: 3 / 5; }

.post__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__img[hidden] { display: none; }

.post__cap {
  font-family: var(--k-font); font-size: var(--step-1); font-weight: 700;
  line-height: 1.25; color: var(--ink);
  border-left: var(--bw) solid var(--k-accent); padding-left: 0.45rem;
  transition: border-color 0.35s ease;
}
.demo__caption { margin-top: 0.9rem; font-size: var(--step-1); color: var(--muted); }

@media (min-width: 56rem) {
  .demo { grid-template-columns: minmax(18rem, 0.8fr) auto minmax(0, 1.35fr); gap: 1.25rem; }
  .demo__arrow { display: block; }
  .demo__panel, .demo__out { padding: 1.4rem; }
}

/* ── problem strip ───────────────────────────────────────────────────────── */
.strip {
  background: var(--ink); color: var(--paper);
  padding: clamp(2.5rem, 1rem + 5vw, 4.5rem) 0;
  border-block: var(--bw) solid var(--ink);
}
.strip__heading { font-size: var(--step3); max-width: 22ch; }
.strip__lines { display: grid; gap: 1rem; margin-top: 1.5rem; max-width: 62ch; }
.strip__lines p { color: rgba(255, 248, 231, 0.82); font-size: var(--step1); }

/* ── generic section ─────────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 1.5rem + 6vw, 6rem) 0; }
.section--paper { background: var(--paper-deep); border-block: var(--bw) solid var(--ink); }
.section--dark { background: var(--ink); color: var(--paper); border-block: var(--bw) solid var(--ink); }
.section--dark .section__intro { color: rgba(255, 248, 231, 0.75); }

.section__heading { font-size: var(--step3); max-width: 20ch; }
.section__heading--wide { max-width: 26ch; }
.section__intro { margin-top: 1rem; max-width: 58ch; font-size: var(--step1); color: var(--muted); }

/* ── steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative; background: var(--raised);
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--sh); padding: 1.4rem 1.15rem 1.15rem;
}
.step__n {
  display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem;
  background: var(--brand); border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm); font-weight: 700; box-shadow: 0.125rem 0.125rem 0 var(--ink);
  margin-bottom: 0.9rem;
}
.step__title { font-size: var(--step1); margin-bottom: 0.5rem; }
.step__body { color: var(--muted); font-size: var(--step0); }

/* Step 4 is the trust moment, so the critic gets its own visual. */
.critic {
  display: grid; gap: 0.35rem; margin-top: 0.9rem; padding-top: 0.9rem;
  border-top: var(--bw) dashed rgba(0, 0, 0, 0.25);
}
.critic__row { display: flex; align-items: center; gap: 0.45rem; font-size: var(--step-1); font-weight: 600; }
.critic__tick {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--green); border: 1.5px solid var(--ink);
  font-size: 0.7rem; font-weight: 700; line-height: 1;
}

/* ── framework ───────────────────────────────────────────────────────────── */
.framework { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 46rem) { .framework { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .framework { grid-template-columns: repeat(4, 1fr); } }

.fblock {
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.15rem; overflow: hidden;
}
.fblock__vis {
  height: 6.5rem; margin: -1.15rem -1.15rem 1rem;
  border-bottom: var(--bw) solid var(--ink);
}
/* Each block draws its own subject in pure CSS — colours as swatches, type as a
   glyph, characters as a figure, environments as a horizon. No image requests. */
.fblock--1 .fblock__vis {
  background:
    linear-gradient(90deg, var(--brand) 0 25%, var(--orange) 25% 50%, var(--pink) 50% 75%, var(--blue) 75% 100%);
}
.fblock--2 .fblock__vis {
  background: var(--paper-deep);
  display: grid; place-items: center;
}
.fblock--2 .fblock__vis::after {
  content: 'Aa'; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em;
}
.fblock--3 .fblock__vis {
  background: radial-gradient(circle at 50% 118%, var(--purple) 0 42%, transparent 42%),
              radial-gradient(circle at 50% 34%, var(--brand) 0 17%, transparent 17%),
              var(--paper-deep);
}
.fblock--4 .fblock__vis {
  background: linear-gradient(to bottom, var(--cyan) 0 55%, var(--green) 55% 100%);
  position: relative;
}
.fblock--4 .fblock__vis::after {
  content: ''; position: absolute; left: 50%; bottom: 22%; translate: -50% 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--brand);
  border: var(--bw) solid var(--ink);
}
.fblock__title { font-size: var(--step1); margin-bottom: 0.45rem; }
.fblock__body { color: var(--muted); font-size: var(--step0); }

/* one kit → several outputs */
.derived {
  margin-top: 2.5rem; padding: 1.35rem;
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  display: grid; gap: 1.1rem; align-items: center;
}
.derived__kit {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  border: var(--bw) solid var(--ink); border-radius: var(--r); padding: 0.75rem 0.9rem;
  background: var(--paper);
}
.derived__kit-label { font-weight: 700; font-size: var(--step-1); }
.derived__swatches { display: flex; gap: 0.3rem; }
.derived__swatches i { width: 1.35rem; height: 1.35rem; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); }
.derived__swatches i:nth-child(1) { background: var(--brand); }
.derived__swatches i:nth-child(2) { background: var(--orange); }
.derived__swatches i:nth-child(3) { background: var(--paper); }
.derived__swatches i:nth-child(4) { background: var(--ink); }
.derived__arrow { justify-self: center; rotate: 90deg; }
.derived__outputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.derived__outputs img, .derived__ph {
  aspect-ratio: 1; width: 100%; object-fit: cover;
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  background: var(--paper-deep);
}
.derived__cap { grid-column: 1 / -1; font-size: var(--step-1); color: var(--muted); }

@media (min-width: 52rem) {
  .derived { grid-template-columns: minmax(0, 0.7fr) auto minmax(0, 1.3fr); }
  .derived__arrow { rotate: none; }
  .derived__outputs { grid-template-columns: repeat(4, 1fr); }
}

/* ── formats ─────────────────────────────────────────────────────────────── */
.formats { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .formats { grid-template-columns: repeat(4, 1fr); } }

.fcard {
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.15rem; overflow: hidden;
}
.fcard__thumb {
  height: 8.5rem; margin: -1.15rem -1.15rem 0.9rem;
  border-bottom: var(--bw) solid var(--ink);
  background-color: var(--paper-deep);
  background-size: cover; background-position: center;
}
/* Until real output is dropped in, each thumb draws its own aspect story. */
.fcard--1 .fcard__thumb { background-image: linear-gradient(135deg, var(--brand) 0 50%, var(--orange) 50% 100%); }
.fcard--2 .fcard__thumb { background-image: repeating-linear-gradient(90deg, var(--blue) 0 22%, var(--paper) 22% 25%); }
.fcard--3 .fcard__thumb { background-image: repeating-linear-gradient(90deg, var(--pink) 0 18%, var(--paper) 18% 20%); }
.fcard--4 .fcard__thumb { background-image: linear-gradient(135deg, var(--purple) 0 33%, var(--cyan) 33% 66%, var(--green) 66% 100%); }
.fcard .badge { margin-bottom: 0.6rem; }
.fcard__title { font-size: var(--step1); margin-bottom: 0.4rem; }
.fcard__body { color: var(--muted); font-size: var(--step0); }

/* ── automation week ─────────────────────────────────────────────────────── */
.week { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 56rem) { .week { grid-template-columns: repeat(5, 1fr); } }

.week__day { display: grid; gap: 0.5rem; }
.week__label {
  justify-self: start; font-weight: 700; font-size: var(--step-1);
  background: var(--brand); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: var(--r-sm);
  padding: 0.1rem 0.6rem;
}
.week__card {
  display: grid; gap: 0.3rem; height: 100%;
  background: var(--raised); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh-sm); padding: 0.85rem;
}
.week__note { font-size: var(--step-1); color: var(--muted); }
.week__critic {
  display: flex; align-items: center; gap: 0.55rem; margin-top: 1.75rem;
  font-weight: 600; color: rgba(255, 248, 231, 0.9);
}
.week__outcome {
  margin-top: 0.75rem; font-size: var(--step2); font-weight: 700;
  max-width: 26ch; line-height: 1.15; color: var(--paper);
}

/* ── audience ────────────────────────────────────────────────────────────── */
.cols { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .cols { grid-template-columns: repeat(3, 1fr); } }
.col {
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.35rem;
  border-top-width: 0.5rem;
}
.col:nth-child(1) { border-top-color: var(--brand); }
.col:nth-child(2) { border-top-color: var(--blue); }
.col:nth-child(3) { border-top-color: var(--purple); }
.col__title { font-size: var(--step2); margin-bottom: 0.5rem; }
.col__body { color: var(--muted); }

/* ── social proof ────────────────────────────────────────────────────────── */
.logos { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; margin-top: 2rem; }
.logos__item { filter: grayscale(1); opacity: 0.75; }
.quotes { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 52rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.25rem;
}
.quote blockquote { font-size: var(--step1); font-weight: 600; }
.quote figcaption { margin-top: 0.9rem; display: grid; font-size: var(--step-1); }
.quote figcaption span { color: var(--muted); }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.tiers { display: grid; gap: 1.25rem; margin-top: 2.5rem; align-items: start; }
@media (min-width: 52rem) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative; display: grid; gap: 0.6rem;
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh); padding: 1.5rem 1.25rem 1.25rem;
}
.tier--featured { background: var(--brand); box-shadow: var(--sh-lg); }
.tier__flag {
  position: absolute; top: -0.85rem; left: 1.25rem;
  background: var(--ink); color: var(--paper); font-size: var(--step-1); font-weight: 700;
  border-radius: var(--r-pill); padding: 0.15rem 0.75rem;
}
.tier__name { font-size: var(--step1); }
.tier__price { font-size: var(--step3); font-weight: 700; line-height: 1; }
.tier__period { font-size: var(--step0); font-weight: 600; color: var(--muted); }
.tier--featured .tier__period { color: rgba(0, 0, 0, 0.65); }
.tier__blurb { color: var(--muted); font-size: var(--step-1); }
.tier--featured .tier__blurb { color: rgba(0, 0, 0, 0.7); }
.tier__features { display: grid; gap: 0.45rem; margin: 0.5rem 0 0.35rem; }
.tier__features li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step-1); font-weight: 600; }
.tier__cta { margin-top: 0.5rem; }
.tiers__foot { margin-top: 1.25rem; font-size: var(--step-1); color: var(--muted); }

/* ── faq ─────────────────────────────────────────────────────────────────── */
/* <details>, so it works with JS disabled and keyboards get it for free. */
.faq { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
.faq__item {
  background: var(--raised); border: var(--bw) solid var(--ink);
  border-radius: var(--r); box-shadow: var(--sh-sm); overflow: hidden;
}
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 1.1rem; font-weight: 700; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__mark { position: relative; flex: 0 0 auto; width: 1rem; height: 1rem; }
.faq__mark::before, .faq__mark::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  background: var(--ink); border-radius: 1px;
}
.faq__mark::before { width: 1rem; height: 2px; }
.faq__mark::after { width: 2px; height: 1rem; transition: transform 0.15s ease; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__item[open] .faq__q { background: var(--brand); border-bottom: var(--bw) solid var(--ink); }
.faq__a { padding: 1rem 1.1rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .faq__mark::after { transition: none; } }

/* ── final cta ───────────────────────────────────────────────────────────── */
.final { background: var(--brand); border-block: var(--bw) solid var(--ink); padding: clamp(3rem, 1.5rem + 6vw, 5.5rem) 0; }
.final__inner { display: grid; justify-items: center; text-align: center; gap: 1rem; }
.final__heading { font-size: var(--step3); max-width: 20ch; }
.final__body { max-width: 46ch; color: rgba(0, 0, 0, 0.75); font-size: var(--step1); }
.final__note { font-size: var(--step-1); color: rgba(0, 0, 0, 0.65); }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--paper); padding: 3rem 0 1.5rem; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 46rem) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer__blurb { margin-top: 1rem; color: rgba(255, 248, 231, 0.7); font-size: var(--step-1); max-width: 32ch; }
.footer__title { font-size: var(--step-1); font-weight: 700; margin-bottom: 0.75rem; }
.footer__col ul { display: grid; gap: 0.45rem; }
.footer__col a {
  color: rgba(255, 248, 231, 0.78); text-decoration: none; font-size: var(--step-1);
}
.footer__col a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 0.15em; text-underline-offset: 0.2em; }
.footer__legal {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: var(--bw) solid rgba(255, 248, 231, 0.22);
  font-size: var(--step-1); color: rgba(255, 248, 231, 0.6);
}

/* ── scroll reveal ───────────────────────────────────────────────────────── */
/* Opt-in via JS: .js-reveal is added by main.js so a no-JS visitor never meets
   an element stuck at opacity 0. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* Placeholder output tiles — replaced by real generated images as soon as
   content.json carries them. Each draws a different composition from the SAME
   kit, which is the point the figure is making. */
.derived__ph--1 { background: radial-gradient(circle at 50% 62%, var(--orange) 0 38%, transparent 38%), var(--brand); }
.derived__ph--2 { background: linear-gradient(160deg, var(--brand) 0 46%, var(--paper) 46% 100%); }
.derived__ph--3 { background: radial-gradient(circle at 30% 30%, var(--paper) 0 26%, transparent 26%), var(--orange); }
.derived__ph--4 { background: repeating-linear-gradient(45deg, var(--brand) 0 12%, var(--paper) 12% 24%); }
