/* ==========================================================================
   MacMiniHire — Hardware-Precision Technical Editorial Stylesheet (V2)
   Zero external resources. System font stack. Flagship Dark + Crisp Light.
   ========================================================================== */

:root {
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Light theme: warm architectural stone paper + crisp international terracotta */
  --bg: #F5F5F1;
  --bg-tinted: #ECECE6;
  --surface: #FFFFFF;
  --surface-subtle: #F1F1EB;
  --surface-elevated: #FFFFFF;
  --border: #D4D4CA;
  --border-strong: #B4B4A7;
  --border-specular: rgba(255, 255, 255, 0.9);

  --text: #141518;
  --text-secondary: #43474F;
  --text-muted: #555A65;

  --accent: #B83E18;
  --accent-hover: #9B3212;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(184, 62, 24, 0.10);
  --accent-glow: rgba(184, 62, 24, 0.22);

  /* 3D Studio Stage (Light — warm stone sweep so silver aluminum has strong figure-ground contrast) */
  --stage-bg: radial-gradient(ellipse 82% 72% at 50% 44%, #EAEAE3 0%, #DFDFD6 58%, #D3D3C8 100%);
  --stage-grid: rgba(20, 21, 24, 0.06);
  --stage-border: #C6C6BA;
  --stage-glow-opacity: 0.72;
  --stage-glow-bg:
    radial-gradient(circle at 68% 36%, rgba(184, 62, 24, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55) 0%, transparent 56%);
  --callout-bg: rgba(255, 255, 255, 0.94);
  --callout-border: rgba(20, 21, 24, 0.16);
  --callout-line: rgba(20, 21, 24, 0.44);
  --callout-dot-ring: #FFFFFF;
  --callout-shadow: 0 4px 14px rgba(20, 21, 24, 0.08);
  --hud-bg: rgba(255, 255, 255, 0.80);

  /* Terminal: matte obsidian (non-neon, high contrast on light paper) */
  --term-bg: #161920;
  --term-bar: #1E222B;
  --term-border: #2E3440;
  --term-text: #ECEEF2;
  --term-muted: #9DA5B4;
  --term-accent: #F38B64;
  --term-key: #9CC0E4;
  --term-str: #E2D0A4;
  --term-val: #F2F4F7;
  --term-dot: #464E5D;
  --term-shadow: 0 14px 34px rgba(20, 21, 24, 0.14), 0 1px 3px rgba(20, 21, 24, 0.08);

  --shadow-sm: 0 1px 2px rgba(17, 18, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(17, 18, 20, 0.09);
  --shadow-lg: 0 22px 54px rgba(17, 18, 20, 0.11);

  --radius-sm: 6px;
  --radius-md: 11px;
  --radius-lg: 16px;

  --container-max: 1140px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0E11;
    --bg-tinted: #111318;
    --surface: #15181E;
    --surface-subtle: #1C2028;
    --surface-elevated: #1A1E26;
    --border: #252932;
    --border-strong: #373D4A;
    --border-specular: rgba(255, 255, 255, 0.07);

    --text: #EFF1F4;
    --text-secondary: #B0B7C3;
    --text-muted: #8890A0;

    --accent: #E8704A;
    --accent-hover: #F38663;
    --accent-ink: #0E1013;
    --accent-soft: rgba(232, 112, 74, 0.14);
    --accent-glow: rgba(232, 112, 74, 0.28);

    /* 3D Studio Stage (Dark — flagship moody anodized showcase) */
    --stage-bg: radial-gradient(ellipse 75% 68% at 50% 42%, #1D212A 0%, #12141A 56%, #0B0D10 100%);
    --stage-grid: rgba(255, 255, 255, 0.045);
    --stage-border: #282D38;
    --stage-glow-opacity: 1;
    --stage-glow-bg:
      radial-gradient(circle at 68% 36%, rgba(232, 112, 74, 0.16) 0%, transparent 48%),
      radial-gradient(circle at 30% 24%, rgba(164, 184, 212, 0.14) 0%, transparent 52%);
    --callout-bg: rgba(18, 21, 27, 0.88);
    --callout-border: rgba(255, 255, 255, 0.15);
    --callout-line: rgba(255, 255, 255, 0.36);
    --callout-dot-ring: #0C0E11;
    --callout-shadow: 0 4px 14px rgba(0, 0, 0, 0.38);
    --hud-bg: rgba(21, 24, 30, 0.64);

    --term-bg: #0B0D10;
    --term-bar: #12151B;
    --term-border: #262B35;
    --term-dot: #363C47;
    --term-shadow: 0 16px 40px rgba(0, 0, 0, 0.46);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.36);
    --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.46);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.62);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

a:hover {
  color: var(--accent-hover);
}

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

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--bg), 0 4px 16px var(--accent-glow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

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

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

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 7px;
  }

  .brand-name {
    font-size: 15px;
  }

  .header-actions {
    gap: 10px;
  }

  .btn-sm {
    padding: 7px 11px;
    font-size: 13px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

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

.brand-mark {
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
}

.site-nav a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-mobile-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

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

@media (min-width: 860px) {
  .site-nav {
    display: flex;
  }

  .nav-mobile-link {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.22s ease, transform 0.16s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
  box-shadow: 0 6px 22px var(--accent-glow);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 var(--border-specular);
}

.btn-secondary:hover {
  background-color: var(--surface-subtle);
  border-color: var(--text-muted);
  color: var(--text);
}

/* ==========================================================================
   Hero + Core Features Sticky 3D Showcase Band
   ========================================================================== */
.showcase-band {
  position: relative;
  border-bottom: 1px solid var(--border);
  background-image:
    radial-gradient(ellipse 65% 45% at 72% 18%, var(--accent-soft), transparent 72%),
    radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "hero-copy"
    "stage"
    "features";
  gap: 28px;
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero-copy {
  grid-area: hero-copy;
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.stage-column {
  grid-area: stage;
  min-width: 0;
}

.features-block {
  grid-area: features;
  min-width: 0;
  padding-top: 12px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

@media (min-width: 960px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.18fr);
    grid-template-areas:
      "hero-copy stage"
      "features  stage";
    gap: 44px 52px;
    padding-top: clamp(3rem, 5.5vw, 4.5rem);
    padding-bottom: clamp(4.5rem, 8vw, 6.5rem);
  }

  .hero-copy {
    min-height: calc(min(84vh, 640px) - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 24px;
  }

  .features-block {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .stage-sticky {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

@media (min-width: 960px) and (max-height: 540px) {
  .stage-sticky {
    position: static;
  }

  .hero-copy {
    min-height: auto;
  }
}

/* Hero Copy Styling */
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--border-specular);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  width: fit-content;
  max-width: 100%;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-glow);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: dot-pulse 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes dot-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.75);
    opacity: 0;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.032em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.55vw, 1.125rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 31em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.hero-specs {
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.hero-spec-item {
  min-width: 0;
}

.hero-spec-item dt {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.hero-spec-item dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

@media (max-width: 420px) {
  .hero-specs {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero-spec-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 10px;
  }

  .hero-spec-item dt {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   3D Mac mini M4 Interactive Stage
   ========================================================================== */
.model-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--stage-bg);
  border: 1px solid var(--stage-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--border-specular);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.model-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--stage-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--stage-grid) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 48%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 48%, #000 18%, transparent 82%);
}

.stage-glow {
  position: absolute;
  inset: -12% -10% auto -10%;
  height: 75%;
  pointer-events: none;
  opacity: var(--stage-glow-opacity);
  background: var(--stage-glow-bg);
}

.stage-meta-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stage-badge {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-angle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--callout-bg);
  border: 1px solid var(--callout-border);
  color: var(--text);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stage-angle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.model-viewport {
  position: relative;
  width: 100%;
  height: 310px;
  min-height: 280px;
}

@media (min-width: 560px) {
  .model-viewport {
    height: 390px;
  }
}

@media (min-width: 960px) {
  .model-viewport {
    height: clamp(300px, calc(100vh - var(--header-h) - 176px), 560px);
  }

  @supports (height: 100svh) {
    .model-viewport {
      height: clamp(300px, calc(100svh - var(--header-h) - 176px), 560px);
    }
  }
}

#mac-mini-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: grab;
  /* Critical for mobile: allow native vertical page scroll while supporting horizontal drag */
  touch-action: pan-y;
}

#mac-mini-canvas[hidden],
.model-callouts[hidden] {
  display: none;
}

.model-stage.is-dragging #mac-mini-canvas {
  cursor: grabbing;
}

/* 3D Projected Callout Layer */
.model-callouts {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.callout-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.callout-lines line {
  stroke: var(--callout-line);
  stroke-width: 1.15;
  stroke-dasharray: 2.5 3;
  opacity: 0;
}

.callout-lines circle {
  fill: var(--accent);
  stroke: var(--callout-dot-ring);
  stroke-width: 1.6;
  opacity: 0;
}

.callout-chip {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 10px;
  max-width: calc(100% - 20px);
  border-radius: var(--radius-sm);
  background: var(--callout-bg);
  border: 1px solid var(--callout-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--callout-shadow);
  opacity: 0;
  will-change: transform, opacity;
  white-space: nowrap;
}

.callout-chip-accent {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--callout-border));
}

.callout-k {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.25;
}

.callout-chip-accent .callout-k {
  color: var(--accent);
}

.callout-v {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.model-callouts.is-compact .callout-chip {
  padding: 4px 8px;
}

.model-callouts.is-compact .callout-k {
  font-size: 9.5px;
}

.model-callouts.is-compact .callout-v {
  font-size: 11px;
}

/* WebGL Fallback SVG */
.mac-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 8px;
}

.mac-fallback[hidden] {
  display: none;
}

.mac-fallback-svg {
  width: min(360px, 88%);
  height: auto;
}

.fallback-caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* Stage Bottom HUD */
.stage-hud {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border);
  background: var(--hud-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stage-hud[hidden] {
  display: none;
}

@media (max-width: 380px) {
  .stage-meta-top {
    padding: 12px 12px 0;
    font-size: 10px;
  }

  .stage-hud {
    padding: 10px 12px 12px;
    gap: 8px 10px;
  }
}

.stage-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-muted);
}

.hint-desktop {
  display: none;
}

.hint-mobile {
  display: inline;
}

@media (min-width: 960px) {
  .hint-desktop {
    display: inline;
  }

  .hint-mobile {
    display: none;
  }
}

.stage-presets {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.stage-preset-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 550;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.stage-preset-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.stage-preset-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--surface);
}

