:root {
  --black: #08080a;
  --ink: #111115;
  --panel: #151519;
  --panel-2: #1e1e24;
  --white: #ffffff;
  --paper: #f6f7f8;
  --paper-2: #eceff1;
  --text: #17191e;
  --muted: #6d717a;
  --soft: #aeb3bc;
  --line: rgba(17, 17, 21, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --red: #d20a0a;
  --red-hot: #ff2929;
  --red-deep: #720808;
  --green: #1a7f54;
  --max: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #070708;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 41, 41, 0.16), transparent 24%),
    radial-gradient(circle at 84% 26%, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(115deg, transparent 0 36%, rgba(255, 41, 41, 0.12) 48%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 88px);
  opacity: 0.72;
  animation: pageAura 1100ms ease forwards, ambientField 22s linear infinite;
}
body > * {
  position: relative;
  z-index: 1;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(100% - 40px, var(--max)); margin: 0 auto; }
section.dark-section,
section.light-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dark-section > .wrap,
.light-section > .wrap {
  position: relative;
  z-index: 1;
}
.dark-section {
  color: #eef0f4;
  background:
    radial-gradient(circle at 78% 16%, rgba(210, 10, 10, 0.22), transparent 34%),
    repeating-linear-gradient(112deg, rgba(255, 41, 41, 0) 0 128px, rgba(255, 41, 41, 0.08) 130px 132px, rgba(255, 41, 41, 0) 134px 260px),
    linear-gradient(115deg, rgba(255, 41, 41, 0) 0 36%, rgba(255, 41, 41, 0.08) 48%, rgba(255, 41, 41, 0) 62%),
    linear-gradient(160deg, transparent 0 42%, rgba(255, 41, 41, 0.09) 48%, transparent 58%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--black);
  background-size: auto, 360px 360px, 220% 220%, 260% 260%, 76px 76px, 76px 76px, auto;
  animation: darkGridMove 18s linear infinite;
}
.light-section {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 41, 41, 0.055), transparent 26%),
    repeating-linear-gradient(112deg, rgba(210, 10, 10, 0) 0 148px, rgba(210, 10, 10, 0.055) 150px 151px, rgba(210, 10, 10, 0) 152px 290px),
    linear-gradient(120deg, rgba(255, 41, 41, 0.05), rgba(255, 255, 255, 0.82) 42%, rgba(210, 10, 10, 0.04) 68%),
    var(--paper);
  background-size: auto, 420px 420px, 230% 230%, auto;
  animation: lightSurfaceMove 18s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, #000 0%, #030304 62%, #170303 100%);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
}
.brand {
  grid-column: 1;
  grid-row: 1;
}
.brand img { width: 206px; filter: brightness(1.1) contrast(1.1); }
.brand img,
.hero-mark,
.footer-grid img {
  mix-blend-mode: normal;
}
.nav-cta {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  min-height: 40px;
  padding-inline: 16px;
  line-height: 1;
}
.nav-links {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(320px, calc(100vw - 40px));
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(27, 27, 31, 0.97), rgba(5, 5, 6, 0.97)),
    #050506;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), 0 0 46px rgba(255, 41, 41, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
}
.nav-links a, .footer-links a {
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none;
  color: #c9ccd4;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  line-height: 1.1;
  transition: color 220ms ease, transform 220ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--red-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
  box-shadow: 0 0 14px rgba(255, 41, 41, 0.75);
}
.nav-links.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  transform: translateY(-1px);
  background: rgba(255, 41, 41, 0.12);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: grid;
  place-items: center;
  grid-column: 4;
  grid-row: 1;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(255, 41, 41, 0.68);
  background: rgba(255, 41, 41, 0.12);
  box-shadow: 0 0 28px rgba(255, 41, 41, 0.18);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}
