/* ============================================================
   ShipWolf — global stylesheet
   Direction: "builder at dusk" — deep indigo ground, one ember
   accent, monospace texture. Bricolage / Hanken / JetBrains Mono.
   ============================================================ */

/* ---- Fonts (self-hosted, variable) -------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800; font-display: swap; font-style: normal;
}

/* ---- Tokens ------------------------------------------------- */
:root {
  --bg:        #14121c;
  --surface:   #1c1928;
  --surface-2: #241f33;
  --surface-3: #2c2640;
  --ink:       #f3efe8;
  --muted:     #a8a2ba;
  --faint:     #756f88;
  --ember:     #ff6a2a;
  --ember-soft:#ff905f;
  --ember-ink: #0a0b14;   /* text on ember */
  --shipped:   #4fd1a5;   /* semantic "done" only */
  --border:    rgba(243,239,230,.10);
  --border-2:  rgba(243,239,230,.16);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 18px 50px -24px rgba(0,0,0,.7);
  --glow:     0 0 0 1px rgba(255,106,42,.25), 0 30px 80px -30px rgba(255,106,42,.35);

  --ff-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --ff-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: clamp(.8rem, .77rem + .15vw, .88rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.35rem + .75vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
  --step-5:  clamp(3rem, 2.1rem + 4.6vw, 5.8rem);
}

/* ---- 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 {
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--ember-soft);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Layout primitives -------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember-soft);
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.eyebrow::before {
  content: "";
  width: 1.6em; height: 1px;
  background: currentColor;
  opacity: .6;
}

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.15; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.5; max-width: 46ch; }

.section-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin-top: 18px; }

/* ---- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: -.01em;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--ember);
  color: var(--ember-ink);
  box-shadow: 0 10px 30px -12px rgba(255,106,42,.7);
}
.btn--primary:hover { background: var(--ember-soft); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  border: 1px solid var(--border-2);
  color: var(--ink);
  background: rgba(243,239,230,.02);
}
.btn--ghost:hover { border-color: var(--ember-soft); color: var(--ember-soft); transform: translateY(-2px); }
.btn__meta { font-family: var(--ff-mono); font-weight: 500; opacity: .8; font-size: .85em; }

/* ---- Header ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 60px; width: auto; display: block; }
.brand--footer { align-items: flex-start; }
.brand__logo-stacked { height: 192px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-size: .96rem; font-weight: 500; transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
}

/* ---- Hero --------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 100px); }
.hero::before { /* ember dusk glow */
  content: ""; position: absolute; z-index: 0;
  width: 900px; height: 900px; border-radius: 50%;
  top: -420px; right: -200px;
  background: radial-gradient(circle, rgba(255,106,42,.20), rgba(255,106,42,0) 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-figure { margin-top: clamp(0px, 3vw, 52px); }
.hero-figcap { margin-top: 16px; font-family: var(--ff-mono); font-size: var(--step--1); color: var(--faint); display: flex; align-items: baseline; gap: 8px; }
.hero-figcap .arrow { color: var(--ember); }
.hero h1 { font-size: var(--step-5); font-weight: 800; margin: 22px 0 0; }
.hero h1 .em { color: var(--ember); }
.hero .lede { margin-top: 24px; max-width: 40ch; font-size: var(--step-1); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-family: var(--ff-mono); font-size: var(--step--1); color: var(--faint); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--shipped); box-shadow: 0 0 10px var(--shipped); flex: none; }

/* stack chips under hero */


/* ---- Prompt card (the signature) ---------------------------- */
.prompt-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  position: relative;
}
.hero .prompt-card { box-shadow: var(--shadow-2), var(--glow); }
.prompt-card__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.16); }
.prompt-card__dots { display: flex; gap: 6px; }
.prompt-card__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.prompt-card__title { font-family: var(--ff-mono); font-size: .8rem; color: var(--faint); margin-left: 6px; }
.prompt-card__tag { margin-left: auto; font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ember-soft); border: 1px solid color-mix(in srgb, var(--ember) 40%, transparent); padding: 3px 9px; border-radius: 999px; }
.prompt-card__body { padding: 22px 22px 18px; font-family: var(--ff-mono); font-size: .82rem; line-height: 1.7; color: #d9d3e8; white-space: pre-wrap; word-break: break-word; }
.prompt-card__body .c { color: var(--faint); }      /* comment / dim */
.prompt-card__body .k { color: var(--ember-soft); } /* keyword highlight */
.prompt-card__foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px 18px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: .8rem; font-weight: 600;
  padding: 9px 15px; border-radius: 8px;
  background: var(--ember); color: var(--ember-ink);
  min-height: 40px;
  transition: background-color .15s ease, transform .15s ease;
}
.copy-btn:hover { background: var(--ember-soft); }
.copy-btn.is-copied { background: var(--shipped); color: #06241a; }
.copy-btn svg { width: 15px; height: 15px; }
.prompt-card__hint { font-family: var(--ff-mono); font-size: .72rem; color: var(--faint); }

/* ---- Logo strip / metrics ----------------------------------- */
.proof-bar { border-block: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.proof-bar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 150% at 100% 50%, rgba(255,106,42,.10), transparent 55%); pointer-events: none; }
.proof-bar .wrap { position: relative; z-index: 1; padding-block: 30px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 4px clamp(16px, 2.6vw, 36px); }
.stat:first-child { padding-left: 0; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 60%; width: 1px; background: var(--border); }
.stat__num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.85rem); letter-spacing: -.03em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__u { color: var(--ember); font-size: .52em; vertical-align: super; margin: 0 1px; font-weight: 700; }
.stat__num .stat__u:first-child { vertical-align: baseline; font-size: .62em; margin-right: 0; }
.stat__label { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.stat__tag { font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ember-soft); display: inline-flex; align-items: center; gap: 6px; }
.stat__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); }

