/* Sourcerer landing — precision-instrument brand surface.
   Inherits the app's token DNA (../sourcerer/DESIGN.md): slate neutrals,
   status = emerald/amber/rose only inside product fragments, hairline
   borders, zero ambient shadow. One meaningful accent: evidence sky. */

:root {
  /* Neutrals — cool slate, tinted (never pure #000/#fff) */
  --paper:       oklch(0.985 0.004 256);  /* page background, the spec-sheet paper */
  --canvas:      oklch(0.998 0.002 256);  /* raised data surfaces (lead rows) */
  --surface:     oklch(0.963 0.005 256);  /* quiet inset / sticky headers */
  --ink:         oklch(0.235 0.022 264);  /* primary text, headlines */
  --ink-soft:    oklch(0.380 0.020 264);  /* secondary text */
  --ink-mute:    oklch(0.560 0.018 264);  /* meta, captions */
  --ink-faint:   oklch(0.715 0.014 264);  /* disabled, zero values */
  --rule:        oklch(0.910 0.008 264);  /* default hairline border */
  --rule-strong: oklch(0.840 0.012 264);  /* input / emphasized border */
  --rule-soft:   oklch(0.952 0.005 264);  /* inner dividers */

  /* The one accent: sourcerer teal — the brand-mark hue (#00708c).
     Carries identity + the app's "look closer / proof" instinct.
     Committed: this single hue owns every interactive + evidence cue. */
  --accent:      oklch(0.585 0.118 210);  /* vivid mid teal, the brand voice */
  --accent-ink:  oklch(0.455 0.105 209);  /* text-safe deeper teal on light */
  --accent-soft: oklch(0.966 0.026 210);  /* faint wash: chips, drawers */
  --accent-wash: oklch(0.953 0.040 209);  /* stronger tinted panels/grounds */
  --accent-line: oklch(0.885 0.040 210);  /* teal-tinted hairline */

  /* Status — semantic only, only inside rendered product fragments */
  --pass-bg: oklch(0.930 0.055 165); --pass-ink: oklch(0.520 0.105 163);
  --meh-bg:  oklch(0.945 0.060 88);  --meh-ink:  oklch(0.560 0.105 72);
  --fail-bg: oklch(0.935 0.045 16);  --fail-ink: oklch(0.560 0.150 19);
  /* Provider attribution only */
  --linkedin: oklch(0.520 0.140 250);
  --claude:   oklch(0.680 0.130 47);

  /* Type */
  --sans: "Schibsted Grotesk", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid type scale, ~1.28 ratio */
  --t-eyebrow: clamp(0.66rem, 0.62rem + 0.18vw, 0.74rem);
  --t-small:   clamp(0.80rem, 0.77rem + 0.15vw, 0.875rem);
  --t-body:    clamp(0.95rem, 0.91rem + 0.2vw, 1.05rem);
  --t-lead:    clamp(1.1rem, 1.0rem + 0.5vw, 1.35rem);
  --t-h3:      clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --t-h2:      clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --t-display: clamp(2.05rem, 1.5rem + 2.7vw, 4.3rem);

  /* Spacing rhythm */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;

  --r-sm: 3px; --r-md: 5px; --r-lg: 8px; --r-xl: 14px; --r-pill: 999px;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-quint */
}

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

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
  overflow-x: clip;
}

::selection { background: var(--accent); color: oklch(0.99 0.005 256); }

