/* ==========================================================================
   MiniAgentic Landing — Product marketing / CLI-first
   Brand: accent #ff6b1a · near-black · ink · instrument matte
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-panel: #141414;
  --ink: #eceae4;
  --ink-dim: rgba(236, 234, 228, 0.58);
  --ink-mute: rgba(236, 234, 228, 0.34);

  --accent: #ff6b1a;
  --accent-dim: rgba(255, 107, 26, 0.55);
  --accent-soft: rgba(255, 107, 26, 0.12);
  --accent-glow: rgba(255, 107, 26, 0.22);

  --line: rgba(236, 234, 228, 0.1);
  --line-strong: rgba(236, 234, 228, 0.18);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.05);

  --radius: 4px;
  --radius-sm: 2px;
  --nav-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: "Helvetica Neue", Helvetica, Arial Narrow, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Consolas", monospace;

  --term-prompt: var(--accent);
  --term-tool: rgba(255, 107, 26, 0.85);
  --term-ok: rgba(236, 234, 228, 0.45);
  --term-out: var(--ink);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}

body.is-touch { cursor: auto; }
body.is-touch .cursor { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; border: none; background: none; }
button { cursor: none; }
body.is-touch button { cursor: pointer; }
code { font-family: var(--font-mono); font-size: 0.92em; }

::selection {
  background: rgba(255, 107, 26, 0.4);
  color: #fff;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor.is-on {
  opacity: 1;
}

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
}

.cursor__dot {
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--accent);
}

.cursor__ring {
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid rgba(236, 234, 228, 0.35);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              margin 0.25s var(--ease-out), border-color 0.25s;
}

.cursor.is-hover .cursor__ring {
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-color: var(--accent-dim);
}

.cursor.is-down .cursor__ring {
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.bg__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.bg__glow {
  position: absolute;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  top: 8%;
  right: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.14), transparent 68%);
  filter: blur(8px);
  animation: ambientDrift 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

/* Orbital bodies — electric orange, glass glow */
.bg__planets {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.planet {
  position: absolute;
  border-radius: 50%;
  will-change: transform, filter, opacity;
  pointer-events: none;
  border: 1px solid rgba(255, 180, 120, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.planet::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    transparent 48%
  );
  pointer-events: none;
  z-index: 1;
}

.planet--a {
  width: min(300px, 40vw);
  height: min(300px, 40vw);
  top: 10%;
  right: 6%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 230, 200, 0.7), transparent 26%),
    radial-gradient(circle at 48% 48%, rgba(255, 107, 26, 0.62) 0%, rgba(160, 50, 10, 0.35) 38%, rgba(10, 10, 10, 0.55) 70%);
  box-shadow:
    inset -22px -18px 48px rgba(0, 0, 0, 0.45),
    inset 14px 12px 36px rgba(255, 160, 90, 0.28),
    0 0 40px rgba(255, 107, 26, 0.35),
    0 0 90px rgba(255, 107, 26, 0.22),
    0 0 140px rgba(255, 107, 26, 0.1);
  opacity: 0.78;
  animation:
    planetDriftA 28s ease-in-out infinite alternate,
    planetGlow 7s ease-in-out infinite;
}

.planet--a::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 160, 90, 0.45);
  opacity: 0.9;
  transform: rotateX(68deg) scale(1.15);
  box-shadow:
    0 0 28px rgba(255, 107, 26, 0.35),
    0 0 60px rgba(255, 107, 26, 0.15);
  animation: planetRing 22s linear infinite;
}

.planet--b {
  width: min(140px, 20vw);
  height: min(140px, 20vw);
  top: 56%;
  left: 5%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 210, 160, 0.55), transparent 30%),
    radial-gradient(circle at 55% 55%, rgba(255, 107, 26, 0.5), rgba(10, 10, 10, 0.5) 68%);
  box-shadow:
    inset -12px -10px 28px rgba(0, 0, 0, 0.4),
    inset 8px 6px 20px rgba(255, 150, 80, 0.22),
    0 0 32px rgba(255, 107, 26, 0.35),
    0 0 70px rgba(255, 107, 26, 0.18);
  opacity: 0.7;
  animation:
    planetDriftB 22s ease-in-out infinite alternate,
    planetGlow 8s ease-in-out infinite 1s;
}

