:root {
  --ink: #101512;
  --muted: #606b64;
  --paper: #f4f7f2;
  --paper-2: #e9eee8;
  --night: #07110d;
  --night-2: #0a1711;
  --night-3: #10241a;
  --line: rgba(16, 21, 18, 0.14);
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #f8fbf7;
  --green: #30f28b;
  --green-soft: #a7ffcc;
  --blue: #6ba7ff;
  --violet: #9f8cff;
  --radius-lg: 42px;
  --radius-md: 26px;
  --radius-sm: 16px;
  --shadow: 0 30px 90px rgba(11, 30, 18, 0.13);
  --shell: min(1240px, calc(100% - 48px));
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: #031008;
  background: var(--green);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--night);
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(48, 242, 139, 0.34);
  border-radius: 50%;
  font-size: 0.64rem;
  letter-spacing: 0;
}

.section-kicker.dark-ink {
  color: #68736c;
}

.section-kicker.dark-ink span {
  color: #087641;
  border-color: rgba(8, 118, 65, 0.34);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.8vw, 6.5rem);
  font-weight: 600;
}

h2 em,
h1 em {
  color: inherit;
  font-style: normal;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

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

.button-primary {
  color: #07110d;
  background: var(--green);
  box-shadow: 0 16px 40px rgba(48, 242, 139, 0.2);
}

.button-primary:hover {
  background: #59f6a4;
  box-shadow: 0 18px 48px rgba(48, 242, 139, 0.3);
}

.button-ghost {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-light {
  color: var(--night);
  background: var(--white);
}

.button-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-right: -8px;
  border-radius: 50%;
  background: rgba(7, 17, 13, 0.12);
}

/* Header */

.site-header {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
}

.nav-shell {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  grid-template-columns: 190px 1fr 116px;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 0 12px 0 22px;
  color: #fff;
  background: rgba(7, 17, 13, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px) saturate(1.3);
  pointer-events: auto;
  transition: background-color 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(7, 17, 13, 0.91);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.brand {
  display: inline-flex;
  width: 148px;
  align-items: center;
}

.brand img {
  width: 148px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 650;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #fff;
}

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

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--night);
  background: var(--green);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease;
}

.nav-cta:hover {
  background: #5af5a4;
  transform: translateY(-1px);
}

.menu-button,
.mobile-nav {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(40, 129, 87, 0.17), transparent 26%),
    linear-gradient(145deg, #07110d 0%, #08140f 46%, #06100c 100%);
}

.hero-atmosphere,
.hero-grid,
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 38%, black 0%, transparent 66%);
}

.aurora {
  inset: auto;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.aurora-a {
  top: 8%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: rgba(71, 123, 255, 0.16);
}

.aurora-b {
  right: 28%;
  bottom: 3%;
  width: 460px;
  height: 300px;
  background: rgba(48, 242, 139, 0.12);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--shell);
  min-height: 890px;
  grid-template-columns: minmax(0, 1.05fr) minmax(500px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 4vw, 64px);
  margin: 0 auto;
  padding: 142px 0 90px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
}

.release-pill {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-pill i {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--green);
}

.pulse-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(48, 242, 139, 0.45);
  border-radius: 50%;
  content: "";
  animation: status-pulse 2s ease-out infinite;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 4.8vw, 5.1rem);
  font-weight: 600;
}

.hero h1 em {
  background: linear-gradient(90deg, var(--green) 0%, #94ffbd 42%, #83b5ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.hero-lead strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust i {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(48, 242, 139, 0.7);
}

/* Lightweight 3D system */

.matrix-stage {
  position: relative;
  min-height: 650px;
  perspective: 1250px;
  transform-style: preserve-3d;
}

.matrix-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(48, 242, 139, 0.18), rgba(49, 106, 255, 0.07) 48%, transparent 72%);
  border-radius: 50%;
  filter: blur(32px);
  transform: translate(-50%, -50%);
}

.matrix-world {
  position: absolute;
  inset: 8% 0 3%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--mx, 0), var(--my, 0), 0);
  transform-style: preserve-3d;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.matrix-plane {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(610px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(rgba(48, 242, 139, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 242, 139, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(34, 74, 51, 0.12), rgba(5, 15, 10, 0.55));
  background-size: 46px 46px, 46px 46px, auto;
  border: 1px solid rgba(104, 255, 166, 0.16);
  border-radius: 38px;
  box-shadow: inset 0 0 80px rgba(48, 242, 139, 0.04), 0 50px 100px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%) rotateX(62deg) rotateZ(-28deg) translateZ(-80px);
  transform-style: preserve-3d;
}

.plane-beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(48, 242, 139, 0.9), transparent);
  box-shadow: 0 0 12px rgba(48, 242, 139, 0.6);
}

.beam-one {
  top: 32%;
  left: -10%;
  width: 80%;
  transform: rotate(-14deg);
}

.beam-two {
  right: -10%;
  bottom: 28%;
  width: 72%;
  transform: rotate(19deg);
}

.plane-node {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 2px solid #d8ffe7;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--green);
}

.node-a { top: 29%; left: 22%; }
.node-b { top: 55%; right: 18%; }
.node-c { right: 38%; bottom: 17%; }

.core-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(90, 255, 156, 0.24);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit-one {
  width: 330px;
  height: 128px;
  transform: translate(-50%, -50%) rotateZ(-15deg) rotateX(68deg) translateZ(14px);
  animation: orbit-spin 15s linear infinite;
}

.orbit-two {
  width: 270px;
  height: 270px;
  border-color: rgba(107, 167, 255, 0.22);
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(34deg) translateZ(4px);
  animation: orbit-spin-reverse 19s linear infinite;
}

.orbit-three {
  width: 188px;
  height: 188px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.17);
  transform: translate(-50%, -50%) rotateY(65deg) rotateZ(12deg);
  animation: orbit-spin 22s linear infinite;
}