a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---- Shared primitives ---- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--sans); font-size: var(--t-small); font-weight: 600;
  padding: 10px 18px; border-radius: var(--r-lg);
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 2px 8px; border-radius: var(--r-md);
}
.chip-pass { background: var(--pass-bg); color: var(--pass-ink); }
.chip-meh  { background: var(--meh-bg);  color: var(--meh-ink); }
.chip-fail { background: var(--fail-bg); color: var(--fail-ink); }
.chip-evd  { background: var(--accent-soft); color: var(--accent-ink); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -0.045em; font-size: 1.15rem; color: var(--ink); }
.brand-mark { height: 0.92em; width: auto; transform: translateY(0.08em); margin-right: -0.01em; flex: none; }
.brand .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.nav-links { display: flex; align-items: center; gap: var(--s6); }
.nav-links a:not(.btn) { font-size: var(--t-small); color: var(--ink-soft); transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .vs { font-family: var(--mono); font-size: var(--t-small); color: var(--ink-soft); }
.nav-links .vs b { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 760px) { .nav-links a:not(.btn), .nav-links .vs, .nav-drop { display: none; } }

/* ---- Nav dropdown (Solutions) ---- */
.nav-drop { position: relative; }
.nav-drop-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: var(--t-small); font-weight: 400;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; padding: 0;
  transition: color .15s;
}
.nav-drop:hover .nav-drop-trigger,
.nav-drop[data-open="true"] .nav-drop-trigger,
.nav-drop-trigger:hover { color: var(--ink); }
.nav-drop-trigger .caret { font-size: 9px; color: var(--ink-faint); transition: transform .2s var(--ease); }
.nav-drop:hover .caret, .nav-drop[data-open="true"] .caret { transform: rotate(180deg); }
/* invisible bridge: keep hover alive across the gap to the menu */
.nav-drop::after { content: ""; position: absolute; top: 100%; left: -8px; right: -8px; height: 16px; }

.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px; padding: var(--s2);
  background: var(--canvas); border: 1px solid var(--rule-strong); border-radius: var(--r-lg);
  box-shadow: 0 14px 36px -14px oklch(0.235 0.022 264 / 0.24);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop[data-open="true"] .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a { display: block; padding: 10px 12px; border-radius: var(--r-md); transition: background .14s; }
.nav-drop-menu a:hover { background: var(--accent-soft); }
.nav-drop-menu .ndm-t { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav-drop-menu .ndm-ic { color: var(--accent); font-family: var(--mono); font-size: 12px; line-height: 1; }
.nav-drop-menu .ndm-s { display: block; font-size: 12px; color: var(--ink-mute); margin-top: 3px; line-height: 1.4; }

/* ---- Hero ---- */
.hero { position: relative; padding-top: var(--s7); padding-bottom: var(--s8); overflow: clip; }
/* Teal ground: a single faint wash bleeding from behind the console.
   Static, not a mesh — color identity from the first fold, no theater. */
.hero::before {
  content: ""; position: absolute; inset: -10% -5% auto auto;
  width: min(760px, 80%); height: 560px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 72% 38%, oklch(0.585 0.118 210 / 0.10), transparent 70%),
    radial-gradient(50% 50% at 88% 12%, oklch(0.585 0.118 210 / 0.06), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  min-height: clamp(420px, 60vh, 620px);
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

.hero h1 {
  font-size: var(--t-display); font-weight: 700;
  line-height: 1.0; letter-spacing: -0.035em;
  margin-top: var(--s4); max-width: min(15ch, 100%);
  overflow-wrap: break-word; text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  font-size: var(--t-lead); color: var(--ink-soft);
  max-width: 46ch; margin-top: var(--s5); line-height: 1.45; text-wrap: pretty;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); align-items: center; }
.hero .cta-note { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.03em; }

/* Hero console — the live product fragment over the generative field */
.console {
  position: relative;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xl);
  background: var(--canvas);
  overflow: hidden;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset;
}
.console-head {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: var(--s2);
  padding: 10px 14px; border-bottom: 1px solid var(--accent-line);
  background: color-mix(in oklab, var(--accent-soft) 80%, var(--canvas));
}
/* Status dot: grey at rest → teal pulse while the target types ("working")
   → solid teal ring when the list resolves ("done"). A live-status cue. */
