/* Unfrozen Stream - Glacial Frost meets Live Broadcast
 * Dark theme default (streamers), light theme via prefers-color-scheme.
 * Zero external assets, zero inline styles, WCAG 2.2 AA contrast verified.
 */

:root {
  color-scheme: dark light;

  /* Dark mode palette (default) */
  --bg: #07111b;
  --bg-deep: #050c14;
  --bg-card: #0c1b29;
  --bg-card-hover: #102336;
  --bg-surface: #12263a;
  --bg-chip: #122d42;
  --border: #203c56;
  --border-strong: #37648c;
  --frost-sheen: rgba(168, 240, 255, 0.14);

  --text: #eef7ff;
  --text-muted: #a9c4dc;
  --text-subtle: #89abc8;

  --ice: #67e8f9;
  --ice-bright: #b8f6ff;
  --ice-on-btn: #06131f;
  --ice-btn-bg: #67e8f9;
  --ice-btn-hover: #8ef0fc;

  --live: #ff6b57;
  --live-bg: #c93122;
  --live-on-bg: #ffffff;
  --live-soft-bg: #2f161a;
  --live-soft-border: #6e2b2b;

  --ready-text: #7ef0a9;
  --ready-bg: #0f3024;
  --ready-border: #1e5e46;

  --planned-text: #9fd0ff;
  --planned-bg: #112843;
  --planned-border: #264f7d;

  --warn-text: #ffd082;
  --warn-bg: #312511;
  --warn-border: #6b4e1e;

  --focus: #8ef0fc;
  --shadow-card: 0 14px 36px rgba(2, 8, 16, 0.42);
  --glow-cyan: rgba(74, 214, 244, 0.16);
  --glow-live: rgba(255, 96, 74, 0.11);

  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --max-w: 1120px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f8fc;
    --bg-deep: #e6f1f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f7fbfe;
    --bg-surface: #e6f2f9;
    --bg-chip: #ddf0f9;
    --border: #c1d8e8;
    --border-strong: #7fa8c7;
    --frost-sheen: rgba(255, 255, 255, 0.85);

    --text: #0a1b2a;
    --text-muted: #39536b;
    --text-subtle: #47637d;

    --ice: #03607a;
    --ice-bright: #024a5e;
    --ice-on-btn: #ffffff;
    --ice-btn-bg: #035d76;
    --ice-btn-hover: #02485c;

    --live: #b8291b;
    --live-bg: #bf2b1d;
    --live-on-bg: #ffffff;
    --live-soft-bg: #fdeceb;
    --live-soft-border: #e5a8a1;

    --ready-text: #116237;
    --ready-bg: #ddf6e8;
    --ready-border: #9bd9b7;

    --planned-text: #1a4b84;
    --planned-bg: #e1efff;
    --planned-border: #a8caf2;

    --warn-text: #7a4b00;
    --warn-bg: #fff3da;
    --warn-border: #e6c278;

    --focus: #035d76;
    --shadow-card: 0 10px 28px rgba(10, 35, 58, 0.08);
    --glow-cyan: rgba(14, 165, 200, 0.12);
    --glow-live: rgba(215, 55, 40, 0.08);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 42% at 14% 0%, var(--glow-cyan), transparent 65%),
    radial-gradient(ellipse 60% 34% at 88% 6%, var(--glow-live), transparent 62%);
  background-repeat: no-repeat;
  overflow-x: clip;
}

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

a {
  color: var(--ice);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ice-bright);
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.12em 0.42em;
  border-radius: 6px;
  background: var(--bg-chip);
  border: 1px solid var(--border);
  color: var(--text);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ice-btn-bg);
  color: var(--ice-on-btn);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 18px;
}

/* --------------------------------------------------------------------------
 * Header & Navigation (mobile-first, zero JS, zero overflow at 360px)
 * -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 14px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  min-width: 0;
}

.brand-link:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.mark-ice {
  stroke: var(--ice);
}

.mark-frost {
  stroke: var(--ice-bright);
}

.mark-live {
  fill: var(--live);
  stroke: var(--live);
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-chip);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.site-nav a:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

/* --------------------------------------------------------------------------
 * Typography & Shared Section Layout
 * -------------------------------------------------------------------------- */

.section {
  padding-block: 56px;
  scroll-margin-top: 76px;
}

.section-alt {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ice);
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--ice);
  border-radius: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.15rem, 6.2vw, 3.65rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 750;
}

.section-intro {
  margin: 0;
  font-size: 1.04rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
 * Buttons & Badges
 * -------------------------------------------------------------------------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 750;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ice-btn-bg);
  color: var(--ice-on-btn);
}

.btn-primary:hover {
  background: var(--ice-btn-hover);
  color: var(--ice-on-btn);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--ice);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: var(--bg-chip);
  color: var(--text);
}

.badge-ready {
  background: var(--ready-bg);
  border-color: var(--ready-border);
  color: var(--ready-text);
}

