@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #07090c;
  --bg-2: #0b0f14;
  --panel: #0e1319;
  --panel-2: #121821;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9eef3;
  --muted: #94a0ad;
  --dim: #5f6b78;
  --accent: #5be7c4;
  --accent-ink: #04140f;
  --accent-soft: rgba(91, 231, 196, 0.1);
  --blue: #5b8cff;
  --warn: #ff7a6b;
  --warn-soft: rgba(255, 122, 107, 0.08);
  --radius: 14px;
  --max: 1160px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.mono { font-family: var(--mono); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 16px; }
.brand .brand-mark { width: 30px; height: 30px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(91, 231, 196, 0); }
.btn-primary:hover { box-shadow: 0 6px 30px -6px rgba(91, 231, 196, 0.55); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.55;
}
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(91, 231, 196, 0.16), rgba(91, 140, 255, 0.08) 55%, transparent);
  filter: blur(10px);
  animation: glow 16s ease-in-out infinite alternate;
}
@keyframes glow {
  from { transform: translateX(-30%) scale(1); opacity: .85; }
  to { transform: translateX(-22%) translateY(24px) scale(1.08); opacity: 1; }
}
.js .hero-grid > div:first-child > *, .js .hero .term { animation: heroIn 1s cubic-bezier(.16,1,.3,1) both; }
.js .hero-grid > div:first-child > :nth-child(2) { animation-delay: .07s; }
.js .hero-grid > div:first-child > :nth-child(3) { animation-delay: .14s; }
.js .hero-grid > div:first-child > :nth-child(4) { animation-delay: .21s; }
.js .hero-grid > div:first-child > :nth-child(5) { animation-delay: .28s; }
.js .hero .term { animation-delay: .2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 56px 0 72px; } }


.hero h1 { margin-top: 0; font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.035em; }
.hero h1 .grad {
  background: linear-gradient(92deg, var(--accent), #8fd8ff 60%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Terminal */
.term {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.92), rgba(10, 14, 19, 0.96));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(91, 231, 196, 0.04) inset;
  overflow: hidden; font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
  min-width: 0;
}
.term-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11.5px;
}
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a323c; display: inline-block; }
.term-bar span { margin-left: 8px; }
.term-bar em { margin-left: auto; font-style: normal; color: var(--dim); }
.term-body { padding: 16px 18px 18px; color: var(--muted); }
.term-line { display: grid; grid-template-columns: 9.5em 1fr auto; gap: 12px; white-space: nowrap; }
.term-line .k { color: var(--text); }
.term-line .d { overflow: hidden; text-overflow: ellipsis; color: var(--dim); }
.term-line .ok { color: var(--accent); }
.term .cmd { color: var(--text); white-space: pre-wrap; word-break: break-word; }
.term .cmd .p { color: var(--accent); }
.term .note { color: var(--dim); }
.term .sum { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--text); white-space: normal; }
.term .sum .ok { color: var(--accent); }
.cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 520px) {
  .term { font-size: 11.5px; }
  .term-line { grid-template-columns: 8.6em 1fr; }
  .term-line .d { display: none; }
}

