/* =========================================================
   逻辑手记 / Visual System
   Self-contained, responsive, motion-aware.
   ========================================================= */

:root {
  --bg: #07080b;
  --bg-soft: #0b0d12;
  --panel: rgba(15, 18, 25, 0.62);
  --panel-strong: rgba(18, 22, 30, 0.86);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.065);
  --text: #f1f3f7;
  --muted: #9299a9;
  --muted-2: #656c7b;
  --acid: #a8ffdc;
  --acid-2: #6fffc4;
  --violet: #9ca8ff;
  --blue: #62b9ff;
  --danger: #ff9b91;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 74px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1.28, 0.46, 1);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 255, 220, 0.34) var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(116, 139, 255, 0.1), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(168, 255, 220, 0.24);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: 100px;
  background: rgba(168, 255, 220, 0.34);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 255, 220, 0.55);
}

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

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

.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;
}

.noscript {
  position: fixed;
  inset: 0 0 auto;
  z-index: 99999;
  padding: 12px 20px;
  background: #11151d;
  color: #fff;
  text-align: center;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-inline: auto;
}

.glass-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  backdrop-filter: blur(22px) saturate(1.18);
}

/* ---------- Ambient layers ---------- */

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.68;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.48;
}

.aurora__blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.aurora__blob--a {
  top: -18%;
  left: 12%;
  width: 42vw;
  height: 42vw;
  background: rgba(116, 130, 255, 0.14);
  animation: auroraA 18s ease-in-out infinite alternate;
}

.aurora__blob--b {
  top: 28%;
  right: -18%;
  width: 38vw;
  height: 38vw;
  background: rgba(101, 255, 201, 0.1);
  animation: auroraB 24s ease-in-out infinite alternate;
}

.aurora__blob--c {
  bottom: -18%;
  left: 24%;
  width: 34vw;
  height: 34vw;
  background: rgba(76, 174, 255, 0.08);
  animation: auroraC 21s ease-in-out infinite alternate;
}

.grid-plane {
  position: fixed;
  right: -12vw;
  bottom: -38vh;
  z-index: 0;
  width: 82vw;
  height: 80vh;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(168, 255, 220, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 220, 0.22) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(650px) rotateX(66deg) rotateZ(-12deg);
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 70%);
  mask-image: radial-gradient(circle at center, #000, transparent 70%);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--acid), var(--violet));
  box-shadow: 0 0 18px rgba(168, 255, 220, 0.72);
  transform-origin: left;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    width 180ms var(--ease-out),
    height 180ms var(--ease-out),
    border-color 180ms,
    background-color 180ms,
    opacity 250ms;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(168, 255, 220, 0.5);
  background: rgba(168, 255, 220, 0.02);
  -webkit-backdrop-filter: invert(0.05);
  backdrop-filter: invert(0.05);
}

body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring {
  opacity: 1;
}

body.cursor-active .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(168, 255, 220, 0.8);
  background: rgba(168, 255, 220, 0.08);
}

