/* ==========================================================
   Generaite Digital — Dark Theme Overrides
   Loaded AFTER style.css to flip from light to dark mode.
   Contains ONLY overrides — not a copy of the shared sheet.
   ========================================================== */

/* ── :root Variable Overrides ──────────────────────────── */

:root {
  --bg: #0a0a0a;
  --bg-tint: #111111;
  --ink: #e8e8e8;
  --ink-soft: #b0b0b0;
  --mute: #666;
  --line: #2a2a2a;
  --line-soft: #252525;
  --accent-bright: #00CCFF;
  --accent-soft: rgba(0,174,239,0.08);
  --paper: #141414;

  /* Layer color palette */
  --amber: #E8A838;
  --purple: #7C5CFC;
  --teal: #00C9A7;
  --red: #FF6B6B;
}

/* ── Body Pseudo-elements ──────────────────────────────── */

body {
  position: relative;
}

/* GRID PATTERN — 60px grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* AMBIENT GLOW — cyan radial top-right */
body::after {
  content: "";
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,174,239,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Scan Line ──────────────────────────────────────────── */

.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.12;
  animation: scanmove 8s linear infinite;
  pointer-events: none;
  z-index: 999;
}

@keyframes scanmove {
  0%   { top: -2px; }
  100% { top: 100vh; }
}

/* ── Container z-index lift (above body pseudo-elements) ─ */

.container {
  position: relative;
  z-index: 1;
}

/* ── Nav Logo Dark ──────────────────────────────────────── */

.nav .brand-img {
  content: url("/generaite-logo-white.png");
  height: 26px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .nav .brand-img {
    height: 20px;
    max-width: 120px;
  }
}

.brand:hover .brand-img {
  transform: scale(1.02);
  filter: none;
}

/* Signworld partner logo in hero */
.partner-logo {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.hero-partner a:hover .partner-logo {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ── Navigation Dark Treatment ──────────────────────────── */

.nav {
  background: rgba(10,10,10,0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.nav.scrolled {
  border-bottom-color: #2a2a2a;
}

/* ── Button Overrides ───────────────────────────────────── */

.btn-primary {
  background: var(--accent-bright) !important;
  color: #000 !important;
  border: 1px solid var(--accent-bright) !important;
}

.btn-primary:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(0,204,255,0.3);
}

.btn-primary .btn-arrow {
  color: #ffffff !important;
}

.btn-ghost {
  color: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

/* ── Label Dot System ───────────────────────────────────── */

.label .dot {
  background: var(--accent-bright);
  position: relative;
  box-shadow: 0 0 6px rgba(0,204,255,0.5);
  animation: none; /* replace dotbreath with ringpulse ring */
}

/* Ring pulse from every eyebrow dot */
.label .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-bright);
  animation: ringpulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes ringpulse {
  0%   { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Layer-colored dots */
.label .dot.l01 { background: var(--amber); box-shadow: 0 0 6px rgba(232,168,56,0.5); }
.label .dot.l01::after { border-color: var(--amber); }

.label .dot.l02 { background: var(--accent-bright); box-shadow: 0 0 6px rgba(0,204,255,0.5); }
.label .dot.l02::after { border-color: var(--accent-bright); }

.label .dot.l03 { background: var(--purple); box-shadow: 0 0 6px rgba(124,92,252,0.5); }
.label .dot.l03::after { border-color: var(--purple); }

.label .dot.l04 { background: var(--teal); box-shadow: 0 0 6px rgba(0,201,167,0.5); }
.label .dot.l04::after { border-color: var(--teal); }

.label .dot.l05 { background: var(--red); box-shadow: 0 0 6px rgba(255,107,107,0.5); }
.label .dot.l05::after { border-color: var(--red); }

/* Proof-dot ring pulse */
.proof-dot {
  background: var(--accent-bright);
  box-shadow: 0 0 6px rgba(0,204,255,0.5), 0 0 12px rgba(0,204,255,0.2);
  position: relative;
}

.proof-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-bright);
  animation: ringpulse 2.5s ease-out infinite;
  pointer-events: none;
}

/* ── Tag Visibility ─────────────────────────────────────── */

.tag {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--ink-soft);
}

/* ── Text Hierarchy Overrides ───────────────────────────── */

/* Hero */
.hero h1 {
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-bright);
  /* Override light-theme shimmer gradient — use solid color in dark */
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* Section headings */
.sec-head h2 {
  color: #fff;
}

.sec-head h2 em {
  color: var(--accent-bright);
}

.sec-head h2 em:hover {
  color: var(--accent-bright);
}

/* Process step h3 — accent by default, white on hover */
.process-step h3 {
  color: var(--accent) !important;
}

.process-step:hover h3 {
  color: #fff !important;
}

/* Stack row h3 — accent by default, white on hover */
.stack-row h3 {
  color: var(--accent) !important;
}

.stack-row:hover h3 {
  color: #fff !important;
}

/* Inst h3 — accent by default, white on hover */
.inst h3 {
  color: var(--accent) !important;
}

.inst:hover h3 {
  color: #fff !important;
}

/* ── Hero Meta ──────────────────────────────────────────── */

.hero-meta {
  border-top: 1px solid #2a2a2a;
}

.hero-meta .n {
  color: #fff;
}

.hero-meta .n .b {
  color: var(--accent-bright);
}

/* ── Hero Pulse Bar Dark ────────────────────────────────── */

.hero-pulse-label .led {
  box-shadow: 0 0 6px rgba(0,204,255,0.6), 0 0 12px rgba(0,204,255,0.3);
  position: relative;
}

.hero-pulse-label .led::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-bright);
  animation: ringpulse 2.5s ease-out infinite;
  pointer-events: none;
}

