/* UC-CS Landing — editorial dark, Vercel-quiet */
:root {
  --bg: #06080f;
  --bg-2: #0a0d17;
  --bg-card: #0d1220;
  --bg-elev: #131a2b;
  --line: #1a2238;
  --line-soft: #131a2b;
  --line-strong: #283356;

  --ink-1: #ecf0fa;
  --ink-2: #aab3c8;
  --ink-3: #6a7392;
  --ink-4: #424a66;

  --accent: #6e8bff;
  --accent-soft: rgba(110, 139, 255, 0.12);
  --accent-line: rgba(110, 139, 255, 0.4);
  --purple: #8e7bff;
  --ok: #3ec96e;
  --warn: #e8b94c;
  --danger: #ef5b5b;
  --rec: #ff4d4d;

  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", monospace;

  --r-2: 4px;
  --r-3: 8px;
  --r-4: 12px;

  --col-max: 1240px;
  --col-narrow: 880px;
  --pad-section-y: 120px;
  --pad-section-y-dense: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: -0.005em;
  scroll-behavior: smooth;
}

body { min-height: 100vh; }

.mono { font-family: var(--font-mono); letter-spacing: 0; }

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: #8aa3ff; }

button { font-family: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

::selection { background: var(--accent); color: var(--bg); }

/* ── Layout ────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 32px;
}
.narrow { max-width: var(--col-narrow); margin: 0 auto; padding: 0 32px; }

.section {
  position: relative;
  padding: var(--pad-section-y) 0;
  border-top: 1px solid var(--line);
}
.section.dense { padding: var(--pad-section-y-dense) 0; }
.section.no-rule { border-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 18px;
}
.section-title .muted { color: var(--ink-3); }

.section-lede {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-2);
  margin: 0 0 56px;
  max-width: 680px;
  line-height: 1.55;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head-text { max-width: 720px; }

/* ── Reveal on scroll ──────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.16,.84,.3,1), transform .7s cubic-bezier(.16,.84,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ── Nav ───────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px) saturate(1.2);
  background: rgba(6, 8, 15, 0.78);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.nav-logo .tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 16px;
  flex: 1;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition: color .12s;
}
.nav-links a:hover { color: var(--ink-1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: #7e97ff; transform: translateY(-1px); }

.nav-lang {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.nav-lang button {
  padding: 5px 10px;
  border-radius: 4px;
  transition: background .15s, color .15s;
  font-weight: 600;
}
.nav-lang button.active {
  color: var(--bg);
  background: var(--accent);
}
.nav-lang button:not(.active):hover {
  color: var(--ink-1);
  background: var(--bg-elev);
}
.nav-lang .sep { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  border-top: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(50% 70% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(50% 70% at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: -10% 0 0 0;
  background:
    radial-gradient(40% 35% at 20% 10%, rgba(110, 139, 255, 0.18) 0%, transparent 60%),
    radial-gradient(35% 30% at 85% 25%, rgba(142, 123, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 32px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero h1 .muted { color: var(--ink-3); }
.hero p.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .15s, transform .15s, border-color .15s, color .15s;
  border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: var(--bg); }
.btn.primary:hover { background: #7e97ff; transform: translateY(-1px); }
.btn.ghost { background: var(--bg-card); color: var(--ink-1); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--line-strong); background: var(--bg-elev); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-stats {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.hero-stat {
  background: var(--bg);
  padding: 22px 24px;
}
.hero-stat .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-stat .v {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero-stat .v .sub { color: var(--ink-3); font-weight: 500; margin-left: 6px; }

@media (max-width: 880px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Cards & grids ─────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 28px;
  transition: border-color .2s, transform .2s, background .2s;
}
.card.hoverable:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: var(--bg-elev);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── 3 layers ──────────────────────────────────────────────────────────── */

.layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.layers-svg { width: 100%; height: auto; max-width: 520px; }
.layers-list { display: flex; flex-direction: column; gap: 16px; }
.layer-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.layer-row:first-child { border-top: 0; }
.layer-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-top: 4px;
}
.layer-row .name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.layer-row .desc { color: var(--ink-2); margin-top: 4px; font-size: 14px; }