.planet--c {
  width: min(76px, 14vw);
  height: min(76px, 14vw);
  bottom: 16%;
  right: 20%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 230, 190, 0.6), transparent 32%),
    radial-gradient(circle, rgba(255, 107, 26, 0.55), rgba(10, 10, 10, 0.45) 66%);
  box-shadow:
    inset -6px -5px 16px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(255, 107, 26, 0.4),
    0 0 56px rgba(255, 107, 26, 0.2);
  opacity: 0.72;
  animation:
    planetDriftC 18s ease-in-out infinite alternate,
    planetPulse 5.5s ease-in-out infinite;
}

.planet--d {
  width: min(44px, 9vw);
  height: min(44px, 9vw);
  top: 26%;
  left: 20%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 220, 170, 0.65), transparent 36%),
    radial-gradient(circle, rgba(255, 107, 26, 0.48), rgba(10, 10, 10, 0.4) 68%);
  box-shadow:
    0 0 22px rgba(255, 107, 26, 0.45),
    0 0 48px rgba(255, 107, 26, 0.2);
  opacity: 0.68;
  animation:
    planetDriftD 16s ease-in-out infinite alternate,
    planetPulse 4.5s ease-in-out infinite 0.8s;
}

@keyframes planetDriftA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 3%, 0) scale(1.03); }
  100% { transform: translate3d(-4%, 5%, 0) scale(1.05); }
}

@keyframes planetDriftB {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(3%, -4%, 0); }
  100% { transform: translate3d(6%, -7%, 0); }
}

@keyframes planetDriftC {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-5%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-9%, -5%, 0) scale(1.1); }
}

@keyframes planetDriftD {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(6%, 4%, 0); }
  100% { transform: translate3d(12%, 9%, 0); }
}

@keyframes planetGlow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.2) saturate(1.2); }
}

@keyframes planetPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.85; }
}

@keyframes planetRing {
  0%   { transform: rotateX(68deg) rotateZ(0deg) scale(1.15); opacity: 0.65; }
  50%  { opacity: 1; }
  100% { transform: rotateX(68deg) rotateZ(360deg) scale(1.15); opacity: 0.65; }
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 55% at 70% 35%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 70% 35%, #000 15%, transparent 70%);
  opacity: 0.4;
  animation: gridBreath 10s ease-in-out infinite;
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: noiseFlicker 0.5s steps(2) infinite;
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, transparent 35%, rgba(10,10,10,0.9) 100%);
}

@keyframes ambientDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate3d(-4%, 6%, 0) scale(1.08); opacity: 1; }
}

@keyframes gridBreath {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.48; }
}

@keyframes noiseFlicker {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-0.4%, 0.3%, 0); }
  100% { transform: translate3d(0.2%, -0.2%, 0); }
}

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }

.scene {
  position: relative;
  padding: clamp(72px, 10vh, 120px) clamp(20px, 5vw, 80px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 18px rgba(255, 107, 26, 0.25);
}

.title-xl {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.lede {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  color: var(--ink-dim);
  max-width: 520px;
}

.reveal-up,
.reveal-line,
.reveal-chars .char {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

.reveal-up.is-in,
.reveal-line.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-chars .char {
  display: inline-block;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.reveal-chars.is-in .char {
  opacity: 1;
  transform: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.94);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.nav__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: contain;
  animation: markBreath 4.5s ease-in-out infinite;
}

@keyframes markBreath {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 8px rgba(255, 107, 26, 0.45)); }
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  position: relative;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 2;
}

.nav__burger span {
  display: block;
  width: 18px; height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 1.15rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s;
}

.btn--sm { padding: 9px 16px; font-size: 0.75rem; }

.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn--primary:hover::after {
  animation: btnSheen 0.85s var(--ease-out);
}

@keyframes btnSheen {
  to { transform: translateX(120%); }
}

.btn--primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 24px rgba(255, 107, 26, 0.18);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn__label { position: relative; z-index: 1; }
.btn:active { opacity: 0.85; }

/* ---------- HERO — product first ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.hero__title {
  margin: 1.2rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-align: center;
}

.hero__title .line { display: block; }

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.85em, 0);
  will-change: transform, opacity;
}

.hero__title.is-ready .char {
  animation: charIn 0.75s var(--ease-out) forwards;
}

@keyframes charIn {
  to { opacity: 1; transform: none; }
}

.hero__title .word {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink);
}

.hero__title .word-dim {
  color: var(--ink-dim);
  font-weight: 500;
}

.hero__sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 400px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
  text-align: center;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.4rem;
  justify-content: center;
}

.hero__hint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
}

.hero__hint code {
  color: var(--accent);
  font-size: inherit;
}

.hero__theater {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 820px;
}

/* ---------- Terminal chrome ---------- */
.term {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 107, 26, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.45);
  transition: border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.term:hover {
  border-color: rgba(255, 107, 26, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 107, 26, 0.1),
    0 28px 72px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(255, 107, 26, 0.06);
}

.term--lg {
  max-width: 820px;
  margin: 0 auto;
  animation: termAlive 6s ease-in-out infinite;
}

@keyframes termAlive {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 107, 26, 0.06),
      0 24px 64px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 107, 26, 0.12),
      0 28px 72px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(255, 107, 26, 0.08);
  }
}

.term__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.term__dots { display: flex; gap: 5px; }
.term__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
}
.term__dots i:nth-child(1) { border-color: var(--accent-dim); }

.term__title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.term__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.term__body {
  padding: 16px 18px 20px;
  min-height: 320px;
  max-height: min(52vh, 440px);
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.term--lg .term__body {
  min-height: 280px;
  max-height: 420px;
}

.term__footer {
  display: flex;
  justify-content: center;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.term__replay {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s;
}

.term__replay:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
}

/* Terminal line types */
.t-line {
  margin: 0 0 0.35em;
  white-space: pre-wrap;
  word-break: break-word;
}

.t-prompt { color: var(--term-prompt); font-weight: 600; }
.t-path { color: var(--ink-mute); font-weight: 400; }
.t-user { color: var(--ink); }
.t-think {
  color: var(--ink-mute);
  font-style: italic;
}
.t-tool {
  color: var(--term-tool);
}
.t-tool .t-args { color: var(--ink-mute); }
.t-ok { color: var(--term-ok); }
.t-out { color: var(--term-out); }
.t-frame { color: var(--accent); }
.t-cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.t-chip {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 2px 7px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* ---------- Proof strip ---------- */
.proof {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  padding: 0 clamp(16px, 4vw, 48px);
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
}

.proof__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  min-width: 120px;
  text-align: center;
  transition: background 0.35s var(--ease-out);
}

.proof__item:hover {
  background: rgba(255, 107, 26, 0.04);
}

.proof__item:last-child { border-right: none; }

.proof__k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.proof__v {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-dim);
}

/* ---------- Scenarios ---------- */
.scenarios__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.scenarios__tab {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-dim);
  background: var(--surface);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.scenarios__tab:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.scenarios__tab.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.cap {
  position: relative;
  padding: 28px 26px;
  background: var(--bg-elevated);
  min-height: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.cap:hover {
  background: var(--bg-panel);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.14);
}

.cap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  height: 2px;
  margin-left: -24px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.cap:hover::before { opacity: 1; }

.cap__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cap h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cap p {
  color: var(--ink-dim);
  font-size: 0.92rem;
  max-width: 36ch;
  margin: 0 auto 1.2rem;
}

.cap__cli {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.cap__cli code {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--accent);
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
}

/* ---------- Use cases ---------- */
.use-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.use-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 24px;
  background: var(--bg-elevated);
  text-align: center;
}

.use-row__n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.use-row__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.use-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.use-row p {
  color: var(--ink-dim);
  font-size: 0.92rem;
  margin: 0 auto 0.9rem;
  max-width: 52ch;
}

.use-row__cmd {
  display: block;
  width: 100%;
  max-width: 640px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 0.78rem;
  overflow-x: auto;
  text-align: center;
}

/* ---------- Light / planet / minimal reqs ---------- */
.light .use-list {
  margin-bottom: 28px;
}