.stage-preset-btn.is-active,
.stage-preset-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 380px) {
  .stage-preset-btn {
    padding: 5px 8px;
    font-size: 11.5px;
  }
}

/* Features Stack inside Showcase */
.features-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.feature-card.is-in-focus {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  box-shadow: inset 3px 0 0 var(--accent), var(--shadow-md);
}

/* ==========================================================================
   Telemetry / Live Route & Terminal Band
   ========================================================================== */
.telemetry-band {
  background: var(--bg);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .telemetry-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
  }
}

.telemetry-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.telemetry-copy .section-desc {
  margin-bottom: 24px;
}

/* Terminal Component */
.terminal {
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: var(--radius-md);
  box-shadow: var(--term-shadow);
  overflow: hidden;
  min-width: 0;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--term-bar);
  border-bottom: 1px solid var(--term-border);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--term-dot);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--term-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.terminal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--term-muted);
  border: 1px solid var(--term-border);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.copy-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--term-text);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--term-text) 24%, var(--term-border));
  border-radius: 4px;
  padding: 3px 9px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-btn:hover {
  border-color: var(--term-accent);
  color: var(--term-accent);
}

.copy-btn:focus-visible {
  outline: 2px solid var(--term-accent);
  outline-offset: 2px;
}

.terminal-body {
  padding: 16px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.terminal-body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--term-text);
}