/* ── Section Glow Dividers ──────────────────────────────── */

section {
  border-top: 1px solid #2a2a2a;
  position: relative;
}

/* Signal glow at left edge of each section divider */
section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,204,255,0.3), transparent);
  pointer-events: none;
}

/* ── Diagnosis Dark ──────────────────────────────────────── */

.diagnosis-lede {
  color: #fff;
}

.diagnosis-lede em {
  color: var(--accent-bright);
}

.diagnosis-two {
  border-top: 1px solid #2a2a2a;
}

/* ── Stack Dark ─────────────────────────────────────────── */

.stack {
  border-top: 1px solid #2a2a2a;
}

.stack-row {
  border-bottom: 1px solid #2a2a2a;
  transition: background .25s ease, padding-left .25s ease;
}

.stack-row:hover {
  background: linear-gradient(to right, rgba(0,174,239,0.06), transparent 70%);
  padding-left: 8px;
}

.stack-row h3 {
  transition: transform .35s cubic-bezier(.2,.6,.2,1), color .25s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

/* Arrow reveal on hover */
.stack-row h3::after {
  content: "\2192";
  font-family: var(--sans);
  font-size: 18px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.6,.2,1);
}

.stack-row:hover h3 {
  transform: translateX(6px);
  color: #fff;
}

.stack-row:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

/* ── Process Dark ───────────────────────────────────────── */

.process {
  border-top: 1px solid var(--line);
}

.process-step {
  border-right: 1px solid #2a2a2a;
  position: relative;
}

.process-step .s::before {
  background: var(--accent-bright);
  box-shadow: 0 0 6px rgba(0,204,255,0.4);
  position: relative;
  transition: transform .3s ease, background .3s ease;
}

.process-step:hover .s::before {
  transform: scale(1.6);
  background: var(--accent-bright);
}

/* Ring pulse from process step dots */
.process-step .s::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-bright);
  animation: ringpulse 2.5s ease-out infinite;
  pointer-events: none;
}

/* Process step dots colored by layer */
.process-step.step-l01 .s::before { background: var(--amber); box-shadow: 0 0 6px rgba(232,168,56,0.5); }
.process-step.step-l02 .s::before { background: var(--accent-bright); box-shadow: 0 0 6px rgba(0,204,255,0.5); }
.process-step.step-l03 .s::before { background: var(--purple); box-shadow: 0 0 6px rgba(124,92,252,0.5); }
.process-step.step-l04 .s::before { background: var(--teal); box-shadow: 0 0 6px rgba(0,201,167,0.5); }

.process-step.step-l01 .s::after { border-color: var(--amber); }
.process-step.step-l02 .s::after { border-color: var(--accent-bright); }
.process-step.step-l03 .s::after { border-color: var(--purple); }
.process-step.step-l04 .s::after { border-color: var(--teal); }

/* ── Installed Grid Dark ────────────────────────────────── */

.installed-grid {
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
}