.built-with { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; font-family: var(--ff-mono); font-size: var(--step--1); color: var(--muted); line-height: 1.5; }
.built-with b { color: var(--ink); font-weight: 600; }
.built-with__pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--shipped); box-shadow: 0 0 10px var(--shipped); flex: none; }
.built-with__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--shipped); animation: sw-pulse 2.6s ease-out infinite; }
@keyframes sw-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .built-with__pulse::after { animation: none; } }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .stat, .stat:first-child { padding-left: clamp(16px, 2.6vw, 36px); }
  .stat + .stat::before { display: none; }
  .stat:nth-child(4), .stat:nth-child(5) { padding-left: 0; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px clamp(16px,5vw,28px); }
  .stat, .stat:first-child, .stat:nth-child(4), .stat:nth-child(5) { padding-left: 0; padding-right: 0; }
  .built-with { align-items: flex-start; }
}

/* ---- The Stack ---------------------------------------------- */
.stack-list { display: grid; gap: 14px; counter-reset: tool; }
.tool {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.tool:hover { border-color: var(--border-2); transform: translateX(4px); background: var(--surface-2); }
.tool__n { font-family: var(--ff-mono); font-size: .9rem; color: var(--ember); font-weight: 600; }
.tool__n::before { counter-increment: tool; content: counter(tool, decimal-leading-zero); }
.tool__name { font-family: var(--ff-display); font-size: var(--step-1); font-weight: 700; letter-spacing: -.01em; }
.tool__role { color: var(--muted); font-size: var(--step--1); margin-top: 3px; }
.tool__job { color: var(--muted); max-width: 52ch; }
.tool__job b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .tool { grid-template-columns: auto 1fr; }
  .tool__job { grid-column: 1 / -1; }
}

/* ---- Bento: what you get ------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.card__kicker { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.card h3 { margin-top: 2px; }
.card p { color: var(--muted); }
.card .big { font-family: var(--ff-display); font-weight: 800; font-size: var(--step-4); color: var(--ember); line-height: 1; letter-spacing: -.03em; }
.card--feature { grid-column: span 4; }
.card--feature .bento-figure { margin-top: auto; }
.card--side { grid-column: span 2; }
.card--half { grid-column: span 3; }
.card--full { grid-column: span 6; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--feature, .card--side, .card--half, .card--full { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .card--feature, .card--side, .card--half, .card--full { grid-column: span 1; }
}

/* mini prompt list inside feature card */
.prompt-mini { display: grid; gap: 7px; margin-top: 6px; }
.prompt-mini li { font-family: var(--ff-mono); font-size: .78rem; color: var(--muted); padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; gap: 9px; }
.prompt-mini li::before { content: "›"; color: var(--ember); font-weight: 700; }

/* discord/tag pills inside cards */
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.pills span { font-family: var(--ff-mono); font-size: .72rem; color: var(--muted); padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px; }

