/* RustWebManager LP — shared styles */
:root {
  --bg: #0a0a0b;
  --bg-2: #101013;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --border: #26262d;
  --border-2: #33333d;
  --text: #e8e8ea;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --accent: #ff6b35;
  --accent-2: #ff8a5c;
  --accent-glow: rgba(255, 107, 53, 0.18);
  --success: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --font-sans: "Inter", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", "Consolas", monospace;
  --font-display: "Inter", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;

  --max-w: 1200px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafaf7;
    --bg-2: #f3f3ee;
    --surface: #ffffff;
    --surface-2: #f7f7f4;
    --border: #e4e4e0;
    --border-2: #d1d1cc;
    --text: #0a0a0b;
    --text-2: #4b4b52;
    --text-3: #71717a;
    /**
    --accent: #e85a25;
    --accent-2: #ff7a45;
    --accent-glow: rgba(232, 90, 37, 0.12);
    **/
    --accent: #3b82f6;
    --accent-2: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.18);
  }
}

[data-theme="light"] {
  --bg: #fafaf7;
  --bg-2: #f3f3ee;
  --surface: #ffffff;
  --surface-2: #f7f7f4;
  --border: #e4e4e0;
  --border-2: #d1d1cc;
  --text: #0a0a0b;
  --text-2: #4b4b52;
  --text-3: #71717a;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-login {
  color: var(--text-2);
  font-size: 14px;
}
.nav-login.is-disabled {
  color: var(--text-3);
  cursor: default;
  pointer-events: none;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--surface); }
