:root {
  --bg: #050a18;
  --bg-deep: #030712;
  --surface: rgba(10, 19, 40, 0.78);
  --surface-solid: #0a1328;
  --card-dark: rgba(4, 8, 20, 0.9);
  --border: rgba(41, 151, 255, 0.18);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(127, 212, 0, 0.34);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --green: #7fd400;
  --green-deep: #76b900;
  --blue: #1f87ec;
  --blue-deep: #0071e3;
  --blue-light: #7cc4ff;
  --grad: linear-gradient(135deg, #7fd400 0%, #1f87ec 100%);
  --grad-text: linear-gradient(110deg, #86dc0a 0%, #34a0ff 58%, #1f87ec 100%);
  --grad-bar: linear-gradient(90deg, #6cae00 0%, #1f87ec 100%);
  --btn-shadow: 0 0 24px rgba(31, 135, 236, 0.24), 0 0 12px rgba(118, 185, 0, 0.16);
  --pill-bg: rgba(41, 151, 255, 0.12);
  --pill-border: rgba(41, 151, 255, 0.34);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.site-canvas {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% 14%, rgba(118, 185, 0, 0.11), transparent 46%),
    radial-gradient(circle at 82% 10%, rgba(0, 113, 227, 0.18), transparent 50%),
    linear-gradient(rgba(148, 163, 184, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.042) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(30, 41, 59, 0.72);
  background: rgba(5, 10, 24, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 66%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, #000 66%, transparent 100%);
  mix-blend-mode: lighten;
}

.brand-word {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.brand-domain {
  font-size: 0.75rem;
  color: var(--text-dim);
  border-left: 1px solid rgba(51, 65, 85, 0.8);
  padding-left: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #cbd5e1;
}

.nav-links a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 150ms ease, filter 150ms ease, border-color 150ms ease, background 150ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #050a18;
  font-weight: 700;
  box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(51, 65, 85, 0.85);
  color: #e2e8f0;
}

.btn-ghost:hover {
  border-color: rgba(127, 212, 0, 0.42);
  background: rgba(30, 41, 59, 0.85);
  color: #fff;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--blue-light);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.panel-hover {
  transition: border-color 180ms ease, transform 180ms ease;
}

.panel-hover:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 44px;
  align-items: center;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.35rem, 4.8vw, 3.45rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 1.02rem;
  color: #cbd5e1;
  max-width: 580px;
}

.hero-lead strong {
  color: #fff;
}

/* Quickstart Box */
.quickstart-box {
  max-width: 590px;
  padding: 12px 14px 14px;
  margin-bottom: 22px;
}

.qs-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.qs-tab-group {
  display: inline-flex;
  gap: 4px;
  background: var(--card-dark);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(30, 41, 59, 0.9);
}

.qs-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.qs-tab.active {
  background: var(--grad);
  color: #050a18;
  font-weight: 700;
}

.qs-cmd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--card-dark);
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 10px;
  padding: 11px 12px;
}

.qs-cmd-code {
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.82rem;
  color: #f8fafc;
}

.qs-prompt {
  color: var(--green);
  font-weight: 700;
  margin-right: 8px;
}

.copy-btn {
  flex-shrink: 0;
  border: 1px solid rgba(71, 85, 105, 0.85);
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.74rem;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.copy-btn:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: var(--green);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Telemetry Card */
.telemetry-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.telemetry-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 22%, rgba(118, 185, 0, 0.12), transparent 56%);
}

.emblem-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 18px;
}

.emblem-hero {
  width: 174px;
  height: 174px;
  object-fit: contain;
  border-radius: 26px;
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 62%, transparent 100%);
  mix-blend-mode: lighten;
}

.emblem-caption {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emblem-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.8);
  color: #cbd5e1;
}

.telemetry-body {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 41, 59, 0.85);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roof-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.roof-label strong {
  color: #fff;
}

