/* ============================================================
   FactionOps — marketing site design system
   Aesthetic: war-room intelligence dossier. Phosphor green on
   gunmetal, olive field-gray labels, brass gold for premium.
   ============================================================ */

:root {
  --bg:        #0a0d12;
  --bg-deep:   #070a0e;
  --bg-raised: #10141b;
  --bg-card:   #121720;
  --bg-inset:  #0d1117;

  --line:        rgba(174, 174, 152, 0.13);
  --line-strong: rgba(174, 174, 152, 0.28);

  --text:   #d8d6cf;
  --bright: #f6f6f4;
  --muted:  #8f8d80;
  --label:  #aeae98;
  --faint:  #65645a;

  --phosphor:      #34e07a;
  --phosphor-dim:  #10b981;
  --phosphor-deep: #047857;
  --phosphor-glow: rgba(52, 224, 122, 0.45);

  --gold:        #cba135;
  --gold-bright: #e0c25e;
  --gold-pale:   #ecd998;

  --danger: #f87171;
  --warn:   #fbbf24;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --pad: clamp(1.25rem, 4vw, 3rem);
  --maxw: 76rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--phosphor); color: #04271b; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--phosphor);
  outline-offset: 3px;
}

img, svg { display: block; max-width: 100%; }

/* ---------- typography ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  color: var(--bright);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--phosphor);
}
.eyebrow::before { content: "// "; color: var(--faint); }

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--label);
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 38em;
}
.lede strong, .lede b { color: var(--text); font-weight: 600; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin: 0.35em 0 0.3em;
}
.section-head .lede { margin-top: 0.25rem; }

/* hairline separators between major bands */
.band { border-top: 1px solid var(--line); padding: clamp(4rem, 9vw, 7.5rem) 0; }

/* ---------- textures ---------- */

.dotgrid {
  background-image: radial-gradient(rgba(174, 174, 152, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.16) 2px 3px
  );
  mix-blend-mode: multiply;
}

/* dossier corner ticks */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.ticks::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--phosphor);
  border-left: 2px solid var(--phosphor);
}
.ticks::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--phosphor);
  border-right: 2px solid var(--phosphor);
}
.ticks--gold::before { border-color: var(--gold); }
.ticks--gold::after { border-color: var(--gold); }

/* rotated rubber stamp */
.stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--phosphor);
  border: 1.5px solid var(--phosphor);
  border-radius: 3px;
  padding: 0.35em 0.9em 0.3em 1.05em;
  transform: rotate(-4deg);
  opacity: 0.92;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Crect width='120' height='40' fill='white'/%3E%3C/svg%3E");
}
.stamp--gold { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- tags ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.36em 0.85em 0.3em;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-free {
  color: var(--phosphor);
  border: 1px solid rgba(52, 224, 122, 0.45);
  background: rgba(52, 224, 122, 0.07);
}
.tag-premium {
  color: #1a1405;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
}
.tag-premium::before { content: "◆"; font-size: 0.8em; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95em 1.7em 0.85em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-solid {
  background: var(--phosphor);
  color: #04271b;
  box-shadow: 0 0 0 0 var(--phosphor-glow);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px -4px var(--phosphor-glow);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--phosphor); color: var(--phosphor); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1405;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px -4px rgba(203, 161, 53, 0.5);
}
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- top ticker ---------- */

.ticker-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0.5em 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 3.5em;
  padding-right: 3.5em;
  animation: ticker 36s linear infinite;
}
.ticker-inner b { color: var(--phosphor); font-weight: 600; }
.ticker-inner .gold { color: var(--gold-bright); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bright);
}
.wordmark .ops { color: var(--phosphor); }
.wordmark-glyph {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--phosphor);
  border-radius: 6px;
  color: var(--phosphor);
  background: rgba(52, 224, 122, 0.06);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a { color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--phosphor); }
.nav-links a.active { color: var(--phosphor); }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- terminal window ---------- */