.menu-toggle span + span {
  margin-top: 4px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 30%, rgba(255, 255, 255, 0.3) 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover::before {
  transform: translateX(120%);
}
.btn-primary { background: linear-gradient(135deg, var(--red-hot), var(--red)); color: #fff; box-shadow: 0 18px 50px rgba(210, 10, 10, 0.28); }
.btn-secondary { color: #fff; border-color: var(--line-dark); background: rgba(255, 255, 255, 0.05); }
.btn-dark { color: #fff; background: var(--ink); }
.text-link {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 240ms ease;
}
.text-link:hover::after { transform: scaleX(1); }
.text-link.on-dark { color: #ff7777; }

.hero { min-height: calc(100vh - 78px); display: flex; align-items: center; }
.motion-hero {
  position: relative;
  min-height: clamp(720px, calc(88vh - 78px), 860px);
  overflow: hidden;
  isolation: isolate;
}
.motion-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 41, 41, 0.16), transparent 28%),
    radial-gradient(circle at 72% 46%, rgba(255, 41, 41, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(180deg, #000 72%, transparent);
  animation: gridDrift 18s linear infinite;
}
.motion-hero::after {
  content: "";
  position: absolute;
  inset: 12% -18% auto 45%;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 41, 41, 0.95), transparent);
  box-shadow: 0 0 42px rgba(255, 41, 41, 0.55);
  animation: heroScan 4.8s ease-in-out infinite;
}
.hero-grid {
  padding: 54px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.28rem, 4.05vw, 4.2rem);
  line-height: 1.01;
  letter-spacing: 0;
  font-weight: 800;
}
.kinetic-title {
  display: grid;
  gap: 0.02em;
}
.kinetic-title span {
  display: block;
  transform-origin: left center;
  animation: kineticIn 900ms cubic-bezier(.16, 1, .3, 1) both;
}
.kinetic-title span:nth-child(2) {
  color: #ffeded;
  animation-delay: 110ms;
}
.kinetic-title span:nth-child(3) {
  color: var(--red-hot);
  text-shadow: 0 0 36px rgba(255, 41, 41, 0.35);
  animation-delay: 220ms;
}
.hero-mark {
  width: min(300px, 76vw);
  margin: 0 0 26px;
  filter: brightness(1.16) contrast(1.12);
}
.hero p {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c4c8d1;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 10px;
  margin-top: 34px;
}
.hero-proof a,
.hero-proof span {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 8px 10px;
  color: #d8dbe1;
  font-size: 0.82rem;
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}
.hero-proof a:hover {
  color: #fff;
  border-color: rgba(255, 41, 41, 0.7);
  background: rgba(255, 41, 41, 0.12);
  transform: translateY(-2px);
}

.system-core {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    #09090c;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 180ms ease;
  animation: panelBreath 7s ease-in-out infinite;
}
.system-core::before {
  content: "";
  position: absolute;
  inset: 58px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
  animation: consoleGridDrift 12s linear infinite;
  z-index: 0;
}
.system-core::after {
  content: "";
  position: absolute;
  inset: 58px -20% -20%;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(255, 41, 41, 0.16) 48%, transparent 56%),
    repeating-linear-gradient(125deg, transparent 0 90px, rgba(255, 255, 255, 0.05) 92px 93px, transparent 96px 180px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: consoleBeamSweep 9s ease-in-out infinite;
  z-index: 0;
}
.preview-topbar,
.system-map {
  position: relative;
  z-index: 1;
}
.map-overview {
  border: 0;
  padding: 0;
  color: #e7e9ee;
  background: transparent;
  font-weight: 800;
  text-align: right;
}
.map-overview:hover,
.map-overview:focus-visible {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 41, 41, 0.85);
  outline: none;
}
.system-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  z-index: 4;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 41, 41, 0.95), transparent);
  box-shadow: 0 0 34px rgba(255, 41, 41, 0.72);
  animation: panelScan 3.6s ease-in-out infinite;
}
.system-orbit {
  position: absolute;
  width: 380px;
  aspect-ratio: 1;
  right: -120px;
  top: 82px;
  border: 1px solid rgba(255, 41, 41, 0.2);
  border-radius: 999px;
  animation: orbitSpin 18s linear infinite;
}
.system-orbit::before,
.system-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.system-orbit::before { inset: 42px; }
.system-orbit::after { inset: 94px; border-color: rgba(255, 41, 41, 0.16); }
.system-map {
  position: relative;
  min-height: 580px;
  padding: 22px;
}
.system-node,
.system-output {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: min(210px, 42%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 16px;
  background: rgba(9, 9, 12, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}
.system-node {
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  z-index: 3;
}
.system-node:hover,
.system-node:focus-visible,
.system-node.is-selected {
  border-color: rgba(255, 41, 41, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 41, 41, 0.12), rgba(9, 9, 12, 0.88));
  box-shadow: 0 22px 68px rgba(255, 41, 41, 0.18), 0 18px 50px rgba(0, 0, 0, 0.35);
  outline: none;
}
.system-node.is-selected::before {
  transform: scale(1.25);
}
.system-node::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  right: 14px;
  top: 14px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 22px rgba(255, 41, 41, 0.9);
  animation: nodePulse 2.4s ease-in-out infinite;
}
.system-node span,
.system-output span {
  color: var(--red-hot);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.system-node strong,
.system-output strong {
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.05;
}
.system-node small {
  color: #aeb3bc;
  font-size: 0.8rem;
}
.node-a { left: 26px; top: 38px; animation: floatNode 5.8s ease-in-out infinite; }
.node-b { right: 34px; top: 106px; animation: floatNode 6.2s ease-in-out infinite 400ms; }
.node-c { left: 58px; bottom: 185px; animation: floatNode 6s ease-in-out infinite 800ms; }
.node-d { right: 54px; bottom: 160px; animation: floatNode 6.4s ease-in-out infinite 1200ms; }
.system-traces {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.system-traces path {
  fill: none;
  stroke: rgba(255, 41, 41, 0.74);
  stroke-width: 2;
  stroke-dasharray: 10 18;
  filter: drop-shadow(0 0 9px rgba(255, 41, 41, 0.85));
  animation: traceFlow 2.8s linear infinite;
}
.system-traces path:nth-child(2) { animation-delay: 250ms; opacity: 0.76; }
.system-traces path:nth-child(3) { animation-delay: 500ms; opacity: 0.52; }
.system-traces path:nth-child(4) { animation-delay: 750ms; opacity: 0.68; }
.system-output {
  left: 50%;
  top: 40%;
  width: min(240px, 50%);
  transform: translate(-50%, -50%);
  border-color: rgba(255, 41, 41, 0.55);
  background: linear-gradient(145deg, rgba(114, 8, 8, 0.88), rgba(14, 14, 18, 0.9));
}
.output-bars {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.output-bars i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-hot), rgba(255, 255, 255, 0.35));
  transform-origin: left;
  animation: barLoad 2.8s ease-in-out infinite;
}
.output-bars i:nth-child(2) { width: 78%; animation-delay: 160ms; }
.output-bars i:nth-child(3) { width: 58%; animation-delay: 320ms; }
.map-detail {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 5;
  display: grid;
  gap: 6px;
  width: auto;
  padding: 15px 16px;
  border: 1px solid rgba(255, 41, 41, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(84, 5, 5, 0.86), rgba(8, 8, 11, 0.88)),
    rgba(8, 8, 11, 0.86);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), 0 0 46px rgba(255, 41, 41, 0.18);
  backdrop-filter: blur(16px);
}
.map-detail span {
  color: var(--red-hot);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-detail strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.05;
}
.map-detail p {
  margin: 0;
  color: #d4d7df;
  font-size: 0.8rem;
  line-height: 1.45;
}
.map-detail small {
  color: #ff9d9d;
  font-weight: 800;
}
.map-detail.is-updating {
  animation: detailPop 560ms cubic-bezier(.16, 1, .3, 1);
}

