/* ============================================================
   SOL Staffing OS — Marketing Site Design System
   Adapted from the Metraiyux marketing language. Premium dark editorial.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --bg: #050608;
  --bg-2: #0a0e13;
  --ink: #f4f0e8;
  --muted: #aaa49a;
  --soft: #d8e0ea;
  --gold: #f4c75b;
  --gold-soft: #f8df96;
  --gold-dim: rgba(244, 199, 91, 0.10);
  --cyan: #64d9ff;
  --violet: #a88cff;
  --mint: #6ff2c7;
  --rose: #ff7a90;
  --line: rgba(160, 205, 226, 0.22);
  --line-strong: rgba(248, 203, 94, 0.42);
  --panel: rgba(11, 15, 20, 0.82);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.48);
  --neon-shadow: 0 0 18px rgba(100,217,255,0.42), 0 0 38px rgba(244,199,91,0.22), 0 0 64px rgba(168,140,255,0.18);
  --wrap: min(1180px, calc(100vw - 48px));
  --radius: 8px;
  --font-display: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  --font-label: 'Rajdhani', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: auto;
  scrollbar-color: var(--gold) rgba(5,8,12,0.96);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(180deg, #050608 0%, #0b1014 34%, #090707 68%, #050608 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(244,199,91,0.11), transparent 24%),
    linear-gradient(245deg, rgba(100,217,255,0.13), transparent 28%),
    linear-gradient(0deg, rgba(168,140,255,0.07), transparent 44%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(100,217,255,0.22), transparent 17%),
    radial-gradient(circle at 82% 10%, rgba(244,199,91,0.18), transparent 20%),
    radial-gradient(circle at 76% 82%, rgba(168,140,255,0.18), transparent 24%);
  filter: blur(4px);
  opacity: 0.88;
}

body::before,
body::after {
  opacity: 0.58;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

*::-webkit-scrollbar { width: 18px; height: 18px; }
*::-webkit-scrollbar-track {
  border-left: 1px solid rgba(100,217,255,0.28);
  background: linear-gradient(180deg, rgba(248,203,94,0.15), transparent 18%, rgba(100,217,255,0.13) 44%, rgba(168,140,255,0.13) 72%, rgba(111,242,199,0.10)), rgba(5,8,12,0.96);
}
*::-webkit-scrollbar-thumb {
  border: 4px solid rgba(5,8,12,0.96);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248,203,94,0.96), rgba(100,217,255,0.96), rgba(168,140,255,0.94));
}
*::-webkit-scrollbar-corner { background: rgba(5,8,12,0.96); }

/* ---- Canvas ---- */
.command-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.32;
  pointer-events: none;
}

/* ---- Nav ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5,6,8,0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--wrap);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(100,217,255,0.3);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(100,217,255,0.4)) drop-shadow(0 0 20px rgba(248,203,94,0.28));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 11px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: white;
  border-color: var(--line);
  background: rgba(255,255,255,0.05);
}

.nav-links .nav-cta,
.nav-links .is-active {
  border-color: var(--line-strong);
  color: white;
  background: linear-gradient(135deg, rgba(244,199,91,0.18), rgba(100,217,255,0.08));
  box-shadow: var(--neon-shadow);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: white;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { margin: 0; line-height: 1.02; }

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 5.8vw, 80px);
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    0 0 24px rgba(100,217,255,0.18),
    0 0 44px rgba(244,199,91,0.12);
}

h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4.8vw, 66px);
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0 30px rgba(100,217,255,0.14);
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0;
  text-wrap: balance;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 14px;
  text-shadow: 0 0 18px rgba(244,199,91,0.42);
}

p { margin: 0; line-height: 1.72; }

h1,
h2,
h3,
h4,
p,
li,
a,
td,
th {
  overflow-wrap: anywhere;
}

.lead {
  color: var(--soft);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.52;
  max-width: 820px;
}

.body-copy {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.72;
}

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--gold);
}

/* ---- Buttons ---- */
.btn-primary, .btn-ghost, .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.18s, box-shadow 0.18s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary, .button {
  border: 1px solid var(--line-strong);
  color: #091014;
  background: linear-gradient(135deg, var(--gold), #fff0ad 58%, var(--cyan));
  box-shadow:
    0 14px 38px rgba(244,199,91,0.18),
    0 0 24px rgba(100,217,255,0.25);
}

.btn-primary:hover, .button:hover {
  opacity: 0.94;
  box-shadow:
    0 0 18px rgba(244,199,91,0.48),
    0 0 34px rgba(100,217,255,0.36);
}

.btn-ghost, .button.secondary {
  border: 1px solid var(--line);
  color: white;
  background: rgba(255,255,255,0.055);
  box-shadow: none;
}

.btn-ghost:hover, .button.secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.08);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---- Layout ---- */
.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0;
}