.btn-disabled {
  background: var(--surface-2);
  color: var(--text-3);
  border-color: var(--border);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.btn-disabled .discord-icon { opacity: .45; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }

.steam-icon {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 30%, transparent 31%), #1b2838;
  position: relative;
  flex-shrink: 0;
}
.steam-icon::after {
  content: "";
  position: absolute;
  inset: 5px 3px 5px 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .85;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 80%);
  opacity: .35;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  z-index: 1;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  margin-bottom: 24px;
}
.hero-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}
h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 22px;
}
.hero-title-2 {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 13px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta span::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ============ TERMINAL ============ */
.terminal {
  position: relative;
  background: #0d0d10;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,107,53,.05);
  overflow: hidden;
}
[data-theme="light"] .terminal {
  background: #1a1a20;
  color: #e8e8ea;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #16161b;
  border-bottom: 1px solid #26262d;
}
.term-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #3a3a42;
}
.term-dot:nth-child(1) { background: #ff5f56; }
.term-dot:nth-child(2) { background: #ffbd2e; }
.term-dot:nth-child(3) { background: #27c93f; }
.term-title {
  margin-left: auto;
  color: #71717a;
  font-size: 11px;
  letter-spacing: .04em;
}
.term-body {
  padding: 18px 18px 22px;
  color: #d4d4d8;
  min-height: 320px;
}
.term-line { white-space: pre-wrap; }
.term-prompt-user { color: #ff8a5c; }
.term-prompt-at { color: #71717a; }
.term-prompt-host { color: #60a5fa; }
.term-prompt-path { color: #a1a1aa; }
.term-prompt-arrow { color: var(--accent); }
.term-cmd { color: #f4f4f5; }
.term-comment { color: #52525b; font-style: italic; }
.term-ok { color: #4ade80; }
.term-warn { color: #fbbf24; }
.term-err { color: #f87171; }
.term-key { color: #c4b5fd; }
.term-num { color: #fb923c; }
.term-str { color: #86efac; }
.cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============ SECTION ============ */
section.block { padding: 100px 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h2.section-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.1;
  text-wrap: balance;
}
p.section-sub {
  color: var(--text-2);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 56px;
  text-wrap: pretty;
}
.section-head { text-align: left; }

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px 28px 32px;
  position: relative;
  transition: background .2s;
}
.feature-card:hover { background: var(--surface-2); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-card p {
  color: var(--text-2);
  font-size: 14px;
  margin: 0;
  text-wrap: pretty;
}
.feature-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ============ SHOWCASE (screenshots) ============ */
.showcase-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.showcase-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  background: transparent;
  border: none;
  transition: all .15s;
}
.showcase-tab.active {
  background: var(--bg-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-2);
}
.showcase-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
  position: relative;
}
.showcase-frame img {
  width: 100%;
  display: block;
}
.showcase-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.showcase-chrome .term-dot { width: 11px; height: 11px; border-radius: 50%; }
.showcase-chrome-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

/* ============ ALPHA TEST ============ */
.alpha-test {
  padding-top: 0;
}
.alpha-test-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 32px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.alpha-test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.alpha-test-card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.alpha-test-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alpha-test-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 14px;
}
.alpha-test-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.alpha-test-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}
.alpha-test-card strong {
  font-family: var(--font-mono);
  color: var(--accent);
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-top: 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.billing-toggle button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.billing-toggle button.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-2), 0 8px 20px -14px rgba(0,0,0,.65);
}
.billing-toggle button span {
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-glow) 70%, transparent), var(--surface) 50%);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px var(--accent-glow);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.plan h3 {
  font-size: 18px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.plan-desc {
  color: var(--text-3);
  font-size: 13px;
  margin: 0 0 24px;
  min-height: 36px;
}
.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 24px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price-num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}
.plan-price-num.is-adjusting {
  font-size: 32px;
  letter-spacing: 0;
  color: var(--text-2);
}
.plan-price-period {
  color: var(--text-3);
  font-size: 14px;
}
.plan-price-sale-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.plan-price-orig {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: line-through;
  text-decoration-color: var(--text-2);
  text-decoration-thickness: 2px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.plan-sale-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.sale-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #4ade80;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.plan ul li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-glow);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23ff6b35' d='M6.5 11.5L3 8l1.4-1.4L6.5 8.7l5.1-5.1L13 5z'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan .btn { width: 100%; justify-content: center; }

/* ============ SPONSOR ============ */
.sponsor-band {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 36px;
  display: flex;
  gap: 36px;
  align-items: center;
}
.sponsor-logo {
  display: block;
  flex: 0 1 42%;
  min-width: 280px;
}
.sponsor-band img {
  width: 100%;
  border-radius: 10px;
  display: block;
  border: 1px solid var(--border);
}
.sponsor-text {
  flex: 1 1 0;
  min-width: 0;
}
.sponsor-text h3 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.sponsor-text p {
  color: var(--text-2);
  margin: 0 0 20px;
}
.sponsor-apply {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.sponsor-apply p {
  margin: 0;
  font-size: 14px;
}
.sponsor-apply .btn {
  height: 40px;
  padding: 0 18px;
}

/* ============ CTA STRIP ============ */
.cta-strip {
  margin: 0 auto 100px;
  max-width: var(--max-w);
  padding: 56px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at top right, var(--accent-glow), transparent 50%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.cta-strip p {
  color: var(--text-2);
  margin: 0 0 28px;
  font-size: 16px;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 280px; }
.footer-brand p {
  color: var(--text-3);
  font-size: 13px;
  margin: 14px 0 0;
}
.footer-col h4 {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-3);
  font-size: 13px;
}

/* ============ CASE STUDY ============ */
.cs-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.cs-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 60px;
}
.cs-summary-cell {
  background: var(--surface);
  padding: 28px 24px;
}
.cs-summary-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cs-summary-cell p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.cs-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.cs-metric-value {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-metric-label {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 6px;
}
.cs-quote {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 24px;
  margin: 0 0 12px;
  color: var(--text);
  text-wrap: balance;
}
.cs-quote-author {
  color: var(--text-3);
  font-size: 14px;
  padding-left: 27px;
  margin-bottom: 60px;
}
.cs-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-tl-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 15px;
}
.cs-tl-item::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ============ DOCS ============ */
.docs-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  padding: 60px 0 100px;
}
.docs-side {
  position: sticky;
  top: 88px;
  align-self: start;
}
.docs-search {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 24px;
  outline: none;
}
.docs-search:focus { border-color: var(--accent); }
.docs-toc-section {
  margin-bottom: 24px;
}
.docs-toc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 8px;
}
.docs-toc-section ul { list-style: none; padding: 0; margin: 0; }
.docs-toc-section li {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: background .12s, color .12s;
}
.docs-toc-section li:hover { background: var(--surface); color: var(--text); }
.docs-toc-section li.active { background: var(--surface); color: var(--accent); }
.docs-main h1 {
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.docs-main h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.docs-main p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}
.docs-main code {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent);
}
.docs-codeblock {
  background: #0d0d10;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #d4d4d8;
  white-space: pre;
  overflow-x: auto;
  margin: 12px 0 24px;
}
[data-theme="light"] .docs-codeblock { background: #1a1a20; color: #e8e8ea; }
.docs-callout {
  border: 1px solid var(--border);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 14px;
  margin: 16px 0 24px;
}

/* ============ SUPPORT ============ */
.support-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 60px 0 100px;
  align-items: start;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.support-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.support-card p {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 16px;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.faq-q::after {
  content: "+";
  color: var(--text-3);
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  color: var(--text-2);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }
.support-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.support-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* ============ HERO SHOT (dashboard image) ============ */
.hero-inner-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}
.hero-shot {
  position: relative;
}
.hero-shot-frame {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 80px -25px rgba(0,0,0,.7), 0 0 0 1px rgba(255,107,53,.06);
  position: relative;
  z-index: 1;
}
.hero-shot-frame img { width: 100%; display: block; }
.hero-shot-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.hero-shot-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.hero-shot-glow {
  position: absolute;
  inset: -40px -40px -40px -40px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* ============ BRAND IMG ============ */
.brand-img {
  width: 28px; height: 28px;
  border-radius: 7px;
  object-fit: contain;
  background: #15151a;
  padding: 2px;
}

/* ============ DISCORD ICON ============ */
.discord-icon {
  display: inline-block;
  width: 18px; height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><path d='M20.317 1.492A19.79 19.79 0 0 0 16.558.247a.075.075 0 0 0-.079.038c-.21.375-.444.864-.608 1.249a18.337 18.337 0 0 0-5.487 0 12.65 12.65 0 0 0-.617-1.249.077.077 0 0 0-.079-.038A19.736 19.736 0 0 0 5.93 1.492a.07.07 0 0 0-.032.027C2.396 6.738 1.43 11.823 1.905 16.842a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.34 14.34 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.371-.291a.074.074 0 0 1 .077-.01c3.927 1.793 8.18 1.793 12.061 0a.074.074 0 0 1 .078.009c.12.099.245.198.372.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.891.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.029 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.876-.838-10.918-3.549-15.323a.061.061 0 0 0-.031-.029zM8.02 13.787c-1.182 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><path d='M20.317 1.492A19.79 19.79 0 0 0 16.558.247a.075.075 0 0 0-.079.038c-.21.375-.444.864-.608 1.249a18.337 18.337 0 0 0-5.487 0 12.65 12.65 0 0 0-.617-1.249.077.077 0 0 0-.079-.038A19.736 19.736 0 0 0 5.93 1.492a.07.07 0 0 0-.032.027C2.396 6.738 1.43 11.823 1.905 16.842a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.34 14.34 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.371-.291a.074.074 0 0 1 .077-.01c3.927 1.793 8.18 1.793 12.061 0a.074.074 0 0 1 .078.009c.12.099.245.198.372.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.891.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.029 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.876-.838-10.918-3.549-15.323a.061.061 0 0 0-.031-.029zM8.02 13.787c-1.182 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/></svg>") center/contain no-repeat;
  flex-shrink: 0;
}

/* ============ SPONSOR (updated) ============ */
.sponsor-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.sponsor-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.sponsor-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sponsor-logo { display: block; }

/* ============ DEVELOPERS ============ */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dev-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .15s, transform .15s, background .15s;
}
.dev-card:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.dev-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.dev-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-info { min-width: 0; flex: 1; }
.dev-row { display: flex; align-items: center; gap: 8px; }
.dev-info h3 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.01em;
}
.dev-role-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border-2);
}
.dev-role-badge.dev-role-lead {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}
.dev-handle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin: 4px 0 6px;
}
.dev-role {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 8px;
}
.dev-gh {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

/* ============ UPCOMING / Coming Soon badge ============ */
.coming-soon-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.28);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.coming-soon-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: cs-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes cs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}
#upcoming .section-sub code {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent);
}

/* ============ small (< 900px) ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .alpha-test-panel { grid-template-columns: 1fr; padding: 28px; }
  .sponsor-band { flex-direction: column; align-items: stretch; }
  .sponsor-logo { flex-basis: auto; min-width: 0; }
  .cs-summary { grid-template-columns: 1fr; }
  .cs-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-side { position: static; }
  .support-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .dev-grid-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }
  .dev-grid { grid-template-columns: repeat(3, 260px); }
}