.inst {
  background: var(--bg);
  border: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.inst:hover {
  background: var(--paper);
  box-shadow: 0 0 20px rgba(0,174,239,0.06);
  border-color: rgba(0,174,239,0.08);
}

.inst .c {
  color: var(--accent);
}

.inst h3 {
  transition: color .3s ease, transform .35s cubic-bezier(.2,.6,.2,1);
}

.inst:hover h3 {
  color: #fff;
  transform: translateY(-2px);
}

/* Installed grid category labels colored by system */
.inst.sys-revenue .c     { color: var(--amber); }
.inst.sys-visibility .c  { color: var(--accent-bright); }
.inst.sys-conversion .c  { color: var(--purple); }
.inst.sys-acquisition .c { color: var(--accent-bright); }
.inst.sys-operations .c  { color: var(--teal); }
.inst.sys-custom .c      { color: var(--red); }

/* Installed card glow on hover by system */
.inst.sys-revenue:hover    { box-shadow: 0 0 20px rgba(232,168,56,0.06), inset 0 0 0 1px rgba(232,168,56,0.08); }
.inst.sys-visibility:hover  { box-shadow: 0 0 20px rgba(0,204,255,0.06), inset 0 0 0 1px rgba(0,204,255,0.08); }
.inst.sys-conversion:hover { box-shadow: 0 0 20px rgba(124,92,252,0.06), inset 0 0 0 1px rgba(124,92,252,0.08); }
.inst.sys-acquisition:hover{ box-shadow: 0 0 20px rgba(0,204,255,0.06), inset 0 0 0 1px rgba(0,204,255,0.08); }
.inst.sys-operations:hover { box-shadow: 0 0 20px rgba(0,201,167,0.06), inset 0 0 0 1px rgba(0,201,167,0.08); }
.inst.sys-custom:hover     { box-shadow: 0 0 20px rgba(255,107,107,0.06), inset 0 0 0 1px rgba(255,107,107,0.08); }

/* ── Orbit Visibility ───────────────────────────────────── */

.orbit-ring {
  stroke: rgba(255,255,255,0.08);
}

.orbit-center {
  fill: rgba(255,255,255,0.25);
}

/* ── Diagram Section Dark ───────────────────────────────── */

.diagram-section {
  background: #111111;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,204,255,0.15);
}

.diagram-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(0,174,239,0.15), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(0,174,239,0.12), transparent 55%);
  pointer-events: none;
}

.diagram-section .label {
  color: #888;
}

.diagram-section .label .num {
  color: var(--accent-bright);
}

.diagram-section .label .dot {
  background: var(--accent-bright);
  box-shadow: 0 0 6px rgba(0,204,255,0.5), 0 0 12px rgba(0,204,255,0.2);
  position: relative;
}

.diagram-section .label .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-bright);
  animation: ringpulse 2.5s ease-out infinite;
  pointer-events: none;
}

.diagram-head h2 {
  color: #ffffff;
}

.diagram-head h2 em {
  color: var(--accent-bright);
}

.diagram-head h2 em:hover {
  color: var(--accent-bright);
}

.diagram-head p {
  color: #b8b8b8;
}

/* Diagram module boxes (dark mode) */
.sys-node rect {
  fill: rgba(255,255,255,0.03);
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1.2;
  transition: stroke .3s ease, fill .3s ease;
}

.sys-node .node-label {
  fill: #ffffff;
}

.sys-node .node-num {
  fill: #888;
}

.sys-node .node-dot {
  fill: var(--accent-bright);
  transition: fill .3s ease;
  filter: drop-shadow(0 0 4px rgba(0,204,255,0.5));
}

.sys-node.active .node-dot {
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 6px rgba(0,204,255,0.8));
}

.sys-node.active rect {
  stroke: var(--accent-bright);
  fill: rgba(0,174,239,0.08);
}

/* Rotating highlight animation */
.sys-node[class*="rotate-"] rect {
  animation: node-highlight-rect 15s ease-in-out infinite;
}

.sys-node[class*="rotate-"] .node-dot {
  animation: node-highlight-dot 15s ease-in-out infinite;
}

.sys-node.rotate-1 rect,
.sys-node.rotate-1 .node-dot { animation-delay: 0s; }
.sys-node.rotate-2 rect,
.sys-node.rotate-2 .node-dot { animation-delay: 3s; }
.sys-node.rotate-3 rect,
.sys-node.rotate-3 .node-dot { animation-delay: 6s; }
.sys-node.rotate-4 rect,
.sys-node.rotate-4 .node-dot { animation-delay: 9s; }
.sys-node.rotate-5 rect,
.sys-node.rotate-5 .node-dot { animation-delay: 12s; }

