/* Hallmark · theme: custom · idea: "the page is a running workflow" · vibe: "a live automation canvas at night" · redesign: full (v2, the owner rejected v1 as polish)
 * paper: oklch(13.5% 0.014 245) · accent: oklch(90% 0.19 125) lime = a step ran · data: oklch(84% 0.12 205) cyan = data moving · alert: oklch(82% 0.14 68) amber = needs you
 * faces: display Archivo (wide, 800) · body Onest · outlier Fragment Mono (prices and node captions only) · hero: Stage, the headline left and the Review Aggregator running live on its canvas right
 * nav: kept (shared component, restyled under body.home) · footer: kept (shared component, restyled) · signature: the $47 Review Aggregator running, packet by packet, with the negative review it catches
 * axes: dark/grotesk-wide/chromatic-lime · posture: Stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: R, near-black with a neon accent is a spent look; the owner chose it, and three signals with three jobs keep it from being one glow */
/* Hallmark · waive 72 · div.faq-item has hairline rules only, no fill or box · a ruled list beside a sticky heading, flush with the column */
/* Hallmark · waive 39b · button.faq-question is a full-width disclosure row holding a whole question · its height is the question, not a button */
/* Hallmark · waive 26b · no form control and no aria-disabled on the page · nothing here can be disabled */
/* Hallmark · reworded price ranges "$50–300" to "$50 to $300" and the FAQ dashes to colons and commas · 19 names the dash */
/* Hallmark · dropped testimonials (Marcus R., Sarah L., David K.) and the hero dashboard figures · the owner confirmed they are not real, 2026-11-15 */
/* Hallmark · waive 79 · the local render has no main.css and no 72px nav that main.js injects live · with the nav in place the hero is centred in the remaining screen */
/* Hallmark · waive 3 ·ol.chain holds three icon nodes joined by drawn wires · the icons are the workflow's nodes, the section's one idea, not decoration over headings */
/* Hallmark · dropped the carousel (#pCarouselTrack) and the old feature-card and template-card headings · each template is now one tile link whose name is the link text; the feature cards became the hero workflow and the switch table */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Page scope: main.css colours p, h1 to h3 and .lead for every page; reset them here ---------- */
.home main p { color: var(--color-muted); line-height: 1.6; }
.home main h1, .home main h2, .home main h3 { color: var(--color-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--tracking-display); }
.home main .lead { margin: 0; max-width: 46ch; font-size: var(--text-lead); color: var(--color-ink-2); line-height: 1.5; }
.home main ul, .home main ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 52px; padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-control); border: 1px solid transparent;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 600; font-size: var(--text-md);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 0 var(--color-accent-glow); }
.btn--primary:hover { box-shadow: 0 0 0 6px var(--color-accent-glow), 0 10px 40px var(--color-accent-glow); color: var(--color-accent-ink); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule-strong); }
.btn--ghost:hover { border-color: var(--color-data); color: var(--color-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .link:focus-visible, .faq-question:focus-visible, .switch:focus-visible, .flow__pause:focus-visible, .tile a:focus-visible, .faq__head a:focus-visible {
  outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none;
}

.link {
  color: var(--color-accent); font-weight: 600; text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--color-accent) 40%, transparent); text-underline-offset: 0.22em;
  transition: text-decoration-color var(--dur-short) var(--ease-out);
}
.link:hover { text-decoration-color: var(--color-accent); }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--section-gap-s); border-top: 1px solid var(--color-rule); }
.sec__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); max-width: 62ch; }
.sec__head p { max-width: 58ch; font-size: var(--text-lg); }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); }

/* ---------- 1. Hero: the canvas ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - 72px); display: grid; align-content: center;
  padding-block: var(--space-2xl);
  background: radial-gradient(55% 65% at 75% 45%, var(--color-accent-glow), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--color-grid) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, var(--color-ink) 55%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-2xl); align-items: center; }
.hero__copy { display: grid; gap: var(--space-lg); align-content: center; }
.home main .hero h1 { font-size: clamp(2.75rem, 4.2vw + 0.4rem, 5rem); line-height: 0.98; max-width: 11ch; }
.hero__facts { display: grid; gap: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
.hero__facts li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.hero__facts li::before { content: ""; width: 14px; height: 1px; background: var(--color-accent); }

/* The workflow card */
.flow {
  margin: 0; position: relative;
  border: 1px solid var(--color-rule-strong); border-radius: var(--radius-card);
  background: color-mix(in oklab, var(--color-paper-2) 88%, transparent);
  backdrop-filter: blur(6px);
}
.flow__bar, .flow__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-lg);
}
.flow__bar { border-bottom: 1px solid var(--color-rule); }
.flow__foot { border-top: 1px solid var(--color-rule); padding-block: var(--space-md); }
.flow__name { font-family: var(--font-display); font-stretch: 108%; font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); }
.flow__pause {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: 36px; padding: 0 var(--space-sm);
  background: transparent; color: var(--color-ink-2);
  border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill);
  font-size: var(--text-xs); cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.flow__pause:hover { border-color: var(--color-ink-2); color: var(--color-ink); }
