
:root {
  --vault: #0B0E14;
  --stratum: #11151E;
  --stratum-2: #171C28;
  --hairline: #222a39;
  --paper: #ECEFF6;
  --halftone: #9097a8;
  --bullion: #E8C547;
  --bullion-glaze: rgba(232, 197, 71, 0.16);
  --greenback: #3CCB7F;
  --ember: #F19E5C;
  --cinnabar: #E85D5D;
  --cobalt: #7AA2FF;

  --max: 1280px;
  --gutter: 24px;
  --radius: 12px;

  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
          Menlo, Consolas, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Söhne", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--vault);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bullion); color: var(--vault); padding: 8px 12px;
  border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; z-index: 10; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-row {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--paper); font-family: var(--display);
  font-weight: 600; letter-spacing: -0.01em; font-size: 17px;
}
.brand:hover { text-decoration: none; }
.logo-mark { color: var(--bullion); display: inline-flex; }
.brand-name-accent { color: var(--bullion); }
.primary-nav {
  display: flex; gap: 4px; margin-left: auto;
}
.primary-nav a {
  color: var(--halftone); padding: 8px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 500;
}
.primary-nav a:hover { color: var(--paper); background: var(--stratum); text-decoration: none; }
.primary-nav a.active { color: var(--paper); background: var(--bullion-glaze); }
.header-row .btn { margin-left: 8px; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--hairline); color: var(--paper); cursor: pointer;
  font-family: var(--sans); background: transparent;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--bullion); color: #1a1407; border-color: var(--bullion); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary:hover { border-color: var(--paper); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ========== Hero ========== */
.hero {
  padding: 64px 0 96px;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(800px 320px at 80% -10%, var(--bullion-glaze), transparent 60%),
    var(--vault);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--bullion);
  margin-bottom: 14px;
}
.hero-headline {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.accent { color: var(--bullion); }
.hero-sub {
  color: var(--halftone); font-size: 18px; line-height: 1.55;
  margin: 0 0 28px; max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px;
  border-top: 1px solid var(--hairline); padding-top: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--mono); font-size: 26px; font-weight: 600;
  color: var(--paper); letter-spacing: -0.01em;
}
.stat-lbl {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--halftone);
}

/* HUD card on hero */
.hero-hud {
  background: var(--stratum);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  font-family: var(--mono);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.hud-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px; margin-bottom: 12px;
}
.hud-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--halftone);
}
.hud-pill {
  background: var(--bullion-glaze); color: var(--bullion);
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.08em; font-weight: 600;
}
.hud-rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hud-rows li { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.hud-row-lbl { color: var(--halftone); font-size: 12px; }
.hud-row-val { color: var(--paper); font-size: 15px; }
.hud-row-val.pos { color: var(--greenback); }
.hud-row-val.warn { color: var(--ember); }
.hud-row-val.accent { color: var(--bullion); }
.hud-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline);
  font-size: 12px; color: var(--halftone); line-height: 1.5;
}
.hud-advisor em { color: var(--paper); font-style: italic; }