/* ---- Action path (timeline) --------------------------------- */
.path { display: grid; gap: 0; counter-reset: step; position: relative; }
.path::before { content: ""; position: absolute; left: 19px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--ember), color-mix(in srgb, var(--ember) 12%, transparent)); }
@media (max-width: 620px){ .path::before { left: 15px; } }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: clamp(16px, 3vw, 28px);
  padding: 18px 0;
  position: relative;
}
.step__node {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-2);
  display: grid; place-items: center;
  font-family: var(--ff-mono); font-weight: 700; font-size: .9rem; color: var(--ember);
  position: relative; z-index: 1;
}
@media (max-width: 620px){ .step__node { width: 32px; height: 32px; } .step { grid-template-columns: 32px 1fr; } }
.step__node::before { counter-increment: step; content: counter(step); }
.step__time { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .04em; color: var(--ember-soft); text-transform: uppercase; }
.step h3 { margin: 4px 0 6px; font-size: var(--step-1); }
.step p { color: var(--muted); max-width: 56ch; }
.step:last-child h3 { color: var(--shipped); }
.step:last-child .step__node { border-color: var(--shipped); color: var(--shipped); background: color-mix(in srgb, var(--shipped) 12%, var(--surface-2)); }

/* ---- Compare table ------------------------------------------ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px,3vw,32px); background: var(--surface); }
.compare__col--us { border-color: color-mix(in srgb, var(--ember) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--ember) 7%, var(--surface)), var(--surface)); }
.compare__col h3 { font-size: var(--step-1); }
.compare__col .tagline { font-family: var(--ff-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.compare__col--us .tagline { color: var(--ember-soft); }
.compare__list { margin-top: 18px; display: grid; gap: 12px; }
.compare__list li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; color: var(--muted); font-size: var(--step--1); align-items: start; }
.compare__list li b { color: var(--ink); font-weight: 600; }
.tick, .cross { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.tick { color: var(--shipped); } .cross { color: var(--faint); }
@media (max-width: 700px){ .compare { grid-template-columns: 1fr; } }

/* ---- Pricing ------------------------------------------------ */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.price-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-2);
  position: relative; overflow: hidden;
}
.price-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; top: -180px; right: -120px; background: radial-gradient(circle, rgba(255,106,42,.18), transparent 65%); pointer-events: none; }
.price-card__tag { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-soft); }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.price-amount .num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(3rem, 8vw, 4.6rem); letter-spacing: -.03em; line-height: 1; }
.price-amount .per { font-family: var(--ff-mono); font-size: .9rem; color: var(--muted); }
.price-card .lede { font-size: var(--step-0); margin: 8px 0 24px; max-width: 40ch; }
.includes { display: grid; gap: 11px; margin: 24px 0; }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; color: var(--muted); }
.includes li b { color: var(--ink); font-weight: 600; }
.price-card .btn--primary { width: 100%; margin-top: 6px; }
.price-fine { font-family: var(--ff-mono); font-size: .72rem; color: var(--faint); text-align: center; margin-top: 14px; }

/* founding-member callout + kicker in price card */
.price-founder {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--ff-mono); font-size: var(--step--1); line-height: 1.5;
  color: var(--ember-soft);
  background: color-mix(in srgb, var(--ember) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ember) 30%, transparent);
  border-radius: 12px; padding: 12px 14px; margin: 0 0 22px;
}
.price-founder__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); margin-top: 5px; flex: none; }
.includes__kicker { margin-top: 4px; padding-top: 15px; border-top: 1px solid var(--border); }
.includes__kicker b { color: var(--ember-soft); }

/* ---- Roadmap (platform lanes) ------------------------------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lane { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); padding: clamp(22px,2.6vw,30px); position: relative; overflow: hidden; }
.lane::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.lane--live::before { background: var(--shipped); }
.lane--next::before { background: var(--ember); }
.lane--always::before { background: linear-gradient(90deg, var(--ember), var(--ember-soft)); }
.lane__head { display: flex; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 18px; }
.lane__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lane--live .lane__dot { background: var(--shipped); box-shadow: 0 0 10px var(--shipped); }
.lane--next .lane__dot { background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.lane--always .lane__dot { background: var(--ember-soft); box-shadow: 0 0 10px var(--ember-soft); }
.lane__list { display: grid; gap: 13px; }
.lane__list li { position: relative; padding-left: 18px; color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.lane__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 1px; background: var(--faint); transform: rotate(45deg); }
.lane--live .lane__list li::before { background: var(--shipped); }
.lane--always .lane__list li::before { background: var(--ember-soft); }
.roadmap__close { margin: 30px auto 0; text-align: center; max-width: 58ch; color: var(--ink); font-size: var(--step-1); font-family: var(--ff-display); font-weight: 500; line-height: 1.42; }
@media (max-width: 860px){ .roadmap { grid-template-columns: 1fr; } }

/* signup / email capture inside pricing aside */
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(26px,4vw,40px); display: flex; flex-direction: column; }
.signup h3 { font-size: var(--step-2); }
.signup p { color: var(--muted); margin-top: 10px; }
.field { margin-top: 20px; }
.field label { display: block; font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border-2); border-radius: 10px;
  font: inherit; font-size: var(--step-0);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255,106,42,.18); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.signup .btn--primary { width: 100%; margin-top: 18px; }