.flow__price { font-family: var(--font-outlier); font-size: var(--text-xl); color: var(--color-ink); }
.flow__price span { font-size: var(--text-xs); color: var(--color-muted); }

.flow__canvas { position: relative; aspect-ratio: 5 / 3; margin: var(--space-sm); border-radius: var(--radius-node);
  background-image: radial-gradient(var(--color-grid) 1px, transparent 1.4px); background-size: 20px 20px; }
.flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wire { fill: none; stroke: var(--color-rule-strong); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke var(--dur-long) var(--ease-out); }
.wire.is-hot { stroke: var(--color-data); }
.packet { fill: var(--color-data); opacity: 0; filter: drop-shadow(0 0 6px var(--color-data)); }
.packet--alert { fill: var(--color-alert); filter: drop-shadow(0 0 6px var(--color-alert)); }
.packet.is-moving { opacity: 1; }

.flow__nodes { position: absolute; inset: 0; }
.node {
  position: absolute; left: calc(var(--x) / 600 * 100%); top: calc(var(--y) / 360 * 100%);
  width: 28%; min-height: 20%; transform: translate(-50%, -50%);
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-xs); align-content: center;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-paper-3); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-node);
  transition: border-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out);
}
.node > i { grid-row: span 2; align-self: center; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--color-paper-2); color: var(--color-ink-2); font-size: 13px; transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out); }
.node__t { font-size: var(--text-xs); font-weight: 600; color: var(--color-ink); line-height: 1.25; }
.node__s { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.3; }
/* lit: the step ran */
.node.is-run { border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-glow), 0 0 36px var(--color-accent-glow); }
.node.is-run > i { background: var(--color-accent); color: var(--color-accent-ink); }
.node--alert.is-run { border-color: var(--color-alert); box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-alert) 18%, transparent), 0 0 36px color-mix(in oklab, var(--color-alert) 18%, transparent); }
.node--alert.is-run > i { background: var(--color-alert); color: var(--color-accent-ink); }

.flow__alert {
  position: absolute; left: 2%; top: 46%; width: 31%;
  display: grid; gap: var(--space-2xs);
  padding: var(--space-sm);
  background: var(--color-paper); border: 1px solid color-mix(in oklab, var(--color-alert) 55%, transparent); border-radius: var(--radius-node);
  box-shadow: 0 18px 50px -12px var(--color-shadow);
  transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out);
}
.home main .flow__alert p { margin: 0; font-size: var(--text-xs); line-height: 1.35; }
.home main .flow__alert-t { color: var(--color-alert); font-weight: 600; }
.flow__alert blockquote { margin: 0; font-size: var(--text-xs); color: var(--color-ink-2); line-height: 1.35; }
.home main .flow__alert-a { color: var(--color-accent); }
/* With the script running, the alert appears only when the negative branch fires */
.js .flow[data-live] .flow__alert { opacity: 0; transform: translateY(8px); }
.js .flow[data-live].is-alert .flow__alert { opacity: 1; transform: none; }

/* ---------- 2. How it works: a chain of three nodes ---------- */
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl); position: relative; }
.chain__node { position: relative; display: grid; gap: var(--space-sm); align-content: start; }
.chain__icon {
  position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: var(--radius-node); background: var(--color-paper-3); border: 1px solid var(--color-rule-strong);
  color: var(--color-ink); font-size: 22px; margin-bottom: var(--space-sm);
  transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out);
}
/* the wire to the next node */
.chain__node:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 72px; right: calc(-1 * var(--space-2xl) + 8px); height: 2px;
  background: var(--color-data); transform-origin: left center;
  transition: transform var(--dur-long) var(--ease-out);
}
.chain__node:nth-child(2)::after { transition-delay: 600ms; }
.chain__node:nth-child(2) .chain__icon { transition-delay: 450ms; }
.chain__node:nth-child(3) .chain__icon { transition-delay: 1050ms; }
.chain__icon { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); box-shadow: 0 0 32px var(--color-accent-glow); }
.home main .chain__node h3 { font-size: var(--text-xl); }
.chain__node p { max-width: 36ch; }
/* before the section is seen (script only), the wires are undrawn and the nodes dark */
.js [data-reveal]:not(.is-in) .chain__node::after { transform: scaleX(0); }
.js [data-reveal]:not(.is-in) .chain__icon { background: var(--color-paper-3); color: var(--color-ink); border-color: var(--color-rule-strong); box-shadow: none; }

