:root {
  --bg: oklch(8% 0.035 268);
  --bg-2: oklch(12% 0.045 266);
  --ink: oklch(96% 0.012 255);
  --muted: oklch(74% 0.045 263);
  --quiet: oklch(56% 0.045 260);
  --cyan: oklch(78% 0.17 205);
  --blue: oklch(68% 0.19 252);
  --violet: oklch(68% 0.21 296);
  --magenta: oklch(70% 0.2 330);
  --line: oklch(96% 0.01 260 / 0.14);
  --line-strong: oklch(88% 0.08 260 / 0.32);
  --surface: oklch(14% 0.052 267 / 0.72);
  --surface-2: oklch(18% 0.065 270 / 0.72);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
}

@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%,   oklch(28% 0.15 260 / 0.32), transparent 36rem),
    radial-gradient(circle at 95% 8%,   oklch(28% 0.19 303 / 0.28), transparent 34rem),
    radial-gradient(circle at 50% 100%, oklch(20% 0.12 290 / 0.22), transparent 38rem);
  color: var(--ink);
  font-family: Avenir Next, Avenir, Segoe UI, system-ui, sans-serif;
  overflow-x: clip;
}

main {
  overflow: clip;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--cyan);
  color: var(--bg);
}

#helix-gl {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(115deg, oklch(100% 0 0 / 0.03) 0 1px, transparent 1px 9px),
    radial-gradient(circle at center, transparent, oklch(0% 0 0 / 0.34));
  mix-blend-mode: screen;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, oklch(22% 0.09 266), transparent 34rem),
    var(--bg);
  transition: opacity 800ms var(--ease), transform 900ms var(--ease);
}

.intro.is-hidden {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.intro img {
  width: min(380px, 68vw);
  filter: drop-shadow(0 0 34px oklch(72% 0.18 260 / 0.45));
}

.intro-orbit {
  position: absolute;
  width: min(520px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from var(--spin), transparent, var(--cyan), var(--blue), var(--violet), var(--magenta), transparent 50%);
  mask: radial-gradient(circle, transparent 60%, black 61%, black 63%, transparent 64%);
  animation: spin 3.4s linear infinite;
  filter: drop-shadow(0 0 14px oklch(72% 0.18 205 / 0.5));
}

.intro-orbit::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: conic-gradient(from var(--spin), transparent, oklch(78% 0.17 205 / 0.3), transparent 40%);
  mask: radial-gradient(circle, transparent 60%, black 61%, black 63%, transparent 64%);
  animation: spin 7s linear infinite reverse;
}

.intro-line {
  position: absolute;
  bottom: 13vh;
  width: min(340px, 58vw);
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.intro-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  animation: loadLine 1.4s var(--ease) forwards;
}

.site-nav {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
}

.site-nav.is-scrolled {
  background: oklch(8% 0.035 268 / 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px oklch(78% 0.17 205 / 0.35));
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  position: relative;
  transition: color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  opacity: 0;
  transition: left 220ms var(--ease), right 220ms var(--ease), opacity 220ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  left: 0;
  right: 0;
  opacity: 1;
}

.nav-cta {
  justify-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: oklch(96% 0.012 255 / 0.08);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
}

.chapter-rail {
  position: fixed;
  right: clamp(16px, 3vw, 36px);
  top: 50%;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}

.chapter-rail a {
  position: relative;
  width: 52px;
  height: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.chapter-rail span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--quiet);
  transition: all 260ms var(--ease);
}

.chapter-rail a::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  color: var(--muted);
  font-size: 11px;
  opacity: 0;
  transform: translateX(8px);
  transition: all 260ms var(--ease);
  white-space: nowrap;
}

.chapter-rail a.is-active span,
.chapter-rail a:hover span {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-color: transparent;
  box-shadow: 0 0 20px oklch(72% 0.18 260 / 0.7);
}

.chapter-rail a:hover::before,
.chapter-rail a.is-active::before {
  opacity: 1;
  transform: none;
}