.assembly-section {
  position: relative;
  overflow: hidden;
}
.assembly-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 140px, rgba(255, 41, 41, 0.06) 142px 143px, transparent 144px 280px),
    linear-gradient(140deg, transparent 0 38%, rgba(255, 41, 41, 0.11) 48%, transparent 58%),
    linear-gradient(180deg, rgba(255, 41, 41, 0.12), transparent 26%, rgba(255, 255, 255, 0.025));
  background-size: 280px 100%, 240% 240%, auto;
  opacity: 0.76;
  animation: buildBackplaneMove 14s linear infinite;
  z-index: 0;
}
.assembly-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.56fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}
.assembly-head .btn {
  align-self: end;
  margin-top: 8px;
}
.assembly-head p {
  margin: 0;
  color: #c1c5ce;
}
.assembly-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
  --beam-left: 0%;
  --beam-width: 25%;
  --beam-top: 0%;
  --beam-height: 25%;
  background: linear-gradient(90deg, rgba(255, 41, 41, 0.18), rgba(255, 255, 255, 0.14), transparent) 0 22px / 100% 1px no-repeat;
}
.assembly-rail::before {
  content: "";
  position: absolute;
  left: var(--beam-left);
  top: 22px;
  width: var(--beam-width);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 41, 41, 0.95), #fff, rgba(255, 41, 41, 0.9), transparent);
  box-shadow: 0 0 16px rgba(255, 41, 41, 0.8), 0 0 34px rgba(210, 10, 10, 0.55);
  transition: left 520ms cubic-bezier(.16, 1, .3, 1), top 520ms cubic-bezier(.16, 1, .3, 1), width 520ms cubic-bezier(.16, 1, .3, 1), height 520ms cubic-bezier(.16, 1, .3, 1);
}
.assembly-rail::after {
  content: "";
  position: absolute;
  left: var(--beam-left);
  top: 0;
  width: var(--beam-width);
  height: calc(100% + 28px);
  pointer-events: none;
  border-radius: 10px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 41, 41, 0.18), transparent),
    radial-gradient(circle at 50% 28px, rgba(255, 41, 41, 0.75), transparent 18%),
    linear-gradient(180deg, rgba(255, 41, 41, 0.18), transparent 62%);
  filter: blur(0.2px);
  opacity: 0.9;
  transform: translateX(0);
  transition: left 520ms cubic-bezier(.16, 1, .3, 1), width 520ms cubic-bezier(.16, 1, .3, 1), opacity 240ms ease;
}
.assembly-rail[data-active-step="1"] { --beam-left: 0%; --beam-top: 0%; }
.assembly-rail[data-active-step="2"] { --beam-left: 25%; --beam-top: 25%; }
.assembly-rail[data-active-step="3"] { --beam-left: 50%; --beam-top: 50%; }
.assembly-rail[data-active-step="4"] { --beam-left: 75%; --beam-top: 75%; }
.assembly-step {
  position: relative;
  z-index: 1;
  min-height: 270px;
  padding: 62px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 420ms ease, border-color 420ms ease, background 420ms ease, box-shadow 420ms ease;
  cursor: pointer;
  animation: panelBreath 8s ease-in-out infinite;
}
.assembly-step:nth-child(2) { animation-delay: 700ms; }
.assembly-step:nth-child(3) { animation-delay: 1400ms; }
.assembly-step:nth-child(4) { animation-delay: 2100ms; }
.assembly-step::after {
  content: "Click to inspect";
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.assembly-step:hover::after,
.assembly-step:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.assembly-step::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04);
}
.assembly-step span {
  color: var(--red-hot);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
}
.assembly-step h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.75rem);
  line-height: 0.92;
}
.assembly-step p {
  margin: 0;
  color: #bdc2cc;
}
.assembly-step.is-active {
  transform: translateY(-10px);
  border-color: rgba(255, 41, 41, 0.75);
  background: linear-gradient(160deg, rgba(210, 10, 10, 0.24), rgba(255, 255, 255, 0.055));
  box-shadow: 0 28px 70px rgba(210, 10, 10, 0.18);
}
.assembly-step.is-active::before {
  background: var(--red-hot);
  box-shadow: 0 0 0 8px rgba(255, 41, 41, 0.14), 0 0 28px rgba(255, 41, 41, 0.95);
}
.assembly-step:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 4px;
}
.assembly-detail {
  position: relative;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 41, 41, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(210, 10, 10, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(8, 8, 10, 0.72);
  box-shadow: 0 24px 70px rgba(210, 10, 10, 0.12);
  overflow: hidden;
}
.assembly-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 41, 41, 0.18), transparent),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px;
  animation: detailScan 4s linear infinite;
}
.assembly-detail h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
}
.assembly-detail p,
.assembly-detail strong,
.assembly-detail .section-label {
  position: relative;
}
.assembly-detail p {
  max-width: 820px;
  margin: 0 0 16px;
  color: #d2d5dc;
}
.assembly-detail strong {
  color: #fff;
  font-size: 1.05rem;
}
.assembly-detail.is-updating {
  animation: detailPop 520ms cubic-bezier(.16, 1, .3, 1);
}

.immersive-console {
  min-height: calc(100vh - 78px);
  padding: 42px 0 84px;
}
.immersive-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.immersive-actions h1,
.build-page h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4.5vw, 4.65rem);
  line-height: 0.96;
}
.fullscreen-core {
  min-height: min(820px, calc(100vh - 210px));
}
.fullscreen-core .system-map {
  min-height: min(740px, calc(100vh - 290px));
}
.fullscreen-core .system-output {
  top: 37%;
  width: min(310px, 46%);
}
.fullscreen-core .node-c { bottom: 225px; }
.fullscreen-core .node-d { bottom: 198px; }
.fullscreen-core .map-detail {
  bottom: 24px;
  padding: 20px;
}
.build-page {
  min-height: calc(100vh - 78px);
  padding-top: 64px;
}
.build-page .assembly-head {
  margin-bottom: 28px;
}
.build-page .assembly-head .btn {
  justify-self: end;
  align-self: start;
  width: max-content;
}
.build-page .assembly-detail {
  margin-top: 28px;
}
.map-explainer,
.map-flow,
.build-deliverables,
.map-proof {
  position: relative;
}
.map-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.map-info-grid article,
.flow-stack article,
.deliverable-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 52px rgba(10, 10, 12, 0.08);
  animation: panelBreath 8s ease-in-out infinite;
}
.map-info-grid article:nth-child(2),
.flow-stack article:nth-child(2) { animation-delay: 700ms; }
.map-info-grid article:nth-child(3),
.flow-stack article:nth-child(3) { animation-delay: 1400ms; }
.map-info-grid article:nth-child(4),
.flow-stack article:nth-child(4) { animation-delay: 2100ms; }
.map-info-grid article::before,
.flow-stack article::before,
.deliverable-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 41, 41, 0.1) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 260ms ease, transform 520ms ease;
}
.map-info-grid article:hover::before,
.flow-stack article:hover::before,
.deliverable-panel:hover::before {
  opacity: 1;
  transform: translateX(28%);
}
.map-info-grid span,
.flow-stack strong {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-info-grid h3,
.flow-stack h3,
.deliverable-panel h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.08;
  color: var(--text);
}
.map-info-grid p,
.flow-stack p {
  margin: 0 0 14px;
  color: var(--muted);
}
.map-info-grid article > p {
  color: #515761;
  font-weight: 500;
}
.map-info-grid ul,
.deliverable-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.map-info-grid li,
.deliverable-panel li {
  margin: 7px 0;
}
.flow-stack {
  display: grid;
  gap: 14px;
}
.flow-stack article {
  display: grid;
  grid-template-columns: minmax(120px, 0.18fr) minmax(220px, 0.28fr) 1fr;
  gap: 18px;
  align-items: start;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}