.field-error { display: none; color: #ff9a9a; font-size: .85rem; margin-top: 8px; font-family: var(--ff-mono); }
.field-error.is-shown { display: block; }
.form-status { margin-top: 16px; font-size: .92rem; color: var(--shipped); display: none; align-items: flex-start; gap: 8px; }
.form-status.is-shown { display: flex; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 760px){ .price-wrap { grid-template-columns: 1fr; } }

/* ---- FAQ ---------------------------------------------------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; max-width: none; }
.faq-col { display: grid; gap: 0; align-content: start; }
@media (max-width: 760px){ .faq { grid-template-columns: 1fr; gap: 0; } }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-family: var(--ff-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; transition: transform .25s ease; color: var(--ember); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }
.faq .answer a { color: var(--ember-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---- CTA band ----------------------------------------------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(255,106,42,.18), transparent 60%); pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 20px auto 0; }
.cta-band .hero-cta { justify-content: center; }

/* ---- Footer ------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { color: var(--muted); margin-top: 14px; max-width: 38ch; font-size: var(--step--1); }
.footer-col h4 { font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--ember-soft); }
.footer-bottom { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-credit { margin-top: 18px; font-family: var(--ff-mono); font-size: .76rem; line-height: 1.7; color: var(--faint); }
.footer-credit--center { text-align: center; margin-top: clamp(40px, 5vw, 54px); }
.footer-credit a { color: var(--ember-soft); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom small { color: var(--faint); font-family: var(--ff-mono); font-size: .76rem; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--brand { grid-column: 1 / -1; } }

/* ---- Mobile drawer ------------------------------------------ */
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--border-2); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 auto; z-index: 49;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-family: var(--ff-display); font-weight: 600; border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { width: 100%; margin-top: 16px; }
}

