/* ============== Tokens ============== */
:root {
  /* Surfaces */
  --bg-0: #060912;            /* deepest */
  --bg-1: #0a0f1c;            /* page bg */
  --bg-2: #0f1525;            /* card bg */
  --bg-3: #141c30;            /* card bg hover */
  --bg-4: #1a2440;
  --line: #1a2238;
  --line-2: #243052;
  --line-bright: #3a4a78;

  /* Text */
  --fg: #e8edf7;
  --fg-2: #b8c1d6;
  --fg-3: #8590ad;
  --fg-4: #5b6786;

  /* Brand — pulled from the hero artwork */
  --cyan: #4ff0d0;            /* electric teal */
  --cyan-2: #38c9b3;
  --blue: #4d7cff;            /* signal blue */
  --blue-2: #2860f5;
  --violet: #7e6bff;
  --amber: #f5b452;
  --rose: #ff6b8a;

  /* Server accents */
  --c-network: #4d7cff;
  --c-protect: #b487ff;
  --c-access:  #f5b452;
  --c-relay:   #ff6b8a;
  --c-drive:   #4ff0d0;

  /* Effects */
  --glow-cyan: 0 0 0 1px rgba(79,240,208,.18), 0 24px 60px -20px rgba(79,240,208,.35);
  --glow-blue: 0 0 0 1px rgba(77,124,255,.22), 0 24px 60px -20px rgba(77,124,255,.45);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shell-w: 1200px;
  --gutter: 28px;

  --ff-display: 'Inter Tight', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============== Reset ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-1);
  color: var(--fg);
  font-family: var(--ff-body);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Page background — deep, with a subtle radial */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(77,124,255,.10), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(79,240,208,.06), transparent 60%),
    var(--bg-1);
  z-index: -1;
  pointer-events: none;
}

/* ============== Shared ============== */
.shell { max-width: var(--shell-w); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 12px;
  border: 1px solid rgba(79,240,208,.22);
  background: rgba(79,240,208,.05);
  border-radius: 99px;
  white-space: nowrap;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

h1, h2, h3, h4 { font-family: var(--ff-display); letter-spacing: -0.02em; line-height: 1.1; }

.section-head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px;
  margin-bottom: 48px;
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
}
.section-head p {
  color: var(--fg-3);
  font-size: 17px;
  max-width: 620px;
}

/* ============== Nav ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg-1) 78%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--shell-w); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a2440, #0a0f1c);
  border: 1px solid var(--line-2);
  color: var(--cyan);
}
.brand-mark svg { width: 16px; height: 16px; }
.brand small {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 10px;
  color: var(--fg-4);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--fg-3);
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,.03); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s, box-shadow .2s;
}
.btn-ghost {
  color: var(--fg-2);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { color: var(--fg); border-color: var(--line-bright); }
.btn-sponsor {
  color: var(--fg-2);
  border: 1px solid rgba(255,107,138,.30);
  background: rgba(255,107,138,.05);
}
.btn-sponsor svg { color: var(--rose); }
.btn-sponsor:hover {
  color: var(--fg);
  border-color: rgba(255,107,138,.55);
  background: rgba(255,107,138,.08);
}
.btn-primary {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: #042418;
  font-weight: 700;
  box-shadow: 0 6px 28px -6px rgba(79,240,208,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 36px -6px rgba(79,240,208,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; }

.nav-hamb { display: none; padding: 8px; border-radius: 8px; border: 1px solid var(--line-2); }

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 88px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 22px 0 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--cyan) 0%, #6affd9 40%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero p.lead b { color: var(--fg); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

.hero-meta {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--fg-3);
}
.hero-meta .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-2);
  white-space: nowrap;
}
.hero-meta .pill svg { width: 14px; height: 14px; color: var(--cyan); }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 99px; background: var(--fg-4); }

/* hero image card */
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0c1426, #060912);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(79,240,208,.08), 0 0 80px -10px rgba(77,124,255,.18);
}
.hero-art img { width: 100%; display: block; }
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 60%, transparent, rgba(6,9,18,.55) 100%);
  pointer-events: none;
}
.hero-chip {
  position: absolute;
  z-index: 2;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  background: color-mix(in oklab, var(--bg-2) 80%, transparent);
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  padding: 8px 12px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px -10px rgba(0,0,0,.6);
}
.hero-chip b { color: var(--cyan); font-weight: 600; }
.hero-chip-1 { top: 18px; left: 18px; }
.hero-chip-2 { top: 18px; right: 18px; }
.hero-chip-3 { bottom: 18px; left: 18px; }
.hero-chip-4 { bottom: 18px; right: 18px; color: var(--fg-2); }