.core-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 104px;
  height: 104px;
  padding: 9px;
  background: rgba(8, 20, 13, 0.86);
  border: 1px solid rgba(97, 255, 161, 0.3);
  border-radius: 26px;
  box-shadow: 0 0 80px rgba(48, 242, 139, 0.28);
  transform: translate(-50%, -50%) translateZ(76px);
}

.core-mark img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.core-pulse {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(48, 242, 139, 0.18);
  border-radius: 34px;
  animation: core-pulse 3s ease-out infinite;
}

.orbit-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 17, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orbit-label i {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(48, 242, 139, 0.7);
}

.label-vision { top: 15%; right: 2%; transform: translateZ(90px); }
.label-git { top: 41%; left: 0; transform: translateZ(54px); }
.label-skills { right: -2%; bottom: 25%; transform: translateZ(110px); }
.label-shell { bottom: 16%; left: 14%; transform: translateZ(48px); }

.agent-card {
  position: absolute;
  right: 2%;
  bottom: 2%;
  z-index: 6;
  width: min(390px, 64%);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(8, 18, 13, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateZ(145px);
}

.agent-card > header,
.agent-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-card > header > div {
  display: flex;
  gap: 5px;
}

.window-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.agent-online,
.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-online i,
.demo-live i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--green);
}

.agent-prompt {
  margin: 14px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.agent-prompt small {
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.agent-prompt p {
  margin: 4px 0 0;
  font-size: 0.77rem;
  line-height: 1.5;
}

.agent-divider {
  position: relative;
  height: 1px;
  margin: 0 22px 10px;
  background: rgba(255, 255, 255, 0.07);
}

.agent-divider span {
  position: absolute;
  top: -2px;
  left: 0;
  width: 32%;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  border-radius: 999px;
  filter: blur(1px);
  animation: agent-scan 2.8s ease-in-out infinite;
}

.agent-progress {
  display: grid;
  gap: 7px;
  padding: 4px 14px 14px;
}

.task-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.34);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.66rem;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease;
}

.task-row > span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.54rem;
}

.task-row p {
  margin: 0;
}

.task-row small {
  color: inherit;
  font-size: 0.56rem;
}

.task-row.is-active {
  color: #fff;
  background: rgba(48, 242, 139, 0.06);
  border-color: rgba(48, 242, 139, 0.2);
}

.task-row.is-active > span {
  color: var(--green);
  border-color: rgba(48, 242, 139, 0.5);
  box-shadow: 0 0 14px rgba(48, 242, 139, 0.16);
}

.task-row.is-complete {
  color: rgba(255, 255, 255, 0.66);
}

.task-row.is-complete > span {
  color: #031109;
  background: var(--green);
  border-color: var(--green);
}

.agent-card > footer {
  padding-block: 11px;
  color: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-card > footer strong {
  color: var(--green);
  font-size: 0.56rem;
}

.tilt-hint {
  position: absolute;
  right: 12%;
  bottom: -2%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tilt-hint i {
  font-style: normal;
}

.capability-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-track {
  display: flex;
  width: max-content;
  min-height: 72px;
  align-items: center;
  gap: 36px;
  color: rgba(255, 255, 255, 0.45);
  animation: rail-marquee 36s linear infinite;
}

.rail-track span {
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.rail-track i {
  color: var(--green);
  font-style: normal;
  font-size: 0.72rem;
}

/* Context */

.context-section {
  padding: 150px 0 120px;
  background: var(--paper);
}

.context-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 72px;
  margin-top: 38px;
}

.context-heading h2 {
  margin: 0;
}

.context-heading h2 em {
  color: #69756e;
}

.context-heading > p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}

.context-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.context-old {
  color: #29302b;
  background: #e7ebe6;
  border: 1px solid rgba(16, 21, 18, 0.09);
}

.context-new {
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(48, 242, 139, 0.14), transparent 34%),
    var(--night);
  box-shadow: var(--shadow);
}

.context-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.context-card-top i {
  color: #59645d;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.context-new .context-card-top i {
  color: rgba(255, 255, 255, 0.44);
}

.context-card h3 {
  max-width: 470px;
  margin: 28px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 600;
}

.context-card > p {
  max-width: 470px;
  margin: 0;
  color: #515d56;
}

.context-new > p {
  color: rgba(255, 255, 255, 0.53);
}

.loop-visual,
.signal-visual {
  position: relative;
  height: 290px;
  margin: 32px 0 10px;
}

.loop-visual::before,
.loop-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  border: 1px dashed rgba(16, 21, 18, 0.17);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.loop-visual::after {
  width: 162px;
  height: 162px;
  border-style: solid;
  border-color: rgba(16, 21, 18, 0.09);
}

.loop-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  background: #f5f7f3;
  border: 1px solid rgba(16, 21, 18, 0.12);
  border-radius: 50%;
  box-shadow: 0 15px 38px rgba(22, 31, 25, 0.08);
  font-family: var(--font-display);
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.loop-item {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #657069;
  background: rgba(247, 249, 245, 0.92);
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21, 32, 24, 0.06);
}

.loop-item-a { top: 16%; left: 16%; transform: rotate(-4deg); }
.loop-item-b { top: 19%; right: 7%; transform: rotate(3deg); }
.loop-item-c { bottom: 16%; left: 10%; transform: rotate(2deg); }
.loop-item-d { right: 10%; bottom: 15%; transform: rotate(-3deg); }

.signal-visual {
  display: grid;
  grid-template-columns: 1fr 70px 92px 1.15fr;
  align-items: center;
  gap: 5px;
}

.signal-source {
  justify-self: end;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.signal-line {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.signal-line i {
  position: absolute;
  width: 22px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: signal-travel 1.8s ease-in-out infinite;
}

.signal-core {
  position: relative;
  z-index: 2;
  padding: 8px;
  border: 1px solid rgba(48, 242, 139, 0.2);
  border-radius: 23px;
  box-shadow: 0 0 55px rgba(48, 242, 139, 0.18);
}

.signal-core img {
  width: 74px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 17px;
}

.signal-output {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
}

.signal-output span {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 700;
}

.impact-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-top: 66px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
}

.impact-line p {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.impact-line span {
  color: #68736c;
  font-size: clamp(1.2rem, 2.4vw, 2.4rem);
  letter-spacing: -0.04em;
}

/* System */

.system-section {
  padding: 140px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 25%, rgba(48, 242, 139, 0.07), transparent 25%),
    var(--night);
}

.system-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(54px, 8vw, 120px);
}