/* ---------- 3. Before and after ---------- */
.switch {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  min-height: 48px; padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs);
  background: var(--color-paper-2); color: var(--color-ink);
  border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-stretch: 108%; font-weight: 600; font-size: var(--text-md); cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out);
}
.switch:hover { border-color: var(--color-ink-2); }
.switch__track { position: relative; width: 56px; height: 32px; border-radius: var(--radius-pill); background: var(--color-paper-3); border: 1px solid var(--color-rule-strong); transition: background-color var(--dur-short) var(--ease-out); }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--color-muted); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.switch[aria-checked="true"] .switch__track { background: var(--color-accent); border-color: var(--color-accent); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(24px); background: var(--color-accent-ink); }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--space-lg) var(--space-md); border-top: 1px solid var(--color-rule); }
.compare thead th { padding-block: var(--space-sm); font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); border-top: 0; }
.compare tbody th { width: 22%; font-family: var(--font-display); font-stretch: 108%; font-weight: 600; font-size: var(--text-lg); color: var(--color-ink); white-space: nowrap; }
.compare tbody th i { color: var(--color-muted); margin-right: var(--space-xs); font-size: 0.9em; }
.compare td { font-size: var(--text-lg); line-height: 1.45; }
.compare td.c-off { color: var(--color-muted); }
.compare td.c-on { color: var(--color-ink); }
.compare thead .c-on { color: var(--color-accent); }
/* with the switch: one column at a time, the row heading lights with the state */
.compare.is-switchable thead { display: none; }
.compare.is-switchable[data-on="false"] .c-on, .compare.is-switchable[data-on="true"] .c-off { display: none; }
.compare.is-switchable td { font-size: var(--text-xl); font-family: var(--font-body); animation: swap-in var(--dur-long) var(--ease-out); }
.compare.is-switchable[data-on="true"] tbody th i { color: var(--color-accent); }
.compare.is-switchable[data-on="false"] td.c-off { color: var(--color-ink-2); }
@keyframes swap-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 4. Price ledger ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.price .sec__head { margin-bottom: 0; }
.ledger { display: grid; }
.ledger li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who per" "fig fig";
  gap: var(--space-2xs) var(--space-md); padding: var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--color-rule);
}
.ledger__who { grid-area: who; color: var(--color-muted); font-size: var(--text-md); }
.ledger__per { grid-area: per; color: var(--color-muted); font-size: var(--text-sm); font-family: var(--font-outlier); }
.ledger__fig { grid-area: fig; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; letter-spacing: var(--tracking-display); font-size: var(--text-figure); line-height: 1; color: var(--color-muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.ledger li:not(.is-ours) .ledger__fig { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: color-mix(in oklab, var(--color-error) 70%, transparent); }
.ledger li.is-ours { border: 1px solid var(--color-accent); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-accent) 6%, var(--color-paper)); box-shadow: 0 0 60px -10px var(--color-accent-glow); }
.ledger li.is-ours .ledger__who { color: var(--color-ink); font-weight: 600; }
.ledger li.is-ours .ledger__fig { color: var(--color-accent); }
.ledger li.is-ours .ledger__per { color: var(--color-accent); }