/* ---------- Loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  background: #06070a;
  transition:
    opacity 850ms var(--ease-out),
    visibility 850ms;
}

.loader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__core {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
}

.loader__mark {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.loader__orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(168, 255, 220, 0.23);
  border-radius: 50%;
}

.loader__orbit::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
}

.loader__orbit--one {
  animation: spin 2.2s linear infinite;
}

.loader__orbit--two {
  inset: 18px;
  border-style: dashed;
  border-color: rgba(156, 168, 255, 0.36);
  animation: spinReverse 3.6s linear infinite;
}

.loader__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  text-align: center;
}

.loader__copy strong {
  font-size: 18px;
  letter-spacing: 0.22em;
}

.loader__copy span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 500;
  width: var(--shell);
  margin-inline: auto;
  transition: transform 500ms var(--ease-out);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 30px));
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 18px 0 22px;
  border-radius: 20px;
  transition:
    background-color 350ms,
    border-color 350ms,
    min-height 350ms var(--ease-out);
}

.site-header.is-compact .header-shell {
  min-height: 62px;
  background: rgba(9, 11, 15, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
}

.brand__symbol {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

.brand__symbol::before,
.brand__symbol::after,
.brand__symbol span {
  content: "";
  position: absolute;
  border: 1px solid rgba(168, 255, 220, 0.65);
  border-radius: 50%;
}

.brand__symbol::before {
  inset: 0;
  animation: spin 14s linear infinite;
  border-left-color: transparent;
}

.brand__symbol::after {
  inset: 6px;
  border-color: rgba(156, 168, 255, 0.78);
  border-bottom-color: transparent;
  animation: spinReverse 9s linear infinite;
}

.brand__symbol span:nth-child(1) {
  width: 4px;
  height: 4px;
  border: 0;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.brand__symbol span:nth-child(2),
.brand__symbol span:nth-child(3) {
  display: none;
}

.brand__name {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.desktop-nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: color 250ms, background-color 250ms;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 300ms var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.system-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid-2);
  box-shadow: 0 0 10px var(--acid-2);
  animation: statusPulse 2s ease-out infinite;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(168, 255, 220, 0.32);
  border-radius: 11px;
  background: rgba(168, 255, 220, 0.08);
  color: var(--acid);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition:
    color 250ms,
    background-color 250ms,
    border-color 250ms,
    box-shadow 250ms;
}

.header-cta:hover {
  border-color: rgba(168, 255, 220, 0.65);
  background: var(--acid);
  color: #07110d;
  box-shadow: 0 0 28px rgba(168, 255, 220, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 300ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  display: none;
  overflow: hidden;
  padding: 10px;
  border-radius: 18px;
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  transform-origin: top;
  visibility: hidden;
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out),
    visibility 300ms;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav a span {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  min-height: 100svh;
  padding-top: 138px;
  padding-bottom: 58px;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 52%;
  left: -23vw;
  width: 48vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 255, 220, 0.24), transparent);
  transform: rotate(-18deg);
}

.hero__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: clamp(28px, 5vh, 62px);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 13px var(--acid);
  animation: statusPulse 2.1s ease-out infinite;
}

.signal-line {
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

.hero__signal time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 84px);
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hero__eyebrow i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
}

.hero__title {
  margin: 0;
  font-size: clamp(64px, 7.4vw, 116px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.title-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.08em 0.07em 0;
  opacity: 0;
  transform: translateY(105%) rotate(2deg);
  transform-origin: left bottom;
  transition:
    opacity 950ms var(--ease-out),
    transform 950ms var(--ease-out);
}

.title-line.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.title-line--accent {
  background: linear-gradient(102deg, var(--acid) 0%, #d5fff0 31%, var(--violet) 68%, #8bd0ff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textGradient 7s linear infinite;
}

.hero__lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #adb3c0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: hidden;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.08em;
  transition:
    transform 300ms var(--ease-out),
    border-color 300ms,
    background-color 300ms,
    color 300ms,
    box-shadow 300ms;
}

.button::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -40%;
  width: 30%;
  height: 300%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(24deg);
  transition: left 700ms var(--ease-out);
}

.button:hover::before {
  left: 115%;
}

.button--primary {
  background: var(--acid);
  color: #06120d;
  box-shadow: 0 14px 42px rgba(118, 255, 204, 0.13);
}

.button--primary:hover {
  box-shadow: 0 20px 60px rgba(118, 255, 204, 0.22);
}

.button--primary svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 260ms var(--ease-out);
}

.button--primary:hover svg {
  transform: translateX(4px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.025);
  color: #d3d7df;
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button__index {
  color: var(--acid);
  font-size: 17px;
}

.hero__metrics {
  display: flex;
  gap: clamp(28px, 4vw, 60px);
  margin: clamp(42px, 7vh, 78px) 0 0;
}

.hero__metrics div {
  position: relative;
}

.hero__metrics div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2px;
  right: clamp(-30px, -2vw, -14px);
  width: 1px;
  height: 44px;
  background: linear-gradient(transparent, var(--line), transparent);
}

.hero__metrics dt {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.hero__metrics dt strong {
  font-weight: 500;
}

.hero__metrics dt span {
  margin-left: 2px;
  color: var(--acid);
  font-size: 12px;
}

.hero__metrics dd {
  margin: 3px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  isolation: isolate;
  perspective: 1000px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 168, 255, 0.08), transparent 63%);
  box-shadow:
    inset 0 0 80px rgba(156, 168, 255, 0.05),
    0 0 120px rgba(156, 168, 255, 0.05);
}

.hero__visual::after {
  content: "";
  position: absolute;
  width: 105%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 255, 220, 0.26), transparent);
  transform: rotate(-26deg);
}

.logic-orbit {
  position: relative;
  z-index: 2;
  width: min(33vw, 430px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease-out);
}

.logic-orbit__halo {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(168, 255, 220, 0.18);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.logic-orbit__halo::before,
.logic-orbit__halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.logic-orbit__halo::before {
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}

.logic-orbit__halo::after {
  right: 9%;
  bottom: 13%;
  width: 5px;
  height: 5px;
  background: var(--violet);
  box-shadow: 0 0 14px var(--violet);
}

.logic-orbit__halo--one {
  animation: spin 14s linear infinite;
}

.logic-orbit__halo--two {
  inset: 17%;
  border-style: dashed;
  border-color: rgba(156, 168, 255, 0.25);
  transform: rotateX(62deg);
  animation: spinTilt 10s linear infinite;
}

.logic-orbit__halo--three {
  inset: 27%;
  border-color: rgba(255, 255, 255, 0.16);
  transform: rotateY(68deg);
  animation: spinTiltReverse 8s linear infinite;
}

.logic-orbit__axis {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.logic-orbit__axis--y {
  transform: rotate(90deg);
}

.logic-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 126px;
  height: 126px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(168, 255, 220, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle, rgba(168, 255, 220, 0.1), rgba(9, 13, 18, 0.88) 66%);
  box-shadow:
    0 0 0 14px rgba(168, 255, 220, 0.02),
    0 0 72px rgba(168, 255, 220, 0.15),
    inset 0 0 34px rgba(168, 255, 220, 0.08);
  transform: translate(-50%, -50%);
}

.logic-core::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: spinReverse 13s linear infinite;
}

.logic-core__scan {
  position: absolute;
  top: -10%;
  right: 50%;
  width: 50%;
  height: 60%;
  background: linear-gradient(45deg, transparent 45%, rgba(168, 255, 220, 0.18));
  transform-origin: right bottom;
  animation: radarSweep 4s linear infinite;
}

.logic-core__label {
  position: relative;
  z-index: 2;
  margin-top: -14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 48px;
  font-weight: 300;
  text-shadow: 0 0 28px rgba(168, 255, 220, 0.5);
}

.logic-core small {
  position: absolute;
  bottom: 25px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-align: center;
}

.logic-orbit__node {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 10, 14, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  animation: nodeFloat 4s ease-in-out infinite;
}

.logic-orbit__node::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(168, 255, 220, 0.08);
  border-radius: 50%;
}

.logic-orbit__node span {
  font-size: 8px;
  letter-spacing: 0.08em;
}

.logic-orbit__node--a {
  top: 7%;
  left: 25%;
}

.logic-orbit__node--b {
  top: 26%;
  right: 3%;
  animation-delay: -1s;
}

.logic-orbit__node--c {
  right: 22%;
  bottom: 6%;
  animation-delay: -2s;
}

.logic-orbit__node--d {
  bottom: 18%;
  left: 2%;
  animation-delay: -3s;
}

.visual-card {
  position: absolute;
  z-index: 5;
  border-radius: 15px;
  transition: transform 350ms var(--ease-out);
}

.visual-card--top {
  top: 12%;
  right: -4%;
  width: 168px;
  padding: 14px;
}

.visual-card--top strong {
  display: block;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 500;
}

.visual-card--bottom {
  bottom: 10%;
  left: -3%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 13px 15px;
}

.visual-card--bottom strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 550;
}

.visual-card__label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.13em;
}

.waveform {
  display: flex;
  height: 26px;
  align-items: center;
  gap: 3px;
  margin-top: 9px;
}

.waveform i {
  display: block;
  width: 2px;
  height: 30%;
  border-radius: 3px;
  background: linear-gradient(var(--acid), var(--violet));
  animation: wave 1.2s ease-in-out infinite alternate;
}

.waveform i:nth-child(2) { animation-delay: -0.2s; }
.waveform i:nth-child(3) { animation-delay: -0.5s; }
.waveform i:nth-child(4) { animation-delay: -0.7s; }
.waveform i:nth-child(5) { animation-delay: -0.1s; }
.waveform i:nth-child(6) { animation-delay: -0.9s; }
.waveform i:nth-child(7) { animation-delay: -0.4s; }
.waveform i:nth-child(8) { animation-delay: -0.8s; }
.waveform i:nth-child(9) { animation-delay: -0.25s; }
.waveform i:nth-child(10) { animation-delay: -0.65s; }
.waveform i:nth-child(11) { animation-delay: -0.05s; }
.waveform i:nth-child(12) { animation-delay: -0.75s; }

.radar-mini {
  position: relative;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(168, 255, 220, 0.25);
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(168, 255, 220, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 220, 0.1) 1px, transparent 1px);
  background-size: 50% 50%;
}

.radar-mini::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(168, 255, 220, 0.12);
  border-radius: 50%;
}

.radar-mini span {
  position: absolute;
  right: 50%;
  bottom: 50%;
  width: 50%;
  height: 50%;
  background: linear-gradient(45deg, transparent, rgba(168, 255, 220, 0.32));
  transform-origin: right bottom;
  animation: radarSweep 3s linear infinite;
}

.radar-mini i,
.radar-mini b {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 7px var(--acid);
}

.radar-mini i {
  top: 10px;
  right: 9px;
}

.radar-mini b {
  bottom: 8px;
  left: 11px;
}

.coordinate {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

.coordinate--left {
  top: 28%;
  left: 3%;
}

.coordinate--right {
  right: 2%;
  bottom: 30%;
}

.scroll-cue {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateX(-100%);
  animation: scanLine 2s ease-in-out infinite;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
  transform: rotate(-1.4deg) scale(1.02);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 26s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 21px 20px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.34em;
  white-space: nowrap;
}

.ticker__track i {
  color: var(--acid);
  font-size: 9px;
  font-style: normal;
  text-shadow: 0 0 12px var(--acid);
}

/* ---------- Shared section heading ---------- */

