:root {
  --canvas: #f6f8fb;     /* slightly deeper than near-white for panel separation */
  --surface: #ffffff;
  --ink: #0d1726;        /* deep matrix — headings (≈14:1) */
  --body: #2d3c4e;       /* body text — ~10:1 on canvas */
  --slate: #4f6175;      /* captions / secondary — ~5.6:1 (AA) */
  --line: #dde5ee;       /* hairline (more visible) */
  --line-2: #eef2f7;
  --mint: #00d2c4;       /* fills / CTA */
  --mint-ink: #056b62;   /* mint as text — ~5:1 (AA on white) */
  --crimson: #ff4b5c;
  --radius: 6px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; }
h1, h2, h3, h4 { letter-spacing: -0.025em; margin: 0; color: var(--ink); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mint-ink); margin-bottom: 14px;
}

/* nav */
.nav { max-width: var(--max); margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 800; letter-spacing: 0.16em; font-size: 15px; color: var(--ink); }
.links { display: flex; align-items: center; gap: 28px; }
.links a:not(.btn) { text-decoration: none; color: var(--slate); font-size: 14px; font-weight: 600; }
.links a:not(.btn):hover { color: var(--ink); }
/* nav CTA — mint so it reads clearly and pops (was inheriting slate text) */
.links .btn { background: var(--mint); color: #04211f; }
.links .btn:hover { background: #11ddcf; }

.btn { display: inline-block; background: var(--ink); color: #fff; font-weight: 600;
  text-decoration: none; padding: 13px 22px; border-radius: var(--radius); font-size: 15px;
  transition: background 0.15s, transform 0.05s; }
.btn:hover { background: #1c2c44; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: transparent; }
/* primary CTA accent — used sparingly */
.cta-row .btn:first-child, .cta .btn { background: var(--mint); color: #04211f; }
.cta-row .btn:first-child:hover, .cta .btn:hover { background: #11ddcf; }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 64px 24px 64px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 66px); font-weight: 800; line-height: 1.02; }
.accent { color: var(--mint-ink); }
.sub { color: var(--body); font-size: 18px; max-width: 520px; margin: 22px 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.graph { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; aspect-ratio: 9/8; box-shadow: 0 12px 40px -22px rgba(15,26,44,0.35); }
.glabel { fill: var(--slate); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; }
.gcore { fill: var(--ink); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px;
  text-anchor: middle; font-weight: 700; }
.core { filter: drop-shadow(0 0 8px rgba(255,75,92,0.4)); }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }
.edges line { stroke-dasharray: 5 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -11; } }

/* thesis */
.thesis { max-width: var(--max); margin: 0 auto; padding: 24px 24px 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.col-accent { border-color: var(--mint); box-shadow: 0 0 0 1px rgba(0,210,196,0.18) inset; }
.col h3 { font-size: 24px; margin: 6px 0 10px; }
.col p { color: var(--body); margin: 0; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.col-accent .kicker { color: var(--mint-ink); }
.arrow { align-self: center; color: var(--slate); font-size: 26px; }

/* section heads */
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 24px 30px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-sub { color: var(--body); margin: 12px 0 0; max-width: 600px; }

/* how */
.how { padding: 60px 0 34px; border-top: 1px solid var(--line); margin-top: 16px; }
.steps { max-width: var(--max); margin: 0 auto; padding: 0 24px; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; }
.step-n { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px;
  color: var(--mint-ink); letter-spacing: 0.1em; font-weight: 700; }
.steps h4 { font-size: 19px; margin: 14px 0 8px; }
.steps p { color: var(--body); margin: 0; font-size: 15px; }

/* bands */
.bands { padding: 60px 0 34px; }
.band-row { max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; border-top: 3px solid var(--c); }
.band b { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 15px; color: var(--c); display: block; }
.band span { color: var(--slate); font-size: 13px; }

/* features */
.feats { max-width: var(--max); margin: 0 auto; padding: 44px 24px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { padding: 4px; }
.feat h4 { font-size: 16px; margin-bottom: 8px; }
.feat p { color: var(--body); font-size: 14px; margin: 0; }

/* cta */
.cta { max-width: 880px; margin: 56px auto 0; padding: 56px 24px; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta p { color: var(--body); margin: 12px 0 26px; }

/* footer */
.foot { max-width: var(--max); margin: 30px auto 0; padding: 30px 24px 50px;
  display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.brand-foot { color: var(--slate); font-size: 13px; }
.brand-foot span { color: var(--ink); }
.fine { color: var(--slate); font-size: 13px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .graph { max-width: 420px; }
  .thesis { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .steps { grid-template-columns: 1fr; }
  .band-row { grid-template-columns: repeat(3, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .band-row { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: 1fr; }
  .links a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .edges line { animation: none; }
  html { scroll-behavior: auto; }
}