.system-intro {
  position: sticky;
  top: 132px;
  padding-bottom: 80px;
}

.system-intro h2 {
  margin: 34px 0 30px;
  font-size: clamp(3.1rem, 5.3vw, 5.5rem);
}

.system-intro h2 em {
  color: var(--green);
}

.system-intro > p {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 1rem;
  line-height: 1.75;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
}

.inline-link span {
  color: var(--green);
}

.system-modules {
  display: grid;
  gap: 16px;
}

.module-card {
  position: relative;
  display: grid;
  min-height: 315px;
  grid-template-columns: 58px 1fr 150px;
  align-items: start;
  gap: 22px;
  overflow: hidden;
  padding: 34px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  transition: background-color 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.module-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(48, 242, 139, 0.24);
  transform: translateX(-4px);
}

.module-index {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.68rem;
}

.module-tag {
  display: inline-block;
  margin: 8px 0 28px;
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.module-copy h3 {
  max-width: 510px;
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.module-copy > p {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.module-chips span {
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.module-icon {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 122px;
  height: 122px;
  color: var(--green);
}

.module-icon::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(48, 242, 139, 0.12), transparent 68%);
  border: 1px solid rgba(48, 242, 139, 0.12);
  border-radius: 50%;
  content: "";
}

.module-files i {
  position: absolute;
  width: 60px;
  height: 42px;
  border: 1px solid rgba(108, 255, 165, 0.5);
  border-radius: 8px;
  transform: skewY(-5deg);
}

.module-files i:nth-child(1) { top: 30px; left: 28px; opacity: 0.35; }
.module-files i:nth-child(2) { top: 41px; left: 35px; opacity: 0.64; }
.module-files i:nth-child(3) { top: 52px; left: 42px; background: rgba(48, 242, 139, 0.05); }

.module-terminal span {
  position: absolute;
  top: 40px;
  left: 32px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.module-terminal i {
  position: absolute;
  right: 28px;
  bottom: 35px;
  width: 38px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.module-check span {
  position: absolute;
  top: 35px;
  left: 43px;
  z-index: 2;
  font-size: 2.25rem;
  font-weight: 800;
}

.module-check i {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(48, 242, 139, 0.4);
  border-radius: 50%;
}

.module-skills span {
  position: absolute;
  top: 40px;
  left: 50px;
  z-index: 3;
  font-size: 2rem;
}

.module-skills i {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(48, 242, 139, 0.32);
  border-radius: 16px;
}

.module-skills i:nth-of-type(1) { top: 25px; left: 25px; transform: rotate(-12deg); }
.module-skills i:nth-of-type(2) { right: 23px; bottom: 25px; transform: rotate(14deg); }

/* Vision */

.vision-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  color: var(--white);
  background: #0b1017;
}

.vision-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.vision-orb-a {
  top: -16%;
  right: -6%;
  background: rgba(65, 117, 255, 0.17);
}

.vision-orb-b {
  bottom: -28%;
  left: -8%;
  background: rgba(134, 99, 255, 0.12);
}

.vision-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(50px, 7vw, 104px);
}

.vision-copy h2 {
  margin: 36px 0 28px;
  font-size: clamp(3.1rem, 5.4vw, 5.7rem);
}

.vision-copy h2 em {
  background: linear-gradient(90deg, #8db7ff, #c7baff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-copy > p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.75;
}

.vision-list {
  display: grid;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-list li > span {
  color: #8fb5ff;
  font-family: var(--font-display);
  font-size: 0.63rem;
}

.vision-list p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.vision-list strong {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
}

.vision-lab {
  overflow: hidden;
  background: rgba(9, 13, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.lab-toolbar,
.lab-footer {
  display: grid;
  min-height: 58px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-display);
  font-size: 0.61rem;
}

.lab-toolbar > div {
  display: flex;
  gap: 6px;
}

.lab-toolbar > div span {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.lab-toolbar p {
  margin: 0;
}

.lab-toolbar strong {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  color: #a8c7ff;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-toolbar strong i {
  width: 5px;
  height: 5px;
  background: #7ca8ff;
  border-radius: 50%;
  box-shadow: 0 0 9px #7ca8ff;
}

.lab-canvas {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 55% 40%, rgba(78, 114, 234, 0.16), transparent 48%);
  background-size: 40px 40px, 40px 40px, auto;
}

.device-frame {
  position: absolute;
  overflow: hidden;
  background: #f3f6f2;
  border: 5px solid #252b32;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.device-frame > header {
  display: flex;
  height: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  background: #1a2026;
}

.device-frame > header i {
  width: 5px;
  height: 5px;
  background: #6f7780;
  border-radius: 50%;
  box-shadow: 9px 0 #59616a, 18px 0 #454c54;
}

.device-frame > header span {
  width: 25%;
  height: 3px;
  background: #3b4249;
  border-radius: 999px;
}

.device-frame > main {
  padding: 14px;
}

.mock-nav {
  width: 100%;
  height: 11px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #151c18 15%, transparent 15% 68%, #dfe5df 68%);
  border-radius: 3px;
}

.mock-hero {
  display: grid;
  height: 94px;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mock-hero span:first-child {
  background: linear-gradient(#1c2921 22%, transparent 22% 36%, #617069 36% 42%, transparent 42% 53%, #dbe2dc 53% 69%, transparent 69%);
  border-radius: 6px;
}

.mock-hero span:last-child {
  background:
    radial-gradient(circle at 50% 50%, #4dff9f 0 8%, transparent 9%),
    radial-gradient(circle at 50% 50%, #12251b 0 36%, #d5ded7 37%);
  border-radius: 8px;
}

.mock-grid {
  display: grid;
  height: 62px;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.mock-grid i {
  background: #e1e7e2;
  border: 1px solid #d6ddd7;
  border-radius: 6px;
}

.device-desktop {
  top: 11%;
  left: 8%;
  width: 72%;
  height: 350px;
  transform: perspective(900px) rotateY(6deg) rotateX(2deg);
}

.device-tablet {
  right: 8%;
  bottom: 9%;
  width: 38%;
  height: 270px;
  border-width: 4px;
  transform: perspective(800px) rotateY(-7deg) rotateZ(1deg);
}

.device-mobile {
  bottom: 7%;
  left: 13%;
  width: 22%;
  height: 245px;
  border-width: 4px;
  border-radius: 20px;
  transform: perspective(800px) rotateY(8deg) rotateZ(-2deg);
}

.device-tablet .mock-hero,
.device-mobile .mock-hero {
  height: 65px;
  grid-template-columns: 1fr;
}

.device-tablet .mock-hero span:last-child,
.device-mobile .mock-hero span:last-child {
  display: none;
}

.device-tablet .mock-grid {
  grid-template-columns: repeat(2, 1fr);
}

.device-mobile > main {
  padding: 9px;
}

.device-mobile .mock-nav {
  height: 8px;
  margin-bottom: 12px;
}

.device-mobile .mock-grid {
  grid-template-columns: 1fr;
  height: 90px;
}

.scan-line {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6ba7ff, transparent);
  box-shadow: 0 0 15px #6ba7ff;
  animation: vision-scan 3.6s ease-in-out infinite;
}

.finding-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(9, 15, 20, 0.82);
  border: 1px solid rgba(124, 168, 255, 0.26);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  font-size: 0.58rem;
}

.finding-card span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #0a131f;
  background: #86afff;
  border-radius: 50%;
  font-weight: 800;
}

.finding-card p {
  margin: 0;
}

.finding-a { top: 7%; right: 4%; }
.finding-b { right: 5%; bottom: 5%; }

.lab-footer {
  min-height: 54px;
  grid-template-columns: repeat(3, auto) 1fr;
  justify-content: start;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
}

.lab-footer strong {
  justify-self: end;
  color: #95baff;
  font-size: 0.62rem;
}

/* Demo */

.demo-section {
  padding: 150px 0;
  background: var(--paper);
}

.demo-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 70px;
  margin-top: 40px;
}

.demo-heading h2 {
  margin: 0;
}

.demo-heading h2 em {
  color: #6a756e;
}

.demo-heading p {
  max-width: 420px;
  margin: 0 0 14px;
  color: var(--muted);
}

.demo-console {
  display: grid;
  min-height: 620px;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  margin-top: 70px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--night);
  border: 1px solid rgba(7, 17, 13, 0.1);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  background: rgba(255, 255, 255, 0.025);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-sidebar-brand img {
  border-radius: 10px;
}

.demo-sidebar-brand > div {
  display: grid;
}

.demo-sidebar-brand strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.demo-sidebar-brand span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.demo-tabs {
  display: grid;
  gap: 7px;
  margin-top: 28px;
}

.demo-tabs button {
  display: grid;
  min-height: 70px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.64);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.demo-tabs button > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.58rem;
}

.demo-tabs button div {
  display: grid;
}

.demo-tabs strong {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 650;
}

.demo-tabs small {
  color: inherit;
  font-size: 0.6rem;
  opacity: 0.65;
}

.demo-tabs button[aria-selected="true"] {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(48, 242, 139, 0.055);
  border-color: rgba(48, 242, 139, 0.2);
}

.demo-tabs button[aria-selected="true"] > span {
  color: #051109;
  background: var(--green);
  border-color: var(--green);
}

.demo-mode {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  font-size: 0.6rem;
}

.demo-mode > span {
  color: rgba(255, 255, 255, 0.35);
}

.demo-mode strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.67rem;
}

.demo-mode i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.demo-main {
  display: grid;
  grid-template-rows: 58px 1fr 50px;
}

.demo-main > header,
.demo-main > footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 0.61rem;
}

.demo-main > header > div {
  display: flex;
  gap: 5px;
}

.demo-main > header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.demo-main > header .demo-live {
  justify-self: end;
}

.demo-main > footer {
  grid-template-columns: 1fr auto;
  color: rgba(255, 255, 255, 0.64);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}

.demo-main > footer strong {
  color: var(--green);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-content {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 38px 38px;
}

.demo-content.is-changing {
  opacity: 0.2;
  transform: translateY(8px);
}

.demo-content {
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-display);
  font-size: 0.66rem;
}

.demo-path i {
  color: rgba(255, 255, 255, 0.16);
  font-style: normal;
}

.demo-path strong {
  color: rgba(255, 255, 255, 0.7);
}

.file-tree {
  display: grid;
  gap: 6px;
  max-width: 630px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.file-tree p {
  display: flex;
  min-height: 31px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.54);
  border-radius: 7px;
}

.file-tree .tree-child {
  padding-left: 34px;
}

.file-tree .is-hot {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(48, 242, 139, 0.04);
}

.file-tree p > i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #07110d;
  background: #78837d;
  border-radius: 5px;
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 800;
}

.file-tree .is-hot > i {
  background: var(--green);
}

.file-tree small {
  margin-left: auto;
  color: var(--green);
  font-size: 0.52rem;
}

.context-note {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: flex;
  max-width: 290px;
  gap: 12px;
  padding: 16px;
  background: rgba(48, 242, 139, 0.055);
  border: 1px solid rgba(48, 242, 139, 0.16);
  border-radius: 14px;
}

.context-note > span {
  color: var(--green);
}

.context-note p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.63rem;
  line-height: 1.5;
}

.context-note strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
}

