:root {
  --ink: #0b0e12;
  --ink-soft: #5a6573;
  --mist: #e8eef2;
  --mist-2: #d2dde6;
  --paper: #f4f7f9;
  --emerald: #00c896;
  --emerald-deep: #009e76;
  --berry: #ef3b7a;
  --berry-deep: #c41f5a;
  --graphite: #12161c;
  --graphite-2: #1a212b;
  --line: rgba(11, 14, 18, 0.14);
  --line-light: rgba(244, 247, 249, 0.14);
  --radius: 2px;
  --shadow: 0 28px 60px rgba(11, 14, 18, 0.22);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --shell: min(1180px, calc(100% - 2 * clamp(1.1rem, 4vw, 2.4rem)));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 200, 150, 0.1), transparent 55%),
    radial-gradient(900px 420px at 95% 8%, rgba(239, 59, 122, 0.07), transparent 50%),
    linear-gradient(180deg, #dce6ed 0%, var(--mist) 28%, #e7edf1 55%, var(--mist-2) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--emerald-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--berry-deep);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* ——— Header (dark craft chrome) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.brand-copy small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.16em;
  margin-top: 0.28rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  color: var(--emerald);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--berry);
  margin-right: 0.35rem;
}

.nav-cta {
  background: var(--emerald) !important;
  color: var(--ink) !important;
  padding: 0.58rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.88rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: #fff !important;
  color: var(--ink) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.policy-back {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.policy-back:hover,
.policy-back:focus-visible {
  background: var(--emerald);
  color: var(--ink);
  border-color: var(--emerald);
}

.policy-body {
  max-width: 44rem;
}

.policy-body h3 {
  margin: 2.2rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.policy-body p,
.policy-body li {
  color: var(--ink-soft);
}

.policy-body ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.policy-toc {
  margin: 1.6rem 0 0;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-left: 3px solid var(--emerald);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.policy-toc ol {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
}

.policy-toc a {
  text-decoration: none;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: var(--emerald);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 150, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 150, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 14, 18, 0.45) 0%, rgba(11, 14, 18, 0.28) 38%, rgba(11, 14, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 14, 18, 0.88) 0%, rgba(11, 14, 18, 0.45) 42%, transparent 72%),
    radial-gradient(600px 280px at 18% 80%, rgba(0, 200, 150, 0.22), transparent 70%);
}

.rail-chrome {
  position: absolute;
  right: max(1.2rem, 5vw);
  top: 28%;
  z-index: 1;
}

.rail-panel {
  padding: 1rem 1.1rem 1.15rem;
  background: rgba(11, 14, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.rail-panel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.rail-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(3.2rem, 1fr));
  gap: 0.65rem;
}

.lamp-slot {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
}

.lamp-slot b {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.lamp {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3a4450;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lamp.live {
  background: var(--emerald);
  box-shadow: 0 0 16px rgba(0, 200, 150, 0.85);
  animation: lamp-pulse 2.4s ease-in-out infinite;
}

.lamp.berry {
  background: var(--berry);
  box-shadow: 0 0 16px rgba(239, 59, 122, 0.8);
  animation: lamp-pulse 2.8s ease-in-out infinite;
}

.lamp.delay {
  animation-delay: 0.4s;
}

.lamp.delay-2 {
  animation-delay: 0.9s;
}

@keyframes lamp-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 4.2rem;
  display: grid;
  gap: clamp(1.4rem, 3vh, 2.4rem);
}

.hero-brand {
  display: grid;
  gap: 0.35rem;
}

.hero-logo {
  width: clamp(200px, 28vw, 360px);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
}

.hero-word {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.2rem, 16vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: word-breathe 7s ease-in-out infinite;
}

@keyframes word-breathe {
  0%,
  100% {
    letter-spacing: 0.04em;
  }
  50% {
    letter-spacing: 0.055em;
  }
}

.hero-copy {
  max-width: 34rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 16ch;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--emerald);
  letter-spacing: 0;
  display: inline;
}

.hero-lede {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38ch;
}

.hero-meter {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem var(--shell);
  margin-inline: auto;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border-top: 1px solid var(--line-light);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
}

.hero-meter-pulse {
  color: var(--emerald);
  margin-left: auto;
  animation: lamp-pulse 2.2s ease-in-out infinite;
}

/* ——— Tape marquee ——— */
.tape {
  overflow: hidden;
  background: var(--ink);
  border-block: 1px solid rgba(0, 200, 150, 0.25);
  color: #fff;
}

.tape-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: tape-run 28s linear infinite;
}

.tape-track b {
  color: var(--berry);
  font-weight: 500;
}

@keyframes tape-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ——— Chapters ——— */
.chapter {
  padding: clamp(3.8rem, 8vw, 5.5rem) 0;
}

.chapter-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--emerald-deep);
}

.chapter-label span {
  color: var(--ink-soft);
}

