/* ---------- Noemo Protocol — dark, Base-native, protocol-vibe ---------- */

:root {
  /* pastel cream + terracotta */
  --bg: #f3ecde;
  --bg-elev: #ebe2cf;
  --paper: #f8f3e7;
  --paper-2: #f1e8d2;
  --ink: #2a2620;
  --ink-soft: #5b5346;
  --ink-mute: #8a8073;
  --ink-dim: #a89e87;
  --line: #d9cfb7;
  --line-strong: #c5b896;
  --line-soft: #e6dec8;

  --accent: #c98e6f;          /* terracotta */
  --accent-fg: #f8f3e7;
  --accent-glow: rgba(201, 142, 111, 0.32);
  --accent-2: #8fa18b;        /* sage — "live" */
  --accent-3: #a99cc4;        /* lavender */

  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "tnum";
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Grid background pattern (toggle via .has-grid on body) */
body.has-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 8%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.6;
}

main, .nav { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.95;
}
.mono, .eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.lede {
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
  font-weight: 400;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { padding: 112px 0; position: relative; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 16px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  background-image: url("noemo-orb-logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.brand-suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-left: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-left: 8px;
}
.nav-links a { transition: color .15s; padding: 4px 0; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -19px;
  height: 1px;
  background: var(--accent);
}
.nav-spacer { flex: 1; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 12px 36px -8px var(--accent-glow);
}
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--paper-2); border-color: color-mix(in oklab, var(--ink) 25%, var(--line-strong)); }
.btn-bare {
  background: transparent;
  color: var(--ink-soft);
  padding: 11px 12px;
}
.btn-bare:hover { color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn .arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
}
.hero-title {
  font-size: clamp(52px, 7vw, 104px);
  margin-top: 28px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 55ch;
}
.hero-sub b { color: var(--ink); font-weight: 500; }
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* ---------- terminal card ---------- */
.term {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(80, 60, 40, 0.35);
}
.term-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.term-dots { display: flex; gap: 6px; }
.term-dots i {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  opacity: 0.6;
}
.term-dots i:nth-child(1) { background: #d49394; }
.term-dots i:nth-child(2) { background: #d4b16a; }
.term-dots i:nth-child(3) { background: #8fa18b; }
.term-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-left: 8px;
  letter-spacing: 0.06em;
}
.term-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 6px;
}
.term-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.term-body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  padding: 22px 20px;
  color: var(--ink-soft);
  white-space: pre;
  overflow-x: auto;
}
.term-body .c { color: var(--ink-mute); font-style: italic; }
.term-body .k { color: var(--accent); }
.term-body .s { color: color-mix(in oklab, var(--accent-2) 70%, var(--ink)); }
.term-body .v { color: var(--ink); }
.term-body .p { color: var(--ink-mute); }
.term-body .cur::after {
  content: "▍";
  color: var(--accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* live network preview under terminal */
.netcard {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
}
.netcard .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.netcard .val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  text-align: right;
}
.netcard .val .accent { color: var(--accent-2); }

/* ---------- trust strip ---------- */
.trust {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
  color: var(--ink-soft);
}
.trust-logos > span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-logos > span:hover { opacity: 1; }
.trust-logos .dotbase {
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 72px);
  margin: 14px 0 0;
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 18ch;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head .right {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 52ch;
  padding-bottom: 4px;
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--paper);
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  position: relative;
  transition: background .2s;
}
.pillar:hover { background: var(--paper-2); }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.pillar h3 em { font-style: italic; color: var(--accent); }
.pillar p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 14.5px;
  text-wrap: pretty;
  line-height: 1.5;
}
.pillar .pcap {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--accent) 18%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
  color: var(--accent);
}
.pillar-icon svg { width: 18px; height: 18px; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  background: var(--bg);
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.step .n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.step .role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.step h4 em { font-style: italic; color: var(--accent); }
.step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.step-code {
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.step-code .c { color: var(--ink-mute); }
.step-code .k { color: var(--accent); }
.step-code .s { color: var(--accent-2); }

/* ---------- live stats ---------- */
.livestats {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg-elev) 100%);
  overflow: hidden;
}
.livestats-head {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}
.livestats-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.livestats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.lstat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lstat:last-child { border-right: 0; }
.lstat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.lstat .num small {
  font-size: 0.5em;
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 4px;
  letter-spacing: 0;
}
.lstat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lstat .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
  margin-top: 2px;
}