/* ---------- 5. Templates bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--space-sm); }
.tile { position: relative; min-width: 0; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--all { grid-column: span 3; }
.tile a {
  --mx: 50%; --my: 0%;
  position: relative; height: 100%; min-height: 168px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-xs);
  padding: var(--space-lg);
  border: 1px solid var(--color-rule); border-radius: var(--radius-card);
  background: radial-gradient(320px circle at var(--mx) var(--my), color-mix(in oklab, var(--color-accent) 9%, transparent), transparent 70%), var(--color-paper-2);
  color: var(--color-ink); text-decoration: none;
  transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.tile a:hover { border-color: color-mix(in oklab, var(--color-accent) 55%, transparent); transform: translateY(-3px); }
.tile a > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-control); background: var(--color-paper-3); color: var(--color-data); font-size: 16px; margin-bottom: var(--space-xs); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tile a:hover > i { background: var(--color-accent); color: var(--color-accent-ink); }
.tile__kind { font-size: var(--text-xs); color: var(--color-muted); }
.tile__name { font-family: var(--font-display); font-stretch: 106%; font-weight: 600; font-size: var(--text-lg); line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: break-word; min-width: 0; }
.tile__price { font-family: var(--font-outlier); font-size: var(--text-md); color: var(--color-accent); align-self: end; }
.tile--xl a { padding: var(--space-xl); background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in oklab, var(--color-accent) 12%, transparent), transparent 70%), var(--color-paper-2); }
.tile--xl a > i { width: 56px; height: 56px; font-size: 22px; background: var(--color-accent); color: var(--color-accent-ink); }
.tile--xl .tile__name { font-size: var(--text-3xl); font-stretch: 112%; font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.02; max-width: 12ch; }
.tile--xl .tile__price { font-size: var(--text-2xl); }
.tile--wide .tile__name { font-size: var(--text-xl); }
.tile--all a { grid-template-rows: none; grid-auto-flow: column; justify-content: space-between; align-items: center; min-height: 0; background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.tile--all a:hover { border-color: var(--color-accent); box-shadow: 0 0 0 6px var(--color-accent-glow); }
.tile--all .tile__name { font-size: var(--text-2xl); font-stretch: 112%; font-weight: 800; }
.tile--all a > i { margin: 0; background: var(--color-accent-ink); color: var(--color-accent); }
.tile--all a:hover > i { background: var(--color-accent-ink); color: var(--color-accent); }

/* ---------- 6. FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-2xl); align-items: start; }
.faq__head { position: sticky; top: calc(var(--space-3xl) + var(--space-sm)); margin-bottom: 0; }
.faq__head a { color: var(--color-data); }
.home .faq-list { max-width: none; margin: 0; gap: 0; border-bottom: 1px solid var(--color-rule); }
.home .faq-item { background: none; border: 0; border-top: 1px solid var(--color-rule); border-radius: 0; }
.home .faq-item:hover, .home .faq-item.open { border-color: var(--color-rule); }
.home .faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  width: 100%; padding: var(--space-lg) 0; min-height: 64px;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-stretch: 106%; font-weight: 600; font-size: var(--text-lg); color: var(--color-ink);
  transition: color var(--dur-short) var(--ease-out);
}
.home .faq-question:hover { color: var(--color-accent); }
.home .faq-icon { position: relative; flex: none; width: 16px; height: 16px; background: none; border: 0; border-radius: 0; color: currentColor; transition: transform var(--dur-short) var(--ease-out); }
.home .faq-icon::before, .home .faq-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translateY(-50%); }
.home .faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.home .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--color-accent); }
.home .faq-answer { display: block; padding: 0 var(--space-2xl) var(--space-lg) 0; font-size: var(--text-md); color: var(--color-muted); line-height: 1.65; max-width: 62ch; border: 0; }
.js .faq-item:not(.open) .faq-answer { display: none; }

/* ---------- 7. Activate ---------- */
.activate { border-top: 0; padding-block: var(--section-gap) var(--section-gap); text-align: center;
  background: radial-gradient(50% 60% at 50% 40%, var(--color-accent-glow), transparent 70%); }
.activate__inner { display: grid; justify-items: center; gap: var(--space-lg); }
.home main .activate h2 { font-size: var(--text-display-s); max-width: 18ch; }
.home main .activate .lead { margin-inline: auto; }
.activate__state { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.activate__state { color: var(--color-ink); font-family: var(--font-outlier); font-size: var(--text-sm); }
.activate__actions { align-items: center; justify-content: center; }
.activate__toggle { position: relative; width: 48px; height: 28px; border-radius: var(--radius-pill); background: var(--color-accent); transition: background-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); box-shadow: 0 0 24px var(--color-accent-glow); }
.activate__toggle span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent-ink); transform: translateX(20px); transition: transform var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out); }
.js .activate:not(.is-in) .activate__toggle { background: var(--color-paper-3); box-shadow: none; }
.js .activate:not(.is-in) .activate__toggle span { transform: none; background: var(--color-muted); }
.activate__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.activate__facts li { display: inline-flex; align-items: center; gap: var(--space-xs); }
.activate__facts li::before { content: ""; width: 14px; height: 1px; background: var(--color-accent); }