.js .term .seq { opacity: 0; transform: translateY(4px); }
.js .term .cmd.seq { opacity: 1; transform: none; }
.js .term.go .seq { animation: lineIn .5s cubic-bezier(.22,1,.36,1) forwards; animation-delay: var(--d, 0s); }
.js .term.go .cmd.seq { animation: none; }
.js .term .term-line .ok { opacity: 0; }
.js .term.go .term-line .ok { animation: okIn .35s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--d, 0s) + .32s); }
.term-body .seq:nth-child(2) { --d: .05s; }
.term-body .seq:nth-child(3) { --d: .3s; }
.term-body .seq:nth-child(4) { --d: .48s; }
.term-body .seq:nth-child(5) { --d: .66s; }
.term-body .seq:nth-child(6) { --d: .84s; }
.term-body .seq:nth-child(7) { --d: 1.02s; }
.term-body .seq:nth-child(8) { --d: 1.2s; }
.term-body .seq:nth-child(9) { --d: 1.38s; }
.term-body .seq:nth-child(10) { --d: 1.65s; }
.term-body .sum.seq { --d: 1.75s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }
@keyframes okIn { from { opacity: 0; transform: translateX(-5px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 112px 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .section { padding: 80px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section h2 { margin-top: 18px; font-size: clamp(28px, 3.6vw, 44px); max-width: 20em; }
.section .sub { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 40em; }

/* Problem */
.findings { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .findings { grid-template-columns: 1fr; } }
.finding {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, var(--warn-soft), transparent 70%);
}
.finding .tag { font-family: var(--mono); font-size: 11.5px; color: var(--warn); letter-spacing: 0.06em; text-transform: uppercase; }
.finding p { margin-top: 12px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }

.drift { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .drift { grid-template-columns: 1fr; gap: 36px; } }
.drift-copy p { font-size: 17px; color: var(--muted); }
.drift-copy p + p { margin-top: 16px; }
.drift-copy strong { color: var(--text); font-weight: 500; }

.tracks { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 26px 24px; }
.track + .track { margin-top: 28px; }
.track-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: 0.04em; }
.track-label b { color: var(--text); font-weight: 500; }
.bar { position: relative; height: 34px; margin-top: 12px; }
.bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.bar.once .mark {
  position: absolute; left: 8%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--text);
}
.bar.once .fade {
  position: absolute; left: 8%; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, var(--text), rgba(255, 122, 107, 0.7) 35%, rgba(255, 122, 107, 0));
}
.bar.once .lbl { position: absolute; left: calc(8% + 14px); top: -4px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.bar.once .lbl.r { left: auto; right: 0; color: var(--warn); }
.bar.cont::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 28px);
  animation: ticks 2.8s linear infinite;
}
@keyframes ticks { to { background-position: 28px 0; } }
.bar.cont .glow::after {
  content: ""; position: absolute; top: -5px; left: -80px; width: 80px; height: 12px;
  background: radial-gradient(closest-side, rgba(91, 231, 196, .85), transparent);
  animation: sweep 3.2s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes sweep { from { left: -80px; } to { left: 100%; } }
.bar.cont { overflow: hidden; }
.bar.once .mark { transition: transform .6s cubic-bezier(.3,1.6,.5,1) .25s; }
.bar.once .fade { transform-origin: left center; transition: transform 1.8s cubic-bezier(.22,1,.36,1) .5s; }
.bar.once .lbl.r { transition: opacity .8s ease 1.6s; }
.js .tracks:not(.in) .bar.once .mark { transform: scale(0); }
.js .tracks:not(.in) .bar.once .fade { transform: scaleX(0); }
.js .tracks:not(.in) .bar.once .lbl.r { opacity: 0; }
.bar.cont .glow { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, rgba(91,231,196,0.2), rgba(91,231,196,0.7)); }