/* ---------- tokenomics ---------- */
.token {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.token h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 14px 0 18px;
}
.token h3 em { font-style: italic; color: var(--accent); }
.token .lede { max-width: 46ch; }

.token-bullets {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.token-bullets li {
  list-style: none;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.token-bullets li:last-child { border-bottom: 1px solid var(--line); }
.token-bullets .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.token-bullets .v { color: var(--ink-soft); font-size: 14.5px; }
.token-bullets .v b { color: var(--ink); font-weight: 500; }

.token-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.token-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.token-symbol {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.token-symbol em { color: var(--accent); font-style: italic; }
.token-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 6px;
}
.token-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
}
.token-bars { display: flex; flex-direction: column; gap: 14px; }
.token-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
}
.token-bar .l {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.token-bar .v {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
}
.token-bar .track {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.token-bar .fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.token-bar:nth-child(2) .fill { background: var(--accent-2); }
.token-bar:nth-child(3) .fill { background: color-mix(in oklab, var(--accent) 60%, var(--accent-3)); }
.token-bar:nth-child(4) .fill { background: var(--ink-soft); }

/* ---------- final CTA ---------- */
.cta-block {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in oklab, var(--accent) 22%, transparent) 0%, transparent 60%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 88px 56px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 18ch;
  font-weight: 400;
}
.cta-block h2 em { color: var(--accent); font-style: italic; }
.cta-block p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 22px auto 0;
  max-width: 50ch;
}
.cta-actions {
  margin-top: 36px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- footer ---------- */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.foot {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}
.foot h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-weight: 400;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--ink-soft); max-width: 32ch; margin: 14px 0 0; }
.foot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ticker (live activity) ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.ticker-track .item { display: inline-flex; align-items: center; gap: 10px; }
.ticker-track .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.ticker-track .dot.b { background: var(--accent); }
.ticker-track .dot.r { background: var(--accent-3); }
.ticker-track .mute { color: var(--ink-mute); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- page heads (subpages) ---------- */
.page-head {
  padding: 96px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-title {
  font-size: clamp(48px, 6.4vw, 96px);
  margin: 18px 0 0;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.page-title em { font-style: italic; color: var(--accent); }

/* ---------- two-column layout (docs, api) ---------- */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 64px 0 96px;
}
.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 8px;
}
.side-group h6 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 12px;
  font-weight: 400;
}
.side-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-group a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.side-group a:hover { background: var(--paper); color: var(--ink); }
.side-group a.active {
  background: var(--paper);
  color: var(--ink);
  border-left-color: var(--accent);
}

.content { min-width: 0; }
.content section { padding: 0 0 64px; scroll-margin-top: 100px; }
.content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.content h2 em { font-style: italic; color: var(--accent); }
.content h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin: 32px 0 12px;
  letter-spacing: -0.005em;
}
.content p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 64ch;
  margin: 0 0 12px;
}
.content p b, .content p strong { color: var(--ink); font-weight: 500; }
.content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--paper);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.content ul.bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content ul.bullets li {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 14px;
  align-items: baseline;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.content ul.bullets li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
  transform: translateY(-1px);
}

/* code blocks within docs/api */
.codeblock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  margin: 12px 0 20px;
  white-space: pre;
  overflow-x: auto;
  position: relative;
}
.codeblock .c { color: var(--ink-mute); font-style: italic; }
.codeblock .k { color: var(--accent); }
.codeblock .s { color: color-mix(in oklab, var(--accent-2) 70%, var(--ink)); }
.codeblock .v { color: var(--ink); }
.codeblock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.codeblock-head + .codeblock {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 0;
  margin-top: 0;
}
.codeblock-head .lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.codeblock-head .copy {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 4px 6px;
}
.codeblock-head .copy:hover { color: var(--ink); }

.lang-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 8px 14px;
  color: var(--ink-mute);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-right: -1px;
}
.lang-tabs button.active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  position: relative;
  z-index: 1;
}
.lang-tabs + .codeblock { border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm); margin-top: 0; }