.console-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-strong); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.console-head .dot.working { background: var(--accent); animation: dotpulse 1.1s var(--ease) infinite; }
.console-head .dot.done { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 42%, transparent); }
  60% { box-shadow: 0 0 0 5px transparent; }
}
@media (prefers-reduced-motion: reduce) { .console-head .dot.working { animation: none; } }
.console-head .q { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); margin-left: var(--s2); }
.console-head .q .cursor { color: var(--accent); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .console-head .q .cursor { animation: none; } }

.console-body { position: relative; z-index: 2; padding: var(--s2) 0; }
.lead-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 26px 1fr auto auto;
  align-items: center; gap: var(--s3);
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.lead-row:last-child { border-bottom: none; }
.lead-row .rank { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.lead-row .who { min-width: 0; }
.lead-row .name { display: flex; align-items: center; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-row .role { display: block; font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* tiny LinkedIn attribution tag after a name */
.lead-row .li { flex: none; font-family: var(--sans); font-size: 8.5px; font-weight: 700; line-height: 1; background: var(--linkedin); color: #fff; border-radius: 2px; padding: 2px 3px; margin-left: 6px; text-transform: lowercase; }
/* colored score badge = the system's pass/meh/fail verdict */
.lead-row .score-badge { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: var(--r-md); }
.lead-row .score-badge.pass { background: var(--pass-bg); color: var(--pass-ink); }
.lead-row .score-badge.meh  { background: var(--meh-bg);  color: var(--meh-ink); }
.lead-row .score-badge.fail { background: var(--fail-bg); color: var(--fail-ink); }
.lead-row .why { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }
.lead-row .why::after { content: "→"; margin-left: 4px; display: inline-block; opacity: 0; transform: translateX(-3px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.lead-row .why:hover { text-decoration: underline; }
.lead-row .why:hover::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lead-row .why::after { transition: none; } }
.lead-row.dim { opacity: 0.5; }

/* ---- Generic section ---- */
section { position: relative; }
.band { padding-block: var(--s9); border-top: 1px solid var(--rule); }
.band-head { max-width: 60ch; }
.band-head h1,
.band-head h2 {
  font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.04; margin-top: var(--s4); text-wrap: balance;
}
.band-head p { font-size: var(--t-lead); color: var(--ink-soft); margin-top: var(--s4); max-width: 52ch; line-height: 1.5; }

/* ---- Step path strip ---- */
.path-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin-top: var(--s7); border: 1px solid var(--rule); border-radius: var(--r-lg);
  background: var(--canvas); overflow: hidden;
}
@media (max-width: 820px) { .path-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .path-strip { grid-template-columns: 1fr; } }
.stage { padding: var(--s5) var(--s4); border-right: 1px solid var(--rule-soft); position: relative; }
.stage:last-child { border-right: none; }
.stage .idx { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.stage h3 { font-size: var(--t-small); font-weight: 700; margin-top: var(--s2); letter-spacing: -0.01em; }
.stage p { font-size: 12.5px; color: var(--ink-mute); margin-top: var(--s2); line-height: 1.45; }

/* ---- Evidence ---- */
.evidence-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: var(--s7); }
@media (max-width: 920px) { .evidence-grid { grid-template-columns: 1fr; } }
.evidence-card { border: 1px solid var(--rule-strong); border-radius: var(--r-xl); background: var(--canvas); overflow: hidden; }
.evidence-card .erow { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); padding: 14px 16px; border-bottom: 1px solid var(--rule); align-items: center; }
.evidence-card .erow .name { font-weight: 600; font-size: 14px; }
.evidence-card .erow .sub { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.evidence-drawer { padding: var(--s4) var(--s5); background: var(--accent-wash); border-top: 1px solid var(--accent-line); }
.evidence-drawer .dlabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.evidence-line { display: flex; gap: var(--s3); padding: 8px 0; border-bottom: 1px solid color-mix(in oklab, var(--accent) 14%, transparent); font-size: 13px; }
.evidence-line:last-child { border-bottom: none; }
.evidence-line .crit { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); min-width: 92px; padding-top: 2px; }
.evidence-line .src { color: var(--ink-soft); line-height: 1.4; }
.evidence-line .src .cite { color: var(--accent-ink); font-family: var(--mono); font-size: 11px; }

/* ---- Wedges (varied, not identical cards) ---- */
.wedges { margin-top: var(--s7); display: grid; gap: var(--s4); grid-template-columns: 1.4fr 1fr; }
.wedge { border: 1px solid var(--rule); border-radius: var(--r-xl); padding: var(--s6); background: var(--canvas); display: flex; flex-direction: column; }
.wedge .wnum { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.wedge h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.025em; margin-top: var(--s3); line-height: 1.08; }
.wedge p { color: var(--ink-soft); margin-top: var(--s3); font-size: var(--t-small); line-height: 1.55; max-width: 46ch; }
.wedge .proof { margin-top: auto; padding-top: var(--s5); }
.w-feature { grid-column: 1 / -1; grid-row: 1; }
.w-feature .price-line { display: flex; align-items: baseline; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s4); }
.price-tag { display: flex; align-items: baseline; gap: 6px; }
.price-tag .strike { font-family: var(--mono); color: var(--ink-faint); text-decoration: line-through; font-size: var(--t-small); }
.price-tag .lab { font-size: 12px; color: var(--ink-mute); }
.price-tag .big { font-family: var(--mono); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.price-tag .big.ours { color: var(--accent); }
@media (max-width: 820px) { .wedges { grid-template-columns: 1fr; } }

/* ---- Skip-the-setup compare ---- */
.setup-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: var(--s7); }
@media (max-width: 920px) { .setup-grid { grid-template-columns: 1fr; } }
.setup { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-strong); border-radius: var(--r-xl); background: var(--canvas); overflow: hidden; }
.setup-col { padding: var(--s5); }
.setup-col + .setup-col { border-left: 1px solid var(--rule); }
@media (max-width: 520px) { .setup { grid-template-columns: 1fr; } .setup-col + .setup-col { border-left: none; border-top: 1px solid var(--rule); } }
.setup-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.setup ul { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.setup li { display: flex; gap: var(--s3); align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); font-size: var(--t-small); color: var(--ink-soft); }
.setup li:last-child { border-bottom: none; }
.setup .x { color: var(--ink-faint); font-family: var(--mono); font-size: 12px; }
.setup .ck { color: var(--accent); font-family: var(--mono); font-weight: 600; }
.setup-col.ours li { color: var(--ink); font-weight: 500; }
.setup-out { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px dashed var(--rule-strong); }
.setup-out .num { display: block; font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }
.setup-out .setup-sub { font-size: 12px; color: var(--ink-mute); }

/* ---- Price ladder ---- */
.w-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; width: 100%; }
@media (max-width: 720px) { .w-feature-grid { grid-template-columns: 1fr; } }
.price-ladder .pl-row { display: grid; grid-template-columns: 92px 1fr auto; gap: var(--s3); align-items: center; margin-top: var(--s3); }
.price-ladder .pl-name { color: var(--ink-mute); font-size: 11px; }
.price-ladder .track { height: 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-pill); overflow: hidden; }
.price-ladder .fill { display: block; height: 100%; border-radius: var(--r-pill); min-width: 6px; }
.price-ladder .fill.clay { background: var(--ink-mute); }
.price-ladder .fill.ours { background: var(--accent); }
.price-ladder .pl-amt { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; font-size: 12px; }
.price-ladder .pl-row.ours .pl-name, .price-ladder .pl-row.ours .pl-amt { color: var(--accent-ink); }
.price-ladder .pl-row.ours .pl-amt { font-size: 15px; }
.price-ladder .pl-mo { color: var(--ink-mute); font-size: 11px; font-weight: 400; }