/* ============== Marquee / logos band ============== */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 64px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.012));
  overflow: hidden;
}
.marquee-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-4);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.marquee-label .ln { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.marquee {
  display: flex; gap: 56px;
  animation: marquee 40s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee .item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 16px;
  color: var(--fg-3); white-space: nowrap;
}
.marquee .item .glyph { width: 22px; height: 22px; color: var(--fg-3); opacity: .85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== Stats strip ============== */
.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-1);
  padding: 28px 28px;
}
.stat .num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num small { font-size: 22px; color: var(--cyan); font-weight: 600; }
.stat .lbl {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fg-3);
}
.stat .sub {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: .06em;
  margin-top: 3px;
}

/* ============== Section spacing ============== */
section.block { padding: 100px 0; position: relative; }
section.block + section.block { padding-top: 0; }

/* ============== Servers ============== */
.servers { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; }
.server-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, background .2s;
}
.server-card:hover { border-color: var(--line-bright); transform: translateY(-2px); }
.server-card.featured { grid-row: span 2; padding: 32px; }
.server-card .tag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: .04em;
}
.tag-stable  { background: rgba(79,240,208,.10); color: var(--cyan); border: 1px solid rgba(79,240,208,.22); }
.tag-beta    { background: rgba(245,180,82,.10); color: var(--amber); border: 1px solid rgba(245,180,82,.22); }
.tag-planned { background: rgba(133,144,173,.08); color: var(--fg-3); border: 1px solid var(--line-2); }

.sc-mark {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
}
.sc-mark::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, var(--ac, var(--cyan)), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.sc-mark .bg {
  position: absolute; inset: 1px;
  border-radius: 13px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ac) 18%, var(--bg-3)), var(--bg-2));
}
.sc-mark svg { position: relative; width: 28px; height: 28px; color: var(--ac); }

.server-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}
.server-card.featured h3 { font-size: 34px; }
.sc-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 16px;
}
.sc-meta b { color: var(--fg); font-weight: 500; }
.sc-meta .dot { width: 3px; height: 3px; border-radius: 99px; background: var(--fg-4); }
.server-card p.desc {
  color: var(--fg-2);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 56ch;
}

.sc-tools {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 22px;
}
.sc-tools .chip {
  font-family: var(--ff-mono);
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  color: var(--fg-3);
}
.sc-tools .chip.acc { color: var(--ac); border-color: color-mix(in oklab, var(--ac) 35%, var(--line)); }

.sc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ac);
}
.sc-link:hover { gap: 10px; transition: gap .15s; }

/* Featured card extras */
.sc-prompt {
  margin-top: 20px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sc-prompt-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: .06em;
}
.sc-prompt-head .dots { display: flex; gap: 5px; }
.sc-prompt-head .dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-bright); display: block; }
.sc-prompt-head .dots i:nth-child(1){ background: #f56c6c; }
.sc-prompt-head .dots i:nth-child(2){ background: #f5b452; }
.sc-prompt-head .dots i:nth-child(3){ background: var(--cyan); }
.sc-prompt-body { padding: 16px; font-family: var(--ff-mono); font-size: 13px; }
.sc-prompt-body .you { color: var(--fg-3); }
.sc-prompt-body .you::before { content: "> "; color: var(--cyan); }
.sc-prompt-body .agent { color: var(--fg); margin-top: 8px; }
.sc-prompt-body .tool {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  background: rgba(77,124,255,.10);
  color: var(--blue);
  border: 1px solid rgba(77,124,255,.25);
}

/* ============== Architecture / Relay ============== */
.relay-card {
  background: linear-gradient(180deg, #0d1424, #08101e);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.relay-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 240px at 50% 100%, rgba(255,107,138,.10), transparent 70%);
  pointer-events: none;
}
.relay-card h3 {
  font-size: 36px;
  margin-bottom: 14px;
  font-weight: 700;
}
.relay-card p { color: var(--fg-2); font-size: 16px; margin-bottom: 18px; max-width: 50ch; }
.relay-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.relay-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--fg-2); }
.relay-bullets svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--rose); margin-top: 1px; }