.section-shell {
  position: relative;
  scroll-margin-top: 92px;
  min-height: 100svh;
  width: min(var(--max), calc(100% - clamp(32px, 7vw, 96px)));
  margin: 0 auto;
  padding: clamp(110px, 16vh, 170px) 0;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 8vh -10vw auto;
  height: 48vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 30%, oklch(74% 0.19 205 / 0.26), transparent 26rem),
    radial-gradient(circle at 84% 24%, oklch(72% 0.22 306 / 0.22), transparent 30rem);
  opacity: 0.78;
  filter: blur(10px);
}

.is-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(clamp(20px, 5vw, 64px), calc((100vw - var(--max)) / 2));
}

.kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px oklch(78% 0.17 205 / 0.35);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(52px, 7.4vw, 106px);
  line-height: 0.93;
  letter-spacing: -0.058em;
  font-weight: 760;
}

h1 span,
h2 span {
  color: var(--cyan);
  text-shadow: 0 0 32px oklch(78% 0.17 205 / 0.45);
}

h2 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5.8vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  font-weight: 720;
}

h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.58;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(38px, 5vw, 84px);
  align-items: center;
  padding-top: 118px;
  min-height: 100svh;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lede {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 780;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--bg);
  box-shadow: 0 16px 48px -22px var(--cyan), 0 0 0 1px oklch(78% 0.17 205 / 0.28);
}