.flow-stack p {
  color: #c9cdd5;
}
.flow-stack h3 {
  color: #fff;
}
.deliverable-panel {
  border-color: rgba(255, 41, 41, 0.2);
}

.light-speed-warp {
  position: fixed;
  inset: -2vmax;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, #010102 0 5%, rgba(255, 41, 41, 0.5) 6%, rgba(255, 41, 41, 0.18) 15%, rgba(255, 41, 41, 0) 34%),
    radial-gradient(circle at 50% 50%, rgba(255, 41, 41, 0.18), rgba(255, 41, 41, 0) 56%),
    repeating-conic-gradient(from -8deg at 50% 50%, rgba(255, 255, 255, 0.2) 0 0.26deg, rgba(255, 41, 41, 0.3) 0.34deg 0.62deg, transparent 0.78deg 2.4deg),
    #010102;
  overflow: hidden;
  contain: paint;
}
.light-speed-warp.is-active {
  opacity: 1;
  animation: hyperspaceFlash 1240ms cubic-bezier(.16, 1, .3, 1) forwards;
}
.light-speed-warp i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--length, 48vw);
  height: var(--thickness, 2px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 230, 230, 0.96) 8%, rgba(255, 41, 41, 0.95) 34%, rgba(255, 41, 41, 0.28) 72%, rgba(255, 41, 41, 0.035) 100%);
  transform-origin: left center;
  transform: translateY(-50%) rotate(var(--angle, 0deg)) scaleX(0.02);
  opacity: 0;
}
.light-speed-warp.is-active i {
  animation: hyperspaceLine 1160ms cubic-bezier(.16, 1, .3, 1) var(--delay, 0ms) forwards;
}
.light-speed-warp::before,
.light-speed-warp::after {
  content: "";
  position: absolute;
  inset: -12%;
  opacity: 0;
  pointer-events: none;
}
.light-speed-warp::before {
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 41, 41, 0) 0 18px, rgba(255, 41, 41, 0.16) 19px 20px, rgba(255, 41, 41, 0) 21px 48px);
  animation: hyperspaceTunnel 1240ms cubic-bezier(.16, 1, .3, 1) forwards;
}
.light-speed-warp::after {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0 3%, rgba(255, 41, 41, 0.08) 19%, rgba(0, 0, 0, 0.86) 78%);
  animation: hyperspaceVignette 1240ms ease forwards;
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(8px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(.16, 1, .3, 1), filter 760ms ease;
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.js-reveal .system-grid article.is-visible:hover,
.js-reveal .price-row article.is-visible:hover,
.js-reveal .lesson-list article.is-visible:hover,
.js-reveal .pricing-card.is-visible:hover,
.js-reveal .audit-card.is-visible:hover,
.js-reveal .result-panel.is-visible:hover,
.js-reveal .contact-card.is-visible:hover,
.js-reveal .article-card.is-visible:hover,
.js-reveal .system-row.is-visible:hover,
.js-reveal .case-card.is-visible:hover {
  transform: translateY(-6px) scale(1);
}

@keyframes pageAura {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.72; transform: translateY(0); }
}
@keyframes ambientField {
  from { background-position: 0 0, 0 0, -20% -20%, 0 0, 0 0; }
  to { background-position: 0 0, 0 0, 120% 120%, 88px 44px, 44px 88px; }
}
@keyframes darkGridMove {
  0% { background-position: 0 0, 0 0, 0 0, -40% 0, 0 0, 0 0, 0 0; }
  50% { background-position: 0 0, 180px 120px, 100% 42%, 80% 100%, 38px 18px, 18px 38px, 0 0; }
  100% { background-position: 0 0, 360px 240px, 220% 90%, 180% 220%, 76px 76px, 76px 76px, 0 0; }
}
@keyframes lightSurfaceMove {
  0%, 100% { background-position: 0 0, 0 0, 0 50%, 0 0; }
  50% { background-position: 0 0, 210px 160px, 100% 50%, 0 0; }
}
@keyframes consoleGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}
@keyframes consoleBeamSweep {
  0%, 100% { transform: translateX(-16%) skewX(-8deg); opacity: 0.22; }
  50% { transform: translateX(16%) skewX(-8deg); opacity: 0.58; }
}
@keyframes buildBackplaneMove {
  from { background-position: 0 0, -40% 0, 0 0; }
  to { background-position: 280px 0, 160% 120%, 0 0; }
}
@keyframes panelBreath {
  0%, 100% { box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
  50% { box-shadow: 0 34px 96px rgba(210, 10, 10, 0.22), inset 0 0 0 1px rgba(255, 41, 41, 0.08); }
}
@keyframes kineticIn {
  from { opacity: 0; transform: translateY(34px) skewY(3deg); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); }
}
@keyframes softRise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes lineSweep {
  0%, 100% { transform: translateX(-18%); opacity: 0.25; }
  50% { transform: translateX(18%); opacity: 1; }
}
@keyframes detailScan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 180px 0, 48px 0; }
}
@keyframes detailPop {
  0% { transform: translateY(18px) scale(0.98); opacity: 0.48; filter: blur(8px); }
  100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}