@media (max-width: 880px) {
  .layers { grid-template-columns: 1fr; }
  .layer-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ── UCCS core wheel ───────────────────────────────────────────────────── */

.core {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.core-text h2 { margin-bottom: 18px; }
.core-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 12px;
}
.core-token {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--ink-2);
}
.core-not {
  margin-top: 32px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ink-4);
  border-radius: var(--r-2);
  color: var(--ink-3);
  font-size: 13px;
}
.core-not strong { color: var(--ink-2); }

.wheel-svg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; display: block; }

@media (max-width: 980px) { .core { grid-template-columns: 1fr; } }

/* ── Communication layers ──────────────────────────────────────────────── */

.comm-layers { display: flex; flex-direction: column; gap: 8px; }
.comm-layer {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  transition: border-color .2s, transform .2s;
}
.comm-layer:hover { border-color: var(--accent-line); transform: translateX(4px); }
.comm-layer-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  padding-top: 2px;
  flex-shrink: 0;
  width: 24px;
}
.comm-layer-content { flex: 1; }
.comm-layer-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.comm-layer-name { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.comm-layer-q { font-size: 12px; color: var(--ink-3); }
.comm-layer-desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.comm-rule {
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-2);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .comm-layer { flex-direction: column; gap: 8px; }
  .comm-layer-head { flex-direction: column; gap: 2px; }
}