.reqs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.reqs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--bg-elevated);
  text-align: center;
}

.reqs__k {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}

.reqs__v {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  line-height: 1.4;
}

.lede code {
  font-size: 0.92em;
  color: var(--accent);
}

/* ---------- Architecture + graph ---------- */
.arch {
  position: relative;
  max-width: 860px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.arch__layer {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.arch__box {
  position: relative;
  min-width: 150px;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  text-align: center;
}

.arch__box--accent {
  border-color: var(--accent-dim);
  background: linear-gradient(180deg, var(--accent-soft), var(--bg-elevated));
}

.arch__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.arch__box strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.arch__box em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
}

.arch__flow {
  display: flex;
  gap: 6px;
  height: 28px;
  align-items: center;
}

.arch__flow span {
  width: 4px; height: 4px;
  background: var(--accent);
  opacity: 0.35;
  animation: packetDrop 1.4s ease-in-out infinite;
}

.arch__flow span:nth-child(2) { animation-delay: 0.2s; }
.arch__flow span:nth-child(3) { animation-delay: 0.4s; }

@keyframes packetDrop {
  0%, 100% { transform: translateY(-6px); opacity: 0.15; }
  50% { transform: translateY(6px); opacity: 1; }
}

.agent-graph {
  position: relative;
  width: min(720px, 100%);
  height: min(420px, 70vw);
  margin: 0 auto;
}

.agent-graph__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.agent-graph__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.agent-node {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  will-change: transform;
}

.agent-node:not(.agent-node--core) {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
  color: var(--ink-dim);
}

.agent-node:not(.agent-node--core).is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.agent-node--core .agent-node__body {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 2px;
  background: var(--bg-panel);
  border: 1px solid var(--accent);
  box-shadow: 0 0 28px var(--accent-glow);
}

.agent-node__mono {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.agent-node__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink);
}

.agent-line {
  fill: none;
  stroke: rgba(255, 107, 26, 0.28);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0.45;
  transition: opacity 0.35s, stroke 0.35s;
}

.agent-line.is-lit {
  opacity: 1;
  stroke: var(--accent);
  stroke-dasharray: 6 8;
  animation: dashFlow 1.2s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -28; }
}

/* ---------- Install ---------- */
.install {
  padding-block: clamp(80px, 12vh, 140px);
}

.install__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.install__download {
  margin: 36px auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.install__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-dim);
}

.install__meta-sep {
  color: var(--ink-mute);
}

.install__meta code {
  color: var(--ink);
  font-size: 0.72rem;
}

.install__sha {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-mute);
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}

.install__sha code {
  color: var(--ink-dim);
  word-break: break-all;
  font-size: 0.65rem;
}

.install__block {
  margin: 0 0 16px;
}

.install__block--alt .install__code {
  border-color: var(--line-strong);
}

.install__block--alt .install__code code {
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  color: var(--ink);
}

.install__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
  text-align: center;
}

.install__code {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  animation: installPulse 5s ease-in-out infinite;
}

@keyframes installPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); }
  50% { box-shadow: 0 0 28px rgba(255, 107, 26, 0.1); }
}

.install__code code {
  flex: 1;
  padding: clamp(16px, 2.5vw, 22px) clamp(14px, 2vw, 20px);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  letter-spacing: -0.01em;
  color: var(--accent);
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
}

.install__copy {
  flex-shrink: 0;
  padding: 0 22px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: var(--bg);
  transition: color 0.2s, background 0.2s;
}

.install__copy:hover,
.install__copy.is-copied {
  color: var(--accent);
  background: var(--accent-soft);
}

.install__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin: 28px 0 20px;
}

.install__step {
  padding: 18px 16px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.install__step span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.install__step code {
  font-size: 0.78rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.install__note {
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin: 0 auto 28px;
  text-align: center;
}

.install__note code {
  color: var(--accent);
  font-size: 0.8rem;
}

.install__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 5vw, 80px) 48px;
  background: var(--bg);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__brand .nav__mark {
  margin: 0 auto 4px;
}

.footer__brand strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.footer__brand p {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  justify-content: center;
}

.footer__links a:hover { color: var(--accent); }

.footer__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
  justify-content: center;
}