.button.primary:hover {
  background: linear-gradient(135deg, oklch(84% 0.18 205), var(--cyan));
  box-shadow: 0 22px 60px -18px var(--cyan), 0 0 0 1px oklch(78% 0.17 205 / 0.5);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: oklch(96% 0.012 255 / 0.06);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.hero-stage {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.orbital-ring {
  position: relative;
  width: min(510px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, oklch(20% 0.10 268 / 0.90), oklch(9% 0.045 268 / 0.56) 60%, transparent 62%),
    conic-gradient(from var(--spin), var(--magenta), var(--cyan), var(--blue), var(--violet), var(--magenta));
  filter: drop-shadow(0 0 22px oklch(72% 0.18 205 / 0.20));
}

.orbital-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid oklch(88% 0.1 260 / 0.18);
  background:
    radial-gradient(circle, oklch(8% 0.03 268 / 0.74), transparent 62%),
    repeating-radial-gradient(circle, oklch(82% 0.12 250 / 0.14) 0 1px, transparent 1px 14px);
}

.center-mark {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.center-mark img {
  width: 68px;
}

.center-mark img.logo-mark {
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px oklch(78% 0.17 205 / 0.5));
}

.center-mark strong {
  font-size: 32px;
  letter-spacing: 0.28em;
  text-shadow: 0 0 28px oklch(78% 0.17 205 / 0.55);
}

.center-mark span {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.orbit-item {
  position: absolute;
  z-index: 3;
  width: 178px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: oklch(12% 0.052 266 / 0.76);
  backdrop-filter: blur(12px);
}

.orbit-item b {
  display: block;
  color: var(--cyan);
  font-size: 34px;
  line-height: 1;
}

.orbit-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.oi-1 {
  left: -24px;
  top: 66px;
}

.oi-2 {
  right: -18px;
  top: 178px;
}

.oi-3 {
  left: 160px;
  bottom: -18px;
}

.voice-wave {
  position: absolute;
  right: 4%;
  bottom: 15%;
  display: flex;
  gap: 8px;
  align-items: center;
  opacity: 0.8;
}

.voice-wave i {
  width: 4px;
  height: 46px;
  border-radius: 99px;
  background: linear-gradient(var(--cyan), var(--violet));
  animation: wave 1.4s ease-in-out infinite;
  animation-delay: calc(var(--n, 1) * -110ms);
}

.voice-wave i:nth-child(2) { --n: 2; height: 72px; }
.voice-wave i:nth-child(3) { --n: 3; height: 96px; }
.voice-wave i:nth-child(4) { --n: 4; height: 58px; }
.voice-wave i:nth-child(5) { --n: 5; height: 118px; }
.voice-wave i:nth-child(6) { --n: 6; height: 86px; }
.voice-wave i:nth-child(7) { --n: 7; height: 128px; }
.voice-wave i:nth-child(8) { --n: 8; height: 64px; }
.voice-wave i:nth-child(9) { --n: 9; height: 92px; }
.voice-wave i:nth-child(10) { --n: 10; height: 70px; }
.voice-wave i:nth-child(11) { --n: 11; height: 104px; }

.hero-bottom {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-bottom i {
  width: 1px;
  height: 42px;
  background: linear-gradient(transparent, var(--cyan), transparent);
  animation: drop 1.8s var(--ease) infinite;
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(40px, 8vw, 86px);
}

.section-heading.narrow {
  max-width: 760px;
}

.problem-river {
  display: grid;
  gap: 24px;
}

.river-panel {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(260px, 0.85fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 999px 42px 42px 999px;
  background:
    linear-gradient(90deg, oklch(18% 0.08 205 / 0.62), oklch(13% 0.055 266 / 0.58)),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.river-panel:nth-child(2) {
  margin-left: clamp(0px, 8vw, 120px);
  border-radius: 42px 999px 999px 42px;
  background:
    linear-gradient(90deg, oklch(13% 0.055 266 / 0.58), oklch(18% 0.09 292 / 0.62)),
    var(--surface);
}

.river-panel span {
  color: var(--cyan);
  font-size: 44px;
  font-weight: 800;
}

.river-panel h3 {
  margin-bottom: 0;
}

.river-panel p {
  margin-bottom: 0;
}

.light-frame {
  position: relative;
  isolation: isolate;
}

.light-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1.2px;
  pointer-events: none;
  opacity: 0.72;
  background: conic-gradient(from var(--spin), transparent 0deg, var(--cyan) 52deg, var(--blue) 86deg, var(--violet) 126deg, transparent 175deg, transparent 360deg);
  mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0);
  mask-composite: exclude;
  animation: spin 5.6s linear infinite;
}

.light-frame:hover::after {
  opacity: 1;
}

.system-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, oklch(28% 0.13 286 / 0.24), transparent 24rem),
    var(--surface);
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
}

.system-copy p {
  max-width: 560px;
}

.system-constellation {
  position: relative;
  min-height: 480px;
}

.system-constellation svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.system-constellation path {
  fill: none;
  stroke: oklch(76% 0.14 250 / 0.34);
  stroke-width: 1.5;
  stroke-dasharray: 9 12;
  animation: dash 10s linear infinite;
}

.node {
  position: absolute;
  z-index: 2;
  width: min(240px, 42vw);
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: oklch(12% 0.05 266 / 0.8);
  backdrop-filter: blur(12px);
}

.node b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.node span {
  color: var(--muted);
  font-size: 13px;
}

.node-core {
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
}

.node-core img {
  width: 52px;
  margin-bottom: 10px;
}

.node-core img.logo-mark {
  width: auto;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px oklch(78% 0.17 205 / 0.4));
}

.node-admin {
  left: 2%;
  top: 8%;
}

.node-agent {
  right: 2%;
  bottom: 7%;
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 30px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.capability-band div {
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px 22px 48px 22px;
  background: oklch(13% 0.052 266 / 0.58);
  transition: border-color 300ms var(--ease), background 300ms var(--ease), transform 300ms var(--ease);
}

.capability-band div:hover {
  border-color: var(--line-strong);
  background: oklch(16% 0.065 266 / 0.72);
  transform: translateY(-3px);
}

.capability-band div:nth-child(even) {
  border-radius: 48px 22px 22px 22px;
}

.capability-band b {
  display: block;
  margin-bottom: 10px;
}

.capability-band span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.voice-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
}

.voice-orb {
  min-height: 560px;
  display: grid;
  place-items: center;
  border-radius: 46% 54% 58% 42% / 52% 43% 57% 48%;
  background:
    radial-gradient(circle, oklch(32% 0.14 288 / 0.32), transparent 48%),
    radial-gradient(circle at 38% 34%, oklch(74% 0.15 205 / 0.34), transparent 20rem),
    var(--surface);
  border: 1px solid var(--line);
}