.chapter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 14ch;
}

.chapter h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--berry-deep);
  letter-spacing: 0;
}

.bounds-chapter h2 em {
  color: var(--emerald);
}

.lede {
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.rail-chapter {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(0, 200, 150, 0.06) 47px,
      rgba(0, 200, 150, 0.06) 48px
    );
}

.rail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.4rem;
  align-items: center;
}

.rail-serpent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.rail-serpent img {
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(11, 14, 18, 0.18));
}

.rail-stripes {
  width: min(100%, 440px);
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--emerald) 0 18px,
    var(--ink) 18px 28px,
    var(--berry) 28px 40px,
    transparent 40px 52px
  );
  border-radius: 99px;
  opacity: 0.85;
}

/* ——— Channel list ——— */
.channels-chapter {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4) 40%, transparent);
}

.channel-list {
  margin-top: 2.4rem;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.channel-row {
  display: grid;
  grid-template-columns: 1rem 4.8rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding-left 0.2s var(--ease);
}

.channel-row:hover {
  background: rgba(0, 200, 150, 0.06);
  padding-left: 0.75rem;
}

.channel-lamp {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(0, 200, 150, 0.55);
}

.channel-lamp.berry {
  background: var(--berry);
  box-shadow: 0 0 10px rgba(239, 59, 122, 0.5);
}

.channel-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--berry-deep);
  padding-top: 0.35rem;
  letter-spacing: 0.06em;
}

.channel-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.channel-row p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ——— Packages ——— */
.packages {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.package {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-top: 3px solid var(--emerald);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.4rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease, color 0.2s ease;
}

.package:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--emerald);
  color: inherit;
}

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

.package.is-selected,
.package.featured {
  background: var(--graphite);
  color: #fff;
  border-color: var(--graphite);
  border-top-color: var(--berry);
  box-shadow: var(--shadow);
}

.package.is-selected:hover,
.package.featured:hover {
  color: #fff;
  border-color: var(--berry);
  transform: none;
}

.package.is-selected .pkg-code,
.package.is-selected .pkg-note,
.package.is-selected li,
.package.featured .pkg-code,
.package.featured .pkg-note,
.package.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.pkg-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--emerald-deep);
}

.package h3 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pkg-price {
  margin: 0.55rem 0 0.9rem;
  font-size: 1rem;
}

.pkg-price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.package ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.package li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 0.9rem;
  position: relative;
}

.package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--emerald);
  border-radius: 1px;
}

.package.is-selected li::before,
.package.featured li::before {
  background: var(--berry);
}

.pkg-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.pkg-cta {
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-deep);
}

.package:hover .pkg-cta {
  color: var(--berry-deep);
}

.package.is-selected .pkg-cta,
.package.featured .pkg-cta {
  color: var(--emerald);
}

/* ——— Channel Stack console ——— */
.stack-chapter {
  background:
    linear-gradient(135deg, rgba(0, 200, 150, 0.1), transparent 42%),
    linear-gradient(180deg, var(--graphite) 0%, #151b24 100%);
  color: #fff;
}

.stack-chapter .chapter-label {
  color: var(--emerald);
}

.stack-chapter .chapter-label span,
.stack-chapter .lede {
  color: rgba(255, 255, 255, 0.62);
}

.stack-chapter h2 em {
  color: var(--emerald);
}

.channel-stack {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 0.85rem;
  align-items: stretch;
  position: relative;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.console-led {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  display: flex;
  gap: 0.35rem;
}

.console-led i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(0, 200, 150, 0.7);
  animation: lamp-pulse 2s ease-in-out infinite;
}

.console-led i:nth-child(2) {
  background: #f5c542;
  box-shadow: 0 0 8px rgba(245, 197, 66, 0.6);
  animation-delay: 0.3s;
}

.console-led i:nth-child(3) {
  background: var(--berry);
  box-shadow: 0 0 8px rgba(239, 59, 122, 0.6);
  animation-delay: 0.6s;
}

.stack-controls,
.stack-rail,
.stack-readout {
  background: rgba(11, 14, 18, 0.55);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.stack-hint,
.stack-head {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.stack-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.channel-toggles {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.toggle input {
  accent-color: var(--emerald);
  width: 1rem;
  height: 1rem;
}

.stack-lanes {
  display: grid;
  gap: 0.55rem;
  min-height: 12rem;
}

.lane-strip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid transparent;
  border-left: 3px solid var(--emerald);
  border-radius: var(--radius);
  cursor: pointer;
  animation: lane-in 0.35s ease both;
  transition: background 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.lane-strip:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.12);
}

.lane-strip:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.lane-strip.call,
.lane-strip.comms {
  border-left-color: var(--berry);
  background: rgba(239, 59, 122, 0.1);
}

.lane-strip.is-off {
  opacity: 0.38;
  background: rgba(255, 255, 255, 0.04);
  border-left-color: rgba(255, 255, 255, 0.22);
}

.lane-strip.is-off .dot {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.lane-strip.is-on {
  opacity: 1;
}

.lane-strip .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(0, 200, 150, 0.55);
}

.lane-strip.call .dot,
.lane-strip.comms .dot {
  background: var(--berry);
  box-shadow: 0 0 8px rgba(239, 59, 122, 0.5);
}

.lane-strip .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #fff;
}

@keyframes lane-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.readout-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--emerald);
}