.t-prompt {
  color: var(--term-accent);
  font-weight: 600;
}

.t-muted {
  color: var(--term-muted);
}

.t-key {
  color: var(--term-key);
}

.t-str {
  color: var(--term-str);
}

.t-val {
  color: var(--term-val);
}

.t-accent {
  color: var(--term-accent);
  font-weight: 600;
}

.t-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--term-accent);
  opacity: 0.85;
  animation: cursor-blink 1.15s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%, 49% { opacity: 0.85; }
  50%, 100% { opacity: 0; }
}

/* Route Strip with Flowing Signal Animation */
.route-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.18fr);
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--border-specular);
}

.route-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.route-node-head {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.route-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}

.route-dot-relay {
  background: var(--text-secondary);
}

.route-dot-accent {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.route-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.route-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
  padding-left: 14px;
}

.route-node-accent .route-label {
  color: var(--accent);
}

.route-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
}

.route-flow {
  stroke-dasharray: 10 38;
  stroke-dashoffset: 48;
  animation: route-signal 2.2s linear infinite;
}

.route-flow-delay {
  animation-delay: 1.1s;
}

@keyframes route-signal {
  0% {
    stroke-dashoffset: 48;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -12;
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .route-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .route-arrow {
    display: none;
  }

  .route-node {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 10px;
    padding-bottom: 9px;
    border-bottom: 1px dashed var(--border);
  }

  .route-sub {
    padding-left: 0;
  }

  .route-node:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

/* ==========================================================================
   General Sections & Cards
   ========================================================================== */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-tinted {
  background-color: var(--bg-tinted);
}

.section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 42rem;
}

.section-index {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.022em;
  color: var(--text);
}

.section-desc {
  margin: 12px 0 0;
  font-size: 15.5px;
  color: var(--text-secondary);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 780px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--border-specular);
  min-width: 0;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--border-specular);
  }
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.icon-box {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text);
  margin-bottom: 18px;
}

