:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #18212f;
  --muted: #667085;
  --line: #e7e2d8;
  --blue: #2454d6;
  --blue-2: #e9efff;
  --gold: #b87513;
  --green: #176b5b;
  --rose: #8f3454;
  --shadow: 0 24px 70px rgba(21, 31, 48, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(36, 84, 214, .11), transparent 30rem),
    radial-gradient(circle at top right, rgba(184, 117, 19, .10), transparent 28rem),
    var(--bg);
  line-height: 1.55;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid rgba(231, 226, 216, .8);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
.mark { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--gold)); box-shadow: 0 0 0 5px rgba(36,84,214,.08); }
.nav-links { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.section { max-width: 1180px; margin: 0 auto; padding: 88px 24px; }
.hero { padding-top: 116px; }
.eyebrow, .kicker { font-size: 13px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.06; margin: 0; }
h1 { max-width: 980px; font-size: clamp(46px, 7vw, 86px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 22px; }
.hero-copy { max-width: 820px; font-size: 22px; color: #3c4656; margin: 28px 0 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.button { padding: 13px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); }
.button.primary { background: var(--ink); color: white; border-color: var(--ink); }
.button.secondary { background: rgba(255,255,255,.7); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 10px 35px rgba(21,31,48,.05); }
.stat span { font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.prose p, .section-heading p, .card p, .cell p, .stack p, .experiment-list p { color: #4f5b6d; }
.prose p { font-size: 18px; margin: 0 0 20px; }
.prose.wide { max-width: 900px; margin: 42px auto 0; }
.prose h3 { margin: 0 0 16px; }
.section-heading { max-width: 850px; margin-bottom: 36px; }
.section-heading.narrow { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading > p:last-child { font-size: 18px; }
.matrix { position: relative; display: grid; grid-template-columns: 170px 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.cell { background: rgba(255,255,255,.92); padding: 26px; min-height: 145px; }
.cell.header { background: #f1f4ff; font-weight: 800; color: var(--blue); min-height: auto; }
.cell.label { background: #faf4e9; font-weight: 800; color: var(--gold); display: flex; align-items: center; }
.cell strong { display: block; margin-top: 12px; }
.axis { display: none; }
.deep-section { border-radius: 36px; margin-top: 40px; }
.deep-section.token { background: linear-gradient(180deg, rgba(233,239,255,.82), rgba(255,255,255,.2)); }
.deep-section.parameter { background: linear-gradient(180deg, rgba(250,238,223,.95), rgba(255,255,255,.25)); }
.cards { display: grid; gap: 18px; margin-top: 30px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: 0 16px 45px rgba(21,31,48,.07); }
.card.feature { padding: 34px; }
.timeline { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.timeline div { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.timeline span { font-weight: 800; color: var(--green); }
.timeline p { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; background: white; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f8f7f3; font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
td:first-child { font-weight: 800; color: var(--blue); }
tr:last-child td { border-bottom: 0; }
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.risk-grid > div { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
ul { color: #4f5b6d; }
.callout { margin-top: 22px; padding: 22px 24px; border-radius: 22px; background: #101828; color: white; font-size: 18px; }
.experiment-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.experiment-list article { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 26px; padding: 24px; position: relative; overflow: hidden; }
.experiment-list span { font-family: "JetBrains Mono", monospace; color: var(--rose); font-weight: 800; font-size: 13px; }
.stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stack div { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.stack b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-2); color: var(--blue); margin-bottom: 14px; }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.source-grid a { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-decoration: none; color: var(--blue); font-weight: 700; }
.source-grid a:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(21,31,48,.08); }
.note { color: var(--muted); margin-top: 22px; }
footer { max-width: 1180px; margin: 0 auto; padding: 36px 24px 70px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { flex-wrap: wrap; }
  .stats-grid, .cards.three, .timeline, .stack, .source-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .risk-grid, .experiment-list, .cards.two { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; }
  .cell.label { min-height: auto; }
}
@media (max-width: 560px) {
  .section { padding: 64px 18px; }
  .hero { padding-top: 78px; }
  .stats-grid, .cards.three, .timeline, .stack, .source-grid { grid-template-columns: 1fr; }
  .hero-copy { font-size: 18px; }
}
