@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);
}
.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(3px); animation: lineIn 0.35s ease forwards; }
.term-body .seq:nth-child(1) { animation-delay: .1s; }
.term-body .seq:nth-child(2) { animation-delay: .35s; }
.term-body .seq:nth-child(3) { animation-delay: .6s; }
.term-body .seq:nth-child(4) { animation-delay: .8s; }
.term-body .seq:nth-child(5) { animation-delay: 1s; }
.term-body .seq:nth-child(6) { animation-delay: 1.2s; }
.term-body .seq:nth-child(7) { animation-delay: 1.4s; }
.term-body .seq:nth-child(8) { animation-delay: 1.6s; }
.term-body .seq:nth-child(9) { animation-delay: 1.8s; }
.term-body .seq:nth-child(10) { animation-delay: 2.15s; }
@keyframes lineIn { 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 7.5%);
}
.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(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .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(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: 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 { opacity: 1; transform: 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(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.js .cap.on { opacity: 1; transform: none; }
.no-js .cap + .cap, .colony.static .cap + .cap { margin-top: 28px; }
.colony.static .cap { position: static; opacity: 1; transform: none; }
.steps { display: flex; gap: 8px; margin-top: 8px; }
.steps i { width: 28px; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .3s ease; }
.steps i.on { background: var(--accent); }

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