.relay-diagram {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
}
.relay-diagram svg { width: 100%; height: 100%; }

/* ============== Examples / Asks ============== */
.asks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.ask-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s, transform .2s;
}
.ask-card:hover { border-color: var(--line-bright); transform: translateY(-2px); }
.ask-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 14px;
}
.ask-head .pip {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--ac, var(--cyan));
  box-shadow: 0 0 12px var(--ac, var(--cyan));
}
.ask-text {
  font-family: var(--ff-display);
  font-size: 19px;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.ask-text::before { content: "“"; color: var(--ac); font-size: 28px; vertical-align: -4px; margin-right: 2px; }
.ask-text::after { content: "”"; color: var(--ac); font-size: 28px; vertical-align: -10px; margin-left: 2px; }
.ask-tools {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ask-tools .t {
  font-family: var(--ff-mono); font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  color: var(--fg-3);
}

/* ============== Skills ============== */
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.skill {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.skill:hover { border-color: var(--line-bright); transform: translateY(-2px); }
.skill-meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--fg-4);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.skill-meta b { color: var(--ac, var(--cyan)); font-weight: 500; }
.skill h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.skill p { font-size: 14px; color: var(--fg-3); line-height: 1.55; }

/* ============== Install ============== */
.install-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.install-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow-x: auto;
}
.install-tabs button {
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
  font-family: var(--ff-display);
  display: inline-flex; align-items: center; gap: 8px;
}
.install-tabs button:hover { color: var(--fg); }
.install-tabs button[aria-selected="true"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: linear-gradient(180deg, transparent, rgba(79,240,208,.06));
}
.install-tabs svg { width: 16px; height: 16px; }

.install-panel { display: none; padding: 24px 28px; position: relative; }
.install-panel.active { display: block; }
.install-panel pre {
  font-family: var(--ff-mono); font-size: 13.5px;
  line-height: 1.7;
  color: var(--fg);
  overflow-x: auto;
}
.install-panel code .c { color: var(--fg-4); font-style: italic; }
.install-panel code .k { color: var(--cyan); }
.install-panel code .v { color: var(--blue); }
.install-panel code .s { color: var(--amber); }

.copy-btn {
  position: absolute;
  top: 16px; right: 16px;
  padding: 6px 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  color: var(--fg-3);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.copy-btn:hover { color: var(--fg); border-color: var(--line-bright); }
.copy-btn.copied { color: var(--cyan); border-color: var(--cyan); }

.install-meta {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-top: 32px;
}
.im-card {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 22px;
}
.im-card h4 { font-size: 16px; margin-bottom: 6px; }
.im-card p { font-size: 14px; color: var(--fg-3); }

/* ============== Pillars / Why ============== */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: var(--bg-2);
  padding: 36px;
  position: relative;
}
.pillar:hover { background: var(--bg-3); }
.pillar-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-4);
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pillar p { color: var(--fg-3); font-size: 15px; line-height: 1.6; max-width: 50ch; }
.pillar-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(79,240,208,.06);
  color: var(--cyan);
  border: 1px solid rgba(79,240,208,.16);
  margin-bottom: 18px;
}
.pillar-icon svg { width: 20px; height: 20px; }