@keyframes hyperspaceFlash {
  0% { opacity: 0; filter: brightness(1) blur(0); }
  10% { opacity: 1; filter: brightness(1.75) blur(0); }
  66% { opacity: 1; filter: brightness(1.2) blur(0); }
  100% { opacity: 0; filter: brightness(1) blur(12px); }
}
@keyframes hyperspaceLine {
  0% {
    opacity: 0;
    transform: translateY(-50%) rotate(var(--angle, 0deg)) scaleX(0.01);
  }
  10% {
    opacity: calc(var(--line-opacity, 0.8) * 0.78);
    transform: translateY(-50%) rotate(var(--angle, 0deg)) scaleX(0.2);
  }
  64% {
    opacity: var(--line-opacity, 0.8);
    transform: translateY(-50%) rotate(var(--angle, 0deg)) scaleX(1.5);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) rotate(var(--angle, 0deg)) translateX(25vmax) scaleX(2.55);
  }
}
@keyframes hyperspaceTunnel {
  0% { opacity: 0; transform: scale(0.18) rotate(0deg); filter: blur(0); }
  30% { opacity: 0.9; transform: scale(1) rotate(5deg); }
  100% { opacity: 0; transform: scale(4.4) rotate(18deg); filter: blur(6px); }
}
@keyframes hyperspaceVignette {
  0% { opacity: 0; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.2); }
}
@keyframes bubbleDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, -10px, 0); }
}
@keyframes heroScan {
  0%, 100% { transform: translateY(0) rotate(-2deg); opacity: 0.1; }
  48% { transform: translateY(58vh) rotate(-2deg); opacity: 0.75; }
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 0 0, 64px 64px, 64px 64px; }
}
@keyframes panelScan {
  0%, 100% { top: 18%; opacity: 0.12; }
  50% { top: 82%; opacity: 1; }
}
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes nodePulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.45); opacity: 1; }
}
@keyframes floatNode {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes traceFlow {
  to { stroke-dashoffset: -56; }
}
@keyframes barLoad {
  0%, 100% { transform: scaleX(0.38); opacity: 0.62; }
  52% { transform: scaleX(1); opacity: 1; }
}

.product-preview {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-dark);
  color: #b6bac4;
  font-size: 0.84rem;
}
.preview-stage { min-height: 480px; position: relative; padding: 22px; }
.preview-card {
  position: absolute;
  inset: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(145deg, #151519, #0f0f12);
}
.preview-card.is-active { opacity: 1; transform: translateY(0); }
.preview-number { color: var(--red-hot); font-family: Rajdhani, Inter, sans-serif; font-weight: 700; }
.preview-card h2 { margin: 50px 0 12px; font-size: 2.3rem; line-height: 1; }
.preview-card p { color: #bdc2cc; margin: 0 0 26px; }
.mini-options, .pipeline-row {
  display: grid;
  gap: 10px;
}
.mini-options span, .pipeline-row span {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.audit-bars { display: grid; gap: 14px; }
.audit-bars i, .stack-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #ff7171);
}
.stack-lines { display: grid; gap: 13px; max-width: 260px; }
.stack-lines i:nth-child(2) { width: 82%; }
.stack-lines i:nth-child(3) { width: 68%; }
.stack-lines i:nth-child(4) { width: 54%; }

section:not(.hero) { padding: 92px 0; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
}
.align-start { align-items: start; }
.section-label {
  margin: 0 0 10px;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.9rem;
}
.dark-section .section-label { color: #ff6d6d; }
h2 {
  margin: 0;
  font-size: clamp(1.62rem, 2.45vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 980px;
}
.section-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.04rem;
}
.dark-section .section-copy, .dark-section p { color: #c1c5ce; }
.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}
.section-head.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.problem-grid button, .problem-grid a, .problem-choice {
  min-height: 72px;
  padding: 18px;
  text-align: left;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
}
.problem-grid a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.problem-choice.is-selected {
  color: #fff;
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}
.system-grid, .price-row, .audit-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.system-grid article, .price-row article, .lesson-list article, .pricing-card, .audit-card, .result-panel, .contact-card {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
  padding: 24px;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
}
.light-section .price-row article, .lesson-list article, .light-section .audit-card, .light-section .result-panel, .light-section .contact-card, .pricing-card {
  border-color: var(--line);
  background: #fff;
}
.system-grid article::before,
.price-row article::before,
.lesson-list article::before,
.pricing-card::before,
.audit-card::before,
.result-panel::before,
.contact-card::before,
.article-card::before,
.system-row::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 41, 41, 0.13) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 260ms ease, transform 520ms ease;
}
.system-grid article:hover,
.price-row article:hover,
.lesson-list article:hover,
.pricing-card:hover,
.audit-card:hover,
.result-panel:hover,
.contact-card:hover,
.article-card:hover,
.system-row:hover,
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 41, 41, 0.42);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.16);
}
.dark-section .system-grid article:hover,
.dark-section .lesson-list article:hover,
.dark-section .case-card:hover {
  box-shadow: 0 26px 70px rgba(210, 10, 10, 0.17);
  background: rgba(255, 255, 255, 0.065);
}
.system-grid article:hover::before,
.price-row article:hover::before,
.lesson-list article:hover::before,
.pricing-card:hover::before,
.audit-card:hover::before,
.result-panel:hover::before,
.contact-card:hover::before,
.article-card:hover::before,
.system-row:hover::before,
.case-card:hover::before {
  opacity: 1;
  transform: translateX(30%);
}
.system-grid h3, .price-row h3, .lesson-list h3, .pricing-card h3, .audit-card h3 { margin: 0 0 10px; font-size: 1.16rem; line-height: 1.15; }
.system-grid p, .price-row p, .pricing-card p, .audit-card p { margin: 0; color: inherit; }
.price-row strong, .pricing-card strong { display: block; margin-top: 16px; color: var(--red); font-size: 1.28rem; }

.lesson-list { display: grid; gap: 14px; }
.lesson-list span, .case-card span, .small-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(.16, 1, .3, 1), filter 520ms ease;
}
.case-card:hover img {
  transform: scale(1.045);
  filter: contrast(1.05) saturate(1.08);
}
.case-card div { padding: 20px; }
.case-card h3 { margin: 0 0 8px; }
.case-card p { margin: 0; }
.case-link {
  display: inline-flex;
  margin-top: 16px;
  color: #ff7777;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.case-breakdown {
  position: relative;
}
.study-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 34px;
}
.study-block.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
}
.study-media {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  align-self: start;
}
.study-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  animation: panelBreath 8s ease-in-out infinite;
}
.light-section .study-media img {
  border-color: rgba(255, 41, 41, 0.18);
}
.study-content {
  display: grid;
  gap: 18px;
}
.study-content h2 {
  max-width: 860px;
  margin: 0;
}
.study-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.study-points article {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 22px;
  animation: panelBreath 8s ease-in-out infinite;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}