/* MCP capability list (what an MCP-connected assistant can do) */
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); width: 100%; }
.cap { display: flex; gap: var(--s2); align-items: baseline; font-size: var(--t-small); color: var(--ink-soft); line-height: 1.4; }
.cap .cap-ic { flex: none; font-family: var(--mono); color: var(--accent-ink); }
@media (max-width: 720px) { .cap-list { grid-template-columns: 1fr; } }

/* MCP CTA: keep the button and its note apart, note in the site's mono caption */
#mcp .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
#mcp .cta-note { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.03em; line-height: 1.4; }

/* ---- VS teaser band ---- */
.vs-band { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap;
  border: 1px solid var(--accent-line); border-radius: var(--r-xl); padding: var(--s6); margin-top: var(--s6);
  background: linear-gradient(180deg, var(--canvas), var(--accent-soft)); }
.vs-band .vt { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.02em; }
.vs-band .vt .x { font-family: var(--mono); color: var(--ink-faint); margin-inline: 8px; }
.vs-band p { color: var(--ink-mute); font-size: var(--t-small); margin-top: 4px; }

/* ---- CTA close ---- */
.close {
  position: relative; padding-block: var(--s9); border-top: 1px solid var(--accent-line);
  text-align: center; overflow: clip;
  background:
    radial-gradient(70% 120% at 50% 0%, var(--accent-wash), transparent 72%),
    var(--accent-soft);
}
.close h2 { font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; max-width: 18ch; margin-inline: auto; }
.close p { color: var(--ink-soft); margin-top: var(--s4); font-size: var(--t-lead); max-width: 42ch; margin-inline: auto; }
.close .cta-row { display: flex; gap: var(--s3); justify-content: center; margin-top: var(--s6); flex-wrap: wrap; }