/* ---- Hero responsive ---------------------------------------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .lede { max-width: 52ch; }
  .hero-figure { order: 2; }
}

/* ---- Reveal on scroll --------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tool, .card, .copy-btn { transition: none; }
}

/* ---- Subpages (legal / affiliates) ----------------------------- */
.wrap--narrow { max-width: 760px; }
.wrap--blog { max-width: var(--maxw); }
.btn--sm { padding: 9px 16px; font-size: .82rem; }
.subpage { padding-block: clamp(44px, 7vw, 92px); }
.subpage .eyebrow { margin-bottom: 14px; }
.subpage h1 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.1rem); letter-spacing: -.03em; line-height: 1.03; }
.subpage .updated { font-family: var(--ff-mono); font-size: var(--step--1); color: var(--faint); margin-top: 16px; }
.legal { margin-top: 36px; }
.legal h2 { font-family: var(--ff-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.02em; margin: 36px 0 12px; color: var(--ink); }
.legal h3 { font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; color: var(--ember-soft); margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.legal li::marker { color: var(--ember); }
.legal a { color: var(--ember-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal strong, .legal b { color: var(--ink); font-weight: 600; }
.legal .note { border: 1px solid var(--border); background: var(--surface); border-left: 3px solid var(--ember); border-radius: 12px; padding: 15px 18px; margin: 0 0 26px; font-family: var(--ff-mono); font-size: var(--step--1); color: var(--faint); line-height: 1.6; }

.subfooter { border-top: 1px solid var(--border); background: var(--surface); padding-block: 26px; }
.subfooter .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.subfooter small, .subfooter a { color: var(--faint); font-family: var(--ff-mono); font-size: .76rem; }
.subfooter nav { display: flex; gap: 18px; }
.subfooter a { text-decoration: none; }
.subfooter a:hover { color: var(--ember-soft); }

/* affiliate page */
.aff-figures { display: flex; flex-wrap: wrap; gap: 30px; margin: 30px 0 8px; }
.aff-figure b { font-family: var(--ff-display); font-weight: 800; font-size: var(--step-2); color: var(--ember); display: block; line-height: 1; letter-spacing: -.02em; }
.aff-figure span { font-family: var(--ff-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
.aff-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.aff-step { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 24px; }
.aff-step .n { font-family: var(--ff-mono); color: var(--ember); font-size: .8rem; }
.aff-step h3 { font-family: var(--ff-display); font-weight: 700; font-size: var(--step-0); color: var(--ink); margin: 10px 0 6px; }
.aff-step p { color: var(--muted); line-height: 1.55; margin: 0; font-size: var(--step--1); }
.aff-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 700px){ .aff-steps { grid-template-columns: 1fr; } }

/* affiliate application form */
.appform { margin-top: 26px; }
.appform .field:first-of-type { margin-top: 0; }
.field textarea {
  width: 100%; min-height: 92px; padding: 12px 16px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border-2); border-radius: 10px;
  font: inherit; font-size: var(--step-0); line-height: 1.5; resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea::placeholder { color: var(--faint); }
.field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255,106,42,.18); }
.field-cap { display: block; font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field { margin-top: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--ff-body); font-size: .95rem; color: var(--muted); cursor: pointer; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; padding: 11px 13px; transition: border-color .15s ease; }
.check input { accent-color: var(--ember); width: 16px; height: 16px; flex: none; }
.check:hover { border-color: var(--faint); }
.appform .btn--primary { margin-top: 8px; }
.appform__done { border: 1px solid var(--border); background: var(--surface); border-left: 3px solid var(--shipped); border-radius: 12px; padding: 18px 20px; color: var(--ink); display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.appform__done svg { width: 20px; height: 20px; color: var(--shipped); flex: none; margin-top: 2px; }
.appform__done[hidden] { display: none; }
@media (max-width: 560px){ .form-grid, .checks { grid-template-columns: 1fr; } }

/* ---- Blog ------------------------------------------------------ */
.breadcrumb { font-family: var(--ff-mono); font-size: .76rem; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ember-soft); }
.post-meta { font-family: var(--ff-mono); font-size: .76rem; color: var(--faint); margin-top: 16px; letter-spacing: .02em; }
.post-lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); margin: 26px 0 8px; font-weight: 400; letter-spacing: -.01em; }
.article { margin-top: 24px; }
.article h2 { font-family: var(--ff-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.02em; margin: 40px 0 12px; color: var(--ink); }
.article h3 { font-family: var(--ff-display); font-weight: 600; font-size: var(--step-0); margin: 28px 0 8px; color: var(--ink); }
.article p, .article li { color: var(--muted); line-height: 1.75; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 9px; }
.article li::marker { color: var(--ember); }
.article a { color: var(--ember-soft); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--ink); font-weight: 600; }
.article blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid var(--ember); color: var(--ink); font-style: italic; }
.article .pull { font-family: var(--ff-display); font-weight: 600; font-size: var(--step-1); line-height: 1.35; color: var(--ink); letter-spacing: -.01em; margin: 30px 0; }
.article hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: var(--step--1); }
.article th, .article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.article th { color: var(--ink); font-family: var(--ff-mono); font-weight: 600; font-size: var(--step--2); text-transform: uppercase; letter-spacing: .04em; }
.article td strong { color: var(--ink); }
.article .keyanswer { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--ember); border-radius: 12px; padding: 16px 20px; margin: 0 0 26px; color: var(--ink); font-size: var(--step-0); line-height: 1.6; }
.article .keyanswer strong { color: var(--ink); }

.cta-box { margin: 44px 0 8px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 320px; height: 320px; background: radial-gradient(circle at top right, rgba(255,106,42,.16), transparent 60%); pointer-events: none; }
.cta-box h3 { font-family: var(--ff-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; position: relative; }
.cta-box p { color: var(--muted); line-height: 1.6; margin: 0 0 18px; position: relative; }
.cta-box .btn { position: relative; }

.blog-list { display: grid; gap: 18px; margin-top: 36px; }
.post-card { display: block; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 26px 28px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.post-card:hover { border-color: var(--faint); transform: translateY(-2px); }
.post-card .pc-meta { font-family: var(--ff-mono); font-size: .72rem; color: var(--faint); letter-spacing: .03em; }
.post-card h2 { font-family: var(--ff-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.02em; color: var(--ink); margin: 10px 0 8px; line-height: 1.15; }
.post-card p { color: var(--muted); line-height: 1.6; margin: 0; font-size: var(--step-0); }
.post-card .pc-more { display: inline-block; margin-top: 14px; font-family: var(--ff-mono); font-size: .8rem; color: var(--ember-soft); }

/* ---- "stack keeps improving" note ------------------------------ */
.stack-note { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.stack-note__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--shipped); box-shadow: 0 0 12px var(--shipped); flex: none; margin-top: 7px; }
.stack-note p { margin: 0; color: var(--muted); line-height: 1.62; font-size: var(--step-0); }
.stack-note strong { color: var(--ink); font-weight: 600; }