.diff-view,
.validation-view {
  display: grid;
  gap: 10px;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: 0.7rem;
}

.diff-line {
  display: grid;
  grid-template-columns: 45px 1fr;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid transparent;
  border-radius: 5px;
}

.diff-line.add {
  color: #adf6c9;
  background: rgba(48, 242, 139, 0.055);
  border-left-color: var(--green);
}

.diff-line.remove {
  color: #f1aaa4;
  background: rgba(242, 96, 84, 0.055);
  border-left-color: #f27064;
}

.diff-line span {
  color: rgba(255, 255, 255, 0.22);
}

.approval-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.approval-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.65rem;
}

.approval-banner span {
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.validation-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.validation-row > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #07110d;
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
}

.validation-row div {
  display: grid;
}

.validation-row strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
}

.validation-row small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.56rem;
}

.validation-row > i {
  color: var(--green);
  font-style: normal;
  font-size: 0.56rem;
}

/* Skills */

.skills-section {
  padding: 150px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 32%, rgba(48, 242, 139, 0.09), transparent 28%),
    var(--night);
}

.skills-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.skills-copy h2 {
  margin: 38px 0 28px;
  font-size: clamp(3.2rem, 5.4vw, 5.7rem);
}

.skills-copy h2 em {
  color: var(--green);
}