.term {
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 60px -30px var(--phosphor-glow);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.term-dots { display: flex; gap: 6px; }
.term-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--faint);
  opacity: 0.5;
}
.term-dots i:first-child { background: var(--danger); opacity: 0.7; }
.term-dots i:nth-child(2) { background: var(--warn); opacity: 0.7; }
.term-dots i:last-child { background: var(--phosphor); opacity: 0.8; }
.term-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.term-body {
  padding: 1.1rem 1.2rem 1.3rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.85;
  min-height: 16.5em;
}
.term-body .ln { display: block; white-space: pre-wrap; }
.term-body .t { color: var(--faint); }
.term-body .g { color: var(--phosphor); }
.term-body .d { color: var(--muted); }
.term-body .w { color: var(--warn); }
.term-body .r { color: var(--danger); }
.term-body .au { color: var(--gold-bright); }
.cursor {
  display: inline-block;
  width: 0.55em; height: 1.1em;
  background: var(--phosphor);
  vertical-align: text-bottom;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- mock panels (product snippets) ---------- */

.mock {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.mock-bar h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
}
.mock-body { padding: 1.1rem; }

/* real product screenshots inside mock frames */
.mock img.shot { display: block; width: 100%; height: auto; }
.mock-body img.shot { border-radius: 6px; }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--phosphor);
}
.live-dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--phosphor);
  box-shadow: 0 0 8px var(--phosphor);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* mock tables */
.mtable { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.mtable th {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: left;
  padding: 0.45em 0.7em;
  border-bottom: 1px solid var(--line);
}
.mtable td {
  padding: 0.55em 0.7em;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mtable tr:last-child td { border-bottom: none; }
.mtable .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.mtable .pos { color: var(--phosphor); }
.mtable .neg { color: var(--danger); }
.mtable .dim { color: var(--muted); }

/* horizontal stat bars inside mocks */
.hbar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-inset);
  overflow: hidden;
}
.hbar > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--phosphor-deep), var(--phosphor));
}
.hbar > i.gold { background: linear-gradient(90deg, #9a7022, var(--gold-bright)); }
.hbar > i.red { background: linear-gradient(90deg, #7f1d1d, var(--danger)); }

/* heatmap mock */
.heatmap {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
}
.heatmap i {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--phosphor);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(52, 224, 122, 0.09), transparent 65%),
    radial-gradient(700px 480px at 95% 85%, rgba(203, 161, 53, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(3.6rem, 9vw, 7.6rem);
  margin: 0.3em 0 0.28em;
}
.hero h1 .accent { color: var(--phosphor); text-shadow: 0 0 38px var(--phosphor-glow); }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hero-footnote {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.hero-stage { position: relative; }
.hero-stage .stamp {
  position: absolute;
  top: -1.1rem;
  right: 0.4rem;
  z-index: 3;
}
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  font-family: var(--mono);
  font-size: 0.68rem;
}
.float-chip .big {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bright);
}
.float-chip small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- stat band ---------- */

.statband {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.statband-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.statband-grid > div {
  padding: 1.8rem 1.5rem;
  border-left: 1px solid var(--line);
}
.statband-grid > div:first-child { border-left: none; }
.statband-grid .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--bright);
  line-height: 1;
}
.statband-grid .v em { font-style: normal; color: var(--phosphor); }
.statband-grid .k {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 860px) {
  .statband-grid { grid-template-columns: repeat(2, 1fr); }
  .statband-grid > div:nth-child(3) { border-left: none; }
  .statband-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- feature showcases ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.feature + .feature { border-top: 1px dashed var(--line); }
.feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-stage { order: 1; }
@media (max-width: 980px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-stage { order: 2; }
}
.feature-copy h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 0.95;
  color: var(--bright);
  margin: 0.55em 0 0.45em;
}
.feature-copy .index {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.2em;
}
.feature-copy p { color: var(--muted); max-width: 34em; }
.feature-copy p strong { color: var(--text); }
.feature-points {
  margin-top: 1.3rem;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.feature-points li {
  display: flex;
  gap: 0.7em;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--muted);
}
.feature-points li::before {
  content: "▸";
  color: var(--phosphor);
  font-size: 0.8em;
}
.feature-points li.gold::before { color: var(--gold-bright); }

/* ---------- free-tier card grid ---------- */

.cardgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .cardgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cardgrid { grid-template-columns: 1fr; } }
.cardgrid > article {
  background: var(--bg);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: background 0.2s;
}
.cardgrid > article:hover { background: var(--bg-raised); }
.cardgrid h4 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--bright);
  margin: 0.9rem 0 0.45rem;
}
.cardgrid p { font-size: 0.84rem; color: var(--muted); }
.cardgrid .glyph {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--phosphor);
  font-family: var(--mono);
  font-size: 0.95rem;
}