.band {
  margin: clamp(60px, 7vw, 100px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(244,199,91,0.11), transparent 36%),
    linear-gradient(270deg, rgba(100,217,255,0.11), transparent 40%),
    rgba(6,8,11,0.74);
}

.band-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.5fr);
  gap: 48px;
  align-items: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.54fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head > p { color: var(--soft); font-size: 17px; line-height: 1.72; margin: 0; }

/* ---- Cards & Panels ---- */
.card, .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18,24,31,0.82), rgba(8,11,15,0.72));
  box-shadow: var(--shadow);
}

.card { padding: 24px; }
.panel { padding: 26px; }
.panel + .panel { margin-top: 14px; }
.card p, .panel p { color: var(--muted); line-height: 1.65; }
.card h3, .panel h3 { margin-top: 14px; }

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(244,199,91,0.26);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--gold);
  background: rgba(244,199,91,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-label);
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero (Full-Width Command Hero) ---- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 6% 4% 10%;
  border: 1px solid rgba(100,217,255,0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(100,217,255,0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244,199,91,0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  box-shadow:
    inset 0 0 38px rgba(100,217,255,0.08),
    0 0 54px rgba(244,199,91,0.08);
  mask-image: linear-gradient(180deg, black, transparent 94%);
}

.hero-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 60px 0 28px;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
  max-width: none;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--soft);
  line-height: 1.52;
  max-width: 660px;
  margin-bottom: 0;
}

/* Proof strip */
.proof-strip {
  width: var(--wrap);
  margin: -14px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: clamp(56px, 6vw, 88px);
}

.metric {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(9,14,19,0.8);
  box-shadow: var(--shadow);
}

.metric,
.card,
.panel,
.terminal,
.brain-row,
.plan-card,
.pricing-card,
.comparison-table,
.faq-item {
  box-shadow:
    var(--shadow),
    0 0 26px rgba(100,217,255,0.06),
    inset 0 0 18px rgba(244,199,91,0.035);
}

.metric:hover,
.card:hover,
.panel:hover,
.plan-card:hover,
.pricing-card:hover,
.brain-row:hover {
  border-color: rgba(100,217,255,0.42);
  box-shadow:
    var(--shadow),
    0 0 28px rgba(100,217,255,0.18),
    0 0 48px rgba(244,199,91,0.1);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--gold);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* ---- Terminal Block ---- */
.terminal {
  background: rgba(5,8,12,0.94);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(15,18,22,0.94);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: var(--gold); }
.terminal-dot.green { background: var(--mint); }

.terminal-title {
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.terminal-body {
  padding: 20px;
  line-height: 1.76;
  color: var(--soft);
}

.terminal-body .prompt { color: var(--gold); }
.terminal-body .cmd { color: var(--cyan); }
.terminal-body .out { color: var(--soft); }
.terminal-body .ok { color: var(--mint); }
.terminal-body .warn { color: var(--rose); }
.terminal-body .brain-name { color: var(--violet); font-weight: 700; }
.terminal-body .dim { color: var(--muted); }

/* ---- Brain Layout ---- */
.brain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.brain-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.brain-row:nth-child(odd) { padding-right: 32px; }
.brain-row:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }

.brain-row.group-label {
  grid-column: 1 / -1;
  display: block;
  padding: 20px 0 6px;
  border-bottom: none;
  border-left: none;
}

.brain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
  min-width: 28px;
}

.brain-name {
  font-weight: 600;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.3;
}

.brain-title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
}

.brain-group-label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  padding-top: 4px;
  display: block;
  border-bottom: 1px solid rgba(100,217,255,0.2);
  padding-bottom: 6px;
}

/* ---- Stack Layers ---- */
.stack-layers { display: grid; gap: 12px; }

.stack-layer {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,0.032);
  position: relative;
  overflow: hidden;
}

.stack-layer::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--violet), var(--mint));
  opacity: 0.72;
}

.stack-layer-id {
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 2px;
  line-height: 1.3;
}

.stack-layer p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.stack-layer h3 { margin-bottom: 6px; font-size: 17px; }

/* ---- Valuation Numbers ---- */
.val-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  color: var(--gold);
}

.scenario-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(9,14,19,0.72);
  margin-bottom: 12px;
}