.stack-readout h3 {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.readout-price {
  margin: 0.5rem 0;
  font-weight: 600;
  color: #fff;
}

.readout-copy {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.stack-readout .btn-primary {
  width: 100%;
}

/* ——— Method / bounds / FAQ / desk ——— */
.method-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
}

.method-steps {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.2rem;
}

.method-steps li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--berry);
  padding-top: 0.15rem;
}

.method-steps h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.method-steps p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.method-figure {
  margin: 0;
  position: relative;
}

.method-figure::before {
  content: "";
  position: absolute;
  inset: 12% -6% -6% 12%;
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.25), rgba(239, 59, 122, 0.18));
  z-index: 0;
}

.method-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.method-figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.bounds-chapter {
  background:
    radial-gradient(700px 280px at 80% 20%, rgba(239, 59, 122, 0.18), transparent 60%),
    linear-gradient(160deg, #0b0e12, #151b24 55%, #10151c);
  color: #fff;
}

.bounds-chapter .chapter-label {
  color: var(--emerald);
}

.bounds-chapter .chapter-label span {
  color: rgba(255, 255, 255, 0.45);
}

.bounds-grid {
  display: grid;
  gap: 1.5rem;
}

.bounds-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.bounds-cols h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bounds-cols ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 0.45rem;
}

.faq {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.55rem;
}

.faq details {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq details[open] {
  border-left-color: var(--emerald);
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  list-style: none;
}

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

.faq details[open] summary {
  color: var(--emerald-deep);
}

.faq p {
  margin: 0.7rem 0 0.2rem;
  color: var(--ink-soft);
}

.desk-chapter {
  background:
    linear-gradient(180deg, rgba(0, 200, 150, 0.08), transparent 40%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(11, 14, 18, 0.04) 47px,
      rgba(11, 14, 18, 0.04) 48px
    );
}

.desk-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.desk-meta {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.desk-meta li {
  display: grid;
  gap: 0.15rem;
}

.desk-meta span:first-child {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.desk-form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--emerald);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 1px;
  background: #fff;
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
}

.form-status.is-ok {
  color: var(--emerald-deep);
}

.form-status.is-err {
  color: var(--berry-deep);
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.8rem 0 3rem;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
}

.footer-inner strong {
  font-family: var(--font-display);
}

.footer-brand img {
  width: min(260px, 72vw);
  height: auto;
  display: block;
}

.footer-inner p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.footer-contact {
  display: grid;
  gap: 0.3rem;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--emerald);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--emerald);
}

.footer-industry {
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 0.8rem !important;
}

/* ——— Responsive ——— */
@media (max-width: 1060px) {
  .packages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .channel-stack,
  .method-grid,
  .desk-grid,
  .bounds-cols,
  .rail-layout {
    grid-template-columns: 1fr;
  }

  .rail-serpent {
    align-items: flex-start;
  }

  .rail-chrome {
    top: 5.6rem;
    bottom: auto;
    right: 1rem;
    left: auto;
    max-width: min(52vw, 220px);
  }

  .rail-panel {
    padding: 0.7rem 0.75rem;
  }

  .rail-bar {
    gap: 0.4rem;
  }

  .hero-word {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }
}

@media (max-width: 760px) {
  .policy-toc ol {
    columns: 1;
  }

  .header-actions .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-light);
    padding: 0.5rem 1.2rem 1rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line-light);
  }

  .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }

  .hero-inner {
    padding-top: 5.5rem;
    padding-bottom: 3.2rem;
  }

  .hero-logo {
    width: min(70vw, 260px);
  }

  /* Keep first viewport clean on small screens — panel lives on desktop */
  .hero-stage .rail-chrome {
    display: none;
  }

  .channel-row {
    grid-template-columns: 1rem 1fr;
    gap: 0.55rem 0.75rem;
  }

  .channel-code {
    grid-column: 2;
    padding-top: 0;
  }

  .channel-row > div {
    grid-column: 2;
  }

  .packages {
    grid-template-columns: 1fr;
  }

  .hero-meter-pulse {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .packages {
    grid-template-columns: 1fr;
  }
}

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

  .btn:hover,
  .package:hover {
    transform: none;
  }

  .lamp.live,
  .lamp.berry,
  .lane-strip,
  .hero-word,
  .hero-meter-pulse,
  .console-led i,
  .tape-track {
    animation: none;
  }

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