/* Sageivo — site styles. No inline styles anywhere so the CSP can stay strict. */

:root {
  --ink: #080c12;
  --ink-2: #0e141d;
  --ink-3: #151d29;
  --line: rgba(232, 238, 244, 0.09);
  --line-2: rgba(232, 238, 244, 0.16);
  --text: #e8eef4;
  --muted: #93a1b0;
  --dim: #5f6d7c;
  --sage: #8fe3b0;
  --sage-2: #5fcf8f;
  --sage-deep: #1d6a46;
  --amber: #f5b35c;
  --coral: #ff7f6e;
  --sky: #7cc4ff;
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --paper-ink: #12161c;
  --paper-muted: #5b6168;

  --f-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .prose li a, .link { color: var(--sage); text-decoration: underline; text-decoration-color: rgba(143, 227, 176, 0.35); text-underline-offset: 3px; }
p a:hover, .prose li a:hover, .link:hover { text-decoration-color: var(--sage); }
button { font: inherit; color: inherit; }
::selection { background: var(--sage); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sage); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .muted, .section--paper .lede { color: var(--paper-muted); }
.section--ink2 { background: var(--ink-2); }
.hairline { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; }
h1 { font-size: clamp(42px, 6.6vw, 86px); letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em { color: var(--sage); }
.section--paper h2 em { color: var(--sage-deep); }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 62ch; line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 0.86em; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.section--paper .eyebrow { color: var(--sage-deep); }
.section--paper .eyebrow::before { box-shadow: none; }
.eyebrow--warn { color: var(--coral); }
.head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--sage); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--b); color: var(--c); border: 1px solid var(--b);
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(143, 227, 176, 0.55); }
.btn svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --b: transparent; --c: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.04); box-shadow: none; border-color: var(--muted); }
.section--paper .btn--ghost { --c: var(--paper-ink); border-color: rgba(18, 22, 28, 0.2); }
.btn--dark { --b: var(--paper-ink); --c: var(--paper); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand svg { width: 30px; height: 30px; }
.brand span b { color: var(--sage); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: background 0.2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: transform 0.25s var(--ease); }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: var(--ink); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 420px) { .nav__cta .btn { padding: 8px 14px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%); opacity: 0.55; }
.hero__glow { position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(143, 227, 176, 0.16), transparent 70%); }
.hero__copy { position: relative; display: grid; gap: 26px; max-width: 980px; }
.hero h1 { max-width: 17ch; }
.hero .lede { max-width: 60ch; }
.hero__diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 860px; margin-top: 4px; }
.hero__diff li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(14, 20, 29, 0.7); }
.hero__diff b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.hero__diff small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.hero__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--sage); background: rgba(143, 227, 176, 0.08); border: 1px solid rgba(143, 227, 176, 0.28); }
.hero__ico svg { width: 22px; height: 22px; }
.hero__ico--num { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
@media (max-width: 720px) { .hero__diff { grid-template-columns: 1fr; } }
ul.clean { list-style: none; margin: 0; padding: 0; }

/* Flow stage: canvas + answer card */
.stage {
  position: relative; margin: clamp(40px, 6vw, 64px) 0 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 50% 0%, rgba(21, 29, 41, 0.9), rgba(8, 12, 18, 0.9));
  overflow: hidden;
}
.stage__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.stage__dots { display: flex; gap: 6px; }
.stage__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line-2); }
.stage__live { display: inline-flex; align-items: center; gap: 8px; color: var(--sage); }
.stage__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pulse 1.6s infinite; }
.stage__body { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); min-height: 460px; }
.stage__canvas { position: relative; min-height: 460px; }
.stage__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__side { border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 14px; background: rgba(8, 12, 18, 0.55); }
@media (max-width: 900px) {
  .stage__body { grid-template-columns: 1fr; }
  .stage__canvas { min-height: 520px; }
  .stage__side { border-left: 0; border-top: 1px solid var(--line); }
}