/* ============== Sponsorship ============== */
.sponsor-hero {
  padding: 88px 0 48px;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
.sponsor-copy h1 {
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 22px 0;
  max-width: 820px;
}
.sponsor-copy h1 .accent {
  background: linear-gradient(120deg, var(--cyan) 0%, #6affd9 40%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sponsor-copy .lead {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 680px;
  margin-bottom: 28px;
}
.sponsor-panel {
  background: linear-gradient(180deg, #0d1424, #08101e);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.sponsor-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(460px 220px at 50% 0%, rgba(79,240,208,.12), transparent 70%);
  pointer-events: none;
}
.sponsor-panel > * { position: relative; }
.sponsor-panel h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.sponsor-panel p {
  color: var(--fg-2);
  font-size: 15px;
  margin-bottom: 20px;
}
.sponsor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.sponsor-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--fg-2);
  font-size: 14px;
}
.sponsor-list svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.sponsor-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.funding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.funding-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.funding-card .num {
  font-family: var(--ff-display);
  color: var(--cyan);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.funding-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.funding-card p {
  color: var(--fg-3);
  font-size: 14px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 190px;
  color: inherit;
  transition: border-color .2s, transform .2s, background .2s;
}
.tier-card:hover {
  background: var(--bg-3);
  border-color: var(--line-bright);
  transform: translateY(-2px);
}
.tier-card.featured {
  border-color: rgba(79,240,208,.45);
  box-shadow: var(--glow-cyan);
}
.tier-card .price {
  font-family: var(--ff-display);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.tier-card .price small {
  font-size: 14px;
  color: var(--fg-4);
  font-weight: 500;
}
.tier-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.tier-card p {
  color: var(--fg-3);
  font-size: 14px;
}
.tier-note {
  margin-top: 18px;
  color: var(--fg-3);
  font-size: 14px;
  max-width: 760px;
}
.tier-note a {
  color: var(--cyan);
  font-weight: 600;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.principle {
  background: var(--bg-2);
  padding: 28px;
}
.principle h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.principle p {
  color: var(--fg-3);
  font-size: 14px;
}

/* ============== FAQ ============== */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .2s, border-color .2s;
  color: var(--fg-3);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--cyan); color: var(--cyan); }
.faq-icon svg { width: 14px; height: 14px; }
.faq-body {
  padding: 0 0 24px 0;
  color: var(--fg-3);
  font-size: 15px;
  max-width: 70ch;
}
.faq-body code {
  font-family: var(--ff-mono);
  font-size: 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ============== CTA ============== */
.cta-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(79,240,208,.10), transparent 70%),
    linear-gradient(180deg, #0d1525, #08101c);
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.04) 100%),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.04) 100%);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  position: relative;
}
.cta-card p {
  color: var(--fg-2);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 28px;
  position: relative;
}
.cta-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }

/* ============== Footer ============== */
footer.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  margin-top: 80px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.2));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-brand p { color: var(--fg-3); font-size: 14px; max-width: 36ch; margin-top: 14px; }
.foot-col h5 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { font-size: 14px; color: var(--fg-2); }
.foot-col a:hover { color: var(--cyan); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-4);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom a { color: var(--fg-3); }

/* ============== Responsive ============== */
@media (max-width: 980px) {
  .hero { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .servers { grid-template-columns: 1fr; }
  .server-card.featured { grid-row: auto; }
  .relay-card { grid-template-columns: 1fr; padding: 28px; }
  .asks-grid, .skills-grid, .install-meta { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .sponsor-grid, .funding-grid, .tier-grid, .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px; }
  .stat .num { font-size: 32px; }
  .btn-sponsor span { display: none; }
  .btn-sponsor { padding: 10px 12px; }
  section.block { padding: 60px 0; }
  .cta-card { padding: 36px 24px; }
}

/* ============== Live version + star chips ============== */
.ver-chip {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  line-height: 1.4;
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ac, var(--cyan));
  background: color-mix(in oklab, var(--ac, var(--cyan)) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--ac, var(--cyan)) 25%, var(--line));
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: baseline;
}
.ver-chip:empty { display: none; }
.star-count {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--cyan);
  margin-left: 2px;
  letter-spacing: 0;
  line-height: 1.4;
}
.star-count:empty { display: none; }

/* ============== Selection ============== */
::selection { background: rgba(79,240,208,.30); color: var(--fg); }

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