.badge-planned {
  background: var(--planned-bg);
  border-color: var(--planned-border);
  color: var(--planned-text);
}

.badge-live {
  background: var(--live-bg);
  border-color: transparent;
  color: var(--live-on-bg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-ice {
  background: var(--bg-chip);
  border-color: var(--border-strong);
  color: var(--ice);
}

/* --------------------------------------------------------------------------
 * Hero Section & Broadcast Monitor Card
 * -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: 44px 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-accent {
  color: var(--ice);
}

.hero-sub {
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-platforms {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-platforms-label {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.platform-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-pills li {
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* Hero Cloud OBS Preview Card */

.hero-monitor {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.hero-monitor::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  opacity: 0.7;
}

.monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.monitor-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.monitor-title {
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.monitor-screen {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
}

.monitor-svg {
  width: 100%;
  height: auto;
}

.monitor-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.scene-chip {
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.scene-chip-active {
  border-color: var(--ice);
  background: var(--bg-chip);
  color: var(--text);
}

.monitor-footnote {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* --------------------------------------------------------------------------
 * How It Works - Signal Flow SVG + 4 Steps
 * -------------------------------------------------------------------------- */

.flow-figure {
  margin: 0 0 28px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.flow-svg {
  width: 100%;
  height: auto;
}

.svg-box {
  fill: var(--bg-surface);
  stroke: var(--border-strong);
  stroke-width: 1.6;
}

.svg-box-highlight {
  fill: var(--bg-chip);
  stroke: var(--ice);
  stroke-width: 2;
}

.svg-label {
  fill: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
}

.svg-sub {
  fill: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
}

.svg-tag {
  fill: var(--ice);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.svg-line {
  stroke: var(--border-strong);
  stroke-width: 2.2;
  fill: none;
}

.svg-pulse {
  stroke: var(--ice);
  stroke-width: 2.6;
  stroke-dasharray: 8 10;
  fill: none;
  animation: flow-dash 1.6s linear infinite;
}

.svg-live-fill {
  fill: var(--live);
}

.svg-ice-fill {
  fill: var(--ice);
}

.svg-ice-stroke {
  stroke: var(--ice);
  fill: none;
}

.svg-frost-stroke {
  stroke: var(--border-strong);
  fill: none;
}

.svg-wave {
  stroke: var(--ice);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-wave-subtle {
  stroke: var(--border-strong);
  stroke-width: 1.5;
  fill: none;
}

.svg-crystal-bg {
  fill: var(--ice);
  opacity: 0.08;
}

.svg-panel-bg {
  fill: var(--bg-card);
  stroke: var(--border);
  stroke-width: 1.2;
}

.stage-crystal {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.flow-caption {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card,
.feature-card,
.platform-card,
.product-card,
.roadmap-col {
  min-width: 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ice);
  background: var(--bg-chip);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
 * Built for IRL - Animated Failover Demo + Feature Cards
 * -------------------------------------------------------------------------- */

.irl-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.failover-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.failover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.failover-title {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--text);
}

.failover-stage {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  aspect-ratio: 16 / 10;
  min-height: 220px;
  overflow: hidden;
}

.stage-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  opacity: 0;
}

.stage-live {
  background:
    radial-gradient(circle at 50% 45%, var(--glow-live), transparent 65%),
    var(--bg-deep);
  animation: scene-live-cycle 14s ease-in-out infinite;
}

.stage-drop {
  background:
    radial-gradient(circle at 50% 50%, var(--glow-cyan), transparent 68%),
    var(--bg-deep);
  animation: scene-drop-cycle 14s ease-in-out infinite;
}

.stage-brb {
  background:
    radial-gradient(circle at 30% 25%, var(--glow-cyan), transparent 60%),
    linear-gradient(155deg, var(--bg-chip), var(--bg-deep));
  animation: scene-brb-cycle 14s ease-in-out infinite;
}

.stage-recover {
  background:
    radial-gradient(circle at 50% 45%, var(--glow-cyan), transparent 62%),
    var(--bg-deep);
  animation: scene-recover-cycle 14s ease-in-out infinite;
}

.stage-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kicker-live {
  background: var(--live-bg);
  color: var(--live-on-bg);
}

.kicker-warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
}

.kicker-brb {
  background: var(--bg-chip);
  border: 1px solid var(--ice);
  color: var(--ice);
}

.kicker-ready {
  background: var(--ready-bg);
  border: 1px solid var(--ready-border);
  color: var(--ready-text);
}

.stage-heading {
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}

.stage-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.stage-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  margin-top: 14px;
}

.stage-bars span {
  width: 6px;
  border-radius: 2px;
  background: var(--ice);
}

.stage-bars span:nth-child(1) { height: 7px; }
.stage-bars span:nth-child(2) { height: 12px; }
.stage-bars span:nth-child(3) { height: 17px; }
.stage-bars span:nth-child(4) { height: 22px; }

.stage-bars-lost span {
  background: var(--border-strong);
  opacity: 0.5;
}

.stage-bars-lost span:nth-child(1) {
  background: var(--live);
  opacity: 1;
}

.failover-rail {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rail-step {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-size: 0.83rem;
  line-height: 1.35;
}

.rail-step strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}

.rail-step span {
  color: var(--text-muted);
}

.rail-1 { animation: rail-1-hl 14s ease-in-out infinite; }
.rail-2 { animation: rail-2-hl 14s ease-in-out infinite; }
.rail-3 { animation: rail-3-hl 14s ease-in-out infinite; }
.rail-4 { animation: rail-4-hl 14s ease-in-out infinite; }

.irl-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 6px;
}

.feature-card h3 {
  margin-bottom: 6px;
}

.feature-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
 * Platforms Grid (Strictly neutral frost styling - no trademark colors/logos)
 * -------------------------------------------------------------------------- */

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  border-top: 2px solid var(--border-strong);
}

.platform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-card h3 {
  font-size: 1.2rem;
}

.platform-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
 * Products Section (Generated from site/data/products.json)
 * -------------------------------------------------------------------------- */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ice), transparent 78%);
  opacity: 0.55;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-card h3 {
  font-size: 1.25rem;
}

.product-tagline {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.product-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1 1 auto;
}

.product-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--text);
}