.bar-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid #1e293b;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-bar);
  transition: width 320ms ease;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-stat {
  background: var(--card-dark);
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.mini-stat-val {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.mini-stat-val.green {
  color: var(--green);
}

.mini-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.telemetry-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 54px 0;
  border-top: 1px solid rgba(30, 41, 59, 0.72);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.eyebrow {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 6px;
}

.eyebrow.blue {
  color: var(--blue-light);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--card-dark);
  border: 1px solid #1e293b;
}

.tab-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  background: var(--grad);
  color: #050a18;
  font-weight: 700;
}

.bench-panel {
  padding: 24px;
}

.bench-note {
  margin: 12px 0 0;
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Benchmark Table & Bars */
.table-wrap {
  overflow-x: auto;
}

table.bench-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}

table.bench-table th,
table.bench-table td {
  padding: 11px 12px;
  text-align: right;
  border-bottom: 1px solid rgba(30, 41, 59, 0.75);
  white-space: nowrap;
}

table.bench-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

table.bench-table th:first-child,
table.bench-table td:first-child,
table.bench-table th:nth-child(2),
table.bench-table td:nth-child(2) {
  text-align: left;
}

table.bench-table tr.row-highlight {
  background: rgba(31, 135, 236, 0.08);
}

table.bench-table tr:last-child td {
  border-bottom: 0;
}

.val-strong {
  color: #fff;
  font-weight: 700;
}

.val-green {
  color: var(--green);
  font-weight: 700;
}

.bench-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bench-bar-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bench-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.86rem;
}

.bench-bar-name {
  color: #e2e8f0;
  font-weight: 600;
}

.bench-bar-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 8px;
}

.bench-bar-val {
  font-weight: 700;
  color: #fff;
}

.bench-bar-val.winner {
  color: var(--green);
}

.bench-bar-track {
  height: 12px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid #1e293b;
  overflow: hidden;
}

.bench-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 360ms ease;
}

.bench-bar-fill.winner {
  background: var(--grad-bar);
}

.bench-bar-fill.muted {
  background: #334155;
}

.bench-bar-fill.danger {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}

/* Mode Dial Section */
.dial-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 34px;
  align-items: center;
}

.dial-desc {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 12px 0 20px;
}

.dial-controls-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.seg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: var(--card-dark);
  border: 1px solid #1e293b;
  margin-bottom: 16px;
}

.seg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: var(--card-dark);
  border: 1px solid #1e293b;
}

.seg-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.seg-btn:hover {
  color: #fff;
}

.seg-btn.active {
  background: var(--grad);
  color: #050a18;
  font-weight: 700;
}

.dial-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dial-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dial-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.dial-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.split-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #1e293b;
}

.split-ram {
  background: var(--grad-bar);
  transition: width 300ms ease;
}

.split-nvme {
  background: rgba(71, 85, 105, 0.7);
  transition: width 300ms ease;
}

.dial-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dial-metric {
  background: var(--card-dark);
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 14px;
}

.dial-metric-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.dial-metric-val {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin-top: 5px;
}

.dial-metric-val.green {
  color: var(--green);
}

.dial-example {
  background: var(--card-dark);
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Bento Architecture */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.bento-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.span-3 {
  grid-column: span 3;
}

.span-2 {
  grid-column: span 2;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bento-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.bento-card p {
  margin: 0;
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.58;
}

/* Roadmap + Licensing */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-card {
  padding: 24px;
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #fff;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 1px;
}

.check-badge.live {
  background: rgba(127, 212, 0, 0.16);
  color: var(--green);
  border: 1px solid rgba(127, 212, 0, 0.36);
}

.check-badge.next {
  background: rgba(31, 135, 236, 0.14);
  color: var(--blue-light);
  border: 1px solid rgba(31, 135, 236, 0.32);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(30, 41, 59, 0.72);
  background: rgba(3, 7, 18, 0.78);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .dial-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .span-3,
  .span-2 {
    grid-column: span 6;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .brand-domain,
  .hide-sm {
    display: none;
  }
  .mini-stats,
  .dial-metrics {
    grid-template-columns: 1fr;
  }
  .seg-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