/* ========== Sections ========== */
.section { padding: 96px 0; }
.section-pillars { background: var(--stratum); }
.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.section-sub {
  color: var(--halftone); max-width: 640px; margin: 0 0 40px;
  font-size: 16px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 { margin: 0 0 8px; }
.section-head p { color: var(--halftone); margin: 0; max-width: 520px; }

.pillars {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 24px;
}
.pillar {
  background: var(--vault); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px;
}
.pillar-num {
  font-family: var(--mono); font-size: 12px; color: var(--bullion);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pillar h3 { font-family: var(--display); font-weight: 600; margin: 16px 0 8px; font-size: 19px; }
.pillar p { color: var(--halftone); margin: 0; font-size: 15px; }

/* ========== Catalogue ========== */
.biz-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.biz-card {
  background: var(--stratum);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.biz-card:hover {
  border-color: var(--bullion);
  background: var(--stratum-2);
  transform: translateY(-2px);
}
.biz-thumb {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--hairline);
  background: var(--vault);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.biz-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-fallback {
  font-family: var(--display); font-weight: 600;
  font-size: 22px; color: var(--halftone);
}
.biz-body { padding: 16px 18px 8px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.biz-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.chip {
  display: inline-block; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  border: 1px solid var(--hairline); color: var(--halftone);
}
.chip-cat { color: var(--bullion); border-color: var(--bullion-glaze); background: var(--bullion-glaze); }
.chip-difficulty { color: var(--halftone); }
.biz-name {
  font-family: var(--display); font-weight: 600;
  font-size: 18px; margin: 0; letter-spacing: -0.005em;
}
.biz-tagline { color: var(--bullion); font-size: 13px; margin: 0; font-weight: 500; }
.biz-desc { color: var(--halftone); font-size: 14px; margin: 0; flex: 1; }
.biz-actions { display: flex; gap: 8px; padding: 12px 18px 16px; }
.biz-actions .btn { flex: 1; }

/* Catalog page tools */
.catalog-toolbar {
  display: flex; gap: 12px; align-items: center; margin-bottom: 16px;
  flex-wrap: wrap;
}
.catalog-toolbar input {
  flex: 1; min-width: 240px; padding: 12px 16px; font-size: 15px;
  background: var(--stratum); border: 1px solid var(--hairline);
  color: var(--paper); border-radius: 8px;
  font-family: var(--sans);
}
.catalog-toolbar input:focus {
  outline: 2px solid var(--bullion); outline-offset: 1px;
}
.catalog-toolbar .count {
  font-family: var(--mono); color: var(--halftone); font-size: 13px;
}
.catalog-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.filter {
  background: var(--stratum); border: 1px solid var(--hairline);
  color: var(--halftone); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: var(--sans);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.filter:hover { color: var(--paper); border-color: var(--paper); }
.filter.active {
  color: var(--vault); background: var(--bullion); border-color: var(--bullion);
}
.filter-count {
  display: inline-block; margin-left: 6px;
  font-family: var(--mono); font-size: 11px; opacity: 0.85;
}
/* .empty-state styles live with the Token mascot block below. */

/* Catalog teaser uses smaller grid */
.section-catalog-teaser .biz-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ========== Operator loop ========== */
.loop {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; counter-reset: loop;
}
.loop li {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px;
}
.loop-step {
  font-family: var(--mono); font-size: 12px; color: var(--bullion);
  letter-spacing: 0.08em;
}
.loop li h3 { font-family: var(--display); font-weight: 600; margin: 12px 0 8px; font-size: 19px; }
.loop li p { color: var(--halftone); margin: 0; font-size: 14px; }

/* ========== How-it-works ========== */
.how-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.how-step {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px;
}
.how-num {
  font-family: var(--mono); font-size: 13px; color: var(--bullion);
  letter-spacing: 0.08em;
}
.how-step h3 {
  font-family: var(--display); font-weight: 600; margin: 12px 0 8px;
  font-size: 22px; letter-spacing: -0.005em;
}
.how-step p { color: var(--halftone); margin: 0; }

.section-game-vs-real { background: var(--stratum); }
.compare {
  width: 100%; border-collapse: collapse;
  background: var(--vault); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden;
  font-size: 15px;
}
.compare th, .compare td {
  text-align: left; padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
}
.compare th {
  background: var(--stratum-2); color: var(--halftone);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--paper); }
.compare td:last-child { color: var(--halftone); }

/* ========== Pricing ========== */
.tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; align-items: stretch;
}
.tier {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column;
}
.tier-featured {
  border-color: var(--bullion);
  box-shadow: 0 30px 80px -50px rgba(232, 197, 71, 0.4);
}
.tier-eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--bullion);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.tier-name {
  font-family: var(--display); font-weight: 600;
  font-size: 28px; margin: 8px 0 4px; letter-spacing: -0.01em;
}
.tier-tagline { color: var(--halftone); margin: 0 0 20px; font-size: 14px; }
.tier-price { margin: 16px 0 24px; padding: 16px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.tier-price-mono {
  font-family: var(--mono); font-weight: 600; font-size: 28px;
  letter-spacing: -0.005em; color: var(--paper);
}
.tier-price-suffix { font-size: 13px; color: var(--halftone); margin-left: 6px; font-weight: 400; }
.tier-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier-features li {
  padding: 8px 0 8px 22px; position: relative; color: var(--paper);
  border-bottom: 1px solid var(--hairline); font-size: 14px;
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: "→"; position: absolute; left: 0; color: var(--bullion);
  font-family: var(--mono); font-size: 13px;
}

/* Upsells */
.upsell-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.upsell {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 14px;
}
.upsell-name { color: var(--paper); }
.upsell-price { font-family: var(--mono); color: var(--bullion); font-size: 13px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 16px 18px;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--paper);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: var(--bullion);
  font-family: var(--mono); transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--halftone); }

/* ========== Page head (sub-pages) ========== */
.page-head {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(700px 300px at 20% -20%, var(--bullion-glaze), transparent 60%),
    var(--vault);
}
.page-head h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.page-head p { color: var(--halftone); max-width: 620px; font-size: 17px; margin: 0; }

/* Page head with a hero illustration on the right. */
.page-head-with-art .page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.page-head-art {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-head-art img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 880px) {
  .page-head-with-art .page-head-grid { grid-template-columns: 1fr; }
}

/* ========== CTA card ========== */
.cta-card {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 56px;
  text-align: center;
}
.cta-card h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.cta-card p { color: var(--halftone); margin: 0 auto 24px; max-width: 520px; font-size: 16px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== Footer ========== */
.site-footer {
  margin-top: 64px; padding: 48px 0 24px;
  border-top: 1px solid var(--hairline); background: var(--stratum);
  font-size: 14px;
}
.footer-row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 32px; margin-bottom: 32px;
}
.footer-tagline { color: var(--halftone); margin: 8px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--halftone);
  margin: 0 0 12px; font-weight: 600;
}
.footer-cols a {
  display: block; color: var(--paper); padding: 4px 0;
}
.footer-cols a:hover { color: var(--bullion); }
.footer-fineprint {
  border-top: 1px solid var(--hairline); padding-top: 16px;
  color: var(--halftone); font-size: 12px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: center;
}
.footer-fineprint p { margin: 0; }
.footer-fineprint .arcade-signature { margin: 0; }

/* ========== Hero stat suffix ========== */
.stat-num-suffix { font-size: 13px; color: var(--halftone); margin-left: 2px; font-weight: 400; }