.section-heading {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 60px;
}

.section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 40px;
}

.section-heading__index {
  margin-bottom: 18px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.section-heading__index::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(168, 255, 220, 0.6);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.13;
}

.section-heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.section-heading p {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.section-heading--split > p {
  margin: 0 0 5px;
}

/* ---------- Method ---------- */

.method {
  padding-top: clamp(150px, 19vw, 250px);
  padding-bottom: 120px;
}

.method::before {
  content: "METHOD / 01";
  position: absolute;
  top: 12%;
  right: -4%;
  color: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(90px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.07em;
  white-space: nowrap;
  pointer-events: none;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  perspective: 1200px;
}

.method-card {
  position: relative;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  transition:
    border-color 350ms,
    background-color 350ms,
    box-shadow 350ms,
    transform 180ms ease-out;
}

.method-card::before {
  content: "";
  position: absolute;
  top: var(--glow-y, 50%);
  left: var(--glow-x, 50%);
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 255, 220, 0.11), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 300ms;
}

.method-card:hover {
  border-color: rgba(168, 255, 220, 0.3);
  background-color: rgba(18, 23, 29, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(168, 255, 220, 0.04);
}

.method-card:hover::before {
  opacity: 1;
}

.method-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  transform: translateZ(26px);
}

.method-card__top > span {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.method-card__icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.method-card__icon::before,
.method-card__icon::after {
  content: "";
  position: absolute;
}

.method-card__icon--eye::before {
  top: 17px;
  left: 10px;
  width: 26px;
  height: 13px;
  border: 1px solid var(--acid);
  border-radius: 50% 0 50% 0;
  transform: rotate(-45deg);
}

.method-card__icon--eye::after {
  top: 21px;
  left: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.method-card__icon--split::before {
  top: 12px;
  left: 15px;
  width: 16px;
  height: 24px;
  border-left: 1px solid var(--acid);
  border-right: 1px solid var(--violet);
  transform: skew(-14deg);
}

.method-card__icon--split::after {
  top: 23px;
  left: 11px;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), var(--violet));
}

.method-card__icon--verify::before {
  top: 13px;
  left: 13px;
  width: 19px;
  height: 11px;
  border-bottom: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
  transform: rotate(-45deg);
}

.method-card__icon--verify::after {
  inset: 8px;
  border: 1px dashed rgba(156, 168, 255, 0.48);
  border-radius: 50%;
  animation: spin 7s linear infinite;
}

.method-card__icon--iterate::before {
  inset: 10px;
  border: 1px solid var(--acid);
  border-left-color: transparent;
  border-radius: 50%;
}

.method-card__icon--iterate::after {
  top: 8px;
  left: 11px;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
  transform: rotate(-25deg);
}

.method-card > div:nth-child(2) {
  position: relative;
  z-index: 2;
  transform: translateZ(34px);
}

.method-card small {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.method-card h3 {
  margin: 8px 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.method-card__trace {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  height: 22px;
  align-items: center;
  gap: 4px;
  opacity: 0.22;
}

.method-card__trace::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--acid), transparent);
}