.study-points article:nth-child(2) { animation-delay: 700ms; }
.study-points article:nth-child(3) { animation-delay: 1400ms; }
.study-points article:nth-child(4) { animation-delay: 2100ms; }
.study-points article:nth-child(5) { animation-delay: 2800ms; }
.light-section .study-points article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.study-points article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 41, 41, 0.12) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 260ms ease, transform 520ms ease;
}
.study-points article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 41, 41, 0.42);
  box-shadow: 0 24px 70px rgba(210, 10, 10, 0.15);
}
.study-points article:hover::before {
  opacity: 1;
  transform: translateX(28%);
}
.study-points span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--red);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.study-points h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.1;
}
.study-points p {
  margin: 0;
  color: #c9cdd5;
}

.news-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.compact-news {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.news-card,
.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 52px rgba(10, 10, 12, 0.08);
  animation: panelBreath 8s ease-in-out infinite;
}
.dark-section .news-card,
.dark-section .video-card {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}
.news-card::before,
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 41, 41, 0.12) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 260ms ease, transform 520ms ease;
}
.news-card:hover::before,
.video-card:hover::before {
  opacity: 1;
  transform: translateX(28%);
}
.news-card time,
.news-card span,
.video-card span {
  display: block;
  color: var(--red);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.dark-section .news-card time,
.dark-section .news-card span,
.dark-section .video-card span {
  color: #ff6d6d;
}
.news-card time {
  margin-bottom: 7px;
}
.news-card h3,
.video-card h3 {
  margin: 12px 0 10px;
  font-size: 1.22rem;
  line-height: 1.08;
}
.news-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
}
.dark-section .news-card p,
.dark-section .video-card p {
  color: #c8ccd5;
}
.news-card .text-link {
  margin-top: 18px;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 18px;
}
.source-links .text-link {
  margin-top: 0;
}
.quick-breakdown {
  margin-bottom: 60px;
}
.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}
.feed-filters button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef0f4;
  padding: 9px 13px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.feed-filters button.is-active,
.feed-filters button:hover {
  border-color: rgba(255, 41, 41, 0.72);
  background: rgba(255, 41, 41, 0.16);
  color: #fff;
}
.learning-engine {
  position: relative;
  padding: 44px 0 52px !important;
}
.learning-engine-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.2fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
}
.engine-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  animation: panelBreath 8s ease-in-out infinite;
}
.engine-card:nth-child(2) { animation-delay: 800ms; }
.engine-card:nth-child(3) { animation-delay: 1600ms; }
.engine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 41, 41, 0.12) 50%, transparent 64%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity 260ms ease, transform 520ms ease;
}
.engine-card:hover::before {
  opacity: 1;
  transform: translateX(28%);
}
.engine-card span,
.engine-card strong {
  display: block;
  color: #ff6d6d;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.engine-card strong {
  margin-top: 8px;
  color: #fff;
}
.engine-card h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(1.18rem, 1.75vw, 1.55rem);
  line-height: 1.08;
}
.engine-card p {
  margin: 0;
  color: #c8ccd5;
}
.engine-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}
.engine-guide {
  border-color: rgba(255, 41, 41, 0.34);
  background: linear-gradient(145deg, rgba(105, 9, 9, 0.45), rgba(255, 255, 255, 0.055));
}
.engine-guide ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #d7dae0;
}
.engine-guide li {
  margin: 6px 0;
}
.engine-checklist {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.engine-checklist h4 {
  margin: 0 0 10px;
  color: #ff8b8b;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.engine-checklist ul,
.engine-checklist ol {
  margin: 0;
  padding-left: 18px;
  color: #d7dae0;
}
.engine-source-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #abb0bb;
  font-size: 0.82rem;
  line-height: 1.35;
}
.engine-source-note.compact {
  margin-top: 16px;
}
.engine-source-note span,
.engine-source-note a {
  font-family: Inter, sans-serif;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.engine-source-note a {
  color: #ff8b8b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.topic-lanes {
  margin-top: 56px;
}
.learning-engine [data-feed-card].is-filtered {
  display: none;
}
.learning-archive-section {
  padding-top: 54px !important;
}
.learning-archive-inline {
  margin-top: 52px;
}
.topic-lanes .map-info-grid article .text-link {
  margin-top: 16px;
}
.generated-feed {
  margin: 0 0 34px;
}
.generated-feed-head {
  max-width: 720px;
  margin-bottom: 18px;
}
.generated-feed-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.34rem, 2.05vw, 2rem);
  line-height: 1.08;
}
.generated-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.generated-post-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 41, 41, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
  animation: panelBreath 8s ease-in-out infinite;
}
.generated-post-card span,
.generated-post-card strong {
  display: block;
  color: #ff6d6d;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.generated-post-card strong {
  margin-top: 7px;
  color: #fff;
}
.generated-post-card h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.08;
}
.generated-post-card p {
  margin: 0;
  color: #c8ccd5;
}
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.blog-archive-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 41, 41, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(7, 8, 12, 0.82);
  padding: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  animation: panelBreath 8s ease-in-out infinite;
}
.blog-archive-card:nth-child(3n + 2) { animation-delay: 700ms; }
.blog-archive-card:nth-child(3n + 3) { animation-delay: 1400ms; }
.blog-archive-card time,
.blog-archive-card > span {
  display: block;
  color: #ff7b7b;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-archive-card > span {
  margin-top: 8px;
  color: #fff;
}
.blog-archive-card h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: clamp(1.1rem, 1.55vw, 1.38rem);
  line-height: 1.08;
}
.blog-archive-card p {
  margin: 0;
  color: #c8ccd5;
}
.blog-archive-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}
.resource-grid,
.tools-directory,
.glossary-grid,
.case-upgrade-grid,
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.expanded-resource-grid {
  align-items: stretch;
}
.content-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.content-pillar-grid .resource-card {
  min-height: 260px;
}
.resource-card {
  min-height: 230px;
}
.resource-card .source-links {
  margin-top: 18px;
}
.resource-card.is-filtered {
  display: none;
}
.resource-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
}
.resource-detail-panel {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 26px;
  animation: panelBreath 8s ease-in-out infinite;
}
.resource-detail-panel:nth-child(2) { animation-delay: 800ms; }
.resource-detail-panel:nth-child(3) { animation-delay: 1600ms; }
.resource-detail-panel span {
  display: block;
  margin-bottom: 16px;
  color: #ff6d6d;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}
.resource-detail-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #c8ccd5;
}
.resource-detail-panel li {
  margin: 8px 0;
  line-height: 1.45;
}
.resource-detail-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.12;
}
.resource-detail-panel p {
  margin: 0;
  color: #c8ccd5;
  font-size: 0.98rem;
  line-height: 1.64;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.resource-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.resource-card,
.tool-card,
.glossary-card,
.upgrade-card,
.tech-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
  animation: panelBreath 8s ease-in-out infinite;
}
.light-section .resource-card,
.light-section .tool-card,
.light-section .glossary-card,
.light-section .upgrade-card,
.light-section .tech-card {
  background: rgba(255, 255, 255, 0.08);
}
.resource-card span,
.tool-card span,
.glossary-card span,
.upgrade-card span,
.tech-card span {
  display: block;
  margin-bottom: 10px;
  color: #ff6d6d;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.light-section .resource-card span,
.light-section .tool-card span,
.light-section .glossary-card span,
.light-section .upgrade-card span,
.light-section .tech-card span {
  color: var(--red);
}
.resource-card h3,
.tool-card h3,
.glossary-card h3,
.upgrade-card h3,
.tech-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.24rem;
  line-height: 1.08;
}
.resource-card p,
.tool-card p,
.glossary-card p,
.upgrade-card p,
.tech-card p {
  margin: 0;
  color: #c8ccd5;
}
.light-section .resource-card h3,
.light-section .tool-card h3,
.light-section .glossary-card h3,
.light-section .upgrade-card h3,
.light-section .tech-card h3 {
  color: var(--text);
}
.light-section .resource-card p,
.light-section .tool-card p,
.light-section .glossary-card p,
.light-section .upgrade-card p,
.light-section .tech-card p {
  color: var(--muted);
}
.journey-map {
  display: grid;
  gap: 12px;
  counter-reset: journey;
  margin: 22px 0;
  border: 1px solid rgba(255, 41, 41, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 24px;
}
.journey-map > h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.25rem;
}
.journey-map ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey-map li {
  position: relative;
  min-height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(5, 5, 7, 0.42);
  padding: 18px 18px 18px 58px;
  color: #c8ccd5;
}
.journey-map li::before {
  counter-increment: journey;
  content: counter(journey, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  color: #ff6d6d;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
}
.journey-map li strong {
  color: #fff;
}
.journey-map article {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.35fr) 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
}
.journey-map article::before {
  counter-increment: journey;
  content: counter(journey, decimal-leading-zero);
  color: #ff6d6d;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
}
.journey-map h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.08;
}
.journey-map p {
  margin: 0;
  color: #c8ccd5;
}
.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 41, 41, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(210, 10, 10, 0.2), rgba(255, 255, 255, 0.045));
  padding: 34px;
}
.newsletter-panel h2 { margin: 0 0 12px; }
.newsletter-panel p { margin: 0; color: #c8ccd5; }
.newsletter-form {
  display: grid;
  gap: 12px;
}
.newsletter-form .btn { width: 100%; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -8px -8px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 41, 41, 0.28);
  border-radius: 8px;
  background: #050506;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-panel {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 44px;
  background: linear-gradient(135deg, rgba(210, 10, 10, 0.2), rgba(255, 255, 255, 0.04));
}
.cta-panel p { max-width: 620px; margin: 16px auto 26px; }