/* ========== Economy teaser on home ========== */
.section-economy-teaser { background: var(--stratum); }
.economy-teaser {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px; align-items: center;
}
.credit-mini {
  width: 100%; border-collapse: collapse;
  background: var(--vault); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden;
  font-size: 14px;
}
.credit-mini th, .credit-mini td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.credit-mini th {
  background: var(--stratum-2); color: var(--halftone);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600;
}
.credit-mini tbody tr:last-child td { border-bottom: none; }
.credit-mini td.pos, .credit-table td.pos { color: var(--greenback); }
.credit-mini td.muted, .credit-table td.muted { color: var(--halftone); }
.compare td.muted, .compare td.accent, .compare td.pos {
  font-family: var(--mono); font-size: 13px;
}
.compare td.accent { color: var(--bullion); }
.compare td.pos { color: var(--greenback); }
.compare td.muted { color: var(--halftone); }

/* ========== Credit table ========== */
.credit-table { width: 100%; }
.credit-table th, .credit-table td {
  padding: 14px 18px; font-size: 14px;
}

/* ========== Pricing tier extras ========== */
.tier-price-extra {
  display: block; margin-top: 6px;
  font-family: var(--sans); font-size: 12px; color: var(--halftone);
}
.tier-features li strong { color: var(--bullion); font-weight: 600; }

/* ========== Custom Business Build callout ========== */
.custom-build {
  margin-top: 32px;
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 36px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px; align-items: center;
}
.custom-build-name {
  font-family: var(--display); font-weight: 600;
  font-size: 28px; margin: 8px 0 12px; letter-spacing: -0.01em;
}
.custom-build-tagline {
  color: var(--halftone); font-size: 16px; margin: 0 0 18px;
  max-width: 540px;
}
.custom-build-features {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}
.custom-build-features li {
  padding: 6px 0 6px 22px; position: relative;
  color: var(--paper); font-size: 14px;
}
.custom-build-features li::before {
  content: "→"; position: absolute; left: 0; color: var(--bullion);
  font-family: var(--mono); font-size: 13px;
}
.custom-build-features li strong { color: var(--bullion); font-weight: 600; }
.custom-build-cta {
  background: var(--vault); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.custom-build-price {
  font-family: var(--mono); font-size: 30px; font-weight: 600;
  color: var(--paper); letter-spacing: -0.005em;
}
.custom-build-suffix {
  font-family: var(--sans); font-size: 13px; color: var(--halftone);
  margin-bottom: 12px;
}
.custom-build-cta .btn { align-self: stretch; }
.custom-build-fineprint {
  font-size: 12px; color: var(--halftone); margin: 12px 0 0;
}

/* ========== Fineprint ========== */
.fineprint {
  margin-top: 16px; color: var(--halftone); font-size: 13px;
}
.fineprint a { color: var(--bullion); }

/* ========== Revenue flow grid ========== */
.flow-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.flow-card {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.flow-deduct { background: transparent; border-style: dashed; }
.flow-final { border-color: var(--bullion); }
.flow-num {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; color: var(--bullion);
}
.flow-card h3 {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  margin: 0; color: var(--halftone); text-transform: uppercase;
  letter-spacing: 0.04em;
}
.flow-amount {
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  margin: 4px 0 0; letter-spacing: -0.005em; color: var(--paper);
}
.flow-amount.pos { color: var(--greenback); }
.flow-amount.neg { color: var(--cinnabar); }
.flow-amount.warn { color: var(--ember); }
.flow-amount.accent { color: var(--bullion); }
.flow-note {
  font-size: 12px; color: var(--halftone); margin: 0;
}

/* ========== Departments ========== */
.depts-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dept {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 24px;
}
.dept h3 {
  font-family: var(--display); font-weight: 600;
  margin: 0 0 8px; font-size: 18px;
}
.dept p { color: var(--halftone); margin: 0; font-size: 14px; }

/* ========== Rules list ========== */
.rules {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rules li {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 14px 18px;
  font-size: 14px; color: var(--halftone); line-height: 1.55;
}
.rules li strong { color: var(--paper); font-weight: 600; }

/* ========== Cashout card ========== */
.cashout-card {
  background: var(--stratum); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 22px 24px 24px;
  font-family: var(--mono);
}
.cashout-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px; margin-bottom: 16px;
}
.cashout-prompt {
  font-family: var(--sans); font-size: 16px; color: var(--paper);
  margin: 0 0 18px;
}
.cashout-options {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cashout-opt {
  background: var(--vault); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.cashout-amount {
  font-family: var(--mono); font-size: 22px; font-weight: 600;
  color: var(--bullion); letter-spacing: -0.005em;
}
.cashout-label {
  font-family: var(--sans); font-size: 14px; color: var(--paper);
  font-weight: 500;
}
.cashout-note {
  font-family: var(--sans); font-size: 12px; color: var(--halftone);
  margin-top: 4px;
}

/* ========== Arcade primitives ========== */

/* Subtle CRT scanlines — opt-in via .arcade-scanlines on a section.
   1px-tall horizontal lines repeated every 3px, very faint. */
.arcade-scanlines {
  position: relative;
  isolation: isolate;
}
.arcade-scanlines::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.022) 0,
    rgba(255, 255, 255, 0.022) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 0;
}
.arcade-scanlines > * { position: relative; z-index: 1; }

/* Marquee chase — animated dashed border that travels around an element.
   Uses a 1px conic ring + a moving stop. Subtle, not flashing. */
.arcade-marquee {
  position: relative;
  border-radius: var(--radius);
}
.arcade-marquee::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--marquee-angle, 0deg),
    var(--bullion) 0deg,
    rgba(232, 197, 71, 0) 60deg,
    rgba(232, 197, 71, 0) 180deg,
    var(--bullion) 240deg,
    rgba(232, 197, 71, 0) 300deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: marquee-rotate 6s linear infinite;
  pointer-events: none;
}
@property --marquee-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes marquee-rotate {
  to { --marquee-angle: 360deg; }
}
/* Fallback for browsers without @property: keep the ring static but visible */
@supports not (background: conic-gradient(from 0deg, red 0deg, red 360deg)) {
  .arcade-marquee::before { animation: none; }
}