.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--ice);
}

.product-footer {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.product-price-tbd {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
 * Roadmap & Launching Soon Callout
 * -------------------------------------------------------------------------- */

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.roadmap-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.roadmap-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.roadmap-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roadmap-list strong {
  color: var(--text);
  font-size: 1rem;
}

.roadmap-list span {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.launching-box {
  margin-top: 24px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-chip), var(--bg-card));
  border: 1.5px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-margin-top: 84px;
}

.launching-box h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
}

.launching-box p {
  margin: 0;
  color: var(--text-muted);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
 * FAQ Accordion (<details>/<summary>, zero JS)
 * -------------------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 750;
  font-size: 1.03rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ice);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.faq-answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding-block: 40px 48px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-subtle);
  max-width: 82ch;
}

/* --------------------------------------------------------------------------
 * 404 Page
 * -------------------------------------------------------------------------- */

.not-found {
  padding-block: 80px 96px;
}

.not-found-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.not-found-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ice);
  background: var(--bg-chip);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.not-found-card h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin-bottom: 14px;
}

.not-found-card p {
  margin: 0 auto 24px;
  color: var(--text-muted);
  max-width: 44ch;
}

/* --------------------------------------------------------------------------
 * Animations & Reduced Motion
 * -------------------------------------------------------------------------- */

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

@keyframes flow-dash {
  to { stroke-dashoffset: -36; }
}

@keyframes scene-live-cycle {
  0%, 31% { opacity: 1; }
  35%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scene-drop-cycle {
  0%, 31% { opacity: 0; }
  35%, 47% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes scene-brb-cycle {
  0%, 47% { opacity: 0; }
  51%, 77% { opacity: 1; }
  81%, 100% { opacity: 0; }
}

@keyframes scene-recover-cycle {
  0%, 77% { opacity: 0; }
  81%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes rail-1-hl {
  0%, 32% { border-color: var(--ice); background: var(--bg-chip); }
  36%, 96% { border-color: var(--border); background: var(--bg-surface); }
  100% { border-color: var(--ice); background: var(--bg-chip); }
}

@keyframes rail-2-hl {
  0%, 32% { border-color: var(--border); background: var(--bg-surface); }
  36%, 48% { border-color: var(--live); background: var(--live-soft-bg); }
  52%, 100% { border-color: var(--border); background: var(--bg-surface); }
}

@keyframes rail-3-hl {
  0%, 48% { border-color: var(--border); background: var(--bg-surface); }
  52%, 78% { border-color: var(--ice); background: var(--bg-chip); }
  82%, 100% { border-color: var(--border); background: var(--bg-surface); }
}

@keyframes rail-4-hl {
  0%, 78% { border-color: var(--border); background: var(--bg-surface); }
  82%, 96% { border-color: var(--ready-border); background: var(--ready-bg); }
  100% { border-color: var(--border); background: var(--bg-surface); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live-dot,
  .svg-pulse,
  .stage-scene,
  .rail-step {
    animation: none;
  }

  /* Show a clean static overview when reduced motion is enabled */
  .failover-stage {
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
  }

  .stage-scene {
    position: static;
    opacity: 1;
    padding: 18px 16px;
  }
}

/* --------------------------------------------------------------------------
 * Responsive Breakpoints
 * -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platforms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .failover-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav a {
    background: transparent;
    border-color: transparent;
  }

  .site-nav a:hover {
    background: var(--bg-card);
    border-color: var(--border);
  }

  .hero {
    padding-block: 68px 76px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
  }

  .section {
    padding-block: 76px;
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .irl-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
  }

  .failover-card {
    position: sticky;
    top: 88px;
  }

  .platforms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
