/* ═══════════════════════════════════════════════════════════════════════════
   stepwind.app — StepWind's own identity: time, wind, and reversal.
   Atmosphere = drifting wind streaks + breathing glows + the timeline dot-grid.
   The design system borrows the APP's operation colors (create/modify/move/
   rename/delete) as accent rails. Motion is transform/opacity only — no blur,
   no backdrop-filter — and everything respects prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #08080a;
  --bg-2: #0b0c10;
  --card: #0e0f14;
  --card-2: #12131a;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --text-2: #a9b1bf;
  --text-3: #6b7686;
  --indigo: #6366f1;
  --indigo-2: #818cf8;
  --cyan: #22d3ee;
  /* the app's own operation kinds — StepWind's real palette */
  --k-create: #34d399;
  --k-mod: #818cf8;
  --k-move: #fbbf24;
  --k-ren: #c084fc;
  --k-del: #fb7185;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15.5px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
kbd {
  font: 12px/1 var(--mono);
  background: var(--card-2); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; padding: 2px 6px; white-space: nowrap;
}
code { font-family: var(--mono); font-size: 0.9em; background: var(--card-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
pre {
  background: #0a0c11; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 18px; overflow-x: auto; margin: 16px 0;
}
pre code { background: none; border: 0; padding: 0; font-size: 13px; color: var(--text-2); }
.wrap { width: min(1140px, 92vw); margin: 0 auto; position: relative; }
.wrap.narrow { width: min(840px, 92vw); }
.center { text-align: center; }
main, header, footer { position: relative; z-index: 1; }

/* ═══════════ Atmosphere ═══════════ */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Two breathing glows — deep, slow, alive but never a flat wash. */
.glow { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.glow-a {
  width: 68rem; height: 44rem; left: -22rem; top: -16rem;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.16), transparent 70%);
  animation: breathe-a 16s var(--ease) infinite alternate;
}
.glow-b {
  width: 60rem; height: 40rem; right: -20rem; top: 22rem;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.10), transparent 70%);
  animation: breathe-b 21s var(--ease) infinite alternate;
}
@keyframes breathe-a { from { transform: translateY(0) scale(1); opacity: 0.75; } to { transform: translateY(4rem) scale(1.12); opacity: 1; } }
@keyframes breathe-b { from { transform: translateY(0) scale(1.08); opacity: 0.6; } to { transform: translateY(-3rem) scale(1); opacity: 1; } }

/* Wind: thin diagonal streaks drifting across the sky at different speeds. */
.wind { position: absolute; inset: -10% -30%; transform: rotate(-16deg); }
.wind i {
  position: absolute; display: block; height: 1.5px; border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.35), rgba(34, 211, 238, 0.28), transparent);
  animation: gust linear infinite;
  will-change: transform, opacity;
  opacity: 0;
}
.wind i:nth-child(1)  { top: 8%;  width: 30rem; animation-duration: 11s; animation-delay: 0s; }
.wind i:nth-child(2)  { top: 16%; width: 18rem; animation-duration: 14s; animation-delay: 3.2s; }
.wind i:nth-child(3)  { top: 24%; width: 40rem; animation-duration: 9.5s; animation-delay: 1.4s; }
.wind i:nth-child(4)  { top: 33%; width: 22rem; animation-duration: 15s; animation-delay: 6s; }
.wind i:nth-child(5)  { top: 42%; width: 34rem; animation-duration: 12s; animation-delay: 2.4s; }
.wind i:nth-child(6)  { top: 52%; width: 16rem; animation-duration: 17s; animation-delay: 8s; }
.wind i:nth-child(7)  { top: 61%; width: 28rem; animation-duration: 10.5s; animation-delay: 4.6s; }
.wind i:nth-child(8)  { top: 70%; width: 38rem; animation-duration: 13.5s; animation-delay: 0.8s; }
.wind i:nth-child(9)  { top: 80%; width: 20rem; animation-duration: 16s; animation-delay: 5.4s; }
.wind i:nth-child(10) { top: 90%; width: 32rem; animation-duration: 12.5s; animation-delay: 7.2s; }
@keyframes gust {
  0%   { transform: translateX(-40vw); opacity: 0; }
  12%  { opacity: 0.9; }
  70%  { opacity: 0.5; }
  100% { transform: translateX(150vw); opacity: 0; }
}