/* How it works */
.question {
  margin-top: 40px; padding: 30px 32px; border-radius: var(--radius);
  border: 1px solid rgba(91, 231, 196, 0.25);
  background: radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 60%), var(--bg-2);
}
.question .mono { font-size: 12px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.question p { margin-top: 12px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }


.bounds-head { margin-top: 64px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.bounds-head h3 { font-size: 22px; }
.bounds-head .mono { color: var(--dim); font-size: 12px; }
.bounds { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 1000px) { .bounds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bounds { grid-template-columns: 1fr; } }
.bound { background: var(--bg-2); padding: 24px 22px 26px; transition: background 0.2s ease; min-width: 0; }
.bound:hover { background: var(--panel); }
.bound .n { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.bound h4 { margin: 14px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.bound p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.bound .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); background: rgba(91, 231, 196, 0.05); }
.bound .ic svg { width: 17px; height: 17px; }
.bound.out { background: radial-gradient(120% 120% at 100% 100%, var(--accent-soft), transparent 60%), var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.bound.out p { color: var(--text); font-size: 15px; }
.bound.out .mono { color: var(--accent); font-size: 12px; }

.flow { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-2); }
.step .mono { font-size: 11.5px; color: var(--dim); }
.step h4 { margin: 10px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 14.5px; }
.step.alert .mono { color: var(--warn); }
.step.retest .mono, .step.report .mono { color: var(--accent); }

/* Offer */
.offers { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .offers { grid-template-columns: 1fr; } }
.offer {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.offer:hover { border-color: var(--line-2); transform: translateY(-2px); }
.offer .mono { font-size: 12px; color: var(--accent); }
.offer h3 { margin-top: 18px; font-size: 21px; }
.offer p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.offer .for { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }

.neutral { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 18px 22px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.neutral .label { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }
.neutral .pair { font-family: var(--mono); font-size: 13px; color: var(--text); }
.neutral .pair i { font-style: normal; color: var(--dim); padding: 0 6px; }
.neutral .sep { width: 1px; height: 16px; background: var(--line-2); }
@media (max-width: 640px) { .neutral .sep { display: none; } .neutral .label { width: 100%; } }

/* Principles */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.principles { display: grid; gap: 12px; }
.principle { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.principle .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); }
.principle .ic svg { width: 18px; height: 18px; }
.principle p { font-size: 16px; color: var(--text); padding-top: 8px; }
.principle p span { color: var(--muted); }


/* About */
.about { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; margin-top: 44px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 30px; }
.founder-top { display: flex; align-items: center; gap: 16px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, rgba(91,231,196,0.25), rgba(91,140,255,0.25)); border: 1px solid var(--line-2); font-weight: 600; letter-spacing: 0.02em; }
.founder-top h3 { font-size: 19px; }
.founder-top .mono { font-size: 12px; color: var(--dim); }
.card .bio { margin-top: 20px; color: var(--muted); font-size: 16px; }
.card .bio strong { color: var(--text); font-weight: 500; }
.razorbill { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.razorbill .rb-mark { width: 64px; height: 64px; }
.razorbill p { color: var(--muted); font-size: 15px; }
.razorbill p em { color: var(--text); font-style: normal; font-weight: 500; }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-2); border-radius: 20px; padding: 72px 28px;
  background: radial-gradient(60% 120% at 50% 0%, rgba(91, 231, 196, 0.16), transparent 70%), var(--bg-2);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); max-width: 16em; margin: 18px auto 0; }