.method-card__trace span,
.method-card__trace i,
.method-card__trace b {
  position: relative;
  z-index: 2;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

.method-card__trace i {
  margin-left: 29%;
}

.method-card__trace b {
  margin-left: auto;
}

/* ---------- Statement ---------- */

.statement {
  padding: 70px 0 150px;
}

.statement__frame {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(30px, 6vw, 78px);
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(168, 255, 220, 0.08), transparent 46%),
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.05) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, rgba(255, 255, 255, 0.05) 50%, transparent 50.1%);
  background-size: auto, 100% 100%, 100% 100%;
}

.statement__frame::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(168, 255, 220, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(168, 255, 220, 0.02),
    0 0 0 100px rgba(168, 255, 220, 0.012);
  transform: translate(-50%, -50%);
  animation: breathe 5s ease-in-out infinite;
}

.statement__frame p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(36px, 5.2vw, 76px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.28;
  text-align: center;
}

.statement__frame p::first-letter {
  color: var(--acid);
}

.statement__meta {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.statement__corner {
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 24px;
  border-color: rgba(168, 255, 220, 0.42);
  border-style: solid;
}

.statement__corner--tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.statement__corner--tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.statement__corner--bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.statement__corner--br {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

/* ---------- Matrix ---------- */

.matrix {
  padding: 120px 0 160px;
}

.matrix-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  perspective: 1200px;
}

.matrix-stage__lines {
  position: absolute;
  inset: -40px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
}

.matrix-stage__lines::before,
.matrix-stage__lines::after,
.matrix-stage__lines i {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(168, 255, 220, 0.4), transparent);
}

.matrix-stage__lines::before {
  top: 31%;
  right: 0;
  left: 0;
  height: 1px;
}

.matrix-stage__lines::after {
  top: 67%;
  right: 0;
  left: 0;
  height: 1px;
}

.matrix-stage__lines i {
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(168, 255, 220, 0.35), transparent);
}

.matrix-stage__lines i:nth-child(1) { left: 20%; }
.matrix-stage__lines i:nth-child(2) { left: 40%; }
.matrix-stage__lines i:nth-child(3) { left: 60%; }
.matrix-stage__lines i:nth-child(4) { left: 80%; }
.matrix-stage__lines i:nth-child(5) { left: 50%; }

.matrix-card {
  position: relative;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  flex-direction: column;
  transform-style: preserve-3d;
  transition:
    border-color 300ms,
    background-color 300ms,
    transform 180ms ease-out;
}

.matrix-card:hover {
  border-color: rgba(156, 168, 255, 0.34);
  background-color: rgba(18, 21, 30, 0.78);
}

.matrix-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(156, 168, 255, 0.1), transparent 35%);
  opacity: 0;
  transition: opacity 300ms;
}

.matrix-card:hover::before {
  opacity: 1;
}

.matrix-card--wide {
  grid-column: span 2;
}

.matrix-card__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  transform: translateZ(20px);
}

.matrix-card__header span {
  color: var(--acid);
}

.matrix-card__header i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line), transparent);
}

.matrix-card h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 7px;
  font-size: 22px;
  font-weight: 580;
  letter-spacing: -0.035em;
  transform: translateZ(28px);
}

.matrix-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  transform: translateZ(24px);
}

.causal-map {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 58px 0 30px;
  transform: translateZ(38px);
}

.causal-map div {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(168, 255, 220, 0.2);
  border-radius: 50%;
  background: rgba(168, 255, 220, 0.025);
  box-shadow: inset 0 0 22px rgba(168, 255, 220, 0.03);
}

.causal-map b {
  margin-bottom: -8px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 400;
}

.causal-map span {
  color: var(--muted);
  font-size: 9px;
}

.causal-map > i {
  position: relative;
  display: block;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 255, 220, 0.2), var(--acid));
}

.causal-map > i::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--acid);
  border-right: 1px solid var(--acid);
  transform: rotate(45deg);
}

.data-bars {
  display: flex;
  height: 116px;
  align-items: flex-end;
  gap: 7px;
  margin: 48px 8px 28px;
  transform: translateZ(34px);
}

.data-bars i {
  display: block;
  height: var(--h, 30%);
  flex: 1;
  border: 1px solid rgba(168, 255, 220, 0.22);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(168, 255, 220, 0.02), rgba(168, 255, 220, 0.2));
  transform-origin: bottom;
  animation: barBreathe 3s ease-in-out infinite alternate;
}

.data-bars i:nth-child(1) { --h: 25%; animation-delay: -1s; }
.data-bars i:nth-child(2) { --h: 48%; animation-delay: -2s; }
.data-bars i:nth-child(3) { --h: 38%; animation-delay: -0.6s; }
.data-bars i:nth-child(4) { --h: 72%; animation-delay: -1.4s; }
.data-bars i:nth-child(5) { --h: 58%; animation-delay: -2.4s; }
.data-bars i:nth-child(6) { --h: 92%; animation-delay: -0.2s; }