@keyframes node-highlight-rect {
  0%, 22%, 100% {
    stroke: rgba(255,255,255,0.18);
    fill: rgba(255,255,255,0.03);
  }
  6%, 16% {
    stroke: var(--accent-bright);
    fill: rgba(0,174,239,0.08);
  }
}

@keyframes node-highlight-dot {
  0%, 22%, 100% {
    fill: #555;
    filter: none;
  }
  6%, 16% {
    fill: var(--accent-bright);
    filter: drop-shadow(0 0 4px rgba(0,174,239,0.7));
  }
}

/* Connection lines (dark mode) */
.sys-line {
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1.2;
  fill: none;
}

.sys-line-live {
  stroke: var(--accent-bright);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 4 1060;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: flow 7s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0,174,239,0.8));
}

.sys-line-live.delay-1 { animation-delay: 1.4s; }
.sys-line-live.delay-2 { animation-delay: 2.8s; }
.sys-line-live.delay-3 { animation-delay: 4.2s; }
.sys-line-live.delay-4 { animation-delay: 5.6s; }

.sys-line-live.is-loop {
  stroke-dasharray: 4 640;
  animation: flow-loop 6s linear infinite;
}

@keyframes flow {
  0%   { stroke-dashoffset: 0;    opacity: 0; }
  5%   { opacity: 1; }
  50%  { opacity: 1; }
  95%  { opacity: 0; }
  100% { stroke-dashoffset: -1064; opacity: 0; }
}

@keyframes flow-loop {
  0%   { stroke-dashoffset: 0;   opacity: 0; }
  5%   { opacity: 1; }
  50%  { opacity: 1; }
  95%  { opacity: 0; }
  100% { stroke-dashoffset: -644; opacity: 0; }
}

/* Pulsing live system indicator (dark mode) */
.sys-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #888;
}

.sys-indicator .led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(0,174,239,0.7);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,174,239,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(0,174,239,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,174,239,0); }
}

/* Mobile vertical stack nodes (dark mode) */
@media (max-width: 720px) {
  .stack-node {
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.18);
    transition: border-color .3s ease, background .3s ease;
  }

  .stack-node .stack-num {
    color: #888;
  }

  .stack-node .stack-name {
    color: var(--accent);
  }

  .stack-node.is-active {
    background: rgba(0,174,239,0.08);
    border-color: var(--accent-bright);
  }

  .stack-node.is-active .stack-num { color: var(--accent-bright); }
  .stack-node.is-active .stack-name { color: #fff; }

  /* Rotating highlight animation on mobile stack */
  .stack-node[class*="stack-rotate-"] {
    animation: stack-highlight-card 15s ease-in-out infinite;
  }

  .stack-node[class*="stack-rotate-"] .stack-num {
    animation: stack-highlight-num 15s ease-in-out infinite;
  }

  .stack-node[class*="stack-rotate-"] .stack-name {
    animation: stack-highlight-name 15s ease-in-out infinite;
  }

  .stack-node.stack-rotate-1,
  .stack-node.stack-rotate-1 .stack-num,
  .stack-node.stack-rotate-1 .stack-name { animation-delay: 0s; }
  .stack-node.stack-rotate-2,
  .stack-node.stack-rotate-2 .stack-num,
  .stack-node.stack-rotate-2 .stack-name { animation-delay: 3s; }
  .stack-node.stack-rotate-3,
  .stack-node.stack-rotate-3 .stack-num,
  .stack-node.stack-rotate-3 .stack-name { animation-delay: 6s; }
  .stack-node.stack-rotate-4,
  .stack-node.stack-rotate-4 .stack-num,
  .stack-node.stack-rotate-4 .stack-name { animation-delay: 9s; }
  .stack-node.stack-rotate-5,
  .stack-node.stack-rotate-5 .stack-num,
  .stack-node.stack-rotate-5 .stack-name { animation-delay: 12s; }

  @keyframes stack-highlight-card {
    0%, 22%, 100% {
      background: rgba(255,255,255,0.03);
      border-color: rgba(255,255,255,0.18);
    }
    3%, 19% {
      background: rgba(0,174,239,0.08);
      border-color: var(--accent-bright);
    }
  }

  @keyframes stack-highlight-num {
    0%, 22%, 100% { color: #888; }
    3%, 19% { color: var(--accent-bright); }
  }

  @keyframes stack-highlight-name {
    0%, 22%, 100% { color: #ffffff; }
    3%, 19% { color: var(--accent-bright); }
  }

  /* Connector segments between cards */
  .stack-connector {
    position: relative;
    height: 32px;
    width: 1.5px;
    background: rgba(255,255,255,0.18);
    margin: 0 auto;
    overflow: hidden;
  }

  .stack-pulse {
    position: absolute;
    left: -2px;
    top: -18px;
    width: 5.5px;
    height: 18px;
    background: linear-gradient(180deg,
      transparent 0%,
      var(--accent-bright) 50%,
      transparent 100%);
    border-radius: 3px;
    filter: drop-shadow(0 0 4px rgba(0,174,239,0.9));
    animation: stack-pulse-flow 4s linear infinite;
  }

  @keyframes stack-pulse-flow {
    0%   { top: -18px; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: 32px; opacity: 0; }
  }
}

/* ── Proof Section Numbers (homepage) ──────────────────── */

.pn .n {
  color: var(--accent-bright);
}

.pn .n em {
  font-style: italic;
  color: var(--accent-bright);
}

/* ── Proof Section Dark ─────────────────────────────────── */

.proof-nums {
  background: #2a2a2a;
  border: 1px solid #2a2a2a;
}

/* ── Proof Dark Block ───────────────────────────────────── */

.proof-dark {
  background: #080808;
}

.proof-stats-dark {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}

.proof-stat-dark {
  background: var(--ink);
}

/* ── Section Differ Dark ────────────────────────────────── */

section.differ-dark {
  background: #080808;
}

section.differ-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(0,174,239,0.08), transparent 55%),
    radial-gradient(circle at 15% 70%, rgba(0,174,239,0.05), transparent 55%);
  pointer-events: none;
}