.footer__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
  animation: pulseDot 1.8s ease-out infinite;
  box-shadow: 0 0 10px rgba(255, 107, 26, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__copy {
    max-width: 560px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 40px);
  }

  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav > .btn { display: none; }

  .cap-grid { grid-template-columns: 1fr; }
  .install__steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__meta { justify-content: center; }

  .proof__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex: 1 1 40%;
  }

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

@media (max-width: 560px) {
  .use-row {
    padding: 20px 16px;
  }

  .term__body {
    min-height: 260px;
    font-size: 0.72rem;
  }

  .install__code {
    flex-direction: column;
  }

  .install__copy {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 14px;
  }
}

/* ---------- Boot intro — agent node ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.boot[hidden] { display: none; }

.boot.is-on { opacity: 1; }

.boot__veil {
  position: absolute;
  inset: 0;
  background: #050505;
  transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
}

.boot__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 107, 26, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 26, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.5s var(--ease-out), transform 1.1s var(--ease-out);
}

.boot.is-on .boot__grid {
  opacity: 1;
  transform: scale(1);
}

.boot__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.65s var(--ease-out), opacity 0.45s var(--ease-out);
}

.boot__mark {
  width: min(132px, 28vw);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(255, 107, 26, 0.18));
}

.boot__ticks,
.boot__frame,
.boot__ring,
.boot__rays {
  opacity: 0;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

.boot.is-ticks .boot__ticks {
  opacity: 1;
  animation: bootDraw 0.45s var(--ease-out) forwards;
}

.boot.is-frame .boot__frame {
  opacity: 1;
  animation: bootDraw 0.55s var(--ease-out) forwards;
}

.boot.is-ring .boot__ring {
  opacity: 1;
  animation: bootRingIn 0.4s var(--ease-out) forwards;
}

.boot.is-rays .boot__rays {
  opacity: 1;
  animation: bootDraw 0.35s var(--ease-out) forwards;
}

.boot__core {
  transform-origin: 256px 256px;
  transform: scale(0);
  opacity: 0;
  filter: none;
}

.boot.is-core .boot__core {
  animation: bootCorePop 0.55s var(--ease-out) forwards;
}

@keyframes bootDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes bootRingIn {
  from {
    opacity: 0;
    transform: scale(0.82);
    transform-box: fill-box;
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: scale(1);
    transform-box: fill-box;
    transform-origin: center;
  }
}

@keyframes bootCorePop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  55% {
    opacity: 1;
    transform: scale(1.22);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.boot__shock {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.boot__shock i {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 107, 26, 0.55);
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.4);
}

.boot.is-flash .boot__shock i:nth-child(1) {
  animation: bootShock 0.7s var(--ease-out) forwards;
}
.boot.is-flash .boot__shock i:nth-child(2) {
  animation: bootShock 0.7s var(--ease-out) 0.06s forwards;
}
.boot.is-flash .boot__shock i:nth-child(3) {
  animation: bootShock 0.7s var(--ease-out) 0.12s forwards;
}

@keyframes bootShock {
  0% {
    opacity: 0.85;
    transform: scale(0.55);
    border-color: rgba(255, 107, 26, 0.7);
  }
  100% {
    opacity: 0;
    transform: scale(6.5);
    border-color: rgba(255, 107, 26, 0);
  }
}

.boot__burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  z-index: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  box-shadow:
    0 0 0 0 rgba(255, 107, 26, 0.45),
    0 0 40px 8px rgba(255, 107, 26, 0.35);
}

.boot.is-flash .boot__burst {
  animation: bootBurst 0.65s var(--ease-out) forwards;
}

@keyframes bootBurst {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 107, 26, 0.5),
      0 0 20px 4px rgba(255, 107, 26, 0.4);
  }
  100% {
    opacity: 0;
    transform: scale(18);
    box-shadow:
      0 0 0 120px rgba(255, 107, 26, 0),
      0 0 80px 0 rgba(255, 107, 26, 0);
  }
}

.boot__flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 107, 26, 0.55), transparent 42%),
    rgba(255, 240, 220, 0.12);
  opacity: 0;
  mix-blend-mode: screen;
}

.boot.is-flash .boot__flash {
  animation: bootFlash 0.45s var(--ease-out) forwards;
}

@keyframes bootFlash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

.boot__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 18%;
  top: -20%;
  z-index: 4;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 107, 26, 0.08),
    transparent
  );
  opacity: 0;
}

.boot.is-on .boot__scan {
  animation: bootScan 1.1s var(--ease-smooth) 0.1s forwards;
}

@keyframes bootScan {
  0% { top: -20%; opacity: 0; }
  15% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.boot__word {
  display: flex;
  gap: 0.02em;
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  height: 1.2em;
}

.boot__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
}

.boot.is-word .boot__word span {
  animation: bootLetter 0.35s var(--ease-out) forwards;
}

.boot.is-word .boot__word span:nth-child(1) { animation-delay: 0.00s; }
.boot.is-word .boot__word span:nth-child(2) { animation-delay: 0.03s; }
.boot.is-word .boot__word span:nth-child(3) { animation-delay: 0.06s; }
.boot.is-word .boot__word span:nth-child(4) { animation-delay: 0.09s; }
.boot.is-word .boot__word span:nth-child(5) { animation-delay: 0.12s; }
.boot.is-word .boot__word span:nth-child(6) { animation-delay: 0.15s; }
.boot.is-word .boot__word span:nth-child(7) { animation-delay: 0.18s; }
.boot.is-word .boot__word span:nth-child(8) { animation-delay: 0.21s; }
.boot.is-word .boot__word span:nth-child(9) { animation-delay: 0.24s; }
.boot.is-word .boot__word span:nth-child(10) { animation-delay: 0.27s; }
.boot.is-word .boot__word span:nth-child(11) { animation-delay: 0.30s; }

@keyframes bootLetter {
  to {
    opacity: 1;
    transform: none;
  }
}

.boot__status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  opacity: 0;
  transform: translateY(6px);
}

.boot__status .boot__prompt {
  color: var(--accent);
  margin-right: 6px;
}

.boot__status em {
  font-style: normal;
  color: var(--accent);
}

.boot.is-status .boot__status {
  animation: bootStatusIn 0.35s var(--ease-out) forwards;
}

@keyframes bootStatusIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Exit — iris + nœud qui file vers la nav */
.boot.is-on {
  clip-path: circle(150% at 50% 46%);
  transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.25s ease;
}