.skills-copy > p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.skills-points {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.78rem;
}

.skills-points span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills-points i {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--night);
  background: var(--green);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
}

.skill-stack {
  position: relative;
  min-height: 600px;
  perspective: 1100px;
}

.skill-card {
  position: absolute;
  left: 50%;
  width: min(510px, 90%);
  min-height: 210px;
  padding: 28px;
  background: rgba(14, 29, 21, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform 350ms ease, border-color 350ms ease;
}

.skill-card:hover {
  border-color: rgba(48, 242, 139, 0.34);
}

.skill-native {
  top: 4%;
  z-index: 3;
  transform: translateX(-57%) rotateY(7deg) rotateZ(-2deg);
}

.skill-native:hover {
  transform: translateX(-57%) translateY(-6px) rotateY(5deg) rotateZ(-1deg);
}

.skill-contextual {
  top: 35%;
  z-index: 2;
  transform: translateX(-43%) rotateY(-7deg) rotateZ(2deg);
}

.skill-contextual:hover {
  transform: translateX(-43%) translateY(-6px) rotateY(-5deg) rotateZ(1deg);
}

.skill-user {
  top: 66%;
  z-index: 1;
  transform: translateX(-55%) rotateY(5deg) rotateZ(-1deg);
}

.skill-user:hover {
  transform: translateX(-55%) translateY(-6px) rotateY(3deg) rotateZ(0deg);
}

.skill-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-status i {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--green);
}

.skill-card h3 {
  margin: 31px 0 8px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 600;
}

.skill-card > p {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.78rem;
}

.skill-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-card footer strong {
  color: var(--green);
}

/* Security */

.security-section {
  padding: 150px 0 120px;
  background: var(--paper);
}

.security-heading {
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.75fr;
  align-items: end;
  gap: 44px;
}

.security-heading .section-kicker {
  align-self: start;
}

.security-heading h2 {
  margin: 0;
}

.security-heading h2 em {
  color: #6a756e;
}

.security-heading > p {
  margin: 0 0 10px;
  color: var(--muted);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 76px;
}

.mode-grid article {
  position: relative;
  min-height: 330px;
  padding: 24px;
  background: #e7ece7;
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 25px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mode-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(16, 31, 21, 0.09);
}

.mode-grid .mode-featured {
  color: #fff;
  background: var(--night);
}

.mode-number {
  color: #536159;
  font-family: var(--font-display);
  font-size: 0.63rem;
}

.mode-featured .mode-number {
  color: rgba(255, 255, 255, 0.45);
}

.mode-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 9px;
  color: var(--night);
  background: var(--green);
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mode-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin: 64px 0 34px;
  color: #405248;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(16, 21, 18, 0.1);
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.mode-featured .mode-icon {
  color: var(--green);
  background: rgba(48, 242, 139, 0.06);
  border-color: rgba(48, 242, 139, 0.2);
  box-shadow: 0 0 35px rgba(48, 242, 139, 0.08);
}

.mode-grid h3 {
  margin-bottom: 15px;
  font-size: 1.45rem;
  font-weight: 600;
}

.mode-grid p {
  margin: 0;
  color: #515e56;
  font-size: 0.76rem;
  line-height: 1.65;
}

.mode-featured p {
  color: rgba(255, 255, 255, 0.47);
}

.architecture-line {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 90px;
  padding: 28px;
  background: #e8ede8;
  border: 1px solid rgba(16, 21, 18, 0.09);
  border-radius: 24px;
}

.architecture-line > div {
  display: grid;
  text-align: center;
}

.architecture-line small {
  color: #56625a;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.architecture-line strong {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.architecture-line > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #536058;
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
}

.architecture-line > span i {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, #93a097, var(--green), #93a097);
}

.architecture-note {
  margin: 17px 0 0;
  color: #536159;
  font-size: 0.68rem;
  text-align: center;
}

/* Model / Download */

.model-section {
  position: relative;
  overflow: hidden;
  padding: 145px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(71, 122, 255, 0.15), transparent 27%),
    radial-gradient(circle at 15% 100%, rgba(48, 242, 139, 0.08), transparent 30%),
    #080f15;
}

.model-noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.model-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.model-label {
  color: #92b8ff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.model-copy h2 {
  margin: 38px 0 28px;
  font-size: clamp(3.2rem, 5.8vw, 6rem);
}

.model-copy h2 em {
  color: #93b9ff;
}

.model-copy > p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.75;
}

.model-note {
  display: flex;
  max-width: 650px;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.model-note span {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: #0a1118;
  background: #91b8ff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
}

.model-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.62rem;
  line-height: 1.5;
}

.download-card {
  display: grid;
  min-height: 450px;
  align-content: start;
  padding: 34px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.download-icon {
  width: 96px;
  margin-bottom: 48px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 25px;
  box-shadow: 0 0 48px rgba(48, 242, 139, 0.12);
}

.download-icon img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.download-card > div:nth-child(2) > span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.download-card h3 {
  margin: 12px 0 9px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
}

.download-card p {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
}

.download-platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 9px;
}