.chat { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.chat__q { align-self: flex-end; max-width: 92%; background: var(--ink-3); border: 1px solid var(--line-2); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 15px; min-height: 44px; }
.chat__q .caret { display: inline-block; width: 2px; height: 1em; background: var(--sage); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.chat__a { display: grid; gap: 10px; padding: 14px; border-radius: 14px 14px 14px 4px; border: 1px solid rgba(143, 227, 176, 0.22); background: linear-gradient(180deg, rgba(143, 227, 176, 0.06), rgba(143, 227, 176, 0.01)); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.chat__a.is-on { opacity: 1; transform: none; }
.chat__steps { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__steps span { font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); transition: all 0.3s; }
.chat__steps span.is-done { color: var(--sage); border-color: rgba(143, 227, 176, 0.4); }
.chat__text { font-size: 14.5px; color: var(--text); line-height: 1.5; min-height: 3em; }
.chat__text b { color: var(--sage); font-weight: 600; }
.chat__chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding-top: 6px; border-bottom: 1px solid var(--line-2); }
.chat__chart div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.chat__chart i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sage), var(--sage-deep)); height: 0; transition: height 0.8s var(--ease); }
.chat__chart small { font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
.chat__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.chat__meta span { display: inline-flex; gap: 6px; align-items: center; }
.chat__meta svg { width: 12px; height: 12px; color: var(--sage); }
.chat__sql { font-family: var(--f-mono); font-size: 11px; color: var(--muted); background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; white-space: pre-wrap; word-break: break-word; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s var(--ease); }
.chat__sql.is-on { max-height: 120px; opacity: 1; }
.chat__sql b { color: var(--sky); font-weight: 500; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat strong em { color: var(--sage); }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 440px) { .stat { padding: 22px 18px; } }

/* ---------- Problem: MCP vs Sageivo duel ---------- */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duel__panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); overflow: hidden; display: flex; flex-direction: column; }
.duel__panel--bad { border-color: rgba(255, 127, 110, 0.22); }
.duel__panel--good { border-color: rgba(143, 227, 176, 0.28); }
.duel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.duel__head h3 { font-size: 17px; }
.tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.tag--bad { color: var(--coral); } .tag--good { color: var(--sage); }
.duel__viz { position: relative; aspect-ratio: 16 / 10; }
.duel__viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.duel__meters { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.meter { padding: 14px 18px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.meter:last-child { border-right: 0; }
.meter small { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.meter b { font-family: var(--f-mono); font-size: clamp(16px, 1.8vw, 22px); font-weight: 500; letter-spacing: -0.03em; }
.duel__panel--bad .meter b { color: var(--coral); }
.duel__panel--good .meter b { color: var(--sage); }
@media (max-width: 480px) { .meter { padding: 12px 10px; } .meter b { font-size: 15px; white-space: nowrap; } }
.duel__log { font-family: var(--f-mono); font-size: 12px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--dim); min-height: 46px; }
.duel__panel--bad .duel__log { color: var(--amber); }
.duel__panel--good .duel__log { color: var(--sage); }
@media (max-width: 900px) { .duel { grid-template-columns: 1fr; } }

/* SVG viz styles (used by the duel diagrams) */
.v-node { fill: var(--ink-3); stroke: var(--line-2); stroke-width: 1; }
.v-node--ai { fill: #18241e; stroke: var(--sage); }
.v-node--wh { fill: #122019; stroke: var(--sage); stroke-width: 1.5; }
.v-node--bad { fill: #24171a; stroke: var(--coral); }
.v-label { fill: var(--muted); font-family: var(--f-mono); font-size: 11px; }
.v-label--strong { fill: var(--text); font-family: var(--f-sans); font-weight: 600; font-size: 13px; }
.v-wire { fill: none; stroke: rgba(255, 127, 110, 0.28); stroke-width: 1.2; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
.v-wire--good { stroke: rgba(143, 227, 176, 0.45); stroke-dasharray: none; animation: none; }
.v-pulse { fill: var(--coral); }
.v-pulse--good { fill: var(--sage); }
.v-x { stroke: var(--coral); stroke-width: 2; stroke-linecap: round; }

.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pain { background: var(--ink); padding: 28px 26px; display: grid; gap: 10px; align-content: start; }
.pain__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 127, 110, 0.08); color: var(--coral); border: 1px solid rgba(255, 127, 110, 0.2); }
.pain__ico svg { width: 20px; height: 20px; }
.pain p { color: var(--muted); font-size: 15.5px; }
.pain .fix { color: var(--sage); font-size: 14.5px; display: flex; gap: 8px; align-items: flex-start; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.pain .fix svg { width: 16px; height: 16px; flex: none; margin-top: 4px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- Pipeline ---------- */
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.pipe::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
.pipe__step { position: relative; display: grid; gap: 14px; align-content: start; }
.pipe__num { position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line-2); font-family: var(--f-mono); color: var(--sage); font-size: 15px; transition: all 0.5s var(--ease); }
.pipe__step.is-in .pipe__num { border-color: var(--sage); box-shadow: 0 0 0 6px rgba(143, 227, 176, 0.06), 0 0 30px -6px rgba(143, 227, 176, 0.6); }
.pipe__step p { color: var(--muted); font-size: 15.5px; }
.pipe__step ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.pipe__step li { display: flex; gap: 8px; }
.pipe__step li::before { content: "→"; color: var(--sage); font-family: var(--f-mono); }
@media (max-width: 900px) {
  .pipe { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pipe::before { display: none; }
}
@media (max-width: 560px) { .pipe { grid-template-columns: 1fr; } }

/* Entity resolution demo */
.resolve { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.resolve__board { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); padding: 22px; min-height: 380px; overflow: hidden; }
.rec { position: absolute; left: 22px; right: 22px; display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line-2); font-size: 13.5px; transition: transform 0.9s var(--ease), opacity 0.6s, border-color 0.4s, background 0.4s; }
.rec small { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); }
.rec span { font-family: var(--f-mono); font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec--1 { top: 22px; } .rec--2 { top: 92px; } .rec--3 { top: 162px; } .rec--4 { top: 232px; }
.rec--gold { top: 132px; opacity: 0; transform: scale(0.94); border-color: var(--sage); background: #122019; box-shadow: 0 0 40px -10px rgba(143, 227, 176, 0.5); grid-template-columns: 1fr; gap: 8px; }
.rec--gold .gold-row { display: flex; flex-wrap: wrap; gap: 6px; }
.rec--gold .gold-row i { font-style: normal; font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(143, 227, 176, 0.1); color: var(--sage); }
.resolve__board.is-merged .rec--1 { transform: translateY(110px) scale(0.92); opacity: 0; }
.resolve__board.is-merged .rec--2 { transform: translateY(40px) scale(0.92); opacity: 0; }
.resolve__board.is-merged .rec--3 { transform: translateY(-30px) scale(0.92); opacity: 0; }
.resolve__board.is-merged .rec--4 { transform: translateY(-100px) scale(0.92); opacity: 0; }
.resolve__board.is-merged .rec--gold { opacity: 1; transform: none; transition-delay: 0.45s; }
.resolve__caption { position: absolute; left: 22px; right: 22px; bottom: 18px; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); display: flex; justify-content: space-between; gap: 12px; }
.resolve__caption b { color: var(--sage); font-weight: 500; }
.resolve__copy { display: grid; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks svg { width: 18px; height: 18px; color: var(--sage); margin-top: 4px; }
.section--paper .checks li { color: var(--paper-muted); }
.section--paper .checks li b { color: var(--paper-ink); }
.section--paper .checks svg { color: var(--sage-deep); }
@media (max-width: 900px) { .resolve { grid-template-columns: 1fr; } }

/* ---------- Feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); padding: 28px; display: grid; gap: 12px; align-content: start; overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(143, 227, 176, 0.08), transparent 60%); }
.card:hover::after { opacity: 1; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(143, 227, 176, 0.08); border: 1px solid rgba(143, 227, 176, 0.2); color: var(--sage); }
.card__ico svg { width: 22px; height: 22px; }
.c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; }
@media (max-width: 960px) { .c-2, .c-3, .c-4 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .c-2, .c-3, .c-4, .c-6 { grid-column: auto; } }

/* mini visuals inside cards */
.mini-sql { font-family: var(--f-mono); font-size: 12px; line-height: 1.7; color: var(--muted); background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; white-space: pre; margin-top: 6px; }
.mini-sql .k { color: var(--sky); } .mini-sql .s { color: var(--amber); } .mini-sql .c { color: var(--dim); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mini-tags span { font-family: var(--f-mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); background: var(--ink); }
.mini-tags span.on { border-color: rgba(143, 227, 176, 0.5); color: var(--sage); }
.mini-dash { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 6px; }
.mini-dash div { border: 1px solid var(--line); border-radius: 10px; background: var(--ink); padding: 10px; display: grid; gap: 4px; }
.mini-dash small { font-family: var(--f-mono); font-size: 10px; color: var(--dim); text-transform: uppercase; }
.mini-dash b { font-size: 18px; letter-spacing: -0.03em; }
.mini-dash b.up { color: var(--sage); }
.mini-dash svg { width: 100%; height: 34px; }
.spark { fill: none; stroke: var(--sage); stroke-width: 1.6; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease); }
.is-in .spark { stroke-dashoffset: 0; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); font-weight: 500; font-size: 15px; white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--sage)); }
.stack3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.stack3 .card h3 { font-size: 18px; }
.stack3 .mini-tags span { font-family: var(--f-sans); font-size: 14px; }
@media (max-width: 860px) { .stack3 { grid-template-columns: 1fr; } }

/* ---------- Deploy / clouds ---------- */
.clouds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cloud { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--ink-2); display: grid; gap: 8px; }
.cloud b { font-size: 18px; letter-spacing: -0.02em; }
.cloud span { color: var(--muted); font-size: 14.5px; }
.cloud .mono { color: var(--sage); font-size: 12px; }
@media (max-width: 860px) { .clouds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .clouds { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Security boundary diagram */
.boundary { position: relative; border: 1px dashed rgba(143, 227, 176, 0.45); border-radius: var(--radius-lg); padding: 44px 22px 22px; display: grid; gap: 14px; background: rgba(143, 227, 176, 0.025); }
.boundary__label { position: absolute; top: -12px; left: 20px; background: var(--ink); padding: 0 10px; font-family: var(--f-mono); font-size: 12px; color: var(--sage); }
.section--ink2 .boundary__label { background: var(--ink-2); }
.boundary__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bx { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; background: var(--ink-3); display: grid; gap: 4px; text-align: center; }
.bx b { font-size: 14.5px; } .bx small { color: var(--dim); font-family: var(--f-mono); font-size: 11px; }
.bx--core { border-color: var(--sage); background: #122019; }
.boundary__flow { position: relative; height: 26px; }
.boundary__flow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--sage), transparent); }
.boundary__flow::after { content: ""; position: absolute; left: calc(50% - 3px); top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: drop 1.8s var(--ease) infinite; }
.boundary__out { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-family: var(--f-mono); font-size: 11.5px; color: var(--dim); }
.boundary__out span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 520px) { .boundary__row { grid-template-columns: 1fr; } }

/* ---------- Cost compare ---------- */
.cost { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cost__col { border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 16px; align-content: start; }
.cost__col--them { background: var(--paper-2); }
.cost__col--us { background: var(--paper-ink); color: var(--paper); }
.cost__col--us .muted { color: #a7b0ba; }
.cost__total { font-size: clamp(36px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.cost__col--us .cost__total { color: var(--sage); }
.cost__lines { list-style: none; margin: 0; padding: 0; display: grid; }
.cost__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(18, 22, 28, 0.1); font-size: 15.5px; }
.cost__col--us .cost__lines li { border-top-color: rgba(243, 240, 232, 0.12); }
.cost__lines li span:last-child { font-family: var(--f-mono); font-size: 14px; white-space: nowrap; }
.cost__col--them .cost__lines li span:last-child { color: #a3402f; }
.cost__col--us .cost__lines li span:last-child { color: var(--sage); }
.cost__bar { height: 10px; border-radius: 999px; background: rgba(18, 22, 28, 0.08); overflow: hidden; }
.cost__col--us .cost__bar { background: rgba(243, 240, 232, 0.1); }
.cost__bar i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.4s var(--ease); }
.cost__col--them .cost__bar i { background: #d06b55; }
.cost__col--us .cost__bar i { background: var(--sage); }
.is-in .cost__col--them .cost__bar i { width: 100%; }
.is-in .cost__col--us .cost__bar i { width: 6%; }
.fine { font-size: 13px; color: var(--paper-muted); margin-top: 16px; }
@media (max-width: 860px) { .cost { grid-template-columns: 1fr; } }

/* Funding paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.path { border: 1px solid rgba(18, 22, 28, 0.12); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; background: rgba(255, 255, 255, 0.4); }
.path .mono { color: var(--sage-deep); font-size: 12px; }
.path p { color: var(--paper-muted); font-size: 15.5px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; gap: 28px; }
.manifesto blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.02em; max-width: 20ch; }
.manifesto blockquote span { color: var(--sage); }
.free-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.free-list div { background: var(--ink); padding: 24px; display: grid; gap: 6px; }
.free-list b { font-family: var(--f-mono); font-size: 28px; color: var(--sage); font-weight: 500; letter-spacing: -0.04em; }
.free-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .free-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: var(--ink-2); display: flex; flex-direction: column; gap: 18px; }
.tier--hot { border-color: var(--sage); background: linear-gradient(180deg, #102019, var(--ink-2) 40%); }
.tier__badge { position: absolute; top: -12px; left: 30px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; background: var(--sage); color: var(--ink); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.tier__name { font-size: 22px; }
.tier__for { color: var(--muted); font-size: 15px; min-height: 3em; }
.tier__price { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier__price b { font-size: 28px; letter-spacing: -0.03em; font-weight: 600; }
.tier__price small { color: var(--dim); font-size: 13.5px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 15px; color: var(--muted); }
.tier li svg { width: 16px; height: 16px; color: var(--sage); margin-top: 4px; }
.tier li.plus { color: var(--text); font-weight: 500; }
.tier .btn { width: 100%; }
.tier-note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .tier__for { min-height: 0; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); font-weight: 500; background: var(--ink-2); }
table.cmp tbody th { font-weight: 600; color: var(--text); width: 26%; }
table.cmp td { color: var(--muted); }
table.cmp td.good { color: var(--text); }
table.cmp td.good::before { content: "✓ "; color: var(--sage); font-weight: 700; }
table.cmp td.bad::before { content: "✕ "; color: var(--coral); font-weight: 700; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cred { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--ink-2); display: grid; gap: 6px; }
.cred b { font-size: 16px; } .cred span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; color: var(--sage); font-size: 22px; transition: transform 0.25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--muted); max-width: 72ch; display: grid; gap: 12px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border: 1px solid rgba(143, 227, 176, 0.3); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; gap: 22px; justify-items: start;
  background: radial-gradient(700px circle at 85% 0%, rgba(143, 227, 176, 0.16), transparent 60%), var(--ink-2); }
.cta h2 { max-width: 18ch; }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.6; }
.cta > *:not(canvas) { position: relative; }

/* ---------- Page header (sub pages) ---------- */
.phead { padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.phead .hero__grid { opacity: 0.4; }
.phead__in { position: relative; display: grid; gap: 22px; max-width: 900px; }
.crumbs { display: flex; gap: 8px; font-family: var(--f-mono); font-size: 12.5px; color: var(--dim); list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a:hover { color: var(--text); }

/* Long-form article */
.prose { max-width: 760px; display: grid; gap: 20px; font-size: 18px; color: #c9d2db; }
.prose h2 { font-size: clamp(28px, 3.2vw, 40px); color: var(--text); margin-top: 28px; }
.prose h3 { color: var(--text); margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--sage); }
.prose strong { color: var(--text); }
.tldr { border: 1px solid rgba(143, 227, 176, 0.3); background: rgba(143, 227, 176, 0.04); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; }
.tldr b.mono { color: var(--sage); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__aside { display: grid; gap: 26px; }
.form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); background: var(--ink-2); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--text); }
.field label span, .field legend span { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--ink); color: var(--text); border: 1px solid var(--line-2);
  font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(143, 227, 176, 0.12); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--coral); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; min-height: 0; }
.opt span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all 0.2s; }
.opt input:checked + span { border-color: var(--sage); color: var(--sage); background: rgba(143, 227, 176, 0.08); }
.opt input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__status { font-size: 15px; min-height: 1.5em; }
.form__status.ok { color: var(--sage); } .form__status.err { color: var(--coral); }
.form small.muted { font-size: 13px; }
.cf-turnstile { min-height: 65px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { color: var(--text); font-size: 14px; margin-bottom: 14px; font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.foot__brand { display: grid; gap: 14px; max-width: 34ch; }
.foot__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--dim); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }
.no-js .rv { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; }
}

/* ---------- Sub-page helpers ---------- */
.security-stack { display: grid; gap: clamp(48px, 7vw, 80px); }
.sec-block { display: grid; gap: 24px; }
.sec-block > h2 { font-size: clamp(26px, 3vw, 36px); }
.sec-note { margin-top: 28px; }
.duel-note { margin-top: 14px; font-size: 12.5px; color: var(--dim); }

/* ---------- Single service plan ---------- */
.plan { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.factors { display: grid; gap: 16px; }
.factor { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); padding: 26px 28px; display: grid; gap: 10px; }
.factor h3 { font-size: 20px; margin: 0; }
.factor p { color: var(--muted); font-size: 15px; margin: 0; }
.factor__n { position: absolute; top: 26px; right: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--sage); }
.steps-scale { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps-scale li { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); padding: 8px 10px; border-radius: 8px; background: var(--ink-3); border-top: 2px solid var(--sage-deep); }
.steps-scale li:nth-child(2) { border-top-color: var(--sage-2); }
.steps-scale li:nth-child(3) { border-top-color: var(--sage); color: var(--text); }
.levels { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.levels li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; font-size: 15px; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); }
.levels li:first-child { border-top: 0; padding-top: 0; }
.levels b { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; color: var(--sage); text-transform: uppercase; letter-spacing: 0.04em; }
.factor--eg { background: var(--paper); border-color: var(--paper); color: var(--paper-ink); }
.factor--eg p { color: var(--paper-muted); }
@media (max-width: 960px) { .plan { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
@media (max-width: 480px) { .steps-scale { grid-template-columns: 1fr; } .levels li { grid-template-columns: 1fr; gap: 2px; } }