.inversion-symbol {
  display: flex;
  height: 140px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  transform: translateZ(34px);
}

.inversion-symbol span {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 40px;
  font-weight: 200;
}

.inversion-symbol span:last-child {
  color: var(--violet);
}

.inversion-symbol i {
  width: 1px;
  height: 72px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.3), transparent);
}

.ripple-symbol {
  position: relative;
  height: 145px;
  margin-top: 28px;
  transform: translateZ(30px);
}

.ripple-symbol span,
.ripple-symbol i,
.ripple-symbol b {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(168, 255, 220, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 3s ease-out infinite;
}

.ripple-symbol span { width: 30px; height: 30px; }
.ripple-symbol i { width: 70px; height: 70px; animation-delay: -1s; }
.ripple-symbol b { width: 112px; height: 112px; animation-delay: -2s; }

.boundary-symbol {
  position: relative;
  height: 145px;
  margin-top: 28px;
  transform: translateZ(30px);
}

.boundary-symbol::before,
.boundary-symbol::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(transparent, var(--acid), transparent);
}

.boundary-symbol::before { left: 30%; }
.boundary-symbol::after { right: 30%; }

.boundary-symbol span {
  position: absolute;
  top: 50%;
  right: 30%;
  left: 30%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.boundary-symbol span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  animation: scanLine 2.2s ease-in-out infinite;
}

.boundary-symbol i {
  position: absolute;
  top: calc(50% - 4px);
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 16px var(--violet);
  animation: boundaryMove 4s ease-in-out infinite alternate;
}

.decision-loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 70px 0 52px;
  transform: translateZ(34px);
}

.decision-loop span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(156, 168, 255, 0.25);
  border-radius: 50%;
  background: rgba(156, 168, 255, 0.035);
  font-size: 10px;
}

.decision-loop i {
  color: var(--acid);
  font-style: normal;
}

/* ---------- Notes ---------- */

.notes {
  padding: 120px 0 170px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px auto;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(168, 255, 220, 0.28);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
  transition: color 250ms, border-color 250ms;
}

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

.text-link span {
  font-size: 15px;
}

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

.note-row {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  grid-template-columns: 70px minmax(0, 1fr) 220px 44px;
  align-items: center;
  gap: 26px;
  padding: 25px 20px 25px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 420ms var(--ease-out),
    background-color 320ms,
    border-color 320ms;
}

.note-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(168, 255, 220, 0.055), rgba(156, 168, 255, 0.025), transparent 80%);
  opacity: 0;
  transform: scaleX(0.65);
  transform-origin: left;
  transition:
    opacity 350ms,
    transform 550ms var(--ease-out);
}

.note-row:hover {
  padding-left: 18px;
  border-color: rgba(168, 255, 220, 0.22);
}

.note-row:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.note-row__index {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.note-row__main {
  position: relative;
  z-index: 2;
}

.note-row__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.note-row__meta span {
  color: var(--acid);
}

.note-row__meta span::after {
  content: "/";
  margin-left: 12px;
  color: var(--muted-2);
}

.note-row h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(21px, 2.4vw, 32px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.35;
  transition: color 300ms;
}

.note-row:hover h3 {
  color: var(--acid);
}

.note-row p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.note-row__visual {
  position: relative;
  height: 128px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(255, 255, 255, 0.018);
  background-size: 18px 18px;
  transition:
    border-color 300ms,
    transform 500ms var(--ease-out);
}

.note-row:hover .note-row__visual {
  border-color: rgba(168, 255, 220, 0.24);
  transform: scale(1.035) rotate(-1deg);
}

.note-row__visual--one span,
.note-row__visual--one i,
.note-row__visual--one b {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(168, 255, 220, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.note-row__visual--one span { width: 30px; height: 30px; }
.note-row__visual--one i { width: 66px; height: 66px; }
.note-row__visual--one b { width: 102px; height: 102px; border-style: dashed; animation: spin 12s linear infinite; }

.note-row__visual--two span,
.note-row__visual--two i,
.note-row__visual--two b {
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 22px;
  background: linear-gradient(to top, rgba(156, 168, 255, 0.08), rgba(168, 255, 220, 0.32));
  transform: skew(-18deg);
}

.note-row__visual--two span { left: 30%; height: 40%; top: auto; }
.note-row__visual--two i { left: 48%; height: 70%; top: auto; }
.note-row__visual--two b { left: 66%; height: 92%; top: auto; }

.note-row__visual--three span,
.note-row__visual--three i,
.note-row__visual--three b {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(168, 255, 220, 0.26);
  transform: rotate(45deg);
}

.note-row__visual--three span { top: 34px; left: 44px; }
.note-row__visual--three i { top: 34px; left: 84px; border-color: rgba(156, 168, 255, 0.3); }
.note-row__visual--three b { top: 34px; left: 124px; }

.note-row__arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    color 300ms,
    border-color 300ms,
    background-color 300ms,
    transform 420ms var(--ease-spring);
}

.note-row:hover .note-row__arrow {
  border-color: var(--acid);
  background: var(--acid);
  color: #07110d;
  transform: rotate(45deg);
}

/* ---------- Lab ---------- */

.lab {
  padding: 110px 0 170px;
}

.lab::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -25vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(156, 168, 255, 0.05);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(156, 168, 255, 0.018),
    0 0 0 180px rgba(156, 168, 255, 0.01);
  pointer-events: none;
}

.lab-console {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%),
    rgba(9, 12, 17, 0.84);
}