/* Developer Workflow (Tabs + Terminal) */
.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (min-width: 880px) {
  .workflow-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
  }
}

.workflow-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.workflow-tab {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 1px 0 var(--border-specular);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.workflow-tab:hover {
  border-color: var(--border-strong);
}

.workflow-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-color: var(--accent);
}

.workflow-tab.is-active,
.workflow-tab[aria-selected="true"] {
  border-color: var(--accent);
  box-shadow: inset 3px 0 0 var(--accent), var(--shadow-sm);
}

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

.tab-title {
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
}

.tab-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.badge-accent,
.badge-neutral {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.badge-accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-neutral {
  background: var(--surface-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.workflow-panels {
  min-width: 0;
}

.workflow-terminal[hidden] {
  display: none;
}

.workflow-terminal.is-entering {
  animation: panel-fade 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Audience List */
.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.audience-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

@media (max-width: 380px) {
  .audience-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }
}

.audience-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 3px;
}

.audience-body h3 {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 650;
  color: var(--text);
}

.audience-body p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 46rem;
}

/* Verify Section & Direct Broadband Route SVG */
.verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (min-width: 880px) {
  .verify-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .diagram-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.verify-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.verify-card {
  padding: 20px 22px;
}

.verify-card strong {
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.diagram-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--border-specular);
  min-width: 0;
}

@media (max-width: 380px) {
  .diagram-card {
    padding: 14px;
  }
}

.diagram-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

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

.dr-signal {
  stroke-dasharray: 10 38;
  stroke-dashoffset: 48;
  animation: dr-flow 2.4s linear infinite;
}

.dr-signal-delay {
  animation-delay: 1.2s;
}

@keyframes dr-flow {
  0% {
    stroke-dashoffset: 48;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -10;
    opacity: 0;
  }
}

/* Pricing (Single Centered Plan Card) */
.pricing-section-head {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-single {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "offer"
    "includes"
    "cta";
  background: var(--surface-elevated);
  border: 1px solid color-mix(in srgb, var(--accent) 58%, var(--border-strong));
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px var(--accent-soft), var(--shadow-md), inset 0 1px 0 var(--border-specular);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.pricing-single::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 32%, transparent) 100%);
}

