:root {
  --void: #050b09;
  --deep: #08130f;
  --panel: #0d1d17;
  --panel-2: #11251d;
  --ink: #f3faf6;
  --muted: #91a79d;
  --dim: #5f756b;
  --line: rgba(146, 202, 180, 0.14);
  --line-bright: rgba(105, 230, 184, 0.34);
  --mint: #69e6b8;
  --mint-hot: #a1ffda;
  --teal: #25ad82;
  --violet: #aa92ff;
  --coral: #ff7668;
  --gold: #f5c65b;
  --blue: #62b5ef;
  --radius: 20px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(105, 230, 184, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 230, 184, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

::selection {
  background: var(--mint);
  color: var(--void);
}

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

button,
code,
pre {
  font: inherit;
}

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

h1 {
  font-size: clamp(52px, 5.7vw, 84px);
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(38px, 4.35vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin-bottom: 20px;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 10px;
}

.skip-link {
  background: var(--mint);
  border-radius: 8px;
  color: var(--void);
  font-weight: 850;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -90px;
  z-index: 100;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(24px);
  background: rgba(6, 14, 11, 0.82);
  border: 1px solid rgba(105, 230, 184, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 68px;
  left: 20px;
  margin: 0 auto;
  max-width: 1380px;
  padding: 0 14px 0 18px;
  position: fixed;
  right: 20px;
  top: 14px;
  z-index: 30;
}

.site-header::after {
  background: linear-gradient(90deg, var(--mint), var(--violet));
  bottom: -1px;
  content: "";
  height: 1px;
  left: 18px;
  position: absolute;
  transition: width 80ms linear;
  width: var(--scroll-progress, 0%);
}

.brand {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 900;
  gap: 10px;
  justify-self: start;
  letter-spacing: 0.03em;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--mint-hot), var(--teal));
  border-radius: 9px;
  box-shadow: 0 0 28px rgba(105, 230, 184, 0.22);
  color: var(--void);
  display: inline-flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(20px, 2.7vw, 38px);
}

nav a {
  color: rgba(242, 250, 246, 0.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a.active {
  color: var(--mint);
}

.header-cta {
  background: var(--mint);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(39, 170, 122, 0.18);
  color: var(--void);
  font-size: 12px;
  font-weight: 900;
  justify-self: end;
  padding: 11px 15px;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  box-shadow: 0 14px 40px rgba(105, 230, 184, 0.25);
  transform: translateY(-1px);
}

.hero {
  background:
    radial-gradient(circle at 77% 42%, rgba(49, 190, 139, 0.14), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(123, 92, 228, 0.1), transparent 30%),
    linear-gradient(135deg, #050c09 0%, #0a1812 52%, #06100c 100%);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, transparent, var(--mint), var(--violet), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.75;
  position: absolute;
  right: 0;
}

.hero-ambient {
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

#aifa-canvas {
  height: 100%;
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.32) 58%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.32) 58%, #000 100%);
  position: absolute;
  width: 100%;
}

.ambient-orbit {
  border: 1px solid rgba(105, 230, 184, 0.1);
  border-radius: 50%;
  position: absolute;
  right: -12vw;
  top: 50%;
  transform: translateY(-50%);
}

.ambient-orbit::before,
.ambient-orbit::after {
  border: 1px solid rgba(169, 146, 245, 0.07);
  border-radius: inherit;
  content: "";
  inset: 11%;
  position: absolute;
}

.ambient-orbit::after {
  border-color: rgba(105, 230, 184, 0.05);
  inset: 24%;
}

.orbit-one {
  height: 72vw;
  max-height: 1040px;
  max-width: 1040px;
  width: 72vw;
}

.orbit-two {
  height: 48vw;
  max-height: 700px;
  max-width: 700px;
  right: -1vw;
  transform: translateY(-50%) rotate(28deg);
  width: 48vw;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(54px, 6vw, 96px);
  grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
  margin: 0 auto;
  max-width: 1380px;
  min-height: 100vh;
  padding: 132px clamp(24px, 5vw, 72px) 78px;
  position: relative;
  z-index: 2;
}

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

.eyebrow,
.section-label {
  color: var(--mint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 17px;
  text-transform: uppercase;
}

.hero .eyebrow {
  align-items: center;
  display: flex;
  gap: 10px;
}

.hero .eyebrow span {
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(105, 230, 184, 0.07), 0 0 18px var(--mint);
  height: 6px;
  width: 6px;
}

.hero h1 em {
  background: linear-gradient(100deg, #fff 8%, #75e8bd 55%, #b8a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lede {
  color: rgba(229, 242, 235, 0.66);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  margin-bottom: 34px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 12px;
  justify-content: center;
  min-height: 49px;
  padding: 13px 18px;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.button-primary {
  background: var(--mint);
  color: var(--void);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

.button-light {
  background: var(--mint);
  color: var(--void);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.signal-list li {
  color: rgba(228, 242, 235, 0.42);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  padding-left: 14px;
  position: relative;
  text-transform: uppercase;
}

.signal-list li::before {
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(105, 230, 184, 0.5);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 5px;
}

.future-console {
  background: linear-gradient(155deg, #10251d 0%, #091712 58%, #0e2019 100%);
  border: 1px solid rgba(105, 230, 184, 0.27);
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.52), 0 0 80px rgba(38, 171, 122, 0.08);
  isolation: isolate;
  justify-self: end;
  max-width: 620px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.future-console::before {
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(105, 230, 184, 0.035) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(105, 230, 184, 0.035) 50%, transparent 50.5%);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.52;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.future-console::after {
  background: linear-gradient(90deg, var(--mint), var(--violet), var(--coral));
  content: "";
  height: 2px;
  left: 28px;
  opacity: 0.8;
  position: absolute;
  right: 28px;
  top: 0;
}

.console-header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 24px;
}

.console-header > div {
  align-items: center;
  display: flex;
  gap: 11px;
}

.console-mark {
  align-items: center;
  background: var(--mint);
  border-radius: 7px;
  box-shadow: 0 0 22px rgba(105, 230, 184, 0.28);
  color: var(--void);
  display: flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.console-header p {
  line-height: 1.15;
  margin: 0;
}

.console-header strong,
.console-header small {
  display: block;
}

.console-header strong {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.console-header small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.console-status {
  align-items: center;
  border: 1px solid rgba(105, 230, 184, 0.17);
  border-radius: 99px;
  color: #a5d8c5;
  display: inline-flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.08em;
  padding: 7px 9px;
}

.console-status i {
  animation: consolePulse 2.2s ease-in-out infinite;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--mint);
  height: 5px;
  width: 5px;
}

.contract-map {
  height: 430px;
  overflow: hidden;
  position: relative;
}

.map-grid {
  background:
    radial-gradient(circle at center, rgba(105, 230, 184, 0.1), transparent 33%),
    linear-gradient(90deg, transparent 49.8%, rgba(105, 230, 184, 0.075) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(105, 230, 184, 0.075) 50%, transparent 50.2%);
  inset: 0;
  position: absolute;
}

.map-grid::before,
.map-grid::after {
  border: 1px solid rgba(105, 230, 184, 0.1);
  border-radius: 50%;
  content: "";
  height: 290px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 290px;
}

.map-grid::after {
  border-color: rgba(169, 146, 245, 0.1);
  height: 210px;
  width: 210px;
}

.contract-core {
  align-items: center;
  display: flex;
  height: 190px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
}

.core-ring {
  border: 1px solid rgba(105, 230, 184, 0.4);
  border-radius: 50%;
  inset: 0;
  position: absolute;
}

.core-ring::before,
.core-ring::after {
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--mint);
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  top: -3px;
  width: 6px;
}

.core-ring::after {
  bottom: -3px;
  left: auto;
  right: 50%;
  top: auto;
}

.ring-a { animation: orbitSpin 16s linear infinite; }
.ring-b { animation: orbitSpinReverse 11s linear infinite; border-color: rgba(169, 146, 245, 0.28); inset: 18px; }
.ring-b::before, .ring-b::after { background: var(--violet); box-shadow: 0 0 16px var(--violet); }

.contract-core > div {
  align-items: center;
  background: radial-gradient(circle at 40% 25%, #254f3f, #0d1e17 66%);
  border: 1px solid rgba(105, 230, 184, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(105, 230, 184, 0.13), 0 0 0 8px rgba(105, 230, 184, 0.03);
  display: flex;
  flex-direction: column;
  height: 128px;
  justify-content: center;
  position: relative;
  width: 128px;
}

.contract-core small { color: rgba(255, 255, 255, 0.42); font-family: "SFMono-Regular", Consolas, monospace; font-size: 7px; letter-spacing: 0.18em; }
.contract-core strong { color: #d9fff0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; margin-top: 3px; }
.contract-core b { color: var(--mint); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; margin-top: 7px; }

.map-node {
  align-items: center;
  background: #10231b;
  border: 1px solid rgba(105, 230, 184, 0.18);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  display: flex;
  gap: 10px;
  min-width: 145px;
  padding: 10px 12px;
  position: absolute;
}

.map-node::after { background: linear-gradient(90deg, rgba(105, 230, 184, 0.35), transparent); content: ""; height: 1px; position: absolute; width: 58px; }
.map-node > span { align-items: center; background: rgba(105, 230, 184, 0.08); border-radius: 6px; color: var(--mint); display: flex; font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; font-weight: 900; height: 26px; justify-content: center; width: 26px; }
.map-node p { line-height: 1.1; margin: 0; }
.map-node small, .map-node strong { display: block; }
.map-node small { color: rgba(255, 255, 255, 0.34); font-family: "SFMono-Regular", Consolas, monospace; font-size: 6px; letter-spacing: 0.14em; margin-bottom: 4px; }
.map-node strong { color: rgba(255, 255, 255, 0.82); font-size: 10px; }
.node-need { left: 24px; top: 54px; }
.node-rules { right: 24px; top: 54px; }
.node-build { bottom: 50px; left: 24px; }
.node-proof { bottom: 50px; right: 24px; }
.node-need::after, .node-build::after { left: 100%; top: 50%; }
.node-rules::after, .node-proof::after { background: linear-gradient(90deg, transparent, rgba(105, 230, 184, 0.35)); right: 100%; top: 50%; }

.console-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, auto) 1fr;
  min-height: 72px;
  padding: 0 24px;
}

.console-footer small, .console-footer strong { display: block; font-family: "SFMono-Regular", Consolas, monospace; }
.console-footer small { color: rgba(255, 255, 255, 0.3); font-size: 6px; letter-spacing: 0.12em; }
.console-footer strong { color: #b3d8ca; font-size: 8px; letter-spacing: 0.08em; margin-top: 4px; }
.console-wave { align-items: center; display: flex; gap: 3px; justify-content: flex-end; }
.console-wave i { animation: wave 1.8s ease-in-out infinite; background: var(--mint); border-radius: 2px; height: 8px; opacity: 0.5; width: 2px; }
.console-wave i:nth-child(2) { animation-delay: -0.2s; }
.console-wave i:nth-child(3) { animation-delay: -0.4s; }
.console-wave i:nth-child(4) { animation-delay: -0.6s; }
.console-wave i:nth-child(5) { animation-delay: -0.8s; }
.console-wave i:nth-child(6) { animation-delay: -1s; }
.console-wave i:nth-child(7) { animation-delay: -1.2s; }
.console-wave i:nth-child(8) { animation-delay: -1.4s; }

.section {
  margin: 0 auto;
  max-width: 1260px;
  padding: 120px 32px;
  position: relative;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.15fr 0.65fr;
  margin-bottom: 58px;
}

.section-heading.compact {
  display: block;
  max-width: 900px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 16px;
}

.question-band {
  background:
    linear-gradient(90deg, rgba(105, 230, 184, 0.03), rgba(169, 146, 245, 0.05), rgba(105, 230, 184, 0.03)),
    #07100d;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 96px max(24px, calc((100vw - 1160px) / 2));
  position: relative;
  text-align: center;
}

.question-band::before {
  color: rgba(105, 230, 184, 0.035);
  content: "?";
  font-size: 340px;
  font-weight: 950;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -52%);
}

.question-band > * {
  position: relative;
}

.question-band blockquote {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 0 auto 20px;
  max-width: 1020px;
}

.question-band .answer {
  color: var(--muted);
  margin-bottom: 0;
}

.benefits-section::before {
  background: radial-gradient(circle, rgba(105, 230, 184, 0.08), transparent 66%);
  content: "";
  height: 520px;
  left: -300px;
  pointer-events: none;
  position: absolute;
  top: 60px;
  width: 520px;
}

.benefits-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}

.benefits-grid article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 70%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-column: span 4;
  min-height: 250px;
  overflow: hidden;
  padding: 28px;
  position: relative;
  transition: border-color 180ms ease, transform 180ms ease;
}

.benefits-grid article::after {
  background: radial-gradient(circle, rgba(105, 230, 184, 0.13), transparent 66%);
  content: "";
  height: 180px;
  position: absolute;
  right: -90px;
  top: -90px;
  width: 180px;
}

.benefits-grid article:nth-child(2)::after,
.benefits-grid article:nth-child(5)::after {
  background: radial-gradient(circle, rgba(169, 146, 245, 0.14), transparent 66%);
}

.benefits-grid article:hover {
  border-color: var(--line-bright);
  transform: translateY(-4px);
}

.benefits-grid article > span {
  align-items: center;
  background: rgba(105, 230, 184, 0.08);
  border: 1px solid rgba(105, 230, 184, 0.14);
  border-radius: 9px;
  color: var(--mint);
  display: flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 48px;
  width: 42px;
}

.benefits-grid h3 {
  margin-bottom: 12px;
}

.benefits-grid p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.collaboration-band {
  background:
    radial-gradient(circle at 72% 42%, rgba(169, 146, 245, 0.13), transparent 30%),
    radial-gradient(circle at 18% 70%, rgba(105, 230, 184, 0.09), transparent 28%),
    #08110e;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: relative;
}

.collaboration-layout {
  display: grid;
  gap: 54px;
  grid-template-columns: 0.72fr 1.28fr;
}

.collaboration-intro > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.partner-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.partner-grid::before {
  background: linear-gradient(180deg, var(--mint), var(--violet));
  content: "";
  left: 50%;
  opacity: 0.4;
  position: absolute;
  top: 36px;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% - 72px);
}

.partner-grid article {
  background: rgba(15, 31, 25, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 330px;
  padding: 30px;
  position: relative;
}

.partner-grid article:first-child { box-shadow: inset 0 3px 0 rgba(105, 230, 184, 0.55); }
.partner-grid article:last-child { box-shadow: inset 0 3px 0 rgba(169, 146, 245, 0.55); }
.partner-label { font-size: 9px; font-weight: 900; letter-spacing: 0.14em; margin-bottom: 18px; text-transform: uppercase; }
.partner-label.human { color: var(--mint); }
.partner-label.ai { color: var(--violet); }
.partner-grid ul { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 22px 0 0; padding-left: 18px; }

.alignment-strip {
  align-items: center;
  background: rgba(105, 230, 184, 0.04);
  border: 1px solid rgba(105, 230, 184, 0.14);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: center;
  padding: 18px;
}

.alignment-strip span { color: #afc8be; font-size: 9px; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.alignment-strip b { color: var(--mint); }

.demo-band {
  background:
    linear-gradient(90deg, rgba(5, 11, 9, 0.96) 0%, rgba(5, 11, 9, 0.76) 43%, transparent 70%),
    radial-gradient(circle at 78% 50%, rgba(45, 171, 124, 0.14), transparent 36%),
    #050b09;
  overflow: hidden;
  position: relative;
}

.demo-band::after {
  background: linear-gradient(90deg, transparent, rgba(105, 230, 184, 0.18), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.demo-layout {
  align-items: center;
  display: grid;
  gap: clamp(50px, 7vw, 90px);
  grid-template-columns: 0.72fr 1.28fr;
  max-width: 1380px;
}

.demo-copy > p:not(.section-label) {
  color: var(--muted);
  font-size: 17px;
}

.demo-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 28px 0 34px;
  padding: 0;
}

.demo-stack li {
  background: rgba(105, 230, 184, 0.045);
  border: 1px solid rgba(105, 230, 184, 0.16);
  border-radius: 99px;
  color: #a7c9bc;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.03em;
  padding: 7px 10px;
}

.product-window {
  background: #09110e;
  border: 1px solid rgba(105, 230, 184, 0.2);
  border-radius: 22px;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.6), 0 0 70px rgba(105, 230, 184, 0.07);
  color: var(--ink);
  min-width: 680px;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

.product-topbar {
  align-items: center;
  background: #0d1a15;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 58px;
  justify-content: space-between;
  padding: 0 20px;
}

.product-brand { font-size: 13px; font-weight: 900; }
.product-brand span { color: var(--mint); margin-right: 6px; }
.product-user { background: linear-gradient(145deg, var(--mint), var(--violet)); border-radius: 50%; box-shadow: 0 0 16px rgba(105, 230, 184, 0.2); height: 27px; width: 27px; }
.product-body { display: grid; grid-template-columns: 60px 1fr; min-height: 410px; }
.product-body aside { background: #0b1712; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; padding: 27px 20px; }
.product-body aside span { background: #263b32; border-radius: 5px; height: 14px; width: 18px; }
.product-body aside span.active { background: var(--mint); box-shadow: 0 0 12px rgba(105, 230, 184, 0.3); }
.board { background: linear-gradient(145deg, #101e18, #0b1511); padding: 28px; }
.board-header { align-items: end; display: flex; justify-content: space-between; margin-bottom: 26px; }
.board-header small { color: var(--dim); display: block; font-size: 7px; font-weight: 850; letter-spacing: 0.12em; }
.board-header strong { display: block; font-size: 23px; letter-spacing: -0.04em; }
.board-header button { background: var(--mint); border: 0; border-radius: 7px; color: var(--void); font-size: 9px; font-weight: 900; padding: 9px 12px; }
.columns { display: grid; gap: 11px; grid-template-columns: repeat(3, 1fr); }
.column { background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.045); border-radius: 10px; min-height: 285px; padding: 12px; }
.column > p { align-items: center; color: #c0d0ca; display: flex; font-size: 8px; font-weight: 850; letter-spacing: 0.03em; margin-bottom: 12px; text-transform: uppercase; }
.column > p b { color: var(--dim); margin-left: auto; }
.dot { border-radius: 50%; display: inline-block; height: 6px; margin-right: 6px; width: 6px; }
.dot.coral { background: var(--coral); }
.dot.gold { background: var(--gold); }
.dot.green { background: var(--mint); }
.task { background: #14241d; border: 1px solid rgba(255, 255, 255, 0.055); border-radius: 8px; margin-bottom: 9px; padding: 13px; }
.task .tag { border-radius: 99px; display: block; height: 3px; margin-bottom: 10px; width: 28px; }
.tag.green { background: var(--mint); }
.tag.violet { background: var(--violet); }
.tag.blue { background: var(--blue); }
.task strong { display: block; font-size: 10px; line-height: 1.3; }
.task small { color: var(--dim); display: block; font-size: 7px; margin-top: 10px; }
.task.done strong { color: #697c73; text-decoration: line-through; }

.technical-intro {
  background:
    linear-gradient(90deg, transparent, rgba(105, 230, 184, 0.05), transparent),
    #07100d;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
  position: relative;
  text-align: center;
}

.technical-intro::before {
  background: linear-gradient(90deg, transparent, var(--mint), var(--violet), transparent);
  content: "";
  height: 1px;
  left: 20%;
  opacity: 0.55;
  position: absolute;
  right: 20%;
  top: 0;
}

.technical-intro h2 { margin-left: auto; margin-right: auto; max-width: 900px; }
.technical-intro > p:last-child { color: var(--muted); font-size: 17px; margin: 0 auto; max-width: 700px; }

.model-section {
  counter-reset: model;
}

.model-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.model-grid::before {
  background: linear-gradient(90deg, var(--mint), var(--violet));
  content: "";
  height: 1px;
  left: 8%;
  opacity: 0.32;
  position: absolute;
  right: 8%;
  top: 51px;
}

.model-grid li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 24px;
  position: relative;
}

.step-number {
  align-items: center;
  background: #0a1712;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--mint);
  display: flex;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  margin-bottom: auto;
  position: relative;
  width: 54px;
  z-index: 2;
}

.model-grid h3 { font-size: 20px; }
.model-grid p { color: var(--muted); font-size: 13px; margin-bottom: 0; }

.anatomy-band {
  background:
    radial-gradient(circle at 76% 48%, rgba(105, 230, 184, 0.11), transparent 30%),
    #07100d;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.anatomy-layout {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: 0.8fr 1.2fr;
}

.anatomy-copy > p:not(.section-label) { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.text-link { border-bottom: 1px solid currentColor; color: var(--mint); font-size: 12px; font-weight: 850; padding-bottom: 3px; }

.file-tree {
  background: #091510;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 70px rgba(105, 230, 184, 0.06);
  padding: 24px;
  position: relative;
}

.file-tree::before {
  background: linear-gradient(90deg, var(--mint), var(--violet));
  content: "";
  height: 2px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.file-tree div {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  gap: 10px;
  grid-template-columns: 18px minmax(190px, 1fr) 1fr;
  min-height: 52px;
  padding-left: 22px;
}

.file-tree div:last-child { border-bottom: 0; }
.file-tree div span { color: var(--mint); }
.file-tree div small { color: var(--dim); font-family: Inter, sans-serif; }
.file-tree .tree-root { color: var(--mint-hot); font-size: 14px; font-weight: 850; grid-template-columns: 18px 1fr; padding-left: 0; }

.architecture-section::before {
  background: radial-gradient(circle, rgba(169, 146, 245, 0.08), transparent 68%);
  content: "";
  height: 600px;
  pointer-events: none;
  position: absolute;
  right: -350px;
  top: 100px;
  width: 600px;
}

.architecture-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.architecture-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 32px;
  position: relative;
}

.architecture-card::before {
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.backend-card { background: linear-gradient(145deg, rgba(105, 230, 184, 0.07), transparent 55%), var(--panel); }
.frontend-card { background: linear-gradient(145deg, rgba(169, 146, 245, 0.08), transparent 55%), var(--panel); }
.backend-card::before { background: var(--mint); }
.frontend-card::before { background: var(--violet); }
.card-heading { align-items: center; display: flex; gap: 14px; margin-bottom: 24px; }
.card-icon { align-items: center; background: rgba(105, 230, 184, 0.1); border: 1px solid rgba(105, 230, 184, 0.2); border-radius: 10px; color: var(--mint); display: flex; font-family: "SFMono-Regular", Consolas, monospace; font-weight: 900; height: 44px; justify-content: center; width: 44px; }
.frontend-card .card-icon { background: rgba(169, 146, 245, 0.1); border-color: rgba(169, 146, 245, 0.2); color: var(--violet); }
.card-heading p { color: var(--dim); font-size: 8px; font-weight: 850; letter-spacing: 0.1em; margin: 0; text-transform: uppercase; }
.card-heading h3 { font-size: 27px; margin: 0; }
.card-lede { color: var(--muted); min-height: 80px; }

.mini-flow {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  list-style: none;
  margin: 25px 0;
  padding: 8px 20px;
}

.mini-flow li { border-bottom: 1px solid rgba(255, 255, 255, 0.055); color: #c4d5ce; font-size: 12px; font-weight: 750; padding: 13px 0; }
.mini-flow li:last-child { border-bottom: 0; }
.mini-flow span { color: var(--mint); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; margin-right: 12px; }
.frontend-card .mini-flow span { color: var(--violet); }
.boundary-note { color: var(--dim); font-size: 10px; font-weight: 750; margin-bottom: 0; }

.shared-runtime {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
}

.shared-runtime span {
  background: #0a1712;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #9db8ad;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 15px;
  text-align: center;
  text-transform: uppercase;
}

.code-examples-band {
  background:
    linear-gradient(180deg, rgba(105, 230, 184, 0.025), transparent 40%),
    #060e0b;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.code-examples-band .section-heading > p { color: var(--muted); }
.code-examples { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.code-examples article { background: #0b1813; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 160ms ease, transform 160ms ease; }
.code-examples article:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.code-examples header { align-items: center; display: flex; gap: 13px; padding: 20px; }
.code-examples header > span { align-items: center; background: rgba(105, 230, 184, 0.08); border: 1px solid rgba(105, 230, 184, 0.14); border-radius: 8px; color: var(--mint); display: flex; font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; font-weight: 900; height: 34px; justify-content: center; width: 34px; }
.code-examples header small { color: var(--dim); display: block; font-size: 7px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.code-examples header h3 { font-size: 17px; margin: 2px 0 0; }
.code-examples pre { background: #050b09; border-bottom: 1px solid rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(255, 255, 255, 0.05); margin: 0; min-height: 250px; overflow: auto; padding: 21px 17px; }
.code-examples pre code { color: #d4e7de; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.85; }
.code-examples article > p { color: var(--dim); font-size: 11px; margin: 0; padding: 17px 20px 21px; }
.code-muted { color: #738a80; }
.code-key { color: var(--violet); }
.code-value { color: var(--mint); }
.code-bool { color: var(--coral); }
.prompt { color: var(--mint); }

.docs-section {
  padding-bottom: 130px;
}

.docs-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.docs-grid a {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 66%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 300px;
  overflow: hidden;
  padding: 25px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.docs-grid a::after {
  background: linear-gradient(90deg, var(--mint), var(--violet));
  bottom: 0;
  content: "";
  height: 2px;
  left: 24px;
  opacity: 0;
  position: absolute;
  right: 24px;
  transition: opacity 160ms ease;
}

.docs-grid a:hover,
.docs-grid a:focus-visible {
  border-color: var(--line-bright);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
  transform: translateY(-5px);
}

.docs-grid a:hover::after,
.docs-grid a:focus-visible::after { opacity: 1; }
.docs-grid span { color: var(--coral); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; font-weight: 900; }
.docs-grid h3 { margin-top: 54px; }
.docs-grid p { color: var(--muted); font-size: 13px; }
.docs-grid b { color: var(--mint); display: block; font-size: 10px; margin-top: 25px; }

.start-band {
  align-items: center;
  background:
    radial-gradient(circle at 78% 50%, rgba(105, 230, 184, 0.11), transparent 27%),
    linear-gradient(135deg, #0c1d17, #050b09);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 72px;
  grid-template-columns: 0.78fr 1.22fr;
  padding: 100px max(32px, calc((100vw - 1180px) / 2));
}

.start-band > div:first-child > p:last-child { color: var(--muted); font-size: 16px; }

.terminal {
  background: #060d0a;
  border: 1px solid rgba(105, 230, 184, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 60px rgba(105, 230, 184, 0.05);
  overflow: hidden;
}

.window-bar {
  align-items: center;
  background: #0b1712;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  min-height: 46px;
  padding: 0 16px;
}

.window-bar > span { background: rgba(255, 255, 255, 0.16); border-radius: 50%; height: 7px; width: 7px; }
.window-bar > span:first-child { background: var(--coral); }
.window-bar > span:nth-child(2) { background: var(--gold); }
.window-bar > span:nth-child(3) { background: var(--mint); }
.window-bar code { color: var(--dim); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; margin-left: 8px; }
.terminal pre { margin: 0; overflow: auto; padding: 26px; }
.terminal pre code { color: #cbddd5; font-family: "SFMono-Regular", Consolas, monospace; font-size: clamp(10px, 1vw, 13px); line-height: 1.8; }

.footer {
  align-items: center;
  background: #030806;
  color: var(--dim);
  display: grid;
  font-size: 11px;
  gap: 30px;
  grid-template-columns: 1fr auto 1fr;
  padding: 40px max(24px, calc((100vw - 1240px) / 2));
}

.footer > div { align-items: center; display: flex; gap: 12px; }
.footer p { margin: 0; }
.footer strong { color: var(--ink); }
.footer > a { color: var(--mint); font-weight: 850; justify-self: end; }
.footer p a { color: #a9beb5; text-decoration: underline; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { to { transform: rotate(-360deg); } }
@keyframes consolePulse { 0%, 100% { opacity: 0.55; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes wave { 0%, 100% { height: 6px; opacity: 0.3; } 50% { height: 22px; opacity: 0.9; } }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 100px; padding-top: 130px; }
  .hero-copy { max-width: 780px; }
  .future-console { justify-self: start; max-width: 650px; }
  .section-heading { align-items: start; gap: 24px; grid-template-columns: 1fr; }
  .benefits-grid article { grid-column: span 6; }
  .collaboration-layout { grid-template-columns: 1fr; }
  .collaboration-intro { max-width: 760px; }
  .demo-layout, .anatomy-layout, .start-band { grid-template-columns: 1fr; }
  .demo-copy { max-width: 680px; }
  .product-window { min-width: 0; transform: none; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .model-grid::before { display: none; }
  .architecture-grid { grid-template-columns: 1fr; }
  .card-lede { min-height: 0; }
  .code-examples { grid-template-columns: 1fr 1fr; }
  .code-examples article:last-child { grid-column: 1 / -1; }
  .code-examples pre { min-height: 225px; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr auto; }
  .footer > p { display: none; }
}

@media (max-width: 680px) {
  .site-header { height: 60px; left: 10px; padding: 0 9px 0 12px; right: 10px; top: 9px; }
  .brand { font-size: 13px; }
  .brand-mark { height: 31px; width: 31px; }
  .header-cta { font-size: 10px; padding: 9px 11px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  h2 { font-size: 38px; }
  .hero-inner { min-height: auto; padding: 112px 20px 74px; }
  .hero-lede { font-size: 18px; }
  .signal-list { gap: 12px 17px; }
  #aifa-canvas { mask-image: linear-gradient(180deg, transparent 0%, transparent 40%, #000 72%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 40%, #000 72%, #000 100%); }
  .ambient-orbit { display: none; }
  .console-header { padding: 0 14px; }
  .console-status { font-size: 6px; }
  .contract-map { height: 390px; }
  .contract-core { height: 154px; width: 154px; }
  .contract-core > div { height: 104px; width: 104px; }
  .contract-core strong { font-size: 10px; }
  .map-grid::before { height: 230px; width: 230px; }
  .map-grid::after { height: 170px; width: 170px; }
  .map-node { min-width: 124px; padding: 8px; }
  .map-node strong { font-size: 8px; }
  .node-need { left: 10px; top: 38px; }
  .node-rules { right: 10px; top: 38px; }
  .node-build { bottom: 38px; left: 10px; }
  .node-proof { bottom: 38px; right: 10px; }
  .map-node::after { width: 28px; }
  .console-footer { gap: 10px; grid-template-columns: repeat(3, 1fr); padding: 0 14px; }
  .console-wave { display: none; }
  .question-band { padding: 74px 20px; }
  .section { padding: 82px 20px; }
  .benefits-grid, .partner-grid, .model-grid, .architecture-grid, .shared-runtime, .code-examples, .docs-grid { grid-template-columns: 1fr; }
  .benefits-grid article { grid-column: auto; min-height: 220px; }
  .partner-grid::before { display: none; }
  .partner-grid article { min-height: 0; }
  .alignment-strip { align-items: stretch; flex-direction: column; text-align: center; }
  .alignment-strip b { transform: rotate(90deg); }
  .product-body { grid-template-columns: 42px 1fr; min-height: 340px; }
  .product-body aside { padding: 22px 12px; }
  .product-body aside span { width: 16px; }
  .board { overflow: hidden; padding: 20px 14px; }
  .columns { min-width: 520px; }
  .technical-intro { padding: 76px 20px; }
  .model-grid li { min-height: 240px; }
  .file-tree { padding: 17px; }
  .file-tree div { grid-template-columns: 16px 1fr; padding-left: 8px; }
  .file-tree div small { display: none; }
  .architecture-card { padding: 26px 20px; }
  .code-examples article:last-child { grid-column: auto; }
  .code-examples pre { min-height: 0; }
  .docs-grid a { min-height: 270px; }
  .start-band { gap: 34px; padding: 78px 20px; }
  .terminal pre { padding: 20px 16px; }
  .footer { align-items: start; grid-template-columns: 1fr; padding: 30px 20px; }
  .footer > a { justify-self: start; }
}

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