/* ── Features grid ─────────────────────────────────────────────────────── */

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: default;
}
.feature-card:hover {
  border-color: var(--accent-line);
  background: var(--bg-elev);
  transform: translateY(-3px);
}
.feature-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.feature-card .t { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.feature-card .d { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ── 5 pillars ─────────────────────────────────────────────────────────── */

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: default;
  position: relative;
}
.pillar:hover {
  border-color: var(--accent-line);
  background: var(--bg-elev);
  transform: translateY(-3px);
}
.pillar .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}
.pillar .t { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.pillar .d { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.pillar .tech {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pillar .tech .chip {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  padding: 3px 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
}

@media (max-width: 1180px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .pillars { grid-template-columns: 1fr; } }

/* ── UCP code ──────────────────────────────────────────────────────────── */

.ucp {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.ucp-code {
  background: #04060c;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
}
.ucp-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.ucp-code-head .dots { display: inline-flex; gap: 6px; }
.ucp-code-head .dots span { width: 9px; height: 9px; border-radius: 50%; }
.ucp-code-body { padding: 14px 18px; overflow-x: auto; }
.ucp-code-body .ln { color: var(--ink-4); display: inline-block; width: 2ch; user-select: none; margin-right: 14px; }
.ucp-code-body .kw { color: #c7a4ff; }
.ucp-code-body .id { color: #8eb6ff; }
.ucp-code-body .ty { color: var(--ok); }
.ucp-code-body .nu { color: var(--warn); }
.ucp-code-body .co { color: var(--ink-3); }
.ucp-code-body .st { color: #ef9aa0; }

@media (max-width: 880px) { .ucp { grid-template-columns: 1fr; } }

/* ── Operate product (full bleed image area) ──────────────────────────── */

.product-shot {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  position: relative;
}
.product-shot-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(10,13,23,0.6);
}
.product-shot-head .dots { display: inline-flex; gap: 6px; }
.product-shot-head .dots span { width: 11px; height: 11px; border-radius: 50%; }
.product-shot-head .url {
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.product-shot-body {
  padding: 0;
  background: radial-gradient(80% 80% at 50% 0%, rgba(110,139,255,0.06) 0%, transparent 60%), #060810;
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.product-shot-body iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

/* ── Product lines compare ────────────────────────────────────────────── */

.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.line-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: border-color .2s, transform .2s;
}
.line-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.line-card.placeholder {
  border-style: dashed;
  color: var(--ink-3);
}
.line-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.line-card .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.line-card .badge.live { color: var(--accent); border-color: var(--accent-line); }
.line-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}
.line-card .lc-sub { color: var(--ink-3); font-size: 13px; margin-bottom: 24px; }
.line-card ul {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.line-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-2);
}
.line-card li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 1px;
  flex: 0 0 auto;
}
.line-card.placeholder li::before { background: var(--ink-4); }

@media (max-width: 880px) { .lines { grid-template-columns: 1fr; } }

/* ── Federation diagram ───────────────────────────────────────────────── */

.fed {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.fed-svg { width: 100%; height: auto; }
.fed-bullets {
  display: grid;
  gap: 4px;
}
.fed-bullets > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.fed-bullets > div:last-child { border-bottom: 0; }
.fed-bullets .h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.fed-bullets .h .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.fed-bullets .b { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 980px) { .fed { grid-template-columns: 1fr; } }

/* ── Tech stack ────────────────────────────────────────────────────────── */

.stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stack-col {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 22px 24px;
  background: var(--bg-card);
}
.stack-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.stack-col ul { list-style: none; margin: 0; padding: 0; }
.stack-col li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.stack-col li:first-child { border-top: 0; }
.stack-col li .role { color: var(--ink-3); font-size: 11.5px; }

@media (max-width: 880px) { .stack { grid-template-columns: 1fr; } }

/* ── Audiences ─────────────────────────────────────────────────────────── */

.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aud {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  min-height: 180px;
}
.aud .ic {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.aud .t { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.aud .d { color: var(--ink-2); font-size: 13px; line-height: 1.5; }

@media (max-width: 980px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .audiences { grid-template-columns: 1fr; } }

/* ── Domains split ─────────────────────────────────────────────────────── */

.domains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dom-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 28px;
}
.dom-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.dom-col h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.dom-list { list-style: none; padding: 0; margin: 0; }
.dom-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 13px;
}
.dom-list li:first-child { border-top: 0; }
.dom-list li .role { font-family: var(--font-sans); font-size: 12px; color: var(--ink-3); }

@media (max-width: 880px) { .domains { grid-template-columns: 1fr; } }

/* ── Closing ───────────────────────────────────────────────────────────── */

.closing {
  text-align: center;
  padding: 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 100% at 50% 0%, rgba(110,139,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.closing h2 {
  position: relative;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 auto 12px;
  max-width: 18ch;
}
.closing h2 .muted { color: var(--ink-3); }
.closing p {
  position: relative;
  max-width: 56ch;
  margin: 0 auto 32px;
  color: var(--ink-2);
  font-size: 16px;
}
.closing-actions { position: relative; display: inline-flex; gap: 12px; }

/* ── Beta signup ────────────────────────────────────────────────────────── */

.signup-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.signup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% -10%, var(--accent-soft), transparent 62%);
  pointer-events: none;
}
.signup-card > * { position: relative; }
.signup-card .eyebrow { display: block; }
.signup-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 14px;
}
.signup-sub {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 46ch;
  margin: 0 auto;
}
.signup-toggle {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 26px 0 18px;
}
.signup-toggle button {
  padding: 7px 18px;
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .15s, color .15s;
}
.signup-toggle button.active { background: var(--accent); color: var(--bg); }
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color .15s;
}
.signup-form input::placeholder { color: var(--ink-4); }
.signup-form input:focus { outline: none; border-color: var(--accent); }
.signup-form .btn { white-space: nowrap; height: 46px; }
.signup-meta { display: flex; justify-content: center; margin-top: 18px; }
.signup-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.signup-meta .pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.signup-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
}
.signup-success .check {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(62, 201, 110, 0.14);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.signup-success strong { display: block; font-size: 16px; }
.signup-success span { color: var(--ink-3); font-size: 14px; }

@media (max-width: 560px) {
  .signup-card { padding: 40px 24px; }
  .signup-form { flex-direction: column; }
}

/* ── Footer ────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 60px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.foot a, .foot div { display: block; color: var(--ink-2); padding: 4px 0; font-size: 12.5px; }
.foot a:hover { color: var(--ink-1); }
.foot .brand { color: var(--ink-1); font-weight: 700; font-size: 16px; }
.foot .brand-tag { color: var(--ink-3); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; margin-top: 6px; }
.foot-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
@media (max-width: 880px) { .foot { grid-template-columns: 1fr 1fr; } }
