/* =========================================================================
   caremarketmonitor.com — launch site
   Real-time intelligence on the UK health & social care market.
   Hand-built, zero runtime dependencies. Self-hosted Geist + Geist Mono.
   ========================================================================= */

/* ---------- Self-hosted fonts (variable woff2) ---------- */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0E1116;
  --body: #333b45;
  --muted: #5B6672;
  --faint: #98a1ac;
  --line: #E6E8EC;
  --line-strong: #d5d9df;
  --paper: #FBFBF9;
  --paper-2: #ffffff;
  --wash: #f3f4f2;

  --sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1160px;
  --gutter: 40px;

  --dark: #0E1116;
  --dark-2: #151a21;
  --dark-3: #1c222b;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-text: #eef1f5;
  --dark-muted: #9aa4b1;

  /* the one accent — electric blue */
  --accent: #2F6BFF;
  --accent-bright: #5f92ff;
  --accent-soft: #eaf0ff;
  --accent-line: rgba(47, 107, 255, 0.42);
  --hero-glow: rgba(47, 107, 255, 0.20);

  /* semantic event colours */
  --ev-ownership: #7C5CFF;
  --ev-price: #C9821E;
  --ev-rating: #2F6BFF;
  --ev-distress: #C7452F;
  --ev-opening: #1F9D74;

  --yes: #1F9D74;
  --no: #C7452F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 96px 0; }
.section-wash { background: var(--wash); }
.section-dark { background: var(--dark); color: var(--dark-text); }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 600; }
.display { font-weight: 620; letter-spacing: -0.03em; line-height: 1.02; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.accent-text { color: var(--accent); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 22px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--accent-bright); }
.eyebrow.on-dark::before { background: var(--accent-bright); }

.section-title { font-size: 42px; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
.section-sub { font-size: 18.5px; line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
.head-block { max-width: 800px; margin-bottom: 54px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 560; letter-spacing: -0.01em;
  padding: 13px 20px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border-color: var(--dark-line); color: var(--dark-text); }
.btn-ghost:hover { border-color: var(--accent-bright); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.btn-ink { border-color: var(--line-strong); color: var(--ink); background: var(--paper-2); }
.btn-ink:hover { border-color: var(--accent); color: var(--accent); }
.arr { transition: transform 0.15s ease; }
.btn:hover .arr, .link-arr:hover .arr, .door:hover .arr { transform: translateX(3px); }
.link-arr { font-weight: 560; color: var(--accent); display: inline-flex; gap: 7px; align-items: center; font-size: 15px; }

/* ---------- Nav (transparent over hero, floating pill on scroll) ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  padding-top: 0;
  transition: padding-top 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 66px;
  border: 1px solid transparent; border-radius: 16px;
  transition: max-width 0.3s cubic-bezier(0.22, 1, 0.36, 1), height 0.3s ease,
              padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { padding-top: 12px; }
.nav.scrolled .wrap {
  max-width: 1000px; height: 54px;
  padding-left: 22px; padding-right: 12px;
  background: color-mix(in srgb, var(--dark) 68%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-color: var(--dark-line);
  box-shadow: 0 18px 46px -22px rgba(0, 0, 0, 0.7);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--dark-text); font-weight: 600; letter-spacing: -0.02em; font-size: 16.5px; }
.brand .glyph { width: 24px; height: 24px; flex: none; }
.brand .glyph .pulse-line { stroke: var(--accent-bright); }
.brand .glyph .pulse-dot { fill: var(--accent-bright); }
.brand .tld { color: var(--accent-bright); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--dark-muted); font-size: 14.5px; font-weight: 500; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--dark-text); }
.nav-cta { border: 1px solid var(--dark-line); padding: 8px 15px; border-radius: 7px; color: var(--dark-text) !important; }
.nav-cta:hover { border-color: var(--accent-bright); background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* ---------- Recurring grid motif (coherence across dark bands) ---------- */
.grid-tex { position: relative; }
.grid-tex > * { position: relative; z-index: 1; }
.grid-tex::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.4;
  -webkit-mask-image: radial-gradient(120% 130% at 82% 0%, #000 0%, transparent 62%);
  mask-image: radial-gradient(120% 130% at 82% 0%, #000 0%, transparent 62%);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 88% -20%, var(--hero-glow), transparent 55%),
    var(--dark);
  color: var(--dark-text); overflow: hidden;
  border-bottom: 1px solid var(--dark-line);
  position: relative;
  margin-top: -66px; padding-top: 66px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 20% 0%, #000 0%, transparent 60%);
  mask-image: radial-gradient(120% 80% at 20% 0%, #000 0%, transparent 60%);
  opacity: 0.5;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; padding: 72px var(--gutter) 84px; }
.hero-kicker {
  font-size: 12.5px; font-weight: 500; color: var(--dark-muted);
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--dark-line); border-radius: 100px; padding: 6px 13px; margin-bottom: 26px;
  font-family: var(--mono); letter-spacing: 0.01em;
}
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ev-opening); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ev-opening) 60%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero h1 { color: #fff; font-size: 57px; margin: 0 0 22px; }
.hero h1 .accent { color: var(--accent-bright); }
.hero p.sub { font-size: 19px; line-height: 1.55; color: color-mix(in srgb, var(--dark-text) 82%, var(--dark-muted)); max-width: 42ch; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
/* let grid children shrink instead of expanding the track past the viewport */
.hero-copy, .hero-figure { min-width: 0; }
.hero-figure .feed-frame { max-width: 100%; }

/* ---------- Source logos band (static, centered row) ---------- */
.logo-band { background: var(--wash); border-bottom: 1px solid var(--line); padding: 40px 0; }
.logo-band .sl-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; margin: 0 0 24px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.src-chip {
  height: 50px; padding: 0 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,0.18);
  flex: none;
}
.src-chip img { height: 24px; width: auto; display: block; }
.src-chip.ons img { height: 16px; }
.src-chip.gazette img { height: 32px; }
.src-chip.ch img { height: 34px; width: 37px; margin-right: 2px; }
.src-chip.ch span { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; color: #0b0c0c; white-space: nowrap; }

/* ---------- Live Signal Feed ---------- */
.feed-frame {
  position: relative;
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.65);
  overflow: hidden;
}
.feed-chrome { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--dark-line); background: color-mix(in srgb, var(--dark-2) 70%, #000); }
.feed-chrome .fdot { width: 10px; height: 10px; border-radius: 50%; background: var(--dark-3); }
.feed-title { margin-left: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--dark-muted); letter-spacing: 0.02em; }
.feed-live { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ev-opening); display: inline-flex; align-items: center; gap: 7px; }
.feed-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ev-opening); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ev-opening) 22%, transparent); }
.feed-scroll { padding: 12px; height: 428px; overflow: hidden; position: relative; }
.feed-scroll::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, var(--dark)); pointer-events: none; }