.lab-console__topbar {
  display: grid;
  min-height: 54px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.lab-console__topbar > div {
  display: flex;
  gap: 7px;
}

.lab-console__topbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.lab-console__topbar i:nth-child(1) { background: rgba(255, 155, 145, 0.68); }
.lab-console__topbar i:nth-child(2) { background: rgba(255, 221, 134, 0.68); }
.lab-console__topbar i:nth-child(3) { background: rgba(168, 255, 220, 0.68); }

.lab-console__topbar > span,
.lab-console__topbar > small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.lab-console__topbar > small {
  justify-self: end;
  color: var(--acid);
}

.lab-console__topbar > small::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 9px var(--acid);
}

.lab-console__body {
  display: grid;
  min-height: 590px;
  grid-template-columns: 0.9fr 1.1fr;
}

.lab-controls {
  padding: clamp(26px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.lab-controls__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.lab-controls__header button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.1em;
  transition: color 250ms;
}

.lab-controls__header button:hover {
  color: var(--acid);
}

.range-control {
  display: block;
  margin-bottom: 38px;
}

.range-control > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.range-control b {
  font-size: 14px;
  font-weight: 520;
}

.range-control output {
  min-width: 36px;
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.range-control input {
  --range-progress: 50%;
  width: 100%;
  height: 4px;
  margin: 0;
  border-radius: 10px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--acid) var(--range-progress), rgba(255, 255, 255, 0.1) var(--range-progress));
}

.range-control input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #0b1013;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--acid);
  box-shadow: 0 0 0 1px rgba(168, 255, 220, 0.55), 0 0 18px rgba(168, 255, 220, 0.45);
  cursor: grab;
  transition: transform 160ms;
}

.range-control input::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}

.range-control input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 4px solid #0b1013;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 1px rgba(168, 255, 220, 0.55), 0 0 18px rgba(168, 255, 220, 0.45);
  cursor: grab;
}

.lab-rule {
  margin-top: 52px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
}

.lab-rule span {
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.lab-rule p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.7;
}

.lab-output {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 48px;
  place-items: center;
  isolation: isolate;
}

.lab-output::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(168, 255, 220, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(168, 255, 220, 0.018),
    0 0 0 140px rgba(156, 168, 255, 0.01);
  transform: translate(-50%, -50%);
}

.lab-output__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(168, 255, 220, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 220, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  transform: perspective(700px) rotateX(58deg) scale(1.35);
}

.confidence-orb {
  position: relative;
  display: grid;
  width: 240px;
  height: 240px;
  place-items: center;
  border: 1px solid rgba(168, 255, 220, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.09), transparent 20%),
    radial-gradient(circle, rgba(168, 255, 220, calc(var(--confidence, 0.38) * 0.18)), rgba(9, 13, 18, 0.84) 65%);
  box-shadow:
    inset 0 0 60px rgba(168, 255, 220, 0.05),
    0 0 calc(25px + var(--confidence, 0.38) * 90px) rgba(168, 255, 220, calc(var(--confidence, 0.38) * 0.18));
  transition:
    box-shadow 500ms var(--ease-out),
    background 500ms var(--ease-out),
    border-color 500ms;
}

.confidence-orb::before,
.confidence-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.confidence-orb::before {
  inset: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 16s linear infinite;
}

.confidence-orb::after {
  inset: 42px;
  border: 1px solid rgba(156, 168, 255, 0.12);
}

.confidence-orb__ring {
  position: absolute;
  inset: -18px;
  border: 1px solid transparent;
  border-top-color: rgba(168, 255, 220, 0.55);
  border-right-color: rgba(168, 255, 220, 0.1);
  border-radius: 50%;
  animation: spin 7s linear infinite;
}

.confidence-orb__ring--two {
  inset: -34px;
  border-top-color: rgba(156, 168, 255, 0.4);
  border-right-color: transparent;
  animation: spinReverse 11s linear infinite;
}

.confidence-orb > div {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
}

.confidence-orb small {
  position: absolute;
  top: -17px;
  left: 50%;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.13em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.confidence-orb strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 62px;
  font-weight: 280;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.confidence-orb > div > span {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.decision-readout {
  margin-top: 46px;
  text-align: center;
}

.decision-readout > span {
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.decision-readout strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 560;
}

.decision-readout p {
  max-width: 400px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 12px;
}

.output-bars {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  display: flex;
  height: 26px;
  align-items: flex-end;
  gap: 4px;
  opacity: 0.22;
}

.output-bars i {
  display: block;
  height: 20%;
  flex: 1;
  background: var(--acid);
  animation: outputWave 1.4s ease-in-out infinite alternate;
}

.output-bars i:nth-child(2) { animation-delay: -0.2s; }
.output-bars i:nth-child(3) { animation-delay: -0.8s; }
.output-bars i:nth-child(4) { animation-delay: -0.4s; }
.output-bars i:nth-child(5) { animation-delay: -1.1s; }
.output-bars i:nth-child(6) { animation-delay: -0.6s; }
.output-bars i:nth-child(7) { animation-delay: -0.1s; }
.output-bars i:nth-child(8) { animation-delay: -0.9s; }
.output-bars i:nth-child(9) { animation-delay: -0.5s; }
.output-bars i:nth-child(10) { animation-delay: -1.2s; }

/* ---------- Contact ---------- */

.contact {
  padding: 80px 0 150px;
}

.contact-card {
  position: relative;
  display: grid;
  min-height: 580px;
  overflow: hidden;
  padding: clamp(38px, 7vw, 88px);
  border: 1px solid rgba(168, 255, 220, 0.18);
  border-radius: var(--radius-lg);
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 255, 220, 0.09), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(156, 168, 255, 0.09), transparent 34%),
    rgba(10, 13, 18, 0.84);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(168, 255, 220, 0.1);
  border-radius: 50%;
}

