/* The Words Studio — marketing site design system (LIGHT THEME ONLY).
   Tokens mirror the ContentForge app exactly. Plain CSS, no build step, no JS.
   Inter is loaded via <link> in index.html (with preconnects). */

/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Paper + ink — warm editorial neutrals (was a cool white/gray system) */
  --bg:            #f7f4ee;  /* warm paper */
  --surface:       #fffefb;  /* card paper, lifts off --bg */
  --bg-secondary:  #efe9dd;  /* deeper paper tint for alternating bands */
  --fg:            #1c1a15;  /* warm ink (near-black) */
  --muted:         #6c6459;  /* warm gray */
  --faint:         #a79e90;  /* warm faint */
  --line:          #e6dfd1;  /* warm hairline */
  --card-border:   #e6dfd1;

  /* Accent — brand ink-blue, kept exact; used deliberately + sparingly */
  --accent:        #0071e3;
  --accent-tint:   #0071e310;

  /* The one dark band (Proof) — warm ink, not cold black */
  --ink:           #201d16;
  --ink-fg:        #f3efe5;
  --ink-muted:     #9d9484;
  --ink-line:      #38332a;

  /* Positive state (reads-as-human) */
  --positive:      #10b981;

  /* Radius system */
  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     22px;

  /* Shadow system — warm-tinted, three steps */
  --shadow-sm:     0 1px 2px rgba(38,30,17,0.05);
  --shadow-md:     0 2px 8px rgba(38,30,17,0.05), 0 14px 34px rgba(38,30,17,0.05);
  --shadow-lg:     0 10px 30px rgba(38,30,17,0.10), 0 34px 70px rgba(38,30,17,0.12);

  /* Back-compat alias (existing .card rule references this) */
  --card-shadow:   var(--shadow-md);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }

a { color: inherit; transition: color 150ms ease, opacity 150ms ease; }

/* ─── Type scale ─────────────────────────────────────────────────────── */
/* Bolder, bigger jumps — ink-on-paper editorial scale. */
.h1 {
  font-size: clamp(44px, 8.5vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.07;
}
.lead {
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px; /* tighter prose measure */
}
/* Editorial kicker — small caps label in the accent, used sparingly per section. */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ─── Layout utilities ───────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding-block: clamp(64px, 10vw, 120px); }

/* ─── Buttons (pill, app radius 980) ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 980px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background 150ms ease, opacity 150ms ease, color 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { opacity: 0.92; }

/* Quiet ghost action — no heavy border, reads as a text link with a pill hit-area */
.btn-secondary {
  background: transparent;
  color: var(--fg);
  padding-inline: 10px;
}
.btn-secondary:hover { color: var(--accent); }

/* ─── Cards / surfaces ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

/* ─── Logo / wordmark (lowercase treatment) ──────────────────────────── */
.logo {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}
.logo-dot { color: var(--accent); }