.download-platform-row p {
  margin: 0;
}

.download-wsl-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 10px 6px 7px;
  color: #c9dcff;
  background: rgba(145, 184, 255, 0.1);
  border: 1px solid rgba(145, 184, 255, 0.3);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.download-wsl-badge > span {
  display: inline-grid;
  min-width: 25px;
  height: 20px;
  place-items: center;
  padding: 0 4px;
  color: #30f28b;
  background: rgba(48, 242, 139, 0.09);
  border: 1px solid rgba(48, 242, 139, 0.22);
  border-radius: 6px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 800;
}

.download-button {
  width: 100%;
  margin-top: 34px;
}

.download-button span:last-child {
  margin-left: auto;
  font-size: 1rem;
}

.download-card > small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.56rem;
  text-align: center;
}

/* Pricing */

.pricing-section {
  padding: 150px 0;
  background: var(--paper);
}

.pricing-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr 0.6fr;
  align-items: end;
  gap: 40px;
}

.pricing-heading .section-kicker {
  align-self: start;
}

.pricing-heading h2 {
  margin: 0;
}

.pricing-heading h2 em {
  color: #69756e;
}

.pricing-heading > p {
  margin: 0 0 10px;
  color: var(--muted);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  margin-top: 76px;
}

.price-card {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  padding: 34px;
  border-radius: 34px;
}

.price-primary {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(48, 242, 139, 0.15), transparent 25%),
    var(--night);
  box-shadow: var(--shadow);
}