.contact-card::before {
  right: -180px;
  bottom: -250px;
  width: 600px;
  height: 600px;
}

.contact-card::after {
  top: -210px;
  left: -160px;
  width: 470px;
  height: 470px;
}

.contact-card__grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(168, 255, 220, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 255, 220, 0.13) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.contact-card__beam {
  position: absolute;
  top: -30%;
  left: 20%;
  width: 1px;
  height: 160%;
  background: linear-gradient(transparent, var(--acid), transparent);
  box-shadow: 0 0 30px rgba(168, 255, 220, 0.4);
  opacity: 0.34;
  transform: rotate(24deg);
  animation: beamMove 7s ease-in-out infinite alternate;
}

.contact-card__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 820px;
  text-align: center;
}

.contact-card__eyebrow {
  color: var(--acid);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.contact-card h2 {
  margin: 24px 0 18px;
  font-size: clamp(54px, 7.6vw, 104px);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.contact-card h2 span {
  background: linear-gradient(100deg, var(--acid), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.subscribe-form {
  display: grid;
  max-width: 610px;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 38px auto 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    border-color 300ms,
    box-shadow 300ms;
}

.subscribe-form:focus-within {
  border-color: rgba(168, 255, 220, 0.4);
  box-shadow: 0 0 0 4px rgba(168, 255, 220, 0.045), 0 16px 50px rgba(0, 0, 0, 0.3);
}

.subscribe-form input {
  min-width: 0;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.subscribe-form input::placeholder {
  color: var(--muted-2);
}

.subscribe-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 25px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  background: var(--acid);
  color: #07110d;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  transition: box-shadow 300ms;
}

.subscribe-form button:hover {
  box-shadow: 0 0 32px rgba(168, 255, 220, 0.25);
}

.subscribe-form button b {
  font-size: 17px;
  transition: transform 250ms var(--ease-out);
}

.subscribe-form button:hover b {
  transform: translateX(4px);
}

.form-message {
  min-height: 24px;
  margin-top: 10px;
  color: var(--acid);
  font-size: 11px;
}

.contact-card__code {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-align: right;
}

.contact-card__code i {
  width: 100%;
  height: 1px;
  margin: 4px 0;
  background: linear-gradient(90deg, transparent, rgba(168, 255, 220, 0.4));
}

.contact-card__code small {
  color: rgba(168, 255, 220, 0.44);
  font-size: inherit;
}

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

.site-footer {
  position: relative;
  z-index: 3;
  padding-bottom: 28px;
}

.site-footer__top {
  display: grid;
  min-height: 130px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand--footer .brand__name {
  font-size: 14px;
}

.site-footer__top > p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.back-top {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.back-top span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--acid);
  transition:
    color 300ms,
    background-color 300ms,
    border-color 300ms,
    transform 300ms var(--ease-spring);
}

.back-top:hover span {
  border-color: var(--acid);
  background: var(--acid);
  color: #07110d;
  transform: translateY(-4px);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.site-footer__bottom a {
  color: var(--muted);
  transition: color 250ms;
}

.site-footer__bottom a:hover {
  color: var(--acid);
}

.site-footer__bottom span:last-child {
  justify-self: end;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(168, 255, 220, 0.25);
  border-radius: 13px;
  background: rgba(9, 13, 17, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  visibility: hidden;
  transition:
    opacity 350ms var(--ease-out),
    transform 350ms var(--ease-out),
    visibility 350ms;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.toast span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.toast p {
  margin: 0;
  color: #dfe5e3;
  font-size: 12px;
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 850ms var(--ease-out),
    transform 850ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- Keyframes ---------- */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes spinTilt {
  from { transform: rotateX(62deg) rotateZ(0deg); }
  to { transform: rotateX(62deg) rotateZ(360deg); }
}

@keyframes spinTiltReverse {
  from { transform: rotateY(68deg) rotateZ(0deg); }
  to { transform: rotateY(68deg) rotateZ(-360deg); }
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 255, 220, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(168, 255, 220, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 255, 220, 0); }
}

@keyframes auroraA {
  from { transform: translate3d(-6%, -4%, 0) scale(0.9); }
  to { transform: translate3d(24%, 18%, 0) scale(1.15); }
}

@keyframes auroraB {
  from { transform: translate3d(8%, 10%, 0) scale(1); }
  to { transform: translate3d(-28%, -14%, 0) scale(1.2); }
}

@keyframes auroraC {
  from { transform: translate3d(-10%, 0, 0) scale(1.15); }
  to { transform: translate3d(25%, -24%, 0) scale(0.9); }
}

@keyframes textGradient {
  to { background-position: 220% center; }
}

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wave {
  from { height: 16%; opacity: 0.4; }
  to { height: 100%; opacity: 1; }
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes barBreathe {
  from { transform: scaleY(0.82); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes ripple {
  0% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.75); }
  50% { opacity: 0.75; }
  100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes boundaryMove {
  from { transform: translateX(-28px); }
  to { transform: translateX(28px); }
}

@keyframes outputWave {
  from { height: 14%; opacity: 0.3; }
  to { height: 100%; opacity: 1; }
}

@keyframes beamMove {
  from { transform: translateX(-120px) rotate(24deg); opacity: 0.15; }
  to { transform: translateX(240px) rotate(24deg); opacity: 0.5; }
}

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

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 36px, 1080px);
  }

  .system-status {
    display: none;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 20px;
  }

  .hero__title {
    font-size: clamp(58px, 7.4vw, 82px);
  }

  .logic-orbit {
    width: 390px;
  }

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

  .method-card {
    min-height: 340px;
  }

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

  .note-row {
    grid-template-columns: 52px minmax(0, 1fr) 180px 40px;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    inset: 12px 0 auto;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    padding: 0 10px 0 16px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle,
  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 70px;
  }

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

  .hero__content {
    max-width: 760px;
  }

  .hero__title {
    font-size: clamp(58px, 12vw, 98px);
  }

  .hero__visual {
    min-height: 520px;
    margin-top: 20px;
  }

  .logic-orbit {
    width: min(68vw, 420px);
  }

  .visual-card--top {
    right: 8%;
  }

  .visual-card--bottom {
    left: 8%;
  }

  .scroll-cue {
    margin-top: 25px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .section-heading--split > p {
    margin-top: 0;
  }

  .text-link {
    margin: 0;
  }

  .note-row {
    grid-template-columns: 44px minmax(0, 1fr) 40px;
    padding-right: 0;
  }

  .note-row__visual {
    display: none;
  }

  .lab-console__body {
    grid-template-columns: 1fr;
  }

  .lab-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lab-output {
    min-height: 560px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__top > p {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
    --radius: 18px;
    --radius-lg: 24px;
  }

  body {
    font-size: 15px;
  }

  .noise {
    opacity: 0.025;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .brand__name {
    font-size: 13px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero__signal {
    margin-bottom: 34px;
  }

  .signal-line {
    width: 28px;
  }

  .hero__signal time {
    display: none;
  }

  .hero__eyebrow {
    gap: 7px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero__title {
    font-size: clamp(50px, 15.5vw, 76px);
    letter-spacing: -0.075em;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero__metrics {
    gap: 0;
    justify-content: space-between;
    margin-top: 38px;
  }

  .hero__metrics div:not(:last-child)::after {
    right: -12px;
  }

  .hero__metrics dt {
    font-size: 20px;
  }

  .hero__metrics dd {
    font-size: 9px;
  }

  .hero__visual {
    min-height: 400px;
    margin-top: 30px;
  }

  .logic-orbit {
    width: min(82vw, 340px);
  }

  .logic-core {
    width: 102px;
    height: 102px;
  }

  .logic-core__label {
    font-size: 38px;
  }

  .logic-core small {
    bottom: 19px;
    font-size: 6px;
  }

  .logic-orbit__node {
    width: 36px;
    height: 36px;
  }

  .logic-orbit__node span {
    font-size: 7px;
  }

  .visual-card--top {
    top: 4%;
    right: 0;
    width: 138px;
  }

  .visual-card--bottom {
    bottom: 3%;
    left: 0;
    min-width: 152px;
  }

  .coordinate {
    display: none;
  }

  .ticker__track span {
    gap: 24px;
    padding: 17px 14px;
    font-size: 11px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading__index {
    font-size: 8px;
  }

  .section-heading h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .section-heading p {
    font-size: 13px;
  }

  .method {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .method-grid,
  .matrix-stage {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 310px;
  }

  .statement {
    padding: 55px 0 100px;
  }

  .statement__frame {
    min-height: 340px;
    padding-inline: 18px;
  }

  .statement__frame p {
    font-size: clamp(31px, 10vw, 46px);
  }

  .statement__meta {
    font-size: 6px;
  }

  .matrix {
    padding: 90px 0 110px;
  }

  .matrix-card--wide {
    grid-column: auto;
  }

  .matrix-card {
    min-height: 310px;
  }

  .causal-map div {
    width: 58px;
    height: 58px;
  }

  .causal-map > i {
    width: 22px;
  }

  .decision-loop {
    gap: 5px;
    margin-top: 62px;
  }

  .decision-loop span {
    width: 50px;
    height: 50px;
    font-size: 8px;
  }

  .decision-loop i {
    font-size: 10px;
  }

  .notes {
    padding: 90px 0 110px;
  }

  .note-row {
    min-height: 230px;
    grid-template-columns: 1fr 36px;
    gap: 12px;
    padding: 26px 0;
  }

  .note-row:hover {
    padding-left: 0;
  }

  .note-row__index {
    display: none;
  }

  .note-row h3 {
    font-size: 22px;
  }

  .note-row p {
    font-size: 12px;
  }

  .note-row__arrow {
    width: 34px;
    height: 34px;
  }

  .lab {
    padding: 80px 0 110px;
  }

  .lab-console__topbar {
    grid-template-columns: 1fr auto;
  }

  .lab-console__topbar > span {
    display: none;
  }

  .lab-controls {
    padding: 28px 20px;
  }

  .lab-controls__header {
    margin-bottom: 36px;
  }

  .lab-rule {
    margin-top: 40px;
  }

  .lab-output {
    min-height: 480px;
    padding: 40px 18px;
  }

  .confidence-orb {
    width: 190px;
    height: 190px;
  }

  .confidence-orb strong {
    font-size: 52px;
  }

  .decision-readout {
    margin-top: 40px;
  }

  .contact {
    padding: 50px 0 100px;
  }

  .contact-card {
    min-height: 600px;
    padding: 34px 18px;
  }

  .contact-card h2 {
    font-size: clamp(50px, 15vw, 78px);
  }

  .contact-card p {
    font-size: 13px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
    padding: 7px;
  }

  .subscribe-form input {
    min-height: 48px;
    padding-inline: 12px;
  }

  .subscribe-form button {
    justify-content: space-between;
  }

  .contact-card__code {
    display: none;
  }

  .site-footer__top {
    min-height: 110px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 9px;
    text-align: center;
  }

  .site-footer__bottom span:last-child {
    justify-self: center;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  [data-tilt] {
    transform: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  .title-line {
    opacity: 1;
    transform: none;
  }

  .network-canvas {
    opacity: 0.25;
  }
}

section[id] {
  scroll-margin-top: 105px;
}