@media (hover: hover) {
  .pricing-single:hover {
    border-color: var(--accent);
  }
}

.pricing-single-offer {
  grid-area: offer;
  min-width: 0;
  padding: 28px 22px 22px;
}

.pricing-single-offer h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.tier-price-block {
  margin-bottom: 14px;
}

.tier-price {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 2.55rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tier-unit {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
  white-space: nowrap;
}

.tier-subprice {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 550;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.tier-summary {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.pricing-single-includes {
  grid-area: includes;
  min-width: 0;
  padding: 22px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.pricing-list-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}

.check-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-single-cta {
  grid-area: cta;
  min-width: 0;
  padding: 0 22px 26px;
  background: var(--surface);
}

.tier-cta {
  width: 100%;
}

@media (min-width: 760px) {
  .pricing-single {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "offer includes"
      "cta   includes";
  }

  .pricing-single-offer {
    padding: 36px 34px 20px;
  }

  .pricing-single-includes {
    padding: 36px 36px;
    border-top: none;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pricing-single-cta {
    padding: 12px 34px 36px;
    background: transparent;
    align-self: end;
  }
}

.pricing-footnote {
  max-width: 840px;
  margin: 20px auto 0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--border-specular);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 380px) {
  .pricing-section-head {
    text-align: left;
  }

  .pricing-single-offer {
    padding: 22px 16px 18px;
  }

  .pricing-single-includes {
    padding: 18px 16px;
  }

  .pricing-single-cta {
    padding: 0 16px 22px;
  }

  .pricing-footnote {
    padding: 11px 12px;
    font-size: 13px;
    text-align: left;
  }
}

/* Order Flow (4-Step Process inside Pricing Section) */
.order-flow {
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--border);
}

.order-flow-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
}

.order-flow-head .section-index {
  margin-bottom: 6px;
}

.order-flow-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.order-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.order-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--border-specular);
  min-width: 0;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) {
  .order-step:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--border-specular);
  }
}

.order-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.order-step-body {
  min-width: 0;
}

.order-step-body h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.order-step-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 560px) {
  .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .order-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px;
  }

  .order-step-num {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-top: 0;
  }

  .order-step-num::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
  }
}

@media (min-width: 880px) {
  .order-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .order-step {
    padding: 22px 20px;
  }
}

@media (max-width: 380px) {
  .order-flow-head {
    text-align: left;
  }

  .order-step {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 14px;
  }
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color 0.16s ease;
}

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

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.22s ease, color 0.22s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 22px;
}

.faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.faq-item-boundary summary {
  color: var(--text);
}

/* Contact / Trial CTA */
.contact-section {
  background-color: var(--bg-tinted);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--border-specular);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card.is-highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 12px 32px var(--accent-glow);
}

@media (min-width: 780px) {
  .contact-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
  }
}

.contact-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.contact-copy p:last-child {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-list {
  margin: 0;
  padding: 18px 20px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.contact-row dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.contact-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

/* Footer */
.site-footer {
  padding: 36px 0 44px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-domain {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-sep {
  color: var(--border-strong);
}

.footer-disclaimer {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Restrained Scroll-Reveal Motion (Progressive Enhancement)
   Only active when JS adds .has-reveal to <html> and reduced motion is off.
   ========================================================================== */
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  html.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .status-dot::after,
  .route-flow,
  .dr-signal,
  .t-cursor {
    animation: none !important;
  }

  .route-flow,
  .dr-signal {
    opacity: 0;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