/* docs callout */
.callout {
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--accent) 8%, var(--paper));
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 16px 0 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: baseline;
}
.callout::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
}
.callout b { color: var(--ink); font-weight: 500; }

/* docs table */
.t-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.t-table th, .t-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.t-table th {
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.t-table td.mono { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.t-table tr:last-child td { border-bottom: 0; }

/* method pill (for API endpoints) */
.method {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
}
.method.get  { background: color-mix(in oklab, var(--accent-2) 22%, var(--paper)); color: color-mix(in oklab, var(--accent-2) 65%, var(--ink)); border: 1px solid color-mix(in oklab, var(--accent-2) 36%, var(--line)); }
.method.post { background: color-mix(in oklab, var(--accent) 22%, var(--paper)); color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 36%, var(--line)); }
.method.sse  { background: color-mix(in oklab, var(--accent-3) 22%, var(--paper)); color: color-mix(in oklab, var(--accent-3) 65%, var(--ink)); border: 1px solid color-mix(in oklab, var(--accent-3) 36%, var(--line)); }
.method.mcp  { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-strong); }

.endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.endpoint:last-child { border-bottom: 0; }
.endpoint .path { color: var(--ink); }
.endpoint .desc { color: var(--ink-mute); margin-left: auto; font-family: var(--font-body); font-size: 13px; }

/* ---------- /app dashboard ---------- */
.app-shell {
  padding: 56px 0 96px;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.app-top h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.app-top h1 em { font-style: italic; color: var(--accent); }
.wallet-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.wallet-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}
.wallet-pill .addr { color: var(--ink); }
.app-tabs {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  margin: 32px 0 28px;
}
.app-tabs button {
  background: transparent;
  border: 0;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--ink-mute);
  font-family: var(--font-body);
  border-radius: 7px;
  transition: background .15s, color .15s;
}
.app-tabs button.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kpi .l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.kpi .n {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.kpi .n small { font-size: 0.5em; color: var(--ink-mute); margin-left: 4px; }
.kpi .d {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
  margin-top: 2px;
}
.kpi .d.dn { color: var(--accent-3); }

.app-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  flex-wrap: wrap;
  gap: 8px;
}
.card-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}
.card-head .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.card-body { padding: 0; }

/* GPU list */
.gpu-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 24px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.gpu-row:last-child { border-bottom: 0; }
.gpu-row .name { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.gpu-row .name .ico {
  width: 28px; height: 28px;
  background: color-mix(in oklab, var(--accent) 18%, var(--paper-2));
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
}
.gpu-row .status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2);
}
.gpu-row .status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.gpu-row .status.idle { color: var(--ink-mute); }
.gpu-row .status.idle .dot { background: var(--ink-mute); }
.gpu-row .mono { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.gpu-row .mute { color: var(--ink-mute); font-size: 12.5px; }

/* earnings sparkline */
.spark {
  height: 120px;
  padding: 16px 22px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.spark .bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  opacity: 0.85;
}
.spark .bar:hover { opacity: 1; }

/* memory viewer rows */
.mem-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mem-row:last-child { border-bottom: 0; }
.mem-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.mem-row .v { color: var(--ink); }
.mem-row .t {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}

/* settings rows / form */
.field {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.field:last-child { border-bottom: 0; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  max-width: 380px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field .hint { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }

/* ---------- /blog ---------- */
.blog-grid {
  padding: 64px 0 96px;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.blog-featured .img {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--accent) 35%, var(--paper)) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, color-mix(in oklab, var(--accent-3) 30%, var(--paper)) 0%, transparent 50%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.blog-featured .img::after {
  content: "FEATURED";
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}
.blog-featured .body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.blog-featured h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.05;
}
.blog-featured h2 em { font-style: italic; color: var(--accent); }
.blog-featured p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  transition: opacity .2s;
}
.blog-card:hover { opacity: 0.85; }
.blog-card .thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.blog-card .thumb.a { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 26%, var(--paper)) 0%, var(--paper) 70%); }
.blog-card .thumb.b { background: linear-gradient(135deg, color-mix(in oklab, var(--accent-2) 22%, var(--paper)) 0%, var(--paper) 70%); }
.blog-card .thumb.c { background: linear-gradient(135deg, color-mix(in oklab, var(--accent-3) 26%, var(--paper)) 0%, var(--paper) 70%); }
.blog-card .thumb.d { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 22%, var(--paper)) 0%, color-mix(in oklab, var(--accent-3) 18%, var(--paper)) 100%); }
.blog-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card .meta .tag-cat {
  color: var(--accent);
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
}
.blog-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.5;
}