.pulse-orb {
  position: relative;
  width: min(320px, 64vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, oklch(76% 0.17 205 / 0.2), transparent 42%),
    conic-gradient(from var(--spin), var(--cyan), var(--violet), var(--magenta), var(--cyan));
  animation: spin 8s linear infinite;
}

.pulse-orb span {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 1px solid oklch(96% 0.01 260 / 0.22);
  animation: pulse 2.8s var(--ease) infinite;
}

.pulse-orb span:nth-child(2) {
  inset: 8%;
  animation-delay: 320ms;
}

.pulse-orb span:nth-child(3) {
  inset: -5%;
  animation-delay: 640ms;
}

.call-status {
  position: absolute;
  display: grid;
  gap: 5px;
  text-align: center;
}

.call-status b {
  font-size: 34px;
}

.call-status span {
  color: var(--muted);
}

.voice-points {
  display: grid;
  gap: 20px;
}

.voice-points article {
  padding: 26px 0 26px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.voice-points article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 24px var(--cyan), 0 0 48px oklch(72% 0.18 205 / 0.3);
  animation: glowPulse 2.8s ease-in-out infinite;
}

.voice-points strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.03em;
}

.voice-points p {
  margin: 9px 0 0;
}

.industry-wheel {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 18px;
}

.industry-wheel article {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  transition: transform 380ms var(--ease), border-color 380ms var(--ease), box-shadow 380ms var(--ease);
}

.industry-wheel article:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px -16px oklch(72% 0.18 205 / 0.18);
}

.industry-wheel article::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(70% 0.18 205 / 0.22), transparent 62%);
}

.industry-wheel article:nth-child(1) {
  grid-column: span 7;
  border-radius: 80px 30px 30px 30px;
}

.industry-wheel article:nth-child(2) {
  grid-column: span 5;
  border-radius: 30px 100px 30px 30px;
}

.industry-wheel article:nth-child(3) {
  grid-column: span 4;
  border-radius: 30px 30px 30px 100px;
}

.industry-wheel article:nth-child(4) {
  grid-column: span 4;
  border-radius: 30px;
}

.industry-wheel article:nth-child(5) {
  grid-column: span 4;
  border-radius: 30px 30px 100px 30px;
}

.industry-wheel span {
  position: relative;
  color: var(--cyan);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.industry-wheel p {
  position: relative;
  margin: 10px 0 0;
  max-width: 42ch;
}

.impact-line {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: clamp(44px, 8vw, 90px);
}

.impact-line div {
  min-height: 190px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.impact-line b {
  display: block;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px oklch(72% 0.18 205 / 0.4));
}

.impact-line span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.compare-flow {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 80px minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
}

.compare-flow > div:not(.arrow-line) {
  min-height: 310px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.compare-flow .after {
  background:
    radial-gradient(circle at 0 0, oklch(72% 0.16 205 / 0.16), transparent 20rem),
    var(--surface-2);
}

.arrow-line {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  position: relative;
}

.arrow-line::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--violet);
  border-right: 2px solid var(--violet);
  transform: translateY(-50%) rotate(45deg);
}

.launch-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.launch-path::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 68px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet), var(--magenta));
}

.launch-path article {
  position: relative;
  min-height: 360px;
  padding: 138px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, oklch(16% 0.07 266 / 0.76), oklch(10% 0.035 268 / 0.8));
}

.launch-path span {
  position: absolute;
  top: 26px;
  left: 24px;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-size: 30px;
  font-weight: 800;
  animation: glowPulse 3.5s ease-in-out infinite;
  text-shadow: 0 0 18px var(--cyan);
}

.launch-path h3 {
  margin-bottom: 14px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(32px, 7vw, 76px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 0%, oklch(70% 0.2 296 / 0.22), transparent 28rem),
    radial-gradient(circle at 0% 100%, oklch(72% 0.18 205 / 0.18), transparent 26rem),
    var(--surface);
}

.contact-panel p {
  max-width: 640px;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: min(340px, 100%);
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13px;
}

.site-footer img {
  width: 108px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 240ms; }