/* Timeline dot-grid — the app's day-dots, as a faint texture over the lower sky. */
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 72%, transparent 100%);
}

/* ═══════════ Nav ═══════════ */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(8, 8, 10, 0.9); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 650; font-size: 17px; font-family: var(--font-display); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 6px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--text-2); font-size: 14px; position: relative; }
.links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px;
  background: linear-gradient(90deg, var(--indigo-2), var(--cyan));
  transition: right 0.25s var(--ease);
}
.links a:hover { color: var(--text); text-decoration: none; }
.links a:hover::after { right: 0; }
.nav-cta { flex-shrink: 0; }

/* ═══════════ Buttons (sheen sweep on hover) ═══════════ */
.btn {
  display: inline-flex; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  color: var(--text); background: var(--card); border: 1px solid var(--line-strong);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  position: relative; overflow: hidden;
}
.btn-in { display: inline-flex; align-items: center; gap: 9px; padding: 11px 21px; position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-110%);
}
.btn:hover { text-decoration: none; transform: translateY(-1.5px); border-color: rgba(255, 255, 255, 0.24); }
.btn:hover::before { transition: transform 0.6s var(--ease); transform: translateX(110%); }
.btn.primary {
  border: 0; color: #071018;
  background: linear-gradient(92deg, var(--indigo-2), var(--cyan));
  box-shadow: 0 8px 30px rgba(80, 100, 240, 0.22);
}
.btn.primary:hover { box-shadow: 0 12px 38px rgba(80, 160, 240, 0.32); }
.btn.ghost { background: rgba(255, 255, 255, 0.03); }
.btn.big .btn-in { padding: 14px 27px; font-size: 15.5px; }
.btn.small .btn-in { padding: 7px 16px; font-size: 13.5px; }
.vchip { font: 600 11.5px/1 var(--mono); background: rgba(0, 0, 0, 0.22); border-radius: 99px; padding: 4px 9px; }
.btn:not(.primary) .vchip { background: rgba(255, 255, 255, 0.07); color: var(--text-2); }

/* ═══════════ Hero ═══════════ */
.hero { padding: 74px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 48px; align-items: center; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--font); letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 20px;
}
.center .kicker, .cta-final .kicker { justify-content: center; }
.kick-dash { width: 26px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--indigo-2), var(--cyan)); }
h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.022em;
  font-weight: 700; margin-bottom: 20px;
}
.grad {
  background: linear-gradient(92deg, var(--indigo-2) 20%, var(--cyan) 45%, #7dd3fc 55%, var(--indigo-2) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-sweep 7s var(--ease) infinite;
}
@keyframes grad-sweep { 0% { background-position: 0% 0; } 50% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
.lede { font-size: clamp(16px, 2.2vw, 18.5px); color: var(--text-2); max-width: 560px; margin-bottom: 30px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.center .cta, .cta-final .cta { justify-content: center; }
.fineprint { color: var(--text-3); font-size: 13px; margin-top: 16px; }
.fineprint a { color: var(--text-3); text-decoration: underline; }

/* ═══════════ The hero demo: mistakes, undone, on a loop ═══════════ */
.demo {
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden; position: relative;
}
.demo-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card-2);
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.demo-title { margin-left: 8px; font-size: 12px; color: var(--text-3); font-weight: 600; letter-spacing: 0.4px; }
.demo-live { margin-left: auto; display: flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--mono); color: var(--k-create); letter-spacing: 1px; text-transform: uppercase; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--k-create); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.72); } }
.demo-body { padding: 12px 14px 6px; position: relative; }
.demo-foot { padding: 10px 16px 14px; color: var(--text-3); font-size: 12px; border-top: 1px solid var(--line); }