.blog-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.blog-cats button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.blog-cats button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.blog-cats button:hover:not(.active) { color: var(--ink); border-color: var(--ink-mute); }

/* ---------- whitelist modal ---------- */
.wl-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  z-index: 200;
  animation: wl-fade .35s ease both;
}
.wl-shell {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: wl-fade .45s ease both;
}
@keyframes wl-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wl-card {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 36px 32px;
  box-shadow:
    0 30px 80px -30px rgba(80, 60, 40, 0.32),
    0 0 0 1px color-mix(in oklab, var(--paper) 50%, transparent) inset;
  animation: wl-pop .45s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  text-align: center;
}
@keyframes wl-pop {
  from { transform: translateY(12px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.wl-card.shake { animation: wl-shake .4s ease; }
@keyframes wl-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}

.wl-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  align-items: center;
}
.wl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wl-brand .brand-mark {
  width: 28px; height: 28px;
}
.wl-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.wl-pill {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.wl-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}
.wl-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.wl-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.wl-title em { font-style: italic; color: var(--accent); }
.wl-lede {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.wl-lede b { color: var(--ink); font-weight: 500; }

.wl-form { display: flex; flex-direction: column; gap: 14px; }
.wl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wl-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: left;
}
.wl-field input {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 13px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.wl-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.wl-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-3);
  letter-spacing: 0.04em;
}
.wl-submit {
  margin-top: 4px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.wl-submit:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--ink) 86%, var(--accent)); }
.wl-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.wl-submit .arrow { display: inline-block; transition: transform .25s; }
.wl-submit:hover .arrow { transform: translateX(3px); }
.wl-spinner {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklab, var(--paper) 30%, transparent);
  border-top-color: var(--paper);
  animation: wl-spin .8s linear infinite;
}
@keyframes wl-spin {
  to { transform: rotate(360deg); }
}

.wl-foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}
.wl-foot a { color: var(--ink); text-decoration: none; }
.wl-foot a:hover { color: var(--accent); }

@media (max-width: 480px) {
  .wl-card { padding: 28px 24px 24px; border-radius: 14px; }
  .wl-title { font-size: 36px; }
}

/* ---------- coming soon ---------- */
.app-locked {
  filter: blur(8px) saturate(0.85);
  pointer-events: none;
  user-select: none;
}
.coming-soon {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  animation: wl-fade .4s ease both;
}
.coming-soon-card {
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 36px 32px;
  text-align: center;
  box-shadow:
    0 30px 80px -30px rgba(80, 60, 40, 0.32),
    0 0 0 1px color-mix(in oklab, var(--paper) 50%, transparent) inset;
  animation: wl-pop .45s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.coming-soon-card .wl-pill { margin-left: 0; }
.coming-soon-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 52px;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
}
.coming-soon-card h2 em { font-style: italic; color: var(--accent); }
.coming-soon-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 36ch;
}
.cs-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ---------- responsive ---------- */
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot > div:nth-child(4), .foot > div:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .hero-grid, .section-head, .token { grid-template-columns: 1fr; gap: 32px; }
  .section-head h2 { max-width: none; }
  .pillars, .steps, .livestats-grid { grid-template-columns: 1fr; }
  .lstat { border-right: 0; border-bottom: 1px solid var(--line); }
  .lstat:last-child { border-bottom: 0; }
  .cta-block { padding: 56px 28px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .brand-suffix { display: none; }
  .wrap { padding: 0 22px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .gpu-row { grid-template-columns: 1fr; gap: 8px; }
  .field { grid-template-columns: 1fr; gap: 8px; }
  .kpi-grid { grid-template-columns: 1fr; }
}