.scenario-box .s-label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.scenario-box .s-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}

.scenario-box p { font-size: 13px; color: var(--muted); }
.scenario-box strong { color: var(--ink); }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(18,24,31,0.84), rgba(8,11,15,0.72));
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(244,199,91,0.09), rgba(8,11,15,0.88));
  position: relative;
}

.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  color: #091014;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
}

.pricing-card .tier {
  font-family: var(--font-label);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}

.pricing-card .price-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card ul li {
  font-size: 13px;
  color: var(--soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.pricing-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(244,199,91,0.44);
}

/* ---- Comparison Table ---- */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 14px;
}

.comp-table th {
  text-align: left;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 2px solid var(--line-strong);
}

.comp-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

.comp-table td:first-child { color: var(--ink); font-weight: 600; }
.comp-table tr.highlight td { background: rgba(244,199,91,0.05); }
.comp-table .yes { color: var(--mint); font-weight: 700; }
.comp-table .no { color: var(--rose); }
.comp-table .partial { color: var(--gold); }

/* ---- Checklist ---- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(244,199,91,0.45);
  flex-shrink: 0;
}

/* ---- Objection ---- */
.objection {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, rgba(18,24,31,0.8), rgba(8,11,15,0.7));
  margin-bottom: 14px;
}

.objection .q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.objection .a { color: var(--muted); font-size: 15px; line-height: 1.72; }

/* ---- Timeline ---- */
.timeline { margin-top: 40px; }

.tl-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.tl-item:last-child { border-bottom: none; }

.tl-time {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  padding-top: 3px;
}

.tl-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: 0;
  line-height: 1.2;
}

.tl-content p { font-size: 14px; color: var(--muted); line-height: 1.68; }

/* ---- Math Box ---- */
.math-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(9,14,19,0.72);
  margin-bottom: 14px;
}

.math-box .eq {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.math-box .result {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--gold);
  line-height: 1.1;
}

.math-box .note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---- CTA Close Block ---- */
.cta-close {
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(244,199,91,0.10), transparent 44%),
    linear-gradient(315deg, rgba(100,217,255,0.10), transparent 44%),
    rgba(7,10,14,0.88);
}

.cta-close .cta-row { justify-content: center; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(4,6,8,0.92);
  margin-top: clamp(60px, 8vw, 100px);
}

.footer-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.48fr) minmax(200px, 0.38fr);
  gap: 28px;
  padding: 38px 0 42px;
}

.footer strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
}

.footer p { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 8px; }

.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--cyan); font-weight: 600; font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-links .tiny { color: var(--muted); font-size: 11px; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0 52px;
}

.page-hero .lead { max-width: 900px; margin-top: 18px; }

/* ---- Ticker ---- */
.ticker-strip {
  background: rgba(244,199,91,0.07);
  border-bottom: 1px solid rgba(244,199,91,0.18);
  padding: 9px 0;
  overflow: hidden;
  font-family: var(--font-label);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1;
}

.brand-wordmark strong {
  color: var(--gold);
  font-size: 1.16em;
  text-shadow:
    0 0 16px rgba(244,199,91,0.44),
    0 0 24px rgba(100,217,255,0.24);
}

.brand-wordmark span {
  color: var(--ink);
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(18,24,31,0.84), rgba(8,11,15,0.72));
}

.plan-card.featured {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(244,199,91,0.09), rgba(8,11,15,0.88));
}

.plan-card .price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--ink);
  margin: 16px 0 12px;
}

.plan-card h3 { margin-top: 14px; }
.plan-card p { color: var(--muted); line-height: 1.65; }

/* ---- Spectacle command deck layer ---- */
.command-hero {
  width: var(--wrap);
  min-height: auto;
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 24px) 0 clamp(44px, 6vw, 72px);
  display: grid;
  gap: clamp(18px, 2.8vw, 30px);
}

.hero-title-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.hero-title-band h1 {
  font-size: clamp(36px, 4.65vw, 67px);
  line-height: 1;
  max-width: 1160px;
  color: rgba(246, 251, 255, 0.96);
  text-shadow:
    0 0 18px rgba(100,217,255,0.22),
    0 0 38px rgba(248,203,94,0.14);
}

.hero-title-band h1 em { color: var(--gold); font-style: normal; }
.hero-brief {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.hero-brief p {
  max-width: 760px;
  color: rgba(216,231,244,0.92);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
}
.hero-brief .cta-row {
  margin-top: 0;
  flex-shrink: 0;
}

.command-center-shell {
  min-height: 470px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 170px;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(244,199,91,0.08), transparent 32%),
    linear-gradient(245deg, rgba(100,217,255,0.1), transparent 38%),
    rgba(5,8,12,0.72);
  box-shadow: var(--shadow), var(--neon-shadow);
}