/* ---------- Shared nav and footer, restyled for this page only ---------- */
body.home nav { background: color-mix(in oklab, var(--color-paper) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--color-rule); }
body.home nav.scrolled { box-shadow: 0 10px 40px -20px var(--color-shadow); }
body.home .nav-links a { color: var(--color-ink-2); font-family: var(--font-body); }
body.home .nav-links a:hover { color: var(--color-ink); }
body.home .nav-cta, body.home .nav-mobile .nav-cta { background: var(--color-accent) !important; color: var(--color-accent-ink) !important; font-family: var(--font-display); font-stretch: 108%; }
body.home .nav-cta:hover { background: var(--color-accent) !important; color: var(--color-accent-ink) !important; box-shadow: 0 0 0 5px var(--color-accent-glow); }
body.home .nav-mobile { background: var(--color-paper); }
body.home .nav-links a:focus-visible, body.home .nav-mobile a:focus-visible, body.home footer a:focus-visible, body.home .nav-hamburger:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
body.home footer { background: var(--color-paper); color: var(--color-ink-2); border-top: 1px solid var(--color-rule); }
body.home .nav-links a, body.home .nav-cta { white-space: nowrap; }
@media (max-width: 60rem) { body.home .nav-links { gap: var(--space-md); } }
body.home .pk-toast { max-width: calc(100% - var(--space-xl)); }
body.home .pk-ta { font-size: var(--text-xs); }
body.home .footer-tagline, body.home .footer-col ul a, body.home .footer-copy, body.home .footer-legal a { color: var(--color-muted); }
body.home .footer-col ul a:hover, body.home .footer-legal a:hover { color: var(--color-ink); }
body.home .footer-col h4 { color: var(--color-ink); font-family: var(--font-display); font-stretch: 108%; letter-spacing: 0; text-transform: none; font-size: var(--text-sm); }
body.home .footer-platform-badge { font-size: var(--text-xs); color: var(--color-ink-2); background: var(--color-paper-2); border: 1px solid var(--color-rule-strong); letter-spacing: 0; text-transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 68rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .home main .hero h1 { max-width: 14ch; }
  .price, .faq { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .faq__head { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--all { grid-column: span 2; }
}
@media (max-width: 47.5rem) {
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  /* the canvas becomes a vertical run of nodes */
  .flow__canvas { aspect-ratio: auto; display: grid; gap: var(--space-sm); padding: var(--space-sm); }
  .flow__wires { display: none; }
  .flow__nodes { position: static; display: grid; gap: var(--space-md); }
  .node { position: relative; left: auto; top: auto; width: 100%; transform: none; min-height: 0; padding: var(--space-sm); }
  .node:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 100%; width: 2px; height: var(--space-md); background: var(--color-rule-strong); }
  .node.is-run:not(:last-child)::after { background: var(--color-data); }
  .node__t { font-size: var(--text-sm); }
  .flow__alert { position: static; width: auto; }
  .js .flow[data-live] .flow__alert { opacity: 1; transform: none; }
  .chain { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .chain__node { grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--space-md); }
  .chain__icon { grid-row: span 2; margin: 0; }
  .chain__node:not(:last-child)::after { top: 72px; left: 31px; right: auto; width: 2px; height: calc(100% - 64px + var(--space-xl) - 16px); transform-origin: top center; }
  .js [data-reveal]:not(.is-in) .chain__node::after { transform: scaleY(0); }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
  .compare th, .compare td { border: 0; padding: var(--space-2xs) 0; }
  .compare td { font-size: var(--text-md); }
  .compare:not(.is-switchable) td.c-off::before { content: "Without: "; color: var(--color-ink-2); }
  .compare:not(.is-switchable) td.c-on::before { content: "With: "; color: var(--color-accent); }
  .compare.is-switchable td { font-size: var(--text-lg); }
  .ledger li { padding: var(--space-md); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--xl, .tile--wide, .tile--all { grid-column: auto; grid-row: auto; }
  .tile--xl .tile__name { font-size: var(--text-2xl); }
  .tile a { min-height: 0; }
  .home .faq-answer { padding-right: 0; }
}

/* ---------- Reduced motion: everything in its final, lit state ---------- */
@media (prefers-reduced-motion: reduce) {
  .tile a:hover { transform: none; }
  .js [data-reveal]:not(.is-in) .chain__node::after { transform: none; }
  .js [data-reveal]:not(.is-in) .chain__icon { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
  .js .activate:not(.is-in) .activate__toggle { background: var(--color-accent); }
  .js .activate:not(.is-in) .activate__toggle span { transform: translateX(20px); background: var(--color-accent-ink); }
  .compare.is-switchable td { animation: none; }
}