.price-custom {
  background: #e7ece7;
  border: 1px solid rgba(16, 21, 18, 0.1);
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.price-top strong {
  padding: 6px 9px;
  color: var(--night);
  background: var(--green);
  border-radius: 999px;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
}

.price-value {
  display: flex;
  align-items: flex-end;
  margin: 64px 0 18px;
}

.price-value > span {
  align-self: flex-start;
  margin: 12px 8px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.price-value > strong {
  font-family: var(--font-display);
  font-size: clamp(4.1rem, 7.5vw, 7.5rem);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.price-value > small {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
}

.custom-title {
  margin: 64px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.7vw, 5.7rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.price-lead {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.price-custom .price-lead {
  color: #526057;
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 44px 0 34px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.price-custom ul {
  border-top-color: rgba(16, 21, 18, 0.1);
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}

.price-custom li {
  color: #606b64;
}

.price-card li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--night);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.58rem;
  font-weight: 800;
}

.price-custom li span {
  color: #2b3c32;
  background: #d5ddd6;
}

.price-button,
.price-button-secondary {
  width: 100%;
  margin-top: auto;
}

.price-button {
  color: var(--night);
  background: var(--green);
}

.price-button span:last-child,
.price-button-secondary span:last-child {
  margin-left: auto;
}

.price-button-secondary {
  color: #fff;
  background: var(--night);
}

.price-disclaimer {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.27);
  font-size: 0.54rem;
  text-align: center;
}

/* FAQ */

.faq-section {
  padding: 150px 0;
  color: #fff;
  background: var(--night);
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.faq-intro h2 {
  margin: 38px 0 28px;
  font-size: clamp(3.2rem, 5.3vw, 5.5rem);
}

.faq-intro h2 em {
  color: var(--green);
}

.faq-intro > p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.47);
}

.faq-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 5px;
  color: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  font-weight: 700;
}

.faq-intro > a span {
  color: var(--green);
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-list summary {
  display: grid;
  min-height: 96px;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 550;
  letter-spacing: -0.025em;
}

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

.faq-list summary i {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary {
  color: #fff;
}

.faq-list details[open] summary i {
  background: var(--green);
  border-color: var(--green);
  transform: rotate(45deg);
}

.faq-list details[open] summary i::before,
.faq-list details[open] summary i::after {
  background: var(--night);
}

.faq-list details > p {
  max-width: 720px;
  margin: -10px 55px 34px 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* Final */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 150px 0 160px;
  color: #fff;
  background: #091510;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.final-orb {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 850px;
  height: 650px;
  background: radial-gradient(ellipse, rgba(48, 242, 139, 0.19), rgba(92, 145, 255, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  transform: translateX(-50%);
}

.final-shell {
  position: relative;
  z-index: 2;
  text-align: center;
}

.final-shell > span {
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.final-shell h2 {
  margin: 35px auto 42px;
  font-size: clamp(3.2rem, 6.8vw, 7rem);
}

.final-shell h2 em {
  background: linear-gradient(90deg, var(--green), #88b3ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-shell > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */

.site-footer {
  padding: 70px max(24px, calc((100vw - 1240px) / 2)) 24px;
  color: #fff;
  background: #050b08;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 70px;
  padding-bottom: 70px;
}

.footer-brand {
  width: 160px;
}

.footer-brand img {
  width: 160px;
  height: auto;
}

.footer-top > p {
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.footer-top nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-top nav > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-top nav span {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.footer-top nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
  transition: color 180ms ease;
}

.footer-top nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: grid;
  min-height: 58px;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.58rem;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
}

.footer-bottom a {
  justify-self: end;
}

/* Motion */

@keyframes status-pulse {
  from { opacity: 0.8; transform: scale(0.7); }
  to { opacity: 0; transform: scale(1.6); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotateZ(345deg) rotateX(68deg) translateZ(14px); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(-326deg) translateZ(4px); }
}

@keyframes core-pulse {
  0% { opacity: 0.7; transform: scale(0.82); }
  70%, 100% { opacity: 0; transform: scale(1.22); }
}

@keyframes agent-scan {
  0%, 100% { left: 0; opacity: 0.2; }
  50% { left: 68%; opacity: 1; }
}

@keyframes signal-travel {
  from { left: -20px; }
  to { left: 100%; }
}

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

@keyframes vision-scan {
  0%, 100% { top: 7%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 94%; opacity: 0; }
}

@supports (animation-timeline: view()) {
  .context-card,
  .module-card,
  .vision-lab,
  .skill-card,
  .mode-grid article,
  .price-card,
  .faq-list details {
    animation: view-rise linear both;
    animation-range: entry 0% cover 32%;
    animation-timeline: view();
  }

  @keyframes view-rise {
    from { transform: translateY(26px) scale(0.99); }
    to { transform: translateY(0) scale(1); }
  }

  .skill-native {
    animation-name: none;
  }

  .skill-contextual,
  .skill-user {
    animation-name: none;
  }
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 170px;
    padding-bottom: 130px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero h1 {
    font-size: clamp(4rem, 9.8vw, 7.2rem);
  }

  .matrix-stage {
    width: min(800px, 100%);
    min-height: 650px;
    margin: 0 auto;
  }

  .hero {
    min-height: 1450px;
  }

  .context-heading,
  .demo-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .context-heading > p,
  .demo-heading p {
    max-width: 640px;
  }

  .system-shell,
  .vision-shell,
  .skills-shell,
  .faq-shell {
    grid-template-columns: 1fr;
  }

  .system-intro,
  .faq-intro {
    position: static;
    padding-bottom: 20px;
  }

  .system-intro h2,
  .vision-copy h2,
  .skills-copy h2,
  .faq-intro h2 {
    max-width: 880px;
  }

  .vision-copy {
    max-width: 760px;
  }

  .skill-stack {
    width: min(800px, 100%);
    margin: 0 auto;
  }

  .security-heading,
  .pricing-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .security-heading h2,
  .pricing-heading h2 {
    max-width: 880px;
  }

  .security-heading > p,
  .pricing-heading > p {
    max-width: 560px;
  }

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

  .model-shell {
    grid-template-columns: 1fr;
  }

  .download-card {
    width: min(610px, 100%);
  }
}

@media (max-width: 880px) {
  :root {
    --shell: min(100% - 32px, 760px);
    --radius-lg: 30px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 62px;
    padding-right: 10px;
  }

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

  .menu-button {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
  }

  .menu-button span {
    position: absolute;
    width: 17px;
    height: 1px;
    background: #fff;
    transition: transform 180ms ease;
  }

  .menu-button span:first-child {
    transform: translateY(-3px);
  }

  .menu-button span:last-child {
    transform: translateY(3px);
  }

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

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

  .mobile-nav {
    display: grid;
    width: min(540px, calc(100% - 36px));
    gap: 2px;
    margin: 8px auto 0;
    padding: 12px;
    color: #fff;
    background: rgba(7, 17, 13, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(22px);
    pointer-events: auto;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.68);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 650;
  }

  .mobile-nav a:last-child {
    margin-top: 4px;
    color: var(--night);
    background: var(--green);
    text-align: center;
  }

  h2 {
    font-size: clamp(2.8rem, 10.2vw, 5rem);
  }

  .hero {
    min-height: 1310px;
  }

  .hero-shell {
    padding-top: 150px;
    padding-bottom: 125px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 12vw, 6.2rem);
  }

  .matrix-stage {
    min-height: 590px;
  }

  .matrix-world {
    transform: scale(0.92) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  }

  .agent-card {
    right: 2%;
    width: min(390px, 72%);
  }

  .context-section,
  .system-section,
  .vision-section,
  .demo-section,
  .skills-section,
  .security-section,
  .model-section,
  .pricing-section,
  .faq-section {
    padding-block: 110px;
  }

  .context-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .context-card {
    min-height: 540px;
  }

  .module-card {
    grid-template-columns: 48px 1fr;
  }

  .module-icon {
    display: none;
  }

  .vision-lab {
    max-width: 760px;
  }

  .demo-console {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .demo-sidebar-brand {
    padding: 0;
    border: 0;
  }

  .demo-tabs {
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
  }

  .demo-tabs button {
    min-height: 60px;
    grid-template-columns: 28px 1fr;
    padding: 6px 9px;
  }

  .demo-tabs small {
    display: none;
  }

  .demo-mode {
    display: none;
  }

  .demo-content {
    min-height: 450px;
  }

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

  .architecture-line {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .architecture-line > span {
    flex-direction: column;
  }

  .architecture-line > span i {
    width: 1px;
    height: 24px;
    background: linear-gradient(#93a097, var(--green), #93a097);
  }

  .price-card {
    min-height: 580px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .site-header {
    top: 10px;
  }

  .nav-shell,
  .mobile-nav {
    width: calc(100% - 20px);
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .hero {
    min-height: 1150px;
  }

  .hero-shell {
    gap: 16px;
    padding-top: 130px;
  }

  .release-pill {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 0.55rem;
  }

  .release-pill span:nth-of-type(2) {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .release-pill span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(3rem, 15.5vw, 4.8rem);
    letter-spacing: -0.065em;
  }

  .hero-lead {
    font-size: 0.94rem;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 9px;
  }

  .matrix-stage {
    min-height: 490px;
    margin-top: 15px;
  }

  .matrix-world {
    inset: 2% -24% 0;
    transform: scale(0.72);
  }

  .matrix-plane {
    width: 560px;
  }

  .orbit-label {
    display: none;
  }

  .agent-card {
    right: 18%;
    bottom: 1%;
    width: 390px;
  }

  .tilt-hint {
    display: none;
  }

  .capability-rail {
    bottom: 0;
  }

  .rail-track {
    min-height: 58px;
  }

  .context-section,
  .system-section,
  .vision-section,
  .demo-section,
  .skills-section,
  .security-section,
  .model-section,
  .pricing-section,
  .faq-section {
    padding-block: 86px;
  }

  .context-heading,
  .demo-heading {
    margin-top: 28px;
  }

  .context-grid,
  .pricing-layout,
  .mode-grid {
    margin-top: 50px;
  }

  .context-card {
    min-height: 520px;
    padding: 22px;
  }

  .loop-visual,
  .signal-visual {
    height: 265px;
    margin-inline: -10px;
  }

  .signal-visual {
    grid-template-columns: 0.9fr 34px 70px 1fr;
  }

  .signal-core img {
    width: 54px;
  }

  .signal-output {
    grid-template-columns: 1fr;
  }

  .signal-output span {
    padding: 6px 8px;
  }

  .impact-line {
    display: grid;
  }

  .module-card {
    min-height: auto;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 24px 20px;
  }

  .module-index {
    width: 34px;
    height: 34px;
  }

  .module-tag {
    margin-top: 4px;
    margin-bottom: 20px;
  }

  .module-copy h3 {
    font-size: 1.7rem;
  }

  .vision-list {
    margin-top: 36px;
  }

  .lab-canvas {
    min-height: 470px;
  }

  .device-desktop {
    top: 10%;
    left: 5%;
    width: 86%;
    height: 260px;
  }

  .device-tablet {
    right: 3%;
    bottom: 6%;
    width: 48%;
    height: 205px;
  }

  .device-mobile {
    bottom: 5%;
    left: 7%;
    width: 29%;
    height: 185px;
  }

  .finding-card {
    display: none;
  }

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

  .lab-toolbar p {
    display: none;
  }

  .lab-footer {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 0 10px;
    font-size: 0.48rem;
    text-align: center;
  }

  .lab-footer strong {
    display: none;
  }

  .demo-console {
    min-height: 650px;
    border-radius: 24px;
  }

  .demo-sidebar {
    display: block;
    padding: 18px 12px 12px;
  }

  .demo-sidebar-brand {
    margin: 0 6px 18px;
  }

  .demo-tabs {
    gap: 4px;
  }

  .demo-tabs button {
    min-height: 52px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 6px 4px;
    text-align: center;
  }

  .demo-tabs button > span {
    display: none;
  }

  .demo-main > header {
    grid-template-columns: 1fr auto;
  }

  .demo-main > header p {
    display: none;
  }

  .demo-content {
    min-height: 440px;
    padding: 20px 14px;
  }

  .file-tree {
    padding: 12px;
    font-size: 0.62rem;
  }

  .context-note {
    right: 14px;
    bottom: 20px;
    left: 14px;
    max-width: none;
  }

  .demo-main > footer {
    padding: 0 14px;
    font-size: 0.52rem;
  }

  .skill-stack {
    min-height: 585px;
  }

  .skill-card {
    width: 92%;
    min-height: 190px;
    padding: 22px;
  }

  .skill-native { transform: translateX(-54%) rotateZ(-2deg); }
  .skill-contextual { transform: translateX(-46%) rotateZ(2deg); }
  .skill-user { transform: translateX(-54%) rotateZ(-1deg); }

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

  .mode-grid article {
    min-height: 285px;
  }

  .mode-icon {
    margin-top: 42px;
    margin-bottom: 26px;
  }

  .model-note {
    display: grid;
  }

  .model-note span {
    width: fit-content;
  }

  .download-card,
  .price-card {
    padding: 26px;
    border-radius: 26px;
  }

  .price-value > strong {
    font-size: clamp(4.2rem, 21vw, 6.5rem);
  }

  .custom-title {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .faq-list summary {
    min-height: 82px;
    font-size: 1rem;
  }

  .faq-list details > p {
    margin-right: 20px;
    font-size: 0.8rem;
  }

  .final-cta {
    padding-block: 100px;
  }

  .final-shell > div {
    display: grid;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-top nav {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding-top: 24px;
  }

  .footer-bottom p {
    text-align: left;
  }

  .footer-bottom a {
    justify-self: start;
  }
}

.demo-path em {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(48, 242, 139, 0.2);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.52rem;
  font-style: normal;
  text-transform: uppercase;
}

.mini-ide {
  height: 286px;
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: #07110d;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.mini-ide-tree {
  min-width: 0;
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #09150f;
  font-family: var(--font-display);
}

.mini-ide-tree > small {
  display: block;
  padding: 0 8px 9px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mini-ide-tree p {
  height: 29px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 7px;
  overflow: hidden;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-ide-tree p.depth {
  padding-left: 22px;
}

.mini-ide-tree p.active {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(48, 242, 139, 0.08);
  box-shadow: inset 2px 0 var(--green);
}

.mini-ide-tree p i,
.mini-ide-tab i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  color: #86c7ff;
  background: rgba(134, 199, 255, 0.12);
  font-size: 0.42rem;
  font-style: normal;
  font-weight: 800;
}

.mini-ide-editor {
  min-width: 0;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr) 25px;
}

.mini-ide-tab {
  width: min(220px, 72%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px var(--green);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.58rem;
}

.mini-ide-tab span {
  margin-left: auto;
  color: #f5c57a;
  font-size: 0.42rem;
}

.mini-ide-code {
  min-width: 0;
  padding: 12px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 0, rgba(48, 242, 139, 0.035), transparent 36%),
    #07110d;
  font: 0.61rem/1.9 var(--font-display);
}

.mini-ide-code p {
  min-width: max-content;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  margin: 0;
  padding-right: 15px;
  color: rgba(255, 255, 255, 0.67);
}

.mini-ide-code p.focus {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 2px 0 rgba(48, 242, 139, 0.6);
}

.mini-ide-code p > b {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
  text-align: center;
}

.mini-ide-code code {
  font: inherit;
  white-space: pre;
}

.mini-ide-code .kw { color: #67e8a8; }
.mini-ide-code .fn { color: #86c7ff; }
.mini-ide-code .str { color: #c4e88d; }

.mini-ide-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 9px;
  color: rgba(192, 234, 211, 0.65);
  background: #0d2b1d;
  font: 0.46rem/1 var(--font-display);
}

.approval-banner--ide {
  margin-top: 13px;
  padding-block: 10px;
}

@media (max-width: 620px) {
  .mini-ide {
    height: 280px;
    grid-template-columns: minmax(0, 1fr);
  }

  .mini-ide-tree {
    display: none;
  }

  .mini-ide-code {
    font-size: 0.54rem;
  }

  .approval-banner--ide {
    display: grid;
    gap: 6px;
  }
}

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

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

  .rail-track {
    animation: none;
  }

  .matrix-world,
  .aurora,
  .vision-orb {
    transform: none !important;
  }
}