.boot.is-on.is-exit {
  clip-path: circle(0% at 50% 46%);
}

.boot.is-exit .boot__veil {
  opacity: 1;
  transform: none;
}

.boot.is-exit .boot__grid,
.boot.is-exit .boot__scan,
.boot.is-exit .boot__shock,
.boot.is-exit .boot__burst,
.boot.is-exit .boot__flash {
  opacity: 0 !important;
}

.boot.is-exit .boot__stage {
  transform: scale(0.22) translate3d(-38vw, -36vh, 0);
  opacity: 0.35;
  transition: transform 0.65s cubic-bezier(0.7, 0, 0.25, 1), opacity 0.45s ease;
}

.boot.is-gone {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

html.is-ready .nav,
html.is-ready main,
html.is-ready .proof,
html.is-ready .footer {
  animation: bootReveal 0.65s var(--ease-out) both;
}

@keyframes bootReveal {
  from { transform: translate3d(0, 14px, 0); }
  to { transform: none; }
}

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

  .boot { display: none !important; }

  .reveal-up,
  .reveal-line,
  .reveal-chars .char,
  .hero__title .char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .pulse-dot,
  .arch__flow span,
  .agent-line.is-lit,
  .t-cursor,
  .bg__glow,
  .bg__grid,
  .bg__noise,
  .nav__mark,
  .term--lg,
  .install__code,
  .footer__pulse,
  .btn--primary::after,
  .planet {
    animation: none !important;
  }

  .t-cursor { opacity: 1; }
  .bg__glow { opacity: 0.75; }

  html.is-ready .nav,
  html.is-ready main,
  html.is-ready .proof,
  html.is-ready .footer {
    animation: none;
  }
}