.op {
  display: grid; grid-template-columns: 3px 44px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 12px 11px 0; border-radius: 10px; margin-bottom: 6px;
  border: 1px solid transparent;
  opacity: 0; transform: translateX(18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.op.on { opacity: 1; transform: none; }
.op-rail { width: 3px; height: 100%; min-height: 40px; border-radius: 99px; background: var(--text-3); }
.op[data-op="move"]   .op-rail { background: var(--k-move); }
.op[data-op="delete"] .op-rail { background: var(--k-del); }
.op[data-op="rename"] .op-rail { background: var(--k-ren); }
.op-time { font: 500 11.5px/1 var(--mono); color: var(--text-3); }
.op-text { min-width: 0; display: grid; }
.op-app { font: 600 10px/1.2 var(--mono); color: var(--text-3); letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 3px; }
.op-what, .op-fixed { font-size: 13px; line-height: 1.45; grid-area: 2 / 1; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.op-what strong { color: var(--text); } .op-what em, .op-fixed em { color: var(--text-2); font-style: normal; }
.op-fixed { color: var(--k-create); opacity: 0; transform: translateY(6px); }
.op.fixed .op-what { opacity: 0; transform: translateY(-6px); }
.op.fixed .op-fixed { opacity: 1; transform: none; }
.op.fixed { border-color: rgba(52, 211, 153, 0.25); background: rgba(52, 211, 153, 0.05); }
.op.fixed .op-rail { background: var(--k-create); }
.op-undo {
  font: 600 12px/1 var(--font); color: #071018; border: 0; border-radius: 8px; padding: 8px 14px;
  background: linear-gradient(92deg, var(--indigo-2), var(--cyan));
  opacity: 0; transform: scale(0.92); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.op.armed .op-undo { opacity: 1; transform: none; }
.op.clicked .op-undo { transform: scale(0.88); opacity: 0.55; }
.op.fixed .op-undo { opacity: 0; transform: scale(0.8); }

/* The little ghost cursor that "clicks" undo. */
.demo-cursor {
  position: absolute; width: 18px; height: 18px; z-index: 3;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  right: 34px; top: 24px;
  opacity: 0; transform: scale(0.6);
  transition: top 0.55s var(--ease), opacity 0.3s var(--ease), transform 0.25s var(--ease);
  will-change: top, transform;
}
.demo-cursor.show { opacity: 1; transform: scale(1); }
.demo-cursor.press { transform: scale(0.72); }

/* ═══════════ Marquee tape ═══════════ */
.tape { margin-top: 64px; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, 0.014); }
.tape-track {
  display: flex; gap: 12px; width: max-content; padding: 13px 0;
  animation: tape-scroll 46s linear infinite;
  will-change: transform;
}
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.chip {
  font: 500 12.5px/1 var(--font); color: var(--text-2); white-space: nowrap;
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px;
  background: var(--card);
  display: inline-flex; align-items: center; gap: 8px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.chip.c-move::before { background: var(--k-move); }
.chip.c-del::before  { background: var(--k-del); }
.chip.c-mod::before  { background: var(--k-mod); }
.chip.c-ren::before  { background: var(--k-ren); }

/* ═══════════ Sections ═══════════ */
.section { padding: 92px 0; position: relative; }
h2 { font-family: var(--font-display); font-size: clamp(27px, 3.8vw, 40px); letter-spacing: -0.018em; line-height: 1.12; margin-bottom: 12px; }
.section-sub { color: var(--text-2); font-size: 16.5px; max-width: 700px; margin-bottom: 38px; }

/* screenshot */
.shot-sec { padding-top: 40px; }
.shot-frame { position: relative; width: min(1060px, 92vw); margin: 0 auto; border-radius: 16px; padding: 1px; }
.shot-edge {
  position: absolute; inset: 0; border-radius: 16px; z-index: 0;
  background: linear-gradient(120deg, rgba(129, 140, 248, 0.5), rgba(34, 211, 238, 0.4), rgba(129, 140, 248, 0.12), rgba(34, 211, 238, 0.5));
  background-size: 300% 300%;
  animation: edge-flow 9s var(--ease) infinite;
}
@keyframes edge-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.shot-frame img { position: relative; z-index: 1; border-radius: 15px; box-shadow: 0 34px 100px rgba(0, 0, 0, 0.6); }
.shot-cap { text-align: center; color: var(--text-3); font-size: 13.5px; margin-top: 18px; }

/* feature cards with the app's kind-colored rails */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px 24px; overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card.rail-create::before { background: linear-gradient(90deg, var(--k-create), transparent 85%); }
.card.rail-mod::before    { background: linear-gradient(90deg, var(--k-mod), transparent 85%); }
.card.rail-move::before   { background: linear-gradient(90deg, var(--k-move), transparent 85%); }
.card.rail-ren::before    { background: linear-gradient(90deg, var(--k-ren), transparent 85%); }
.card.rail-del::before    { background: linear-gradient(90deg, var(--k-del), transparent 85%); }
.card.in::before, .card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card h3 { font-size: 17px; margin-bottom: 9px; font-family: var(--font-display); }
.card p { color: var(--text-2); font-size: 14.5px; }
.card strong { color: var(--text); }

/* ═══════════ How it works — a literal vertical timeline ═══════════ */
.tl { position: relative; max-width: 780px; margin: 8px 0 44px; padding-left: 12px; }
.tl::before {
  content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--k-create), var(--k-del) 55%, var(--cyan));
  opacity: 0.35; border-radius: 99px;
}
.tl-item { position: relative; padding: 0 0 26px 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 3px; top: 22px; width: 15px; height: 15px; border-radius: 50%;
  border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--line-strong);
}
.tl-dot.d-create { background: var(--k-create); }
.tl-dot.d-del    { background: var(--k-del); }
.tl-dot.d-ok     { background: var(--cyan); box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5), 0 0 22px rgba(34, 211, 238, 0.35); }
.tl-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tl-card:hover { border-color: var(--line-strong); transform: translateX(3px); }
.tl-card h3 { font-family: var(--font-display); font-size: 16.5px; margin-bottom: 7px; }
.tl-card p { color: var(--text-2); font-size: 14.5px; }
.shots-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shots-row img { border-radius: 12px; border: 1px solid var(--line-strong); }