/* ─── Header / nav ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap; /* keep multi-word links (e.g. "Log in") on one line when the bar tightens */
}
.nav-link:hover { color: var(--fg); }
/* Header CTA sits comfortably in the 64px bar */
.site-header .btn { padding: 9px 20px; font-size: 14px; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(56px, 9vw, 110px); }
.hero .container {
  display: grid;
  grid-template-columns: 55fr 45fr; /* text ~55%, media ~45% */
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero .lead { margin-top: 20px; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

/* ── Hero rewrite demo ──────────────────────────────────────────────────
   A single line of generic AI prose rewrites itself into brand voice on load,
   once, then settles. Pure typography, no imagery. Progressive enhancement:
   with JS + motion it animates; without JS, or under reduced-motion, it shows
   the approved before/after comparison statically. No layout shift either way. */
.hero-demo {
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-demo-head { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.hero-demo-dot {
  width: 9px; height: 9px; border-radius: 980px;
  background: var(--faint); transition: background 400ms ease;
}
.hero-demo-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); transition: color 400ms ease;
}
.hero-demo.is-voiced .hero-demo-dot { background: var(--accent); }
.hero-demo.is-voiced .hero-demo-label { color: var(--accent); }

.hero-demo-text {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted); /* generic starts muted */
  margin: 0;
}
.hero-demo.is-voiced .hero-demo-text { color: var(--fg); } /* voice settles to ink */
.hero-demo-word { transition: opacity 240ms ease; } /* reverse-stagger dissolve */

.hero-demo-caret {
  display: inline-block; width: 2px; height: 1.05em;
  vertical-align: -0.16em; margin-left: 2px;
  background: var(--accent);
  animation: heroCaretBlink 1s steps(1) infinite;
}
@keyframes heroCaretBlink { 50% { opacity: 0; } }
.hero-demo-caret[hidden] { display: none; }

/* Static before/after fallback (also the accessible text for screen readers) */
.hero-demo-fallback .eyebrow { display: block; margin-bottom: 8px; }
.hero-demo-before p { color: var(--muted); }
.hero-demo-after { margin-top: 20px; }
.hero-demo-after p { color: var(--fg); }

/* JS present + motion allowed: show the animation, keep the fallback for SR only */
.hero-demo-anim { display: none; }
.js .hero-demo-anim { display: block; }
.js .hero-demo-fallback {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-demo-anim { display: none; }
  .js .hero-demo-fallback {
    position: static; width: auto; height: auto; padding: 0; margin: 0;
    overflow: visible; clip: auto; white-space: normal;
  }
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px;
}
.footer-identity {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover { color: var(--fg); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
/* Hero stacks to one column (text first, then media) on narrow viewports */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
}
/* Below ~560px the Pricing link drops; logo + Log in + primary CTA remain (no hamburger).
   Tighten the header gaps so logo + Log in + CTA hold one clean line down to ~375px
   (all iPhone/Pixel widths); below that the wordmark wraps gracefully with no overflow. */
@media (max-width: 560px) {
  .nav-pricing { display: none; }
  .nav-right { gap: 14px; }
  .site-header .container { gap: 10px; }
}

/* ════════════════════════════════════════════════════════════════════════
   TICKET 2 — Sections 2-6 (appended; nothing above is modified)
   ════════════════════════════════════════════════════════════════════════ */

/* In-page anchors (now that Sections 2-6 add ids) */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; } /* keeps headings clear of the 64px sticky header */

/* Gentle section alternation (applied to Sections 2, 4, 6) */
.section-tint { background: var(--bg-secondary); }

/* Shared two-column split for the visual sections (3-6) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split-text .h2 { margin-top: 14px; }
.split-text .lead { margin-top: 16px; }
.body-measure { max-width: 560px; margin-top: 16px; } /* keep body lines readable next to the visual */
/* Stacks to one column, TEXT FIRST then visual (same rule as the hero) */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* Section 2 — the tension (centered, stark, no card) */
.tension-block { max-width: 720px; margin: 0 auto; text-align: center; }
.tension-block .h2 { margin-top: 14px; }
.tension-block .lead { margin-top: 12px; margin-left: auto; margin-right: auto; }
.tension-block > p:last-child { margin-top: 24px; }

/* Section 4 — Cleo chat (base bubbles; the chat surface is styled in Ticket 10) */
.chat-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.chat-row { display: flex; }
.chat-row-user { justify-content: flex-end; }
.chat-row-cleo { justify-content: flex-start; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.bubble-user { background: var(--bg-secondary); color: var(--fg); border-bottom-right-radius: 4px; }
.bubble-cleo { background: var(--accent-tint); color: var(--fg); border-bottom-left-radius: 4px; }

/* Section 6 — "reads as human" readout (one-off semantic green for the positive state) */
.readout-card { padding: 28px 30px; }
.readout-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  border-radius: 12px;
  padding: 20px 22px;
}
.readout-headline { font-size: 28px; font-weight: 700; color: #10B981; letter-spacing: -0.01em; }
.readout-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ════════════════════════════════════════════════════════════════════════
   TICKET 3 — Section 7 (Pricing) + Section 8 (closing CTA) (appended; nothing
   above is modified)
   ════════════════════════════════════════════════════════════════════════ */

/* Section 7 — pricing header (centered) */
.pricing-head { max-width: 640px; margin: 0 auto; text-align: center; }
.pricing-head .h2 { margin-top: 14px; }
.pricing-head .lead { margin-top: 12px; margin-left: auto; margin-right: auto; }

/* A) Tier cards — 3 across on desktop, stack at 860px */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
  align-items: start;
}
.tier { padding: 30px 28px; display: flex; flex-direction: column; position: relative; border-width: 2px; }
.tier-featured { border-color: var(--accent); } /* highlight via the calculator's recommendation; width stays 2px → no reflow when it moves */
/* Recommended pill — absolutely positioned (top-center, app-style) so toggling it
   between tiers as the estimate changes never reflows card height. */
.tier-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent); color: #ffffff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 980px; padding: 4px 12px;
}
.tier-name {
  font-size: 15px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tier-price { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.tier-per { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.tier-credits { font-size: 15px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.tier-line { color: var(--muted); margin-top: 12px; }
.tier-cta { width: 100%; justify-content: center; margin-top: 24px; }
.tier-trial { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* C) Credit packs line — Ticket 4 removed the Ticket-3 per-action cost table (only the
   .cost-* rules were deleted) and replaced it with the live calculator above. */
.packs-line { max-width: 640px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 14px; }

/* Section 8 — closing CTA (centered) */
.closing-block { max-width: 640px; margin: 0 auto; text-align: center; }
.closing-block .lead { margin-top: 12px; margin-left: auto; margin-right: auto; }
.closing-cta { margin-top: 28px; }

/* ════════════════════════════════════════════════════════════════════════
   TICKET 4 — Plan calculator + dynamic tier fit (Section 7 only; appended)
   ════════════════════════════════════════════════════════════════════════ */

/* Calculator card (sits above the tier cards) */
.calc { max-width: 720px; margin: clamp(40px, 5vw, 56px) auto 0; padding: 24px 26px; }
.calc-title { font-size: 16px; font-weight: 700; color: var(--fg); margin-bottom: 18px; }
.calc-sliders { display: flex; flex-direction: column; gap: 18px; }
.calc-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.calc-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.calc-sub { font-size: 12px; color: var(--muted); margin-left: 8px; }
.calc-val { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.calc-range { width: 100%; accent-color: var(--accent); cursor: pointer; }
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.calc-total-label { font-size: 14px; color: var(--muted); }
.calc-total-val { font-size: 20px; font-weight: 700; color: var(--fg); }

/* Per-tier fit indicator (updated live by the calculator script) */
.tier-fit-wrap { margin-top: 14px; }
.tier-bar { height: 6px; border-radius: 980px; background: var(--line); overflow: hidden; }
.tier-bar-fill { height: 100%; width: 0; background: var(--accent); border-radius: 980px; transition: width 0.15s ease; }
.tier-bar-fill.over { background: #EF4444; } /* one-off semantic red for over-budget */
.tier-fit { font-size: 11px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.tier-fit.over { color: #EF4444; }

/* Included-Cleo line — same treatment as the packs line, sitting just beneath it */
.cleo-line { margin-top: 8px; }

/* ════════════════════════════════════════════════════════════════════════
   TICKET 5 — Legal pages (privacy.html / terms.html); appended, nothing above
   modified. Long-form prose inside the existing .container (24px gutters).
   ════════════════════════════════════════════════════════════════════════ */
.legal { max-width: 760px; margin: 0 auto; padding-block: clamp(48px, 8vw, 96px); }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.legal .legal-updated { color: var(--muted); font-size: 15px; margin-top: 12px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-top: 40px; margin-bottom: 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.legal p  { color: var(--fg); line-height: 1.7; margin-bottom: 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { line-height: 1.7; margin-bottom: 8px; }
.legal strong { font-weight: 600; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

/* ════════════════════════════════════════════════════════════════════════
   TICKET 9 — The Loop section (#loop); appended, nothing above modified.
   Reuses the .section / .split / .split-text / .split-visual / .card idioms.
   Cycle strip and insight card use existing tokens only (no new colors).
   ════════════════════════════════════════════════════════════════════════ */

/* Quieter privacy sub-block within the section */
.loop-privacy { margin-top: 28px; }
.loop-privacy-title { font-size: 17px; font-weight: 600; color: var(--fg); }
.loop-privacy-body { max-width: 560px; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Badge pill: accent-tinted background, uppercase, echoing the .eyebrow label idiom */
.loop-badge {
  display: inline-block; margin-top: 14px;
  background: var(--accent-tint); color: var(--accent);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 980px; padding: 5px 12px;
}

/* Typographic cycle strip: muted steps, arrows in --faint, accent on "Learn"; wraps on mobile */
.loop-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 20px; }
.loop-cycle-step { font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.loop-cycle-step-accent { color: var(--accent); }
.loop-cycle-arrow { color: var(--faint); font-size: 14px; }

/* Insight card: clones .draft-card (block eyebrow + prose), plus a text-link CTA */
.loop-insight-card { padding: 28px 30px; }
.loop-insight-card .eyebrow { display: block; margin-bottom: 14px; }
.loop-insight-card p { color: var(--fg); margin-bottom: 16px; }
.loop-insight-cta { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.loop-insight-cta:hover { opacity: 0.92; }
.loop-insight-caption { color: var(--faint); font-size: 13px; margin-top: 10px; }

/* ════════════════════════════════════════════════════════════════════════
   TICKET 10 — Stage B editorial redesign. Appended; earlier rules keep their
   selectors (only token VALUES changed above). Section rhythm, browser-framed
   screenshots + detail crops, Cleo chat, voice profile, the one dark band,
   the Loop sweep, and scroll-reveal micro-motion.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Section rhythm: alternate which side the visual sits on ─────────────── */
.split-reverse .split-text   { order: 2; }
.split-reverse .split-visual { order: 1; }

/* Screenshot sections run the product image large via an asymmetric split. */
.split-media               { grid-template-columns: 43fr 57fr; } /* visual right, wide */
.split-media.split-reverse { grid-template-columns: 57fr 43fr; } /* visual left, wide  */

@media (max-width: 860px) {
  .split-media, .split-media.split-reverse { grid-template-columns: 1fr; }
  /* Whatever the desktop order, stack text first on narrow. */
  .split-reverse .split-text, .split-reverse .split-visual { order: 0; }
}

/* ── Browser-chrome frame (CSS only) for product screenshots ─────────────── */
.split-visual { position: relative; } /* anchor for the floating detail crop */
.browser-frame {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 7px; flex: none; }
.browser-dots span { width: 11px; height: 11px; border-radius: 980px; background: #d8d0c1; }
.browser-url {
  flex: 1; min-width: 0;
  font-size: 12px; color: var(--muted); text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 980px; padding: 5px 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-frame img { display: block; width: 100%; height: auto; }

/* Detail-crop accent — a small framed close-up floating over the screenshot. */
.detail-crop {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
  line-height: 0;
}
.detail-crop img { display: block; width: 100%; height: auto; }
.detail-float { position: absolute; z-index: 2; width: 52%; max-width: 320px; bottom: -20px; }
.detail-float-br { right: -14px; }
.detail-float-bl { left: -14px; }
@media (max-width: 860px) {
  /* When the split stacks, drop the crop back into normal flow. */
  .detail-float { position: static; width: 70%; max-width: 340px; margin-top: 16px; }
}

/* ── Cleo: a real chat surface ──────────────────────────────────────────── */
.chat-card { padding: 0; overflow: hidden; display: block; }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
/* Cleo avatar — ported from the app (public/index.html CleoAvatar). The green
   "online" dot lives on the avatar (lower-right), exactly as the app places it,
   so the status line carries no separate dot. */
.chat-avatar { width: 40px; height: 40px; flex: none; line-height: 0; }
.chat-avatar svg { display: block; width: 100%; height: 100%; }
.cleo-ring { transform-origin: 256px 256px; } /* orbiting gold crescent */
@media (prefers-reduced-motion: no-preference) {
  .cleo-ring { animation: cleo-spin 3.2s linear infinite; }
}
@keyframes cleo-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.chat-id { display: flex; flex-direction: column; gap: 1px; }
.chat-name { font-weight: 600; font-size: 15px; color: var(--fg); }
.chat-status { font-size: 12px; color: var(--muted); }
.chat-thread { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--bg-secondary); }
.bubble { box-shadow: var(--shadow-sm); }
.bubble-user { background: var(--surface); }
.bubble-cleo { background: rgba(0,113,227,0.10); }

/* ── Voice profile card (replaces the before/after that now lives in the hero) ── */
.voice-profile { padding: 26px 28px; }
.voice-profile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.voice-profile-title { font-size: 15px; font-weight: 600; color: var(--fg); }
.voice-profile-head .loop-badge { margin-top: 0; }
.voice-profile-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--fg);
}
.voice-profile-item:first-child { border-top: none; }
.voice-profile-item::before { content: ""; width: 7px; height: 7px; border-radius: 980px; background: var(--accent); flex: none; }
.voice-profile-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ── The one dark band: Publish with confidence (#proof) ────────────────── */
#proof { background: var(--ink); color: var(--ink-fg); }
#proof .eyebrow { color: #6cb0ff; }                 /* accent lifted for contrast on ink */
#proof .h2 { color: var(--ink-fg); }
#proof .lead, #proof .body-measure { color: var(--ink-muted); }
#proof .split-visual { display: flex; align-items: center; justify-content: center; }
#proof .readout-card { background: transparent; border: none; box-shadow: none; padding: 0; width: 100%; max-width: 380px; }
#proof .readout-banner {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.45);
  border-radius: var(--radius);
  padding: 32px 34px; text-align: center;
  box-shadow: 0 0 44px rgba(16,185,129,0.26);
}
#proof .readout-headline { color: #3fe0ad; font-size: clamp(28px, 3vw, 34px); }
#proof .readout-sub { color: var(--ink-muted); }

/* ── The Loop cycle sweep (accent runs Write → Learn once, on reveal) ────── */
.loop-cycle-step { transition: color 220ms ease; }
.loop-cycle-step.lit { color: var(--accent); }

/* ── Scroll-reveal micro-motion (gated on `.io`; static without it or under
   reduced-motion). Opacity + transform only, so it never shifts layout. ──── */
.io .reveal { opacity: 0; transform: translateY(14px); }
.io .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 600ms ease, transform 650ms cubic-bezier(.2,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .io .reveal { opacity: 1; transform: none; }
}