.event-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px;
  padding: 13px 14px; margin-bottom: 10px;
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 10px;
  border-left: 2px solid var(--ec, var(--accent-bright));
}
.event-card.enter { animation: cardIn 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
.ev-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; background: var(--ec, var(--accent-bright)); grid-row: 1 / span 2; }
.ev-main { min-width: 0; }
.ev-type { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ec, var(--accent-bright)); font-family: var(--mono); }
.ev-provider { color: #fff; font-size: 15px; font-weight: 560; letter-spacing: -0.01em; margin: 2px 0 3px; }
.ev-change { font-family: var(--mono); font-size: 12.5px; color: var(--dark-muted); }
.ev-change .old { color: var(--faint); }
.ev-change .to { color: var(--dark-3); padding: 0 3px; }
.ev-change .new { color: color-mix(in srgb, var(--dark-text) 90%, var(--ec)); }
.ev-meta { grid-column: 2 / span 2; display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ev-src { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--dark-muted); border: 1px solid var(--dark-line); border-radius: 5px; padding: 2px 6px; }
.ev-time { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.ev-conf { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dark-muted); }
.ev-conf b { color: color-mix(in srgb, var(--dark-text) 85%, var(--ec)); font-weight: 600; }

/* ---------- Problem cards ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prob-card { background: var(--paper-2); padding: 34px 30px; }
.prob-card .pnum { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.04em; }
.prob-card h3 { font-size: 21px; letter-spacing: -0.02em; margin: 14px 0 10px; }
.prob-card p { margin: 0; color: var(--body); font-size: 15.5px; line-height: 1.58; }

/* ---------- How it works ---------- */
.hiw { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 56px; align-items: center; }
.hiw > * { min-width: 0; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step .sn { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 4px; font-weight: 600; }
.step h3 { font-size: 20px; margin: 0 0 7px; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Cross-source fusion diagram ---------- */
.fusion { width: 100%; height: auto; }
.fusion .src-chip rect { fill: var(--paper-2); stroke: var(--line-strong); }
.fusion .src-chip text { fill: var(--body); font-family: var(--mono); font-size: 12px; }
.fusion .src-chip.more rect { fill: var(--wash); stroke-dasharray: 3 3; }
.fusion .src-chip.more text { fill: var(--muted); }
.fusion .beam { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-opacity: 0.28; }
.fusion .spark { fill: var(--accent); }
.fusion .hub { fill: var(--dark); stroke: var(--accent); stroke-width: 1.6; }
.fusion .hub-line { stroke: var(--accent-bright); stroke-width: 1.4; fill: none; }
.fusion .hub-label { fill: #fff; font-family: var(--mono); font-size: 11px; }

/* ---------- Provider graph ---------- */
.pgraph { width: 100%; height: auto; }
.pgraph .g-edge { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.pgraph .g-edge.pulse-edge { stroke: var(--accent); }
.pgraph .g-node { fill: var(--paper-2); stroke: var(--line-strong); stroke-width: 1.5; }
.pgraph .g-node.lit { stroke: var(--ev-ownership); }
.pgraph .g-label { fill: var(--ink); font-size: 12.5px; font-weight: 560; }
.pgraph .g-kind { fill: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.pgraph .g-spark { fill: var(--ev-ownership); }

/* ---------- Sector chips (single-line shuffle marquee) ---------- */
.chip-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.chip-track { display: flex; width: max-content; animation: chipscroll 46s linear infinite; will-change: transform; }
.chip-marquee:hover .chip-track { animation-play-state: paused; }
.chip { flex: none; white-space: nowrap; margin-right: 12px; font-size: 14px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 100px; padding: 8px 16px; letter-spacing: -0.01em; }
.chip .cd { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
@keyframes chipscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .chip-marquee { -webkit-mask-image: none; mask-image: none; }
  .chip-track { flex-wrap: wrap; width: auto; animation: none; gap: 10px 0; }
}

/* ---------- Intelligence grid ---------- */
.intel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.intel-card { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); padding: 28px 26px 24px; }
.intel-card .ii { color: var(--accent); margin-bottom: 16px; }
.intel-card h3 { font-size: 18.5px; letter-spacing: -0.02em; margin: 0 0 9px; }
.intel-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.56; }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cluster { border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); padding: 28px 28px 22px; }
.cluster > .ch { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cluster .ci { color: var(--accent); flex: none; }
.cluster h3 { font-size: 18px; letter-spacing: -0.02em; margin: 0; }
.cluster ul { list-style: none; margin: 0; padding: 0; }
.cluster li { padding: 13px 0; border-top: 1px solid var(--line); }
.cluster li:first-child { border-top: 0; }
.cluster li .lt { color: var(--ink); font-weight: 560; font-size: 15px; letter-spacing: -0.01em; }
.cluster li .ld { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.compare th, .compare td { text-align: left; padding: 15px 20px; vertical-align: middle; }
.compare thead th { border-bottom: 1px solid var(--line-strong); vertical-align: bottom; text-align: center; }
.compare thead th:first-child { text-align: left; }
.compare thead .col-name { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.compare thead .col-name.us { color: var(--accent); }
.compare thead .col-price { font-family: var(--mono); font-size: 12px; margin-top: 8px; display: inline-block; padding: 3px 9px; border-radius: 6px; }
.compare thead .col-price.legacy { color: var(--no); background: color-mix(in srgb, var(--no) 10%, transparent); }
.compare thead .col-price.mid { color: var(--muted); background: var(--wash); }
.compare thead .col-price.us { color: var(--yes); background: color-mix(in srgb, var(--yes) 12%, transparent); font-weight: 600; }
.compare tbody th { font-weight: 560; color: var(--ink); width: 30%; }
.compare tbody td { color: var(--muted); text-align: center; width: 23.3%; }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare col.us-col { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.compare td.us-cell { color: var(--ink); font-weight: 500; }
.cmp-yes { color: var(--yes); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.cmp-no { color: color-mix(in srgb, var(--no) 82%, var(--faint)); display: inline-flex; align-items: center; gap: 7px; }
.cmp-part { color: var(--ev-price); display: inline-flex; align-items: center; gap: 7px; }
.compare .ic { width: 16px; height: 16px; flex: none; }
.compare tbody tr.pricerow th { font-size: 15px; }
.compare tbody tr.pricerow td { font-family: var(--mono); font-weight: 600; }
.compare tbody tr.pricerow td.legacy { color: var(--no); font-size: 16px; }
.compare tbody tr.pricerow td.us-cell { color: var(--yes); font-size: 16px; }
.compare-note { margin-top: 16px; font-size: 13px; color: var(--faint); line-height: 1.5; max-width: 80ch; }

/* ---------- ICP strip ---------- */
.icp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icp-card { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; padding: 24px 22px; background: var(--paper-2); }
.icp-card .ik { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.icp-card h3 { font-size: 18px; letter-spacing: -0.02em; margin: 10px 0 8px; }
.icp-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Coverage / trust panel ---------- */
.trust-panel { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.trust-figures { display: grid; grid-template-columns: 1fr 1fr; }
.tfig { padding: 30px 30px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.tfig:nth-child(1), .tfig:nth-child(2) { border-top: 0; }
.tfig .n { font-size: 34px; letter-spacing: -0.03em; color: var(--ink); font-weight: 620; line-height: 1; }
.tfig .n .u { font-size: 18px; color: var(--accent); }
.tfig .l { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.5; }
.trust-side { background: var(--dark); color: var(--dark-text); padding: 34px 32px; display: flex; flex-direction: column; }
.trust-side h3 { color: #fff; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 12px; }
.trust-side p { color: var(--dark-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; }
.trust-side .provlist { list-style: none; margin: 4px 0 0; padding: 0; }
.trust-side .provlist li { font-size: 14px; color: color-mix(in srgb, var(--dark-text) 78%, var(--dark-muted)); padding: 9px 0; border-top: 1px solid var(--dark-line); display: flex; gap: 10px; align-items: center; }
.trust-side .provlist li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ev-opening); flex: none; }
.disclaimer { margin-top: 26px; font-size: 13px; color: var(--faint); line-height: 1.6; max-width: 82ch; }
.disclaimer a { color: var(--accent); }

/* ---------- Early-access form ---------- */
.signup-band { background: var(--dark); color: var(--dark-text); }
.signup-band .eyebrow { color: var(--accent-bright); }
.signup-band .eyebrow::before { background: var(--accent-bright); }
.signup-band h2 { color: #fff; }
.signup-band p { color: var(--dark-muted); }
.signup {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  margin-top: 26px; padding: 8px; border: 1px solid var(--dark-line); border-radius: 12px;
  background: var(--dark-2); max-width: 560px;
}
.signup input {
  border: 0; background: transparent; color: #fff; font-family: var(--sans); font-size: 16px;
  padding: 12px 14px; outline: none; min-width: 0;
}
.signup input::placeholder { color: var(--dark-muted); }
.signup .btn-primary { white-space: nowrap; }
.signup-extra { margin-top: 14px; }
.signup-extra select {
  font-family: var(--sans); font-size: 14px; color: var(--dark-text);
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 8px; padding: 10px 12px; max-width: 560px; width: 100%;
}
.signup-note { margin-top: 14px; font-size: 12.5px; color: var(--dark-muted); font-family: var(--mono); }
.signup-success {
  margin: 26px auto 0; max-width: 560px;
  border: 1px solid var(--accent-line); border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, var(--dark-2));
  color: var(--dark-text); padding: 20px 22px; font-size: 16px; line-height: 1.5;
}
.signup-success strong { color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 560; color: var(--ink); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 22px; color: var(--accent); font-weight: 400; transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "\2212"; }
.faq .fa { padding: 0 40px 24px 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: radial-gradient(110% 90% at 86% -25%, var(--hero-glow), transparent 55%), var(--dark); color: var(--dark-text); padding: 116px 0 70px; border-bottom: 1px solid var(--dark-line); margin-top: -66px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.42;
  -webkit-mask-image: radial-gradient(120% 130% at 85% -10%, #000 0%, transparent 60%);
  mask-image: radial-gradient(120% 130% at 85% -10%, #000 0%, transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent-bright); }
.page-hero .eyebrow::before { background: var(--accent-bright); }
.page-hero h1 { color: #fff; font-size: 46px; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 20px; max-width: 20ch; }
.page-hero h1 .accent { color: var(--accent-bright); }
.page-hero .sub { font-size: 19px; color: color-mix(in srgb, var(--dark-text) 82%, var(--dark-muted)); line-height: 1.55; max-width: 52ch; margin: 0; }

/* ---------- Prose (methodology) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--body); font-size: 16.5px; line-height: 1.65; margin: 0 0 16px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 16px; }
.prose ul li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); color: var(--body); font-size: 16px; line-height: 1.55; }
.prose ul li:first-child { border-top: 0; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 1.5px; background: var(--accent); }
.prose a.inline { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.source-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; }
.source-table th, .source-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.source-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.source-table td .src-name { color: var(--ink); font-weight: 560; }
.source-table td.lic { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- Pricing (Kabaun-style cards) ---------- */
.price-toggle { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--paper-2); margin: 0 auto 44px; }
.price-toggle button { border: 0; background: transparent; font-family: var(--sans); font-size: 14px; font-weight: 560; color: var(--muted); padding: 9px 20px; border-radius: 100px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.15s ease, color 0.15s ease; }
.price-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.price-toggle .save { font-family: var(--mono); font-size: 11px; color: var(--yes); }
.price-toggle button[aria-pressed="true"] .save { color: #4ade80; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 28px 70px -34px color-mix(in srgb, var(--accent) 75%, transparent); }
.price-badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.price-name { font-size: 19px; font-weight: 620; letter-spacing: -0.02em; color: var(--ink); }
.price-tag { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 38px; line-height: 1.45; }
.price-amount { font-size: 42px; letter-spacing: -0.03em; color: var(--ink); font-weight: 640; line-height: 1; }
.price-amount .per { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price-billing { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 8px; min-height: 16px; }
.price-cta { margin: 22px 0 8px; }
.price-cta .btn { width: 100%; justify-content: center; }
.price-features { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); flex: 1; }
.price-features li { position: relative; padding: 9px 0 9px 28px; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.price-features li::before { position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.price-features li.yes::before { content: "\2713"; background: color-mix(in srgb, var(--yes) 14%, transparent); color: var(--yes); }
.price-features li.no::before { content: "\2715"; background: var(--wash); color: var(--faint); }
.price-features li.no { color: var(--faint); }
.pricing-note { text-align: center; margin: 44px auto 0; max-width: 64ch; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-muted); padding: 56px 0 36px; border-top: 1px solid var(--dark-line); }
.footer .cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 14px; }
.footer .tag { font-size: 14px; max-width: 36ch; line-height: 1.55; }
.footer .fnav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer .fcol h5 { color: var(--dark-text); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin: 0 0 14px; font-family: var(--mono); }
.footer .fcol a { display: block; font-size: 14px; color: var(--dark-muted); margin-bottom: 10px; transition: color 0.15s; }
.footer .fcol a:hover { color: var(--dark-text); }
.footer .base { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 12.5px; flex-wrap: wrap; gap: 12px; }
.footer .base .mono { font-family: var(--mono); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.split-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; }
.split-2 > * { min-width: 0; }
/* desktop / mobile label swap */
.lbl-m { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 940px) {
  :root { --gutter: 22px; }
  section { padding: 66px 0; }
  .hero .wrap { grid-template-columns: minmax(0,1fr); gap: 44px; padding: 40px var(--gutter) 60px; }
  .hero h1 { font-size: 44px; }
  .hero p.sub { max-width: 48ch; }
  .hiw, .split-2, .trust-panel { grid-template-columns: 1fr; }
  .problem-grid, .caps, .icp-grid, .intel-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .prob-card { border-bottom: 1px solid var(--line); }
  .section-title { font-size: 32px; }
  .page-hero h1 { font-size: 36px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .feed-scroll { height: 380px; }
  .tfig:nth-child(2) { border-top: 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 35px; }
  .icp-grid, .trust-figures { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
  .footer .cols { flex-direction: column; }
  .lbl-d { display: none; }
  .lbl-m { display: inline; }
  .brand { font-size: 15px; gap: 8px; }
  .brand .glyph { width: 20px; height: 20px; }
  .nav-cta { padding: 7px 12px; font-size: 13px; }
  .nav-links { gap: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .event-card.enter { animation: none; }
  .dot-pulse, .feed-live::before { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .fusion .spark, .pgraph .g-spark { display: none; }
}