/* ═══════════ AI agents — terminal ═══════════ */
.agents-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 46px; align-items: center; }
.ticks { list-style: none; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 14.5px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, 0.12); color: var(--cyan);
  font-size: 12px; font-weight: 700;
}
.ticks strong { color: var(--text); }
.term {
  background: #0a0c11; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.term-title { margin-left: 8px; font-size: 12px; color: var(--text-3); font-weight: 600; }
.term-body {
  padding: 18px; min-height: 216px;
  font: 12.8px/1.9 var(--mono); color: var(--text-2); white-space: pre-wrap;
}
.term-caret { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* ═══════════ Security / FAQ / CTA / footer ═══════════ */
.note {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--indigo);
  border-radius: 10px; padding: 16px 18px; color: var(--text-2); margin: 18px 0; font-size: 14.5px;
}
.note strong { color: var(--text); }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; transition: border-color 0.2s var(--ease); interpolate-size: allow-keywords; }
details[open] { border-color: var(--line-strong); }
/* Smooth expand/collapse: modern browsers animate ::details-content height; older ones
   gracefully fall back to instant toggling. The answer also fades/slides in. */
details::details-content {
  block-size: 0; overflow-y: clip;
  transition: block-size 0.34s var(--ease), content-visibility 0.34s allow-discrete;
}
details[open]::details-content { block-size: auto; }
details p { opacity: 0; transform: translateY(-4px); transition: opacity 0.28s var(--ease) 0.08s, transform 0.28s var(--ease) 0.08s; }
details[open] p { opacity: 1; transform: none; }
summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); font-size: 19px; font-weight: 400; transition: transform 0.22s var(--ease);
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--text-2); font-size: 14.5px; padding-bottom: 18px; }

.cta-final { padding: 110px 0 120px; text-align: center; }
.cta-final h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 30px; }

.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 26px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 13px; }
.foot-brand img { border-radius: 5px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--text-3); font-size: 13px; }
.foot-links a:hover { color: var(--text); }

/* ═══════════ Reveals (JS adds .in; no-JS = fully visible) ═══════════ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .grid .reveal:nth-child(2) { transition-delay: 0.07s; }
  .js .grid .reveal:nth-child(3) { transition-delay: 0.14s; }
  .js .grid .reveal:nth-child(4) { transition-delay: 0.05s; }
  .js .grid .reveal:nth-child(5) { transition-delay: 0.12s; }
  .js .grid .reveal:nth-child(6) { transition-delay: 0.19s; }
}
@media (prefers-reduced-motion: reduce) {
  .glow, .wind i, .tape-track, .grad, .shot-edge, .pulse, .term-caret { animation: none !important; }
  .op { opacity: 1 !important; transform: none !important; }
  .op-undo { opacity: 1 !important; }
}
:focus-visible { outline: 2px solid var(--indigo-2); outline-offset: 3px; border-radius: 4px; }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .agents-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .shots-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .hero { padding-top: 48px; }
  .section { padding: 64px 0; }
  .op { grid-template-columns: 3px 1fr auto; }
  .op-time { display: none; }
}