/* ---- Footer ---- */
footer.foot { border-top: 1px solid var(--rule); padding-block: var(--s6); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.foot-inner .fmeta { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.04em; }
.foot-links { display: flex; gap: var(--s5); font-size: var(--t-small); color: var(--ink-mute); }
.foot-links a:hover { color: var(--ink); }

/* ---- Entrance motion ---- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- Comparison page ---- */
/* Teal intro ground: opens the page on brand color, matches the home hero
   so the two surfaces read as one site. */
.cmp-hero { position: relative; overflow: clip; }
.cmp-hero::before {
  content: ""; position: absolute; inset: -8% -6% auto auto;
  width: min(720px, 78%); height: 460px; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 58% at 76% 30%, oklch(0.585 0.118 210 / 0.09), transparent 70%);
}
.cmp-hero .wrap { position: relative; z-index: 1; }

.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: var(--s7);
  border: 1px solid var(--rule); border-radius: var(--r-xl); overflow: hidden; background: var(--canvas); }
.cmp-table th, .cmp-table td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--rule-soft); }
.cmp-table thead th { background: var(--surface); border-bottom: 1px solid var(--rule); }
.cmp-table thead .ch { font-size: var(--t-small); font-weight: 700; letter-spacing: -0.01em; }
.cmp-table thead .cs { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); font-weight: 400; display: block; margin-top: 2px; }
/* The "us" column owns teal from the header down: tinted header, teal label,
   stronger column wash, teal hairline edges (full borders, not side-stripes). */
.cmp-table thead th.src { background: var(--accent-wash); border-bottom: 1px solid var(--accent-line); }
.cmp-table thead .src .ch { color: var(--accent-ink); }
.cmp-table thead .src .cs { color: var(--accent-ink); }
.cmp-table td.feat { font-weight: 600; width: 16%; }
.cmp-table td.win { width: 30%; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table col.colsrc { background: var(--accent-soft); }
.verdict { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--r-md); margin-bottom: 6px; }
.verdict.win { background: var(--pass-bg); color: var(--pass-ink); }
.verdict.lose { background: var(--fail-bg); color: var(--fail-ink); }
.verdict.even { background: var(--surface); color: var(--ink-mute); }
@media (max-width: 760px) {
  .cmp-table, .cmp-table thead, .cmp-table tbody, .cmp-table th, .cmp-table td, .cmp-table tr { display: block; }
  .cmp-table thead { display: none; }
  .cmp-table td { width: auto !important; border-bottom: 1px solid var(--rule-soft); }
  .cmp-table td.feat { font-size: var(--t-h3); border-bottom: none; padding-bottom: 4px; }
  .cmp-table tbody tr { border-bottom: 1px solid var(--rule); padding-bottom: var(--s3); }
  .cmp-table td::before { content: attr(data-c); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 4px; }
}