/* Marquee bar — small lit-dot row used as a top accent on cabinets. */
.marquee-bar {
  height: 6px;
  border-bottom: 1px solid var(--hairline);
  background-image: radial-gradient(circle at 4px 50%, var(--bullion) 1.5px, transparent 2px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.biz-card:hover .marquee-bar { opacity: 1; }

/* Pulsing LIVE pill — the HUD status pip breathes. */
.hud-pill.arcade-live {
  position: relative;
  padding-left: 18px;
}
.hud-pill.arcade-live::before {
  content: "";
  position: absolute;
  left: 7px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bullion);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 var(--bullion);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 197, 71, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(232, 197, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 197, 71, 0); }
}

/* Arcade button — primary CTAs get a 2px Bullion drop edge that looks like
   a lit arcade button. Pressing pushes it down. Reduced-motion safe. */
.btn-primary {
  box-shadow: 0 2px 0 0 #b89518;
  transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 0 #b89518;
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 0 #b89518;
}

/* Coin / token inline icon used inside CTAs. */
.coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  margin-right: 2px;
  color: currentColor;
  flex-shrink: 0;
}
.coin svg { width: 100%; height: 100%; display: block; }

/* Arcade signature line — faux-marquee "INSERT COIN" footer flourish. */
.arcade-signature {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--halftone);
  display: flex;
  align-items: center;
  gap: 12px;
}
.arcade-signature::before,
.arcade-signature::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--hairline) 20%,
    var(--hairline) 80%,
    transparent
  );
}
.arcade-signature .blink {
  color: var(--bullion);
  animation: blink 1.6s steps(2, end) infinite;
}
@keyframes blink {
  50% { opacity: 0.25; }
}

/* "Bonus stage" eyebrow used on the Custom Business Build callout. */
.bonus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bullion);
  padding: 4px 10px;
  border: 1px solid var(--bullion-glaze);
  background: var(--bullion-glaze);
  border-radius: 999px;
}
.bonus-eyebrow::before {
  content: "★";
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1;
}

/* Phase label on how-it-works steps. */
.phase-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--halftone);
  margin-top: 4px;
}

/* ========== "Your CEO seat" mockup section ========== */
.section-seat { background: var(--stratum); }
.seat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
.seat-copy .section-title { margin-top: 14px; }
.seat-copy .section-sub { margin-bottom: 24px; }
.seat-mockup {
  background: var(--vault);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -50px rgba(0, 0, 0, 0.7);
}
.seat-mockup img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== "Inside the arcade" wide banner ========== */
.arcade-banner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.arcade-banner-image {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.arcade-banner-image img,
.arcade-banner-image .arcade-banner-video {
  display: block;
  width: 100%;
  height: auto;
}
.arcade-banner-copy .section-title { margin-top: 14px; }

/* Empty-state illustration override (catalog page). */
.empty-state-illustration {
  display: block;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--hairline);
}