.command-rail,
.proof-column,
.command-screen {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 17, 0.84);
}

.command-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.command-rail .rail-mark {
  min-height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: #091014;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: var(--neon-shadow);
}

.command-rail button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255,255,255,0.045);
  cursor: pointer;
  font-weight: 800;
}

.command-rail button.is-active {
  color: white;
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(244,199,91,0.18), rgba(100,217,255,0.08));
}

.command-screen {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.screen-header {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(15,18,22,0.9);
}

.screen-header span {
  display: block;
  font-family: var(--font-label);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen-header strong { display: block; margin-top: 4px; }
.screen-header a { color: var(--cyan); font-size: 13px; font-weight: 800; }
.screen-body { display: grid; align-items: stretch; padding: clamp(18px, 4vw, 34px); }

.operator-feed h2 {
  font-size: clamp(28px, 4.5vw, 62px);
  line-height: 1;
  margin-bottom: 24px;
}

.feed-label {
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feed-grid span {
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--soft);
  background: rgba(255,255,255,0.045);
}

.feed-grid b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.proof-column {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.proof-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,0.045);
}

.proof-badge span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.proof-badge strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 32px;
}

.proof-link {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px;
  color: var(--cyan);
  background: rgba(244,199,91,0.07);
  font-weight: 800;
  font-size: 13px;
}

.journey-rail,
.surface-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journey-rail article,
.surface-card,
.layer,
.quiz-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, rgba(18,24,31,0.82), rgba(8,11,15,0.72));
  box-shadow: var(--shadow);
}

.journey-rail span,
.surface-card span,
.layer-id {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.journey-rail p,
.surface-card p,
.layer p,
.quiz-card label {
  color: var(--muted);
  line-height: 1.62;
}

.architecture {
  display: grid;
  gap: 12px;
}

.layer {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
}

.quiz-form {
  display: grid;
  gap: 14px;
}

.choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.choice-grid label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255,255,255,0.04);
}

.result {
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(244,199,91,0.08);
}

.result p { color: var(--soft); margin-top: 10px; }

.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.actual-screen-stage {
  min-height: auto;
  max-height: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(244,199,91,0.08), transparent 32%),
    linear-gradient(245deg, rgba(100,217,255,0.1), transparent 38%),
    rgba(5,8,12,0.72);
  box-shadow: var(--shadow), var(--neon-shadow);
  overflow: hidden;
}

.surface-video-shell {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(248,203,94,0.12), transparent 28%),
    rgba(8, 12, 17, 0.88);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(100,217,255,0.07);
}

.surface-reel-video,
.surface-reel-canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
}

.surface-reel-canvas {
  display: none;
}

.surface-video-shell.is-fallback .surface-reel-video {
  display: none;
}

.surface-video-shell.is-fallback .surface-reel-canvas {
  display: block;
}

.surface-video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.42));
  background-size: 58px 58px, 58px 58px, auto;
  mix-blend-mode: screen;
  opacity: 0.34;
}

.surface-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(126,231,255,0.18) 50%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: reelSheen 5s ease-in-out infinite;
}

.surface-video-glass {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 7px;
  max-width: 620px;
  border: 1px solid rgba(248,203,94,0.32);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(3, 5, 9, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.36);
}

.surface-video-glass strong {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.05;
}

.surface-video-glass p {
  color: var(--soft);
  font-size: 13px;
}

.surface-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
}

.surface-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 18px rgba(100,217,255,0.64);
}

@keyframes reelSheen {
  0%, 36% { transform: translateX(-120%); }
  58%, 100% { transform: translateX(120%); }
}

.screen-stack {
  position: relative;
  min-height: min(55vw, 560px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 17, 0.84);
  overflow: hidden;
  display: none;
}

.actual-screen {
  position: absolute;
  inset: 16px;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  transform: translateX(7%) scale(0.965);
  animation: actualScreenCycle 25s infinite;
}

.actual-screen img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.08) contrast(1.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0,0,0,0.5);
}

.actual-screen figcaption {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-weight: 800;
}

.actual-screen figcaption span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-label);
}

.actual-screen.is-two { animation-delay: 5s; }
.actual-screen.is-three { animation-delay: 10s; }
.actual-screen.is-four { animation-delay: 15s; }
.actual-screen.is-five { animation-delay: 20s; }