section.differ-dark .container {
  position: relative;
  z-index: 1;
}

section.differ-dark .label { color: #888; }
section.differ-dark .label .num { color: var(--accent-bright); }
section.differ-dark .label .dot { background: var(--accent-bright); }

section.differ-dark .sec-head h2 { color: #ffffff; }
section.differ-dark .sec-head h2 em { color: var(--accent-bright); }
section.differ-dark .sec-head h2 em:hover { color: var(--accent-bright); }

/* ── Industry Rows Dark ─────────────────────────────────── */

.ind-row:hover {
  background: linear-gradient(to right, var(--accent-soft), transparent 60%);
}

.ind-row .name {
  transition: color .3s ease, transform .35s cubic-bezier(.2,.6,.2,1);
  position: relative;
}

.ind-row:hover .name {
  color: #fff;
  transform: translateX(4px);
}

/* ── FAQ Dark ───────────────────────────────────────────── */

/* ── Tier / Pricing Cards Dark ─────────────────────────── */

.tier.is-featured {
  background: #141414 !important;
  border-color: var(--accent-bright) !important;
  color: #ffffff;
}

.tier.is-featured:hover {
  border-color: var(--accent-bright) !important;
}

.tier.is-featured .tier-phase { color: #999; }
.tier.is-featured .tier-price { color: #c5c5c5; }
.tier.is-featured .tier-price strong { color: #ffffff; }
.tier.is-featured .tier-desc { color: #d4d4d4; }
.tier.is-featured .tier-features { border-top-color: #333; }
.tier.is-featured .tier-features li { color: #d4d4d4; border-bottom-color: #333; }
.tier.is-featured .tier-cta { color: #ffffff; border-bottom-color: #ffffff; }
.tier.is-featured .tier-cta:hover { color: var(--accent-bright); border-bottom-color: var(--accent-bright); }

.tier-custom {
  background: var(--bg-tint) !important;
  border-color: var(--line) !important;
}

/* ── Article internal links (dark mode) ────────────────── */

.article-content a {
  color: var(--ink-soft);
}
.article-content a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

/* ── FAQ Dark (existing) ──────────────────────────────── */

.faq-item[open] .faq-q {
  color: var(--accent-bright);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--accent-bright);
}

/* Italic accent words hover shift */
h1 em, h2 em, h3 em, blockquote em, .diagnosis-lede em {
  position: relative;
  display: inline-block;
  transition: transform .5s cubic-bezier(.2,.6,.2,1), color .3s ease;
  cursor: default;
}

h1 em:hover, h2 em:hover, h3 em:hover, blockquote em:hover, .diagnosis-lede em:hover {
  transform: translateY(-2px);
  color: var(--accent-deep);
}

/* ── Close Section Dark ─────────────────────────────────── */

.close {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0d 100%);
}

.close h2 em {
  color: var(--accent-bright);
}

/* ── Proof Number Cards ─────────────────────────────────── */

.pn {
  transition: background .3s ease;
  cursor: default;
}

.pn:hover {
  background: var(--paper);
}

.pn .n {
  transition: transform .45s cubic-bezier(.2,.6,.2,1);
  display: inline-block;
}

.pn:hover .n {
  transform: translateY(-3px);
}

/* ── Hero Orbit Dark ────────────────────────────────────── */

.hero-orbit .orbit-ring {
  stroke: rgba(255,255,255,0.08);
}

.hero-orbit .orbit-center {
  fill: rgba(255,255,255,0.25);
}

.hero-orbit .orbit-dot {
  fill: var(--accent);
}

/* ── Proof Orbit Dark ───────────────────────────────────── */

.proof-orbit .orbit-ring {
  stroke: rgba(255,255,255,0.22);
}

.proof-orbit .orbit-center {
  fill: rgba(255,255,255,0.55);
}

.proof-orbit .orbit-dot {
  fill: var(--accent-bright);
}

/* ── Footer Dark ─────────────────────────────────────────── */

footer {
  border-top: 1px solid #2a2a2a;
}

.foot-brand img {
  content: url("/generaite-logo-white.png");
  filter: none;
}

.foot-bottom {
  border-top: 1px solid #2a2a2a;
}

/* ── Reduced Motion Overrides ───────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  /* Kill ringpulse everywhere */
  .label .dot::after,
  .proof-dot::after,
  .hero-pulse-label .led::after,
  .process-step .s::after,
  .diagram-section .label .dot::after {
    animation: none;
  }

  /* Kill scan line */
  .scan-line {
    animation: none;
    opacity: 0;
    display: none;
  }

  /* Kill dotbreath */
  .label .dot { animation: none; }
  .proof-dot  { animation: none; }

  /* Kill hero shimmer — revert to solid color */
  .hero h1 em {
    animation: none;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--accent);
  }

  /* Kill orbit animations */
  .orbit-dot { animation: none !important; }

  /* Kill hero pulse track */
  .hero-pulse-track::before,
  .hero-pulse-track::after { animation: none; opacity: 0; }
  .hero-pulse-label .led  { animation: none; }

  /* Kill diagram animations */
  .sys-line-live            { animation: none; opacity: 0.5; stroke-dasharray: none; filter: none; }
  .sys-indicator .led       { animation: none; }
  .stack-pulse              { animation: none; opacity: 0.5; top: 7px; }
  .sys-node[class*="rotate-"] rect,
  .sys-node[class*="rotate-"] .node-dot { animation: none; }
  .sys-node.rotate-1 rect   { stroke: var(--accent-bright); fill: rgba(0,174,239,0.08); }
  .sys-node.rotate-1 .node-dot { fill: var(--accent-bright); filter: drop-shadow(0 0 4px rgba(0,174,239,0.7)); }

  /* Kill mobile stack animations */
  .stack-node[class*="stack-rotate-"],
  .stack-node[class*="stack-rotate-"] .stack-num,
  .stack-node[class*="stack-rotate-"] .stack-name { animation: none; }
  .stack-node.stack-rotate-1 { background: rgba(0,174,239,0.08); border-color: var(--accent-bright); }
  .stack-node.stack-rotate-1 .stack-num  { color: var(--accent-bright); }
  .stack-node.stack-rotate-1 .stack-name { color: #fff; }

  /* Kill italic hover transitions */
  h1 em, h2 em, h3 em, blockquote em, .diagnosis-lede em { transition: none; }

  /* Kill nav underline transition */
  .nav-links a:not(.btn)::after { transition: none; }

  /* Kill row/column hover transitions */
  .stack-row h3, .stack-row h3::after,
  .ind-row .name, .inst h3, .pn .n,
  .process-step h3, .process-step .s::before { transition: none; }

  /* Kill fade-up entrance */
  .fade-up { animation: none; opacity: 1; transform: none; }
}