/* ========== Token mascot (pixel sprite) ========== */
.token-sprite {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Idle bob — subtle vertical float on attract-mode placements. */
.token-bob {
  animation: token-bob 2.4s ease-in-out infinite;
}
@keyframes token-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Eyebrow that opens with a Token mascot (used on hero). */
.eyebrow-with-token {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Token wrap on CTA cards — Token sits above the headline. */
.cta-token-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

/* Catalog empty-state with Token. */
.empty-state {
  text-align: center;
  color: var(--halftone);
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-state p { margin: 0; }

/* ========== Cabinet card ========== */
/* Each catalogue card is dressed as an arcade cabinet:
   marquee at top with category text, screen-treated thumbnail,
   control panel with pixel buttons + coin slot, then operator-grade
   body copy below. The cabinet shape is decoration; the substance
   underneath stays operator-grade. */
.cabinet-card {
  /* The cabinet card hides the original biz-card top-radius so the
     marquee sits flush. */
}
.cabinet-marquee {
  position: relative;
  height: 24px;
  background: var(--vault);
  background-image:
    radial-gradient(circle at 6px 50%, var(--bullion) 1.5px, transparent 2px);
  background-size: 12px 24px;
  background-repeat: repeat-x;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cabinet-marquee-text {
  font-family: "Press Start 2P", var(--mono);
  font-size: 8px;
  line-height: 1;
  color: var(--bullion);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--vault);
  padding: 4px 10px;
  /* Sit on top of the dot pattern so the dots read as marquee bulbs
     flanking the lit text. */
  position: relative;
  z-index: 1;
}
.cabinet-card:hover .cabinet-marquee {
  background-image:
    radial-gradient(circle at 6px 50%, var(--bullion) 2px, transparent 2.5px);
}

/* The thumbnail becomes the cabinet's screen — Vault background with a
   faint scanline overlay layered over the brand image. */
.cabinet-screen {
  position: relative;
  background: var(--vault);
}
.cabinet-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 1;
}

/* Control panel between the screen and the operator copy:
   three arcade buttons + a coin slot. Stratum-2 strip with a thin
   highlight on top. */
.cabinet-control-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: linear-gradient(180deg, var(--stratum-2) 0%, var(--stratum) 100%);
  border-bottom: 1px solid var(--hairline);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.cabinet-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #000;
  flex-shrink: 0;
}
.cb-1 { background: var(--cinnabar); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.cb-2 { background: var(--bullion); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.cb-3 { background: var(--cobalt);   box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.cabinet-coinslot {
  margin-left: auto;
  width: 18px;
  height: 4px;
  background: var(--vault);
  border: 1px solid #000;
  border-radius: 1px;
  position: relative;
}
.cabinet-coinslot::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: rgba(255, 255, 255, 0.04);
}

/* Reduced motion — disable all the new animations. */
@media (prefers-reduced-motion: reduce) {
  .arcade-marquee::before,
  .hud-pill.arcade-live::before,
  .arcade-signature .blink,
  .token-bob {
    animation: none !important;
  }
  .btn-primary { transition: none !important; }
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-build { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .economy-teaser { grid-template-columns: 1fr; gap: 32px; }
  .depts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules { grid-template-columns: 1fr; }
  .cashout-options { grid-template-columns: 1fr; }
  .custom-build-features { grid-template-columns: 1fr; }
  .seat-grid { grid-template-columns: 1fr; gap: 32px; }
  .arcade-banner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .header-row { gap: 12px; }
  .primary-nav { display: none; }
  .header-row .btn { margin-left: auto; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .loop { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .depts-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 22px; }
  .compare th, .compare td { padding: 10px 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   New components (credit_system + guided_choice update)
   ============================================================ */

/* Header shortlist badge */
.header-shortlist {
  margin-left: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--hairline); background: var(--stratum);
  color: var(--paper); font-size: 13px; font-weight: 500;
}
.header-shortlist:hover { border-color: var(--bullion); text-decoration: none; }
.shortlist-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--bullion); color: #1a1407;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.shortlist-count[data-empty="true"] { background: var(--hairline); color: var(--halftone); }

/* Tertiary + small buttons */
.btn-tertiary {
  background: transparent; color: var(--paper);
  border: 1px solid var(--hairline);
}
.btn-tertiary:hover { border-color: var(--bullion); color: var(--bullion); }
.btn-tertiary[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 6px 10px; font-size: 12px; border-radius: 6px; }

/* Status badge */
.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  border: 1px solid currentColor;
}
.status-ready { color: var(--greenback); background: rgba(60, 203, 127, 0.1); }
.status-launch_on_demand { color: var(--bullion); background: var(--bullion-glaze); }
.status-concept { color: var(--cobalt); background: rgba(122, 162, 255, 0.1); }
.status-reserved { color: var(--halftone); background: var(--stratum); }
.status-secondary { color: var(--ember); background: rgba(241, 158, 92, 0.1); }

/* Inventory chip */
.inventory-chip {
  display: inline-flex; align-items: center;
  padding: 4px 8px; border-radius: 4px;
  font-size: 11px; color: var(--halftone);
  background: var(--stratum-2); border: 1px solid var(--hairline);
}
.inventory-low { color: var(--ember); border-color: var(--ember); }
.inventory-popular { color: var(--bullion); border-color: var(--bullion); }
.inventory-reserved { color: var(--halftone); }

/* Difficulty chip variants */
.chip-beginner { color: var(--greenback); border-color: rgba(60, 203, 127, 0.3); }
.chip-moderate { color: var(--bullion); border-color: var(--bullion-glaze); }
.chip-advanced { color: var(--cinnabar); border-color: rgba(232, 93, 93, 0.3); }

/* Catalog helpers */
.catalog-helper-strip {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--bullion-glaze); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bullion-glaze), transparent);
}
.catalog-helper-strip > span { color: var(--paper); font-size: 14px; }
.catalog-helper-strip > span strong { color: var(--bullion); }
.catalog-filter-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; flex-wrap: wrap;
}
.catalog-filter-label {
  font-size: 11px; color: var(--halftone);
  text-transform: uppercase; letter-spacing: 0.06em;
  min-width: 140px;
}
.btn-shortlist { font-family: var(--mono); }
.biz-mission {
  font-size: 13px; color: var(--halftone); margin: 6px 0 0;
}
.biz-mission strong { color: var(--paper); }
.biz-channel { font-size: 13px; color: var(--halftone); }
.biz-channel strong { color: var(--paper); }
.biz-empty {
  grid-column: 1 / -1; padding: 48px 24px; text-align: center;
  color: var(--halftone); border: 1px dashed var(--hairline); border-radius: var(--radius);
}
.thumb-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 20px;
  font-family: var(--display); font-weight: 600; font-size: 18px;
  color: var(--bullion); background: var(--stratum-2); text-align: center;
}
.section-head-actions { display: flex; gap: 8px; }