.page-hero {
  position: relative;
  padding: 94px 0 76px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 82% 24%, rgba(255, 41, 41, 0.24), transparent 34%);
  background-size: 72px 72px, 72px 72px, auto;
  animation: gridDrift 20s linear infinite;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 41, 41, 0.85), transparent);
  box-shadow: 0 0 30px rgba(255, 41, 41, 0.55);
  animation: lineSweep 4.2s ease-in-out infinite;
}
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.25rem, 4.1vw, 4.05rem);
  line-height: 1;
  letter-spacing: 0;
  animation: kineticIn 820ms cubic-bezier(.16, 1, .3, 1) both;
}
.page-hero p {
  max-width: 760px;
  font-size: 1.12rem;
  color: #c5c9d1;
  animation: softRise 900ms cubic-bezier(.16, 1, .3, 1) 160ms both;
}
.page-hero .wrap {
  position: relative;
}
.page-hero h1 {
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}
section.resource-hero {
  padding: 58px 0 46px !important;
}
.resource-hero-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
  margin-top: 26px;
}
.resource-hero-console a {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(8, 8, 10, 0.58);
  padding: 15px 14px 14px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.resource-hero-console a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 41, 41, 0.58);
  background: rgba(255, 41, 41, 0.12);
}
.resource-hero-console span,
.resource-hero-console strong {
  display: block;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
.resource-hero-console span {
  color: #ff6d6d;
  font-size: 0.72rem;
}
.resource-hero-console strong {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.22;
  margin-top: 5px;
}
.resource-library {
  position: relative;
  z-index: 3;
  padding-top: 54px !important;
}
.resource-library .wrap {
  position: relative;
  z-index: 4;
}
.resource-library .ag-word,
.resource-library .ag-word > i {
  display: inline !important;
  overflow: visible !important;
  transform: none !important;
}
.resource-library .section-head {
  margin-bottom: 28px;
}
.resource-library .feed-filters {
  margin-bottom: 18px;
}
.learn-lab-hero {
  min-height: auto;
  padding-bottom: 48px !important;
}
.learn-bubbles {
  position: relative;
  inset: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(760px, 100%);
  min-height: auto;
  margin-top: 24px;
  pointer-events: auto;
}
.learn-bubbles span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 41, 41, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 10, 12, 0.72);
  box-shadow: 0 18px 44px rgba(210, 10, 10, 0.16);
  backdrop-filter: blur(12px);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  animation: bubbleDrift 5.8s ease-in-out infinite;
}
.learn-bubbles span:nth-child(1) { animation-delay: 0ms; }
.learn-bubbles span:nth-child(2) { animation-delay: 700ms; }
.learn-bubbles span:nth-child(3) { animation-delay: 1300ms; }
.learn-bubbles span:nth-child(4) { animation-delay: 1900ms; }
.learn-bubbles span:nth-child(5) { animation-delay: 2500ms; }
.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 28px;
  align-items: start;
}
.builder-questions, .builder-output {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.builder-questions::before,
.builder-output::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 41, 41, 0.09), transparent);
  opacity: 0;
  transition: opacity 260ms ease;
}
.builder-questions:hover::before,
.builder-output:hover::before {
  opacity: 1;
}
.builder-choices { display: grid; gap: 10px; margin-top: 16px; }
.recommendation-list { display: grid; gap: 12px; margin-top: 18px; }
.recommendation-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--paper);
}
.estimate-form, .audit-form, .contact-form {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label { display: grid; gap: 6px; font-weight: 800; color: var(--text); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 41, 41, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 41, 41, 0.11);
  transform: translateY(-1px);
}
textarea { min-height: 118px; resize: vertical; }
.confirmation {
  display: none;
  border: 1px solid rgba(26, 127, 84, 0.28);
  border-radius: 8px;
  padding: 18px;
  color: #0f5136;
  background: #eaf7f0;
}
.confirmation.is-visible { display: block; }
.contact-card p a {
  color: var(--red);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-grid, .systems-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.article-card, .system-row {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.article-card h2, .system-row h2 { font-size: 1.5rem; line-height: 1.1; }
.article-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.article-card li {
  margin: 7px 0;
}
.system-row ul, .pricing-card ul { padding-left: 18px; color: var(--muted); }
.site-footer {
  padding: 44px 0;
  color: #c5c8d0;
  background: #050506;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.footer-grid img { width: 190px; margin-bottom: 14px; }
.footer-grid p { max-width: 560px; margin: 0; color: #9da2ad; }
.footer-links { display: grid; gap: 10px; justify-items: end; }

@media (max-width: 980px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-cta { display: none; }
  .menu-toggle { grid-column: 3; justify-self: end; }
  .nav-links {
    right: 0;
    width: min(340px, calc(100vw - 28px));
  }
  .nav-links a { padding: 12px; }
  .hero-grid, .two-col, .builder-shell { grid-template-columns: 1fr; }
  .immersive-actions { align-items: start; flex-direction: column; }
  .build-page .assembly-head .btn { justify-self: start; }
  .hero { min-height: auto; }
  .system-core { min-height: 500px; }
  .assembly-head { grid-template-columns: 1fr; align-items: start; }
  .assembly-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-stack article { grid-template-columns: 1fr; }
  .learning-engine-grid { grid-template-columns: 1fr; }
  .generated-post-grid { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid,
  .tools-directory,
  .glossary-grid,
  .case-upgrade-grid,
  .tech-stack-grid,
  .content-pillar-grid,
  .resource-detail-grid,
  .resource-hero-console,
  .journey-map ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter-panel { grid-template-columns: 1fr; }
  .journey-map article { grid-template-columns: 1fr; }
  .study-block,
  .study-block.reverse { grid-template-columns: 1fr; }
  .study-media { position: relative; top: auto; }
  .learn-bubbles {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    margin-top: 24px;
  }
  .product-preview { min-height: 430px; }
  .system-grid, .price-row, .breakdown-grid, .pricing-grid, .audit-grid, .news-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .brand img { width: 180px; }
  .hero-grid { padding-top: 48px; gap: 34px; }
  .hero-mark {
    width: min(300px, calc(100vw - 68px));
    margin-bottom: 24px;
  }
  .hero p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  .hero h1, .page-hero h1 { font-size: clamp(2rem, 9vw, 2.85rem); }
  .motion-hero::after { display: none; }
  .hero-proof { gap: 8px; }
  .system-core { min-height: auto; transform: none !important; }
  .fullscreen-core { min-height: auto; }
  .system-map { min-height: 620px; padding: 16px; }
  .system-node, .system-output {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-bottom: 12px;
    transform: none;
  }
  .system-output { margin-top: 18px; }
  .map-detail {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }
  .system-traces, .system-orbit { display: none; }
  .system-scanline { animation-duration: 4.8s; }
  .assembly-rail {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, rgba(255, 41, 41, 0.18), rgba(255, 255, 255, 0.14), transparent) 20px 0 / 1px 100% no-repeat;
  }
  .assembly-rail::before {
    left: 20px;
    top: var(--beam-top);
    width: 2px;
    height: var(--beam-height);
    background: linear-gradient(180deg, transparent, rgba(255, 41, 41, 0.95), #fff, rgba(255, 41, 41, 0.9), transparent);
  }
  .assembly-rail::after {
    left: 0;
    top: var(--beam-top);
    width: 100%;
    height: var(--beam-height);
    transition: top 520ms cubic-bezier(.16, 1, .3, 1), height 520ms cubic-bezier(.16, 1, .3, 1), opacity 240ms ease;
  }
  .assembly-step { min-height: auto; padding: 48px 18px 20px; }
  .assembly-step::after { display: none; }
  .assembly-detail { padding: 22px 18px; }
  .learn-bubbles { min-height: auto; }
  .learn-bubbles span { font-size: 0.72rem; }
  .learn-bubbles span:nth-child(n) { left: auto; right: auto; top: auto; }
  .hero-proof, .problem-grid, .system-grid, .price-row, .breakdown-grid, .pricing-grid, .audit-grid, .article-grid, .systems-list, .form-grid, .footer-grid, .news-grid, .video-grid { grid-template-columns: 1fr; }
  .map-info-grid { grid-template-columns: 1fr; }
  .engine-card { min-height: auto; }
  .resource-grid,
  .tools-directory,
  .glossary-grid,
  .case-upgrade-grid,
  .tech-stack-grid,
  .content-pillar-grid,
  .resource-detail-grid,
  .blog-archive-grid,
  .resource-hero-console,
  .journey-map ol { grid-template-columns: 1fr; }
  .newsletter-panel { padding: 24px; }
  .study-points { grid-template-columns: 1fr; }
  .study-points article { min-height: auto; }
  .section-head.split { display: block; }
  section:not(.hero) { padding: 68px 0; }
  .preview-stage { min-height: 430px; padding: 14px; }
  .preview-card { inset: 14px; padding: 20px; }
  .preview-card h2 { margin-top: 34px; font-size: 1.9rem; }
  .footer-links { justify-items: 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;
  }
  .system-core { transform: none !important; }
  .light-speed-warp { display: none !important; }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