.delay-3 { transition-delay: 360ms; }
.delay-4 { transition-delay: 480ms; }

.launch-path article:nth-child(1) { transition-delay: 60ms; }
.launch-path article:nth-child(2) { transition-delay: 150ms; }
.launch-path article:nth-child(3) { transition-delay: 240ms; }
.launch-path article:nth-child(4) { transition-delay: 330ms; }

.industry-wheel article:nth-child(1) { transition-delay: 40ms; }
.industry-wheel article:nth-child(2) { transition-delay: 110ms; }
.industry-wheel article:nth-child(3) { transition-delay: 180ms; }
.industry-wheel article:nth-child(4) { transition-delay: 250ms; }
.industry-wheel article:nth-child(5) { transition-delay: 320ms; }

@keyframes spin {
  to { --spin: 360deg; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 22px oklch(72% 0.18 250 / 0.28); }
  50%       { box-shadow: 0 0 44px oklch(72% 0.18 250 / 0.55); }
}

@keyframes loadLine {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.38); opacity: 0.42; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes drop {
  0% { transform: translateY(-18px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

@keyframes dash {
  to { stroke-dashoffset: -160; }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .system-map,
  .voice-layout,
  .contact-panel,
  .compare-flow {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 520px;
  }

  .river-panel,
  .river-panel:nth-child(2) {
    margin-left: 0;
    grid-template-columns: 1fr;
    border-radius: 32px;
  }

  .capability-band {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .impact-line,
  .launch-path {
    grid-template-columns: 1fr 1fr;
  }

  .launch-path::before,
  .arrow-line {
    display: none;
  }
}

@media (max-width: 720px) {
  .chapter-rail {
    display: none;
  }

  .section-shell,
  .is-dark {
    width: min(100% - 32px, var(--max));
    padding-inline: 0;
  }

  .hero {
    padding-top: 108px;
    padding-bottom: 86px;
    gap: 34px;
    min-height: 100svh;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
    line-height: 0.94;
  }

  .hero-stage {
    position: absolute;
    right: -132px;
    bottom: -72px;
    z-index: 0;
    min-height: 0;
    width: 330px;
    opacity: 0.62;
    pointer-events: none;
  }

  .orbital-ring {
    width: 330px;
  }

  .orbit-item {
    display: none;
  }

  .orbital-ring {
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 0;
  }

  .center-mark {
    position: relative;
    top: auto;
  }

  .center-mark strong {
    font-size: 22px;
  }

  .center-mark img {
    width: 48px;
  }

  .voice-wave {
    display: none;
  }

  .system-constellation {
    min-height: 520px;
  }

  .node {
    width: calc(100% - 30px);
  }

  .node-admin,
  .node-agent,
  .node-core {
    left: 15px;
    right: auto;
    transform: none;
  }

  .node-admin { top: 25px; }
  .node-core { top: 190px; }
  .node-agent { bottom: 25px; }

  .industry-wheel,
  .impact-line,
  .launch-path,
  .capability-band {
    grid-template-columns: 1fr;
  }

  .industry-wheel article,
  .industry-wheel article:nth-child(n) {
    grid-column: auto;
    border-radius: 30px;
  }

  .voice-orb {
    min-height: 430px;
  }

  .contact-actions {
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Logo rules requested for Helix:
   - browser tab uses the icon asset from index.html
   - full HelixLogo appears only in navbar and intro
   - in-page logo placements use the icon mark */
.intro img.intro-logo {
  width: min(560px, 76vw);
  height: auto;
  object-fit: contain;
}

.brand img {
  height: 44px;
  max-width: 230px;
}

.center-mark img.logo-icon {
  height: 74px;
  width: 74px;
  object-fit: contain;
}

.node-core img.logo-icon {
  height: 58px;
  width: 58px;
  object-fit: contain;
}

.site-footer img.footer-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px oklch(78% 0.17 205 / 0.4));
}

@media (max-width: 720px) {
  .brand img { height: 38px; max-width: 190px; }
  .intro img.intro-logo { width: min(440px, 82vw); }
  .center-mark img.logo-icon { height: 58px; width: 58px; }
}