@keyframes actualScreenCycle {
  0% { opacity: 0; transform: translateX(7%) scale(0.965); }
  4% { opacity: 1; transform: translateX(0) scale(1); }
  18% { opacity: 1; transform: translateX(0) scale(1); }
  22% { opacity: 0; transform: translateX(-5%) scale(0.982); }
  100% { opacity: 0; transform: translateX(-5%) scale(0.982); }
}

.screen-proof-rail {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(8, 12, 17, 0.84);
  box-shadow: inset 0 0 28px rgba(100,217,255,0.055);
}

.screen-proof-rail span {
  color: var(--gold);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen-proof-rail strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}

.screen-proof-rail p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Worker / Surface Tables ---- */
.worker-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 14px;
}

.worker-table th {
  text-align: left;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid var(--line-strong);
}

.worker-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
  font-size: 13px;
  line-height: 1.55;
}

.worker-table td:first-child {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(111,242,199,0.13);
  color: var(--mint);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 3px;
}

.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(111,242,199,0.8);
}

/* ---- Number Row ---- */
.number-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.num-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  background: rgba(9,14,19,0.72);
}

.num-pill .n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--gold);
  line-height: 1;
  display: block;
}

.num-pill .l {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
  display: block;
}

/* ---- TOC ---- */
.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  background: rgba(9,14,19,0.72);
  margin: 32px 0;
}

.toc h4 {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.toc ol { padding-left: 20px; margin: 0; }
.toc li { color: var(--muted); font-size: 14px; padding: 4px 0; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--gold); }

/* ---- Editorial Prose ---- */
.editorial-prose h3 { margin-bottom: 14px; }
.editorial-prose p { color: var(--soft); font-size: 17px; line-height: 1.76; }
.editorial-prose p + p { margin-top: 16px; }

/* ---- Animations ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1120px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .band-inner, .section-head { grid-template-columns: 1fr; gap: 32px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-title-band,
  .command-center-shell,
  .actual-screen-stage,
  .journey-rail,
  .surface-grid {
    grid-template-columns: 1fr;
  }
  .proof-column {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .menu-button { display: inline-block; }
  .nav-shell { flex-wrap: wrap; min-height: 64px; }
  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
  }
  .nav-links.is-open { display: flex; }
  .brain-list { grid-template-columns: 1fr; }
  .brain-row:nth-child(even) { padding-left: 0; border-left: none; }
  .brain-row:nth-child(odd) { padding-right: 0; }
  .stack-layer { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  h1 { font-size: clamp(36px, 9vw, 52px); }
  h2 { font-size: clamp(32px, 9vw, 48px); }
  .hero-headline { font-size: clamp(38px, 10vw, 60px); }
  .feed-grid,
  .proof-column { grid-template-columns: 1fr; }
  .command-hero { padding-top: 26px; gap: 18px; }
  .hero-title-band h1 {
    font-size: clamp(31px, 9.2vw, 39px);
    line-height: 1.08;
  }
  .hero-brief {
    display: block;
  }
  .hero-brief p {
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-brief .cta-row {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-brief .button {
    width: 100%;
  }
  .screen-stack { min-height: 330px; }
  .actual-screen-stage {
    padding: 10px;
  }
  .surface-video-shell,
  .surface-reel-video,
  .surface-reel-canvas {
    min-height: 0;
  }
  .surface-video-glass {
    left: 10px;
    right: 10px;
    bottom: 14px;
    padding: 10px 12px;
  }
  .surface-progress {
    left: 10px;
    right: 10px;
  }
  .actual-screen {
    inset: 10px;
  }
  .screen-proof-rail {
    display: none;
  }
}

@media (max-width: 600px) {
  body { background-size: 48px 48px, 48px 48px, auto; }
  .section,
  .page-hero,
  .hero-inner,
  .band-inner,
  .footer-inner,
  .proof-strip {
    width: min(1180px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }
  .section-head,
  .section-head > *,
  .reveal,
  .card,
  .panel {
    min-width: 0;
    max-width: 100%;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost, .button { width: 100%; }
  .ticker-inner {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    animation: none;
    text-overflow: clip;
  }
  .comp-table,
  .worker-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    table-layout: fixed;
  }
  .comp-table th,
  .comp-table td,
  .worker-table th,
  .worker-table td {
    min-width: 86px;
    padding: 9px 10px;
    white-space: normal;
  }
  .comp-table th:first-child,
  .comp-table td:first-child,
  .worker-table th:first-child,
  .worker-table td:first-child {
    min-width: 118px;
  }
}