/* Find-your-business entry grid */
.entry-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.entry-card {
  border: 1px solid var(--hairline); background: var(--stratum);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.entry-card-primary {
  border-color: var(--bullion); background: linear-gradient(180deg, var(--bullion-glaze), var(--stratum));
}
.entry-card h2 { margin: 0; font-family: var(--display); }
.entry-card ul { list-style: none; padding: 0; margin: 0; color: var(--halftone); font-size: 14px; }
.entry-card ul li { padding: 4px 0; border-bottom: 1px dashed var(--hairline); }
.entry-card ul li:last-child { border-bottom: none; }
.entry-card .btn { margin-top: auto; }
.entry-card-icon {
  width: 88px; height: 88px;
  display: block;
  border-radius: var(--radius-sm, 8px);
  align-self: flex-start;
  margin-bottom: 4px;
}

/* Pricing entry products (Launch Pass / Launch Plus) */
.entry-products {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 16px;
}
.entry-product {
  border: 1px solid var(--hairline); background: var(--stratum);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.entry-product-recommended {
  border-color: var(--bullion);
  background: linear-gradient(180deg, var(--bullion-glaze), var(--stratum));
}
.entry-product header h3 { margin: 4px 0 0; font-family: var(--display); }
.entry-eyebrow {
  font-family: "Press Start 2P", var(--display); font-size: 9px;
  color: var(--bullion); letter-spacing: 0.08em; text-transform: uppercase;
}
.entry-tag { color: var(--halftone); margin: 0; font-size: 13px; }
.entry-price { padding: 12px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.entry-price-mono { font-family: var(--mono); font-size: 36px; color: var(--paper); font-weight: 700; }
.entry-price-suffix { color: var(--halftone); margin-left: 8px; font-size: 13px; }
.entry-features { list-style: none; padding: 0; margin: 0; flex: 1; color: var(--paper); font-size: 14px; }
.entry-features li { padding: 8px 0; border-bottom: 1px dashed var(--hairline); }
.entry-features li:last-child { border-bottom: none; }
.entry-foot { margin-top: 24px; }

/* Tier foot clarifier */
.tier-foot { margin: 0 0 16px; font-size: 12px; color: var(--halftone); }

/* Credit packs */
.credit-packs {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0;
}
.credit-pack {
  border: 1px solid var(--hairline); background: var(--stratum);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.credit-pack h3 { margin: 0; font-family: var(--display); font-size: 16px; }
.credit-pack-featured { border-color: var(--bullion); background: linear-gradient(180deg, var(--bullion-glaze), var(--stratum)); }
.pack-price { font-family: var(--mono); font-size: 22px; color: var(--paper); font-weight: 700; margin: 0; }
.pack-credits { color: var(--bullion); font-weight: 600; margin: 0; }
.pack-note { color: var(--halftone); font-size: 12px; margin: 0; }

/* Hard-cost matrix */
.hard-cost-matrix { overflow-x: auto; }
.hard-cost-table th, .hard-cost-table td { text-align: center; }
.hard-cost-table th[scope="row"], .hard-cost-table td:first-child { text-align: left; color: var(--paper); }
.hard-cost-table .pos { color: var(--greenback); }
.hard-cost-table .warn { color: var(--ember); }
.hard-cost-table .muted { color: var(--halftone); }

/* Lifecycle strip */
.lifecycle-strip {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
}
.lifecycle-step {
  position: relative; padding: 16px 14px;
  border: 1px solid var(--hairline); background: var(--stratum);
  border-radius: var(--radius);
}
.lifecycle-step h3 { margin: 6px 0 4px; font-size: 14px; font-family: var(--display); }
.lifecycle-step p { margin: 0; color: var(--halftone); font-size: 12px; }
.lifecycle-num { color: var(--halftone); font-size: 18px; }
.lifecycle-active { border-color: var(--greenback); }
.lifecycle-active .lifecycle-num { color: var(--greenback); }
.lifecycle-warn { border-color: var(--ember); }
.lifecycle-warn .lifecycle-num { color: var(--ember); }
.lifecycle-recoverable { border-color: var(--bullion); }
.lifecycle-recoverable .lifecycle-num { color: var(--bullion); }
.lifecycle-final { border-color: var(--cinnabar); }
.lifecycle-final .lifecycle-num { color: var(--cinnabar); }

/* Spend-order toggle (operator-quiet) */
.spend-order-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px;
}
.spend-order-option {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 24px;
}
.spend-order-option-recommended { border-color: var(--cobalt); }
.spend-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; color: var(--halftone); background: var(--stratum-2); border: 1px solid var(--hairline);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.spend-pill-accent { color: var(--cobalt); border-color: var(--cobalt); background: rgba(122, 162, 255, 0.1); }
.spend-order-option h3 { margin: 8px 0 12px; font-family: var(--display); }
.spend-order-list { list-style: decimal inside; padding: 0; margin: 0 0 12px; color: var(--paper); font-family: var(--mono); font-size: 14px; }
.spend-order-list li { padding: 4px 0; }
.spend-order-list .locked { color: var(--cobalt); }
.spend-order-option p { color: var(--halftone); font-size: 13px; margin: 0; }

/* Balance grouped (operator-quiet) */
.balance-grouped {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px;
}
.balance-group {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 24px;
}
.balance-group-earnings { border-color: var(--greenback); }
.balance-group header h3 { margin: 0 0 4px; font-family: var(--display); }
.balance-group header p { margin: 0 0 12px; color: var(--halftone); font-size: 13px; }
.balance-rows { list-style: none; padding: 0; margin: 0; }
.balance-rows li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--hairline);
}
.balance-rows li:last-child { border-bottom: none; }
.balance-num { font-family: var(--mono); font-weight: 700; }
.balance-num.pos { color: var(--greenback); }
.balance-num.warn { color: var(--ember); }
.balance-num.accent { color: var(--bullion); }
.balance-num.muted { color: var(--halftone); }

/* Match flow */
.match-root { max-width: 720px; margin: 0 auto; }
.match-intro {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.match-intro h2 { margin: 8px 0 12px; font-family: var(--display); }
.match-intro-sub { color: var(--halftone); margin: 0 0 24px; }
.match-card {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 32px;
}
.match-card-head { margin-bottom: 16px; }
.match-progress {
  margin-top: 8px; height: 4px; background: var(--stratum-2);
  border-radius: 999px; overflow: hidden;
}
.match-progress-bar { display: block; height: 100%; background: var(--bullion); transition: width 200ms; }
.match-card h2 { margin: 0 0 8px; font-family: var(--display); }
.match-help { color: var(--halftone); margin: 0 0 16px; }
.match-answers {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 24px;
}
.match-answer {
  text-align: left; padding: 14px 16px;
  border: 1px solid var(--hairline); background: var(--stratum-2); color: var(--paper);
  border-radius: 8px; cursor: pointer; font-size: 14px;
  transition: border-color 120ms;
}
.match-answer:hover { border-color: var(--bullion); }
.match-answer.is-selected {
  border-color: var(--bullion); background: var(--bullion-glaze); color: var(--paper);
}
.match-card-foot {
  display: flex; gap: 8px; justify-content: space-between; padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.match-card-foot .btn-primary { margin-left: auto; }
.match-results { max-width: 920px; margin: 0 auto; }
.match-results-head { text-align: center; margin-bottom: 32px; }
.match-results-head h2 { font-family: var(--display); margin: 8px 0; }
.match-result-list { display: grid; gap: 16px; }
.match-result-card {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 24px;
  display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start;
}
.match-result-rank {
  font-family: "Press Start 2P", var(--display); font-size: 10px; color: var(--bullion);
  background: var(--bullion-glaze); padding: 8px 10px; border-radius: 6px;
  text-transform: uppercase; text-align: center;
}
.match-result-body header { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.match-result-body h3 { margin: 4px 0; font-family: var(--display); }
.match-reasons {
  margin: 12px 0; padding: 12px; border-left: 2px solid var(--cobalt);
  background: rgba(122, 162, 255, 0.06); color: var(--paper); font-size: 13px;
}
.match-reasons strong { color: var(--cobalt); }
.match-reasons ul { list-style: disc inside; padding: 0; margin: 4px 0 0; color: var(--halftone); }
.match-result-actions { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 12px; }
.match-results-foot { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.match-paths { margin-top: 24px; text-align: center; color: var(--halftone); font-size: 14px; }

/* Arcade swipe mode */
.arcade-root { max-width: 560px; margin: 0 auto; }
.arcade-stage { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.arcade-progress { color: var(--halftone); font-family: var(--mono); font-size: 12px; }
.swipe-card {
  width: 100%; border: 1px solid var(--bullion); background: var(--stratum); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 8px 32px rgba(232, 197, 71, 0.08);
  outline: none;
}
.swipe-card:focus-visible { box-shadow: 0 8px 32px rgba(232, 197, 71, 0.24); }
.swipe-card-thumb {
  aspect-ratio: 16 / 10; background: var(--stratum-2); display: flex; align-items: center; justify-content: center;
}
.swipe-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.swipe-card-body { padding: 24px; }
.swipe-card-body header { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.swipe-card-body h2 { margin: 4px 0; font-family: var(--display); }
.arcade-actions { display: flex; gap: 12px; width: 100%; }
.arcade-actions .btn { flex: 1; }
.arcade-hint { color: var(--halftone); font-size: 12px; margin: 0; }
.arcade-summary {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.arcade-summary h2 { font-family: var(--display); }
.arcade-summary-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Compare */
.compare-empty {
  border: 1px dashed var(--hairline); padding: 48px; text-align: center;
  color: var(--halftone); border-radius: var(--radius);
}
.compare-empty h2 { color: var(--paper); font-family: var(--display); }
.compare-wrap { display: grid; gap: 32px; }
.compare-head h2 { font-family: var(--display); margin: 4px 0; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 720px;
  border: 1px solid var(--hairline); background: var(--stratum);
}
.compare-table th, .compare-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--hairline); border-right: 1px solid var(--hairline);
  vertical-align: top; font-size: 14px; text-align: left;
}
.compare-table thead th { background: var(--stratum-2); color: var(--paper); font-family: var(--display); }
.compare-table tbody th[scope="row"] { color: var(--halftone); font-weight: 500; background: var(--stratum-2); }
.compare-th { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.compare-remove {
  background: transparent; border: none; color: var(--halftone); font-size: 16px; cursor: pointer;
}
.compare-remove:hover { color: var(--cinnabar); }
.compare-recommend {
  border: 1px solid var(--cobalt); background: rgba(122, 162, 255, 0.05);
  border-radius: var(--radius); padding: 24px;
}
.compare-recommend h3 { font-family: var(--display); margin: 4px 0 12px; }
.compare-recommend ul { list-style: none; padding: 0; margin: 0; color: var(--paper); }
.compare-recommend ul li { padding: 8px 0; border-bottom: 1px dashed var(--hairline); }
.compare-recommend ul li:last-child { border-bottom: none; }

/* Detail page */
.detail-hero { padding: 64px 0; background: var(--stratum); border-bottom: 1px solid var(--hairline); }
.detail-hero-grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.detail-hero-thumb {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--stratum-2); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
}
.detail-hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-copy h1 { margin: 8px 0 8px; font-family: var(--display); font-size: 40px; }
.detail-tagline { color: var(--bullion); font-size: 16px; margin: 0 0 16px; }
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-section { background: var(--vault); }
.detail-grid {
  display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-block {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius);
  padding: 24px;
}
.detail-block h2 { font-family: var(--display); margin: 0 0 12px; font-size: 20px; }
.detail-block-mission { border-color: var(--bullion); background: linear-gradient(180deg, var(--bullion-glaze), var(--stratum)); }
.detail-mission-note { color: var(--halftone); font-size: 13px; margin: 8px 0 0; }
.detail-block-risks { border-color: var(--cinnabar); }
.detail-block ul { padding: 0 0 0 18px; color: var(--paper); }
.detail-block ul li { padding: 4px 0; }
.detail-empty { padding: 96px 24px; text-align: center; }
.detail-empty h1 { font-family: var(--display); }
.detail-upgrade-intro { color: var(--halftone); margin: 0 0 12px; }

/* Upgrade tree */
.upgrade-tree { list-style: none; padding: 0 !important; margin: 0; }
.upgrade-tree li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 8px 0; border-bottom: 1px dashed var(--hairline);
}
.upgrade-tree .upgrade-name { color: var(--paper); }
.upgrade-tree .upgrade-cost { color: var(--bullion); font-family: var(--mono); }
.upgrade-tree .upgrade-note { grid-column: 1 / -1; color: var(--halftone); font-size: 12px; }

/* Reserve flow */
.reserve-head h1 { font-family: var(--display); }
.reserve-sub { color: var(--halftone); }
.reserve-summary-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.reserve-summary {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius); padding: 24px;
}
.reserve-summary h2 { font-family: var(--display); margin: 0 0 16px; }
.reserve-included {
  border: 1px solid var(--cobalt); background: rgba(122, 162, 255, 0.05); border-radius: var(--radius); padding: 24px;
}
.reserve-included h2, .reserve-included h3 { font-family: var(--display); margin: 0 0 12px; }
.reserve-included h3 { margin-top: 16px; font-size: 14px; color: var(--halftone); text-transform: uppercase; letter-spacing: 0.06em; }
.reserve-included ul { padding: 0 0 0 18px; color: var(--paper); }
.reserve-included ul li { padding: 4px 0; }
.reserve-not-included li { color: var(--halftone); }
.reserve-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.reserve-option {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.reserve-option-recommended { border-color: var(--bullion); background: linear-gradient(180deg, var(--bullion-glaze), var(--stratum)); }
.reserve-eyebrow {
  font-family: "Press Start 2P", var(--display); font-size: 9px; color: var(--bullion);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.reserve-option header h3 { margin: 4px 0 0; font-family: var(--display); }
.reserve-price { font-family: var(--mono); font-size: 20px; color: var(--paper); margin: 0; }
.reserve-option ul { padding: 0 0 0 18px; color: var(--paper); flex: 1; }
.reserve-option ul li { padding: 4px 0; }
.reserve-timeline { padding-left: 18px; color: var(--paper); }
.reserve-timeline li { padding: 6px 0; }
.reserve-fineprint { color: var(--halftone); font-size: 13px; margin-top: 16px; }
.reserve-policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reserve-policy-grid article {
  border: 1px solid var(--hairline); background: var(--stratum); border-radius: var(--radius); padding: 20px;
}
.reserve-policy-grid h3 { font-family: var(--display); margin: 0 0 8px; font-size: 16px; }
.reserve-policy-grid p { color: var(--halftone); font-size: 13px; margin: 0; }

/* Legal pages */
.legal-prose { max-width: 760px; }
.legal-prose h2 { font-family: var(--display); margin: 32px 0 12px; }
.legal-prose ul, .legal-prose ol { padding-left: 22px; color: var(--paper); }
.legal-prose ul li, .legal-prose ol li { padding: 4px 0; }
.legal-prose code { font-family: var(--mono); background: var(--stratum-2); padding: 1px 6px; border-radius: 4px; font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
  .entry-grid { grid-template-columns: 1fr; }
  .entry-products { grid-template-columns: 1fr; }
  .credit-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lifecycle-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spend-order-toggle { grid-template-columns: 1fr; }
  .balance-grouped { grid-template-columns: 1fr; }
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .reserve-summary-grid { grid-template-columns: 1fr; }
  .reserve-options { grid-template-columns: 1fr; }
  .reserve-policy-grid { grid-template-columns: 1fr; }
  .match-result-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .credit-packs { grid-template-columns: 1fr; }
  .lifecycle-strip { grid-template-columns: 1fr; }
  .catalog-filter-row { flex-direction: column; align-items: stretch; }
  .catalog-filter-label { min-width: 0; }
  .header-shortlist { display: none; }
  .detail-hero-copy h1 { font-size: 28px; }
}