/* ---- Pricing page ---- */
/* Same teal intro ground as the home hero, so the buying surface reads as one
   site with the rest of the landing. */
.pr-hero { position: relative; overflow: clip; border-top: none; }
.pr-hero::before {
  content: ""; position: absolute; inset: -8% -6% auto auto;
  width: min(720px, 78%); height: 460px; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 58% at 76% 30%, oklch(0.585 0.118 210 / 0.09), transparent 70%);
}
.pr-hero .wrap { position: relative; z-index: 1; }

/* Credit packages: four quiet tiles, mono figures, one highlighted. No
   per-credit math shown, by design. */
.packages {
  margin-top: var(--s7); display: grid; gap: var(--s4);
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 760px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .packages { grid-template-columns: 1fr; } }
.pkg {
  position: relative; border: 1px solid var(--rule); border-radius: var(--r-xl);
  background: var(--canvas); padding: var(--s5);
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.pkg-cr { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.pkg-lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.pkg-amt { margin-top: var(--s4); font-weight: 600; font-size: var(--t-h3); color: var(--ink-soft); }
.pkg-best { border-color: var(--accent-line); background: var(--accent-soft); }
.pkg-best .pkg-cr, .pkg-best .pkg-amt { color: var(--accent-ink); }
.pkg-best .pkg-tag {
  position: absolute; top: -9px; left: var(--s5);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper); background: var(--accent); padding: 2px 7px; border-radius: var(--r-pill);
}
.cost-foot { margin-top: var(--s5); font-size: var(--t-small); color: var(--ink-mute); }

/* Honesty expander: the single sky-accented affordance on the page. Collapsed
   by default; the page reads complete without opening it. */
.how-charge {
  margin-top: var(--s6); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); background: var(--accent-soft); overflow: hidden;
}
.how-charge > summary {
  display: flex; align-items: center; gap: var(--s3);
  padding: 14px 18px; cursor: pointer; list-style: none;
  font-family: var(--mono); font-size: var(--t-small); font-weight: 500;
  color: var(--accent-ink);
}
.how-charge > summary::-webkit-details-marker { display: none; }
.how-charge .hc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--accent) 16%, transparent);
  color: var(--accent-ink); font-weight: 600; line-height: 1;
  transition: transform .2s var(--ease);
}
.how-charge[open] .hc-ic { transform: rotate(45deg); }
.how-charge .hc-body { padding: 0 18px 16px; border-top: 1px solid var(--accent-line); }
.how-charge .hc-group { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); margin: 14px 0 2px; }
.how-charge .hc-group:first-child { margin-top: 12px; }
.how-charge .hc-line { display: flex; gap: var(--s4); padding: 10px 0; border-bottom: 1px solid color-mix(in oklab, var(--accent) 12%, transparent); font-size: 13px; }
.how-charge .hc-line:last-child { border-bottom: none; }
.how-charge .hc-k { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); min-width: 110px; flex: none; padding-top: 2px; }
.how-charge .hc-v { color: var(--ink-soft); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .how-charge .hc-ic { transition: none; } }
@media (max-width: 460px) { .how-charge .hc-line { flex-direction: column; gap: 2px; } }

/* Directional-pricing disclaimer: quiet, always visible under the close. */
.pr-disclaimer {
  margin-top: var(--s5); font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.02em; max-width: 52ch;
  margin-inline: auto; line-height: 1.5;
}