.cta .sub { margin: 16px auto 0; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta .email { font-family: var(--mono); font-size: 14px; }
@media (max-width: 640px) { .cta { padding: 56px 20px; } }

/* Footer */
footer { padding: 40px 0 48px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; color: var(--dim); font-size: 14px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: var(--text); }

/* Reveal */
.js .reveal {
  opacity: 0; transform: translateY(18px); filter: blur(5px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1);
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Legal page */
.legal { padding: 72px 0 0; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-top: 18px; }
.legal .updated { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.legal h2 { font-size: 20px; margin-top: 44px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .term .seq, .js .term .term-line .ok { opacity: 1; transform: none; filter: none; }
}
.nowrap { white-space: nowrap; }

/* Wordmark: the A is the razorbill's breast V */
.wm { display: inline-flex; align-items: center; font-weight: 600; letter-spacing: .14em; font-size: 14px; color: var(--text); }
.wm svg { width: .95em; height: .95em; margin-right: .08em; flex: none; }
.wm span { color: var(--muted); margin-left: .55em; font-weight: 500; }
.foot-brand { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-brand .wm { font-size: 13px; }

/* ---------- Colony (scroll scene) ---------- */
.colony { position: relative; height: 320vh; border-top: 1px solid var(--line); }
.colony-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 64px; overflow: hidden; }
.colony-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.colony-copy { position: relative; }
.caps { position: relative; margin-top: 18px; min-height: 13em; }
.cap h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.025em; max-width: 13em; }
.cap p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 26em; }
.js .cap {
  position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(22px); filter: blur(6px); pointer-events: none;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.js .cap.past { transform: translateY(-22px); }
.js .cap.on { opacity: 1; transform: none; filter: none; transition-delay: .14s; }
.no-js .cap + .cap, .colony.static .cap + .cap { margin-top: 28px; }
.colony.static .cap { position: static; opacity: 1; transform: none; filter: none; }
.steps { display: flex; gap: 8px; margin-top: 8px; }
.steps i { position: relative; overflow: hidden; width: 28px; height: 3px; border-radius: 2px; background: var(--line-2); }
.steps i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(var(--f, 0)); }
.no-js .steps { display: none; }

.colony-stage {
  justify-self: center; height: min(76vh, 600px); aspect-ratio: 400 / 520; width: auto; max-width: 100%;
  border-radius: 22px; overflow: hidden; background: var(--accent);
  box-shadow: 0 40px 100px -40px rgba(91, 231, 196, .45);
}
.colony-svg { display: block; width: 100%; height: 100%; }
.c-lab { font-family: var(--mono); font-size: 10px; fill: #9fb0bf; letter-spacing: .04em; }
.c-scan-lab { font-family: var(--mono); font-size: 10px; fill: var(--accent); }
.c-bound line { stroke: #07090c; stroke-opacity: .45; stroke-width: 1.5; stroke-dasharray: 5 5; transform-box: fill-box; transform-origin: center; }
.c-check { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.c-check circle { fill: #07090c; }
.c-check path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.c-bound.ok .c-check { transform: scale(1); }
.c-bound.ok line { stroke-opacity: .8; stroke-dasharray: none; }
.no-js .c-check, .colony.static .c-check { transform: scale(1); }
.no-js .c-scan, .colony.static .c-scan { display: none; }
.c-ledge, .c-birds { will-change: transform, opacity; }

.colony.static, .no-js .colony { height: auto; }
.colony.static .colony-sticky, .no-js .colony-sticky { position: static; height: auto; padding: 112px 0; }

@media (max-width: 900px) {
  .colony { height: 300vh; }
  .colony-grid { grid-template-columns: 1fr; gap: 20px; }
  .colony-stage { order: -1; height: min(50svh, 440px); justify-self: center; }
  .caps { min-height: 9.5em; margin-top: 12px; }
  .cap h2 { font-size: 26px; }
  .cap p { font-size: 16px; margin-top: 10px; }
}
.note-line { margin-top: 22px; font-size: 14px; color: var(--dim); }

/* ---------- Contact ---------- */
.contact { padding: 88px 0 0; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } .contact { padding-top: 56px; } }
.contact h1 { margin-top: 18px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; }
.contact .sub { margin-top: 18px; color: var(--muted); font-size: 17px; }
.contact-alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.contact-alt .mono { font-size: 12px; color: var(--dim); }
.contact-alt a { font-family: var(--mono); font-size: 15px; color: var(--text); }
.contact-alt a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; padding: 30px; }
@media (max-width: 640px) { .form { padding: 22px 18px; } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { font-size: 13.5px; color: var(--muted); padding: 0; }
.field i { font-style: normal; color: var(--accent); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field legend { margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check { position: relative; display: flex; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 11px 13px; font-size: 14.5px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.check span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--dim); flex: none; transition: all .15s ease; }
.check input:checked + span { border-color: rgba(91, 231, 196, .5); background: var(--accent-soft); }
.check input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--bg); }
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-foot .btn { cursor: pointer; font-family: inherit; }
.form-foot .btn:disabled { opacity: .6; cursor: default; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1em; }
.form-status:empty { display: none; }
.form-status.err { color: var(--warn); }
.form-status a { color: var(--text); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.sent { display: block; }
.sent-msg h2 { font-size: 24px; }
.sent-msg p { margin-top: 10px; color: var(--muted); }
.colony-stage { position: relative; }
.colony-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  color: #07090c; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; opacity: .7;
  pointer-events: none;
}
.colony-hint svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(2px); } }
.no-js .colony-hint, .colony.static .colony-hint { display: none; }

/* Utility classes (no inline styles, for CSP) */
svg.defs { position: absolute; }
.sub-tight { margin-top: 20px !important; }
.section-cta { border-top: 0; padding-top: 0; padding-bottom: 0; }

/* ---------- Hardware scene (bits as razorbills) ---------- */
#hardware .flip.b0 { transform: scaleX(-1); }
#hardware .caps { min-height: 15em; }
@media (max-width: 900px) { #hardware .caps { min-height: 11em; } }
.h-head { font-family: var(--mono); font-size: 11px; fill: #07090c; opacity: .7; letter-spacing: .04em; }
.h-aggr { fill: var(--warn); opacity: 0; transition: opacity .3s ease; }
#hardware.hammering .h-aggr { animation: hammer .24s ease-in-out infinite alternate; }
@keyframes hammer { from { opacity: .15; } to { opacity: .8; } }
.h-alab { font-family: var(--mono); font-size: 10px; fill: var(--warn); opacity: 0; letter-spacing: .04em; transition: opacity .3s ease; }
#hardware.hammering .h-alab { opacity: 1; }
.h-ring { fill: none; stroke: #e5484d; stroke-width: 2.5; opacity: 0; transition: opacity .2s ease; }
.h-victim.hit .h-ring { opacity: 1; }
.h-badge { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.h-badge circle { fill: #07090c; }
.h-badge path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.h-victim.ok .h-badge { transform: scale(1); }
#hardware.static .h-alab, .no-js #hardware .h-alab { opacity: 0; }

/* Posture cards: four across */
.bounds.posture { margin-top: 40px; }
@media (min-width: 1001px) { .bounds.posture { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Product sub-brand (GPU cloud pages) ---------- */
.product-brand .pb-name { display: inline-flex; flex-direction: column; line-height: 1.15; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.product-brand .pb-name small { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--dim); letter-spacing: .02em; }
@media (max-width: 480px) { .product-brand .pb-name { font-size: 13.5px; } }
.hero .eyebrow + h1 { margin-top: 18px; }
.maker-h { font-size: 19px; }
a.inline { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a.inline:hover { text-decoration-color: var(--accent); }
.foot-brand a.wm:hover { color: var(--accent); }
@media (min-width: 1101px) { .offers.three { grid-template-columns: repeat(3, 1fr); } }

/* ---------- On-site scene ---------- */
#onsite { height: 400vh; }
@media (max-width: 900px) { #onsite { height: 360vh; } #onsite .caps { min-height: 10.5em; } }
.o-head { font-family: var(--mono); font-size: 11px; fill: #07090c; opacity: .7; letter-spacing: .04em; }
.o-perim { fill: none; stroke: #07090c; stroke-opacity: .5; stroke-width: 1.5; stroke-dasharray: 6 6; }
.o-wire { fill: none; stroke: #07090c; stroke-opacity: .32; stroke-width: 2; }
.o-probe { fill: none; stroke: #e5484d; stroke-width: 2.2; stroke-dasharray: 5 11; stroke-linecap: round; opacity: 0; transition: opacity .5s ease; }
#onsite.probing .o-probe { opacity: 1; animation: flow .9s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.o-node > rect:first-child { fill: #1c2530; }
.o-ring { fill: none; stroke: #e5484d; stroke-width: 2.5; opacity: 0; transition: opacity .2s ease; }
.o-node.hit .o-ring { opacity: 1; animation: ring 1.3s ease-in-out infinite; }
@keyframes ring { 50% { stroke-opacity: .35; } }
.o-fix { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.o-fix circle { fill: #07090c; }
.o-fix path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.o-node.fixed .o-fix { transform: scale(1); }
.o-fill { fill: var(--accent); transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.o-led { fill: #2a323c; transition: fill .3s ease; }
#onsite.running .o-led { fill: var(--accent); animation: led 1.4s ease-in-out infinite; }
#onsite.running .o-led:nth-of-type(2) { animation-duration: 2.1s; }
#onsite.running .o-led:nth-of-type(3) { animation-duration: 1.7s; animation-delay: -.6s; }
#onsite.running .o-led:nth-of-type(4) { animation-duration: 2.6s; animation-delay: -1.1s; }
@keyframes led { 50% { opacity: .3; } }
.o-bird-in { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: none; } 38% { transform: rotate(-3deg); } 52% { transform: rotate(1.5deg); } 64% { transform: none; } }
.o-packet { fill: #07090c; opacity: 0; }
.o-egress.blocked .o-packet { animation: packet 2.6s cubic-bezier(.55,0,.85,.4) infinite; }
@keyframes packet {
  0% { transform: none; opacity: 0; } 12% { opacity: 1; }
  60% { transform: translateY(-64px); opacity: 1; }
  70% { transform: translateY(-58px); opacity: 0; } 100% { transform: translateY(-58px); opacity: 0; }
}
.o-block-in { transform-box: fill-box; transform-origin: center; }
.o-egress.blocked .o-block-in { animation: bump 2.6s ease-out infinite; }
@keyframes bump { 0%, 59% { transform: none; } 63% { transform: scale(1.22); } 72% { transform: scale(.94); } 80%, 100% { transform: none; } }
.o-eg-line { stroke: #07090c; stroke-width: 1.5; stroke-dasharray: 4 4; transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); }
.o-eg-out { stroke: #07090c; stroke-opacity: .25; stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0; transition: opacity .3s ease; }
.o-block { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.o-block circle { fill: #07090c; }
.o-block path { fill: none; stroke: #ff7a6b; stroke-width: 2.2; stroke-linecap: round; }
.o-blab { font-family: var(--mono); font-size: 11px; fill: #07090c; letter-spacing: .02em; opacity: 0; transition: opacity .3s ease; }
.o-egress.blocked .o-block { transform: scale(1); }
.o-egress.blocked .o-blab, .o-egress.blocked .o-eg-out { opacity: 1; }
.o-in-line { stroke: #07090c; stroke-width: 1.5; stroke-dasharray: 3 4; transform-box: fill-box; transform-origin: center top; }
.o-rack, .o-bird, .o-instec { will-change: transform, opacity; }
/* Static (no JS / reduced motion): show the finished state */
.no-js .o-eg-line, #onsite.static .o-eg-line { transform: none; }
.no-js .o-packet { display: none; }
.no-js .o-block, .no-js .o-node.weak .o-fix, .no-js .o-fill { transform: none; }
.no-js .o-blab, .no-js .o-eg-out { opacity: 1; }
.no-js .o-led { fill: var(--accent); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }
.sectors li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); font-size: 16px; font-weight: 500; }
.sectors .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); }
.sectors .ic svg { width: 18px; height: 18px; }

/* Find and fix */
.handoff { margin-top: 44px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 760px) { .handoff { grid-template-columns: 1fr; } .ho-arrow svg { transform: rotate(90deg); } }
.ho .mono { font-size: 12px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.ho h3 { margin-top: 12px; font-size: 24px; }
.ho p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.ho-arrow { display: grid; place-items: center; color: var(--dim); }
.ho-arrow svg { width: 28px; height: 28px; }

.cta .eyebrow { justify-content: center; }

/* ---------- Services ---------- */
.svc-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  transition: border-color .3s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 231, 196, .09), transparent 45%);
}
.svc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc.lead { border-color: rgba(91, 231, 196, .3); background: radial-gradient(120% 90% at 0% 0%, rgba(91, 231, 196, .1), transparent 60%), linear-gradient(180deg, var(--panel), var(--bg-2)); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-top .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); background: rgba(91, 231, 196, .05); }
.svc-top .ic svg { width: 18px; height: 18px; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.svc:hover .svc-top .ic svg { transform: scale(1.1) rotate(-4deg); }
.svc-top .mono { font-size: 11px; color: var(--dim); text-align: right; letter-spacing: .02em; }
.svc.lead .svc-top .mono { color: var(--accent); }
.svc h3 { margin-top: 22px; font-size: 21px; }
.svc p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.svc .for { margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }

/* Differentiator strip */
.diff {
  margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(91, 231, 196, .22); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(90deg, rgba(91, 231, 196, .07), rgba(91, 140, 255, .04)), var(--bg-2);
}
.diff li { display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.diff li + li { border-left: 1px solid var(--line); }
.diff .ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(91, 231, 196, .25); }
.diff .ic svg { width: 17px; height: 17px; }
@media (max-width: 860px) { .diff { grid-template-columns: 1fr; } .diff li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* Running AI on your own infrastructure (secondary) */
.own { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; padding: 40px; border: 1px dashed var(--line-2); border-radius: 20px; }
@media (max-width: 900px) { .own { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; } }
.own-head .eyebrow { color: var(--muted); }
.own-head h2 { font-size: clamp(24px, 2.8vw, 32px); }
.own-head .sub { font-size: 16px; }
.own-head .btn { margin-top: 26px; }
.own-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .own-cards { grid-template-columns: 1fr; } }
.own-cards .offer h3 { font-size: 19px; }
.sub-note { font-size: 15px !important; color: var(--dim) !important; }