/* ---------- premium band ---------- */

.premium-band {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(203, 161, 53, 0.1), transparent 70%),
    var(--bg-deep);
  border-top: 1px solid rgba(203, 161, 53, 0.35);
  border-bottom: 1px solid rgba(203, 161, 53, 0.35);
}
.price-lockup {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(3.2rem, 9vw, 7rem);
  color: var(--bright);
}
.price-lockup .x { color: var(--gold-bright); text-shadow: 0 0 40px rgba(203, 161, 53, 0.4); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps > div { background: var(--bg); padding: 2rem 1.8rem 2.2rem; }
.steps .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--phosphor);
}
.steps h4 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--bright);
  margin: 1rem 0 0.5rem;
}
.steps p { font-size: 0.88rem; color: var(--muted); }

/* ---------- pricing page ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
@media (max-width: 860px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 2.2rem 2rem 2.4rem;
  display: flex;
  flex-direction: column;
}
.tier--gold {
  border-color: rgba(203, 161, 53, 0.6);
  background:
    radial-gradient(420px 260px at 85% -10%, rgba(203, 161, 53, 0.12), transparent 70%),
    var(--bg-card);
  box-shadow: 0 30px 80px -30px rgba(203, 161, 53, 0.25);
}
.tier h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2rem;
  color: var(--bright);
}
.tier .price {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  margin: 1.1rem 0 0.2rem;
  color: var(--bright);
}
.tier .price .unit {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 0.7rem;
  text-transform: none;
}
.tier ul {
  list-style: none;
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}
.tier li {
  display: flex;
  gap: 0.7em;
  font-size: 0.88rem;
  color: var(--muted);
  align-items: baseline;
}
.tier li::before { content: "✓"; color: var(--phosphor); font-weight: 700; }
.tier--gold li::before { color: var(--gold-bright); }
.tier li strong { color: var(--text); font-weight: 600; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 0.8em 1em;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.88rem;
}
.compare thead th {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 57px;
  background: var(--bg);
}
.compare .group td {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--phosphor);
  padding-top: 2.2em;
  border-bottom: 1px solid var(--line-strong);
}
.compare td:nth-child(2), .compare td:nth-child(3),
.compare th:nth-child(2), .compare th:nth-child(3) {
  text-align: center;
  width: 7.5em;
}
.compare .yes { color: var(--phosphor); font-weight: 700; }
.compare .yes-gold { color: var(--gold-bright); font-weight: 700; }
.compare .no { color: var(--faint); }
.compare .note { display: block; font-size: 0.72rem; color: var(--faint); margin-top: 0.2em; }

/* FAQ */
.faq { display: grid; gap: 0.8rem; max-width: 50rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--phosphor);
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 60ch;
}
.faq details > div strong { color: var(--text); }

/* ---------- final CTA ---------- */

.cta-final {
  text-align: center;
  padding: clamp(5rem, 11vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 50% 100%, rgba(52, 224, 122, 0.12), transparent 70%);
  pointer-events: none;
}
.cta-final h2 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  position: relative;
}
.cta-final .hero-ctas { justify-content: center; position: relative; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 3rem;
  background: var(--bg-deep);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--phosphor); }
.foot-fine {
  margin-top: 2rem;
  font-size: 0.74rem;
  color: var(--faint);
  max-width: 52em;
}

/* ---------- reveal-on-scroll ---------- */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
              transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }

/* chart line draw */
.drawline {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.3, 0, 0.2, 1) 0.25s;
}
.in .drawline, .in.drawline { stroke-dashoffset: 0; }

/* radar sweep */
.radar {
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(52, 224, 122, 0.35), transparent 70deg, transparent 360deg);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-inner, .radar::before, .cursor, .live-dot::before { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .drawline { stroke-dashoffset: 0; transition: none; }
  .btn, .btn:hover { transform: none; }
}
