/* IDFX public site.
   Brand palette: charcoal #1a1a1a ground, slate #222831 surfaces, periwinkle
   #99aaff as the one accent, #f1f1f1 / #d9d9d9 type. Everything else is
   derived from those. Mobile-first; nothing may scroll sideways at phone width.

   Motion: things arrive quickly and settle slowly, nothing bounces. Every
   animation also works without JavaScript (content is visible by default and
   site.js only adds the entrance), and all of it stops under reduced motion. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("/assets/fonts/jetbrains-mono-700.woff2") format("woff2"); }

:root {
  /* brand */
  --ink: #1a1a1a;
  --slate: #222831;
  --peri: #99aaff;
  --white: #f1f1f1;
  --silver: #d9d9d9;

  /* derived */
  --bg: var(--ink);
  --bg-deep: #141416;
  --surface: var(--slate);
  --surface-2: #2a313c;
  --line: rgba(241, 241, 241, 0.08);
  --line-strong: rgba(241, 241, 241, 0.16);
  --text: var(--white);
  --text-dim: var(--silver);
  --text-faint: #9097a3;
  --peri-soft: rgba(153, 170, 255, 0.12);
  --peri-line: rgba(153, 170, 255, 0.4);
  --peri-hi: #c3ccff;
  --peri-deep: #6c7ff0;

  /* meaning (tuned to sit next to the periwinkle) */
  --up: var(--peri);
  --down: #ff8f8f;
  --run: #ffd27a;
  --good: #8fe3b9;

  --radius: 18px;
  --radius-sm: 11px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- keyframes */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.12); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1.05); } 50% { transform: translate(-5vw, 6vh) scale(0.92); } }
@keyframes sweep { from { background-position: -220% 0; } to { background-position: 220% 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes travel { from { left: 0; } to { left: 100%; } }
@keyframes travel-y { from { top: 0; } to { top: 100%; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------------------------------------------------------------------- base */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient background: two slow periwinkle glows and a faint grid. */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.bg-fx .orb.a {
  width: 60vmax; height: 60vmax; left: -18vmax; top: -26vmax;
  background: radial-gradient(circle, rgba(153, 170, 255, 0.28), transparent 65%);
  animation: drift-a 26s ease-in-out infinite;
}
.bg-fx .orb.b {
  width: 50vmax; height: 50vmax; right: -20vmax; top: 10vh;
  background: radial-gradient(circle, rgba(108, 127, 240, 0.2), transparent 65%);
  animation: drift-b 32s ease-in-out infinite;
}
.bg-fx .grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(241, 241, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 241, 241, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
}
.bg-fx .grain {
  position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > *:not(.bg-fx) { position: relative; z-index: 1; }

a { color: var(--peri); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, .card:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(153, 170, 255, 0.35); color: var(--white); }

code, .mono { font-family: var(--mono); font-size: 0.9em; }
code { background: rgba(241, 241, 241, 0.07); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.028em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(28px, 5vw, 44px); }
h3 { font-size: 19px; font-weight: 650; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.dim { color: var(--text-faint); }
.small { font-size: 13px; }

.grad {
  background: linear-gradient(110deg, var(--white) 10%, var(--peri) 55%, var(--peri-deep) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 9s ease-in-out infinite;
}

/* -------------------------------------------------------------------- reveal */

/* Visible by default. With JavaScript, site.js marks the page and fades each
   block in as it scrolls into view. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- dev banner */

.dev-banner {
  background: repeating-linear-gradient(135deg, rgba(255, 210, 122, 0.16) 0 12px, rgba(255, 210, 122, 0.07) 12px 24px);
  border-bottom: 1px solid rgba(255, 210, 122, 0.45);
  color: var(--run);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 7px var(--gutter);
}

/* -------------------------------------------------------------------- topbar */

.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(26, 26, 26, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }

.brand { display: inline-flex; align-items: center; color: var(--text); line-height: 0; }
.brand:hover { text-decoration: none; }
.wordmark { height: 24px; width: auto; display: block; overflow: visible; }
.lockup { height: 58px; width: auto; display: block; }
.brand:hover .wordmark .rise, .brand:hover .lockup .rise { filter: drop-shadow(0 0 8px rgba(153, 170, 255, 0.8)); }

/* The X's rising stroke draws itself up from the bottom-left once per page. */
.topbar .wordmark .rise { clip-path: inset(0 100% 0 0); animation: x-rise 0.9s var(--ease) 0.25s forwards; }
@keyframes x-rise { to { clip-path: inset(0 0 0 0); } }

.topbar nav { display: flex; gap: 2px; }
.topbar nav a { color: var(--text-dim); font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 9px; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.topbar nav a:hover { color: var(--text); background: rgba(241, 241, 241, 0.06); text-decoration: none; }
.topbar nav a[aria-current="page"] { color: var(--ink); background: var(--peri); }

@media (max-width: 420px) {
  .wordmark { height: 21px; }
  .topbar nav a { padding: 7px 8px; font-size: 13.5px; }
}

/* ---------------------------------------------------------------------- hero */

.hero { padding: 48px 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } .hero { padding: 88px 0 40px; } }

.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--peri);
}
.eyebrow .live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--peri); }
.eyebrow .live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--peri); animation: ring 2s ease-out infinite; }

.hero h1 { font-size: clamp(44px, 11vw, 92px); letter-spacing: -0.05em; line-height: 0.98; }

.lead { margin: 22px 0 0; max-width: 640px; font-size: clamp(17px, 2.3vw, 20px); color: var(--text-dim); line-height: 1.55; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding: 0; list-style: none; color: var(--text-faint); font-size: 14px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--peri); flex: none; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 13px;
  border: 1px solid var(--line-strong); background: rgba(241, 241, 241, 0.04);
  color: var(--text); font-weight: 600; font-size: 15px; max-width: 100%; overflow: hidden; overflow-wrap: anywhere;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { text-decoration: none; background: rgba(241, 241, 241, 0.08); transform: translateY(-2px); }
.btn.primary { border-color: transparent; background: var(--peri); color: var(--ink); box-shadow: 0 16px 40px -18px rgba(153, 170, 255, 0.9); }
.btn.primary:hover { background: var(--peri-hi); box-shadow: 0 20px 50px -18px rgba(153, 170, 255, 1); }
.btn.primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  background-size: 220% 100%; animation: sweep 4.5s ease-in-out infinite; pointer-events: none;
}

/* ------------------------------------------------------ hero engine visual */
/* A looping, CSS-only walk through the pipeline, using real lines from the
   Silver Bullet spec. It illustrates the process and carries no results. */

.engine {
  --loop: 14s;
  position: relative; min-width: 0;
  border-radius: 22px; border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, rgba(42, 49, 60, 0.92), rgba(34, 40, 49, 0.92));
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(153, 170, 255, 0.06), 0 0 80px -30px rgba(153, 170, 255, 0.45);
  overflow: hidden;
  animation: rise 1s var(--ease) 0.2s both;
}
.engine::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(153, 170, 255, 0.7), transparent 35%, transparent 65%, rgba(153, 170, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.engine-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(26, 26, 26, 0.35); }
.engine-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(241, 241, 241, 0.16); }
.engine-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.engine-bar .tag { margin-left: auto; color: var(--peri); }

.engine-code { margin: 0; padding: 16px 18px 6px; font-family: var(--mono); font-size: clamp(11px, 2.9vw, 13px); line-height: 1.75; color: var(--text-dim); overflow: hidden; }
.engine-code .ln { display: block; white-space: pre; overflow: hidden; text-overflow: ellipsis; opacity: 0; animation: code-line var(--loop) infinite; animation-delay: calc(var(--i) * 0.16s); }
.engine-code .k { color: var(--peri); }
.engine-code .s { color: var(--white); }
.engine-code .c { color: var(--text-faint); }
@keyframes code-line {
  0% { opacity: 0; transform: translateX(-8px); }
  4%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

.engine-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 18px 4px; }
.engine-out .lane {
  position: relative; display: flex; align-items: center; gap: 10px; min-width: 0;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(26, 26, 26, 0.35);
  font-size: 13px; color: var(--text-dim); opacity: 0.3; animation: lane var(--loop) infinite;
}
.engine-out .lane:nth-child(2) { animation-delay: 0.25s; }
.engine-out .lane b { font-family: var(--mono); color: var(--white); font-size: 13px; }
.engine-out .lane small { display: block; color: var(--text-faint); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.engine-out .lane svg { width: 20px; height: 20px; color: var(--peri); flex: none; }
.engine-out .lane > div { min-width: 0; }
@keyframes lane {
  0%, 22% { opacity: 0.3; border-color: var(--line); box-shadow: none; }
  27%, 88% { opacity: 1; border-color: var(--peri-line); box-shadow: 0 0 24px -8px rgba(153, 170, 255, 0.6); }
  96%, 100% { opacity: 0.3; border-color: var(--line); box-shadow: none; }
}

.engine-wf { padding: 14px 18px 4px; }
.engine-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.engine-label span:last-child { color: var(--peri); letter-spacing: 0.04em; text-transform: none; font-weight: 600; }
.wf-row { position: relative; height: 9px; margin-bottom: 6px; border-radius: 5px; background: rgba(241, 241, 241, 0.05); }
.wf-row .tr, .wf-row .te { position: absolute; top: 0; bottom: 0; border-radius: 5px; transform-origin: left; transform: scaleX(0); animation: grow var(--loop) infinite; }
.wf-row .tr { background: rgba(153, 170, 255, 0.3); animation-delay: calc(0.1s * var(--r)); }
.wf-row .te { background: var(--peri); box-shadow: 0 0 12px rgba(153, 170, 255, 0.7); animation-name: grow-te; animation-delay: calc(0.1s * var(--r)); }
@keyframes grow { 0%, 34% { transform: scaleX(0); } 42%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes grow-te { 0%, 42% { transform: scaleX(0); } 50%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }

.engine-verdict { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 18px; }
.engine-verdict .g {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-faint);
  animation: grade var(--loop) infinite; animation-delay: calc(0.35s * var(--g));
}
@keyframes grade {
  0%, 56% { color: var(--text-faint); border-color: var(--line-strong); background: transparent; }
  60%, 66% { color: var(--ink); border-color: var(--peri); background: var(--peri); }
  72%, 100% { color: var(--text-faint); border-color: var(--line-strong); background: transparent; }
}

.engine-scan {
  position: absolute; left: 0; right: 0; height: 80px; top: -80px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(153, 170, 255, 0.1), transparent);
  animation: scan var(--loop) linear infinite;
}
@keyframes scan { 0% { top: -80px; } 60%, 100% { top: 110%; } }

.engine-caption { margin: 12px 4px 0; font-size: 12.5px; color: var(--text-faint); }

/* ------------------------------------------------------------------ sections */

.section { padding: 44px 0; }
.section.tight { padding: 20px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 22px; }
.section-head p { margin: 10px 0 0; color: var(--text-dim); max-width: 620px; }
.kicker { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--peri); }
.more { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.more:hover svg { transform: translateX(3px); }

.page-head { padding: 52px 0 18px; }
.page-head > .wrap > * { animation: rise 0.8s var(--ease) both; }
.page-head > .wrap > *:nth-child(2) { animation-delay: 0.06s; }
.page-head > .wrap > *:nth-child(3) { animation-delay: 0.12s; }
.page-head > .wrap > *:nth-child(4) { animation-delay: 0.18s; }
.page-head > .wrap > *:nth-child(5) { animation-delay: 0.24s; }
.page-head > .wrap > *:nth-child(6) { animation-delay: 0.3s; }
.page-head h1 { font-size: clamp(36px, 7.5vw, 64px); letter-spacing: -0.045em; }

.crumbs { margin: 0 0 14px; font-size: 14px; color: var(--text-faint); }
.title-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 26px; color: var(--text-dim); }

/* --------------------------------------------------------------------- pills */

.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 27px; padding: 0 12px; border-radius: 999px;
  border: 1px solid currentColor; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.pill.running { color: var(--run); background: rgba(255, 210, 122, 0.08); }
.pill.fixture { color: var(--text-faint); border-style: dashed; }
.pill.grade-strong { color: var(--good); background: rgba(143, 227, 185, 0.08); }
.pill.grade-promising { color: var(--peri); background: var(--peri-soft); }
.pill.grade-marginal { color: var(--run); background: rgba(255, 210, 122, 0.08); }
.pill.grade-reject { color: var(--down); background: rgba(255, 143, 143, 0.08); }

.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 1.6s ease-in-out infinite; }

/* The label every result carries. */
.result-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--peri-line); background: var(--peri-soft); color: var(--peri-hi);
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
}
.result-badge svg { width: 14px; height: 14px; color: var(--peri); }
.result-badge b { color: var(--peri); font-weight: 700; }

/* ------------------------------------------------------------------- cards */

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); } }
@media (min-width: 760px) { .cards.list { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(42, 49, 60, 0.85), rgba(34, 40, 49, 0.6));
  color: var(--text); overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(153, 170, 255, 0.14), transparent 45%);
}
.card:hover { text-decoration: none; border-color: var(--peri-line); transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(153, 170, 255, 0.55); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 23px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.card-top .meta { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); }

.card-result { display: grid; grid-template-columns: 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-result .mini { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--text-faint); }
.card-result .mini b { font-family: var(--mono); font-size: 19px; color: var(--text); font-variant-numeric: tabular-nums; margin-right: 4px; }
.card-result .mini b.down { color: var(--down); }
.card-result .result-badge { justify-self: start; }

.spark { width: 100%; height: 56px; display: block; overflow: visible; }
.spark .line { stroke-width: 2; fill: none; }
.spark .fill { opacity: 0.25; }
.js .spark { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease) 0.2s; }
.js .is-in .spark, .js .spark.is-in { clip-path: inset(0 0 0 0); }

.card-pending { display: flex; gap: 12px; align-items: center; padding: 13px 15px; border-radius: var(--radius-sm); background: rgba(255, 210, 122, 0.06); border: 1px solid rgba(255, 210, 122, 0.22); color: var(--text-dim); font-size: 14px; }
.card-pending .bars { display: flex; gap: 3px; align-items: flex-end; height: 18px; flex: none; }
.card-pending .bars i { width: 3px; border-radius: 2px; background: var(--run); animation: eq 1.1s ease-in-out infinite; }
.card-pending .bars i:nth-child(2) { animation-delay: 0.15s; }
.card-pending .bars i:nth-child(3) { animation-delay: 0.3s; }
.card-pending .bars i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }

.card-go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--peri); display: inline-flex; align-items: center; gap: 6px; }
.card-go svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card:hover .card-go svg { transform: translateX(4px); }

/* --------------------------------------------------------- featured study */

.feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  padding: 24px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(42, 49, 60, 0.95), rgba(30, 34, 41, 0.9));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
@media (min-width: 1000px) { .feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); padding: 34px; gap: 36px; } }
.feature-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature-copy h3 { font-size: clamp(24px, 3.4vw, 32px); }
.feature-copy p { margin: 0; color: var(--text-dim); }
.feature-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.feature-stats div { padding: 12px 14px; border-radius: 12px; background: rgba(26, 26, 26, 0.45); border: 1px solid var(--line); min-width: 0; }
.feature-stats span { display: block; font-size: 10.5px; letter-spacing: 0.14em; font-weight: 700; text-transform: uppercase; color: var(--text-faint); }
.feature-stats b { display: block; margin-top: 4px; font-family: var(--mono); font-size: clamp(20px, 4.6vw, 26px); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; white-space: nowrap; }
.feature-stats b.down { color: var(--down); }
.feature-stats b.up { color: var(--peri); }
.feature-chart { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-chart .equity-main { height: clamp(200px, 36vw, 300px); }
.feature .cta { margin-top: auto; padding-top: 6px; }

.stamp {
  align-self: flex-start; display: inline-flex; flex-direction: column; gap: 2px;
  padding: 10px 16px; border-radius: 12px; border: 2px solid currentColor; transform: rotate(-3deg);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 20px; line-height: 1.1;
}
.stamp small { font-size: 10px; letter-spacing: 0.18em; font-weight: 700; opacity: 0.8; }
.stamp.reject { color: var(--down); }
.stamp.strong { color: var(--good); }
.stamp.promising { color: var(--peri); }
.stamp.marginal { color: var(--run); }
.js .stamp { opacity: 0; transform: rotate(-3deg) scale(1.6); transition: opacity 0.35s ease 0.5s, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.5s; }
.js .is-in .stamp, .js .stamp.is-in { opacity: 1; transform: rotate(-3deg) scale(1); }

/* ---------------------------------------------------------------- pipeline */

.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; position: relative; }
@media (min-width: 700px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pipeline { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.pipeline li {
  position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(42, 49, 60, 0.8), rgba(34, 40, 49, 0.5)); overflow: hidden;
}
.pipeline li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--peri), transparent); background-size: 50% 100%; background-repeat: no-repeat;
  animation: line-run 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.8s);
}
@keyframes line-run { from { background-position: -100% 0; } to { background-position: 200% 0; } }
.pipeline .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--peri-soft); border: 1px solid var(--peri-line); color: var(--peri); margin-bottom: 16px;
}
.pipeline .icon svg { width: 24px; height: 24px; }
.pipeline .n { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 13px; color: var(--text-faint); font-weight: 700; }
.pipeline h3 { margin: 0 0 8px; font-size: 20px; }
.pipeline p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ------------------------------------------------------------------- rules */

.rules { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, 1fr); } }
.rule { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(34, 40, 49, 0.55); }
.rule .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(26, 26, 26, 0.5); border: 1px solid var(--line-strong); color: var(--peri); }
.rule .icon svg { width: 22px; height: 22px; }
.rule h3 { margin-bottom: 6px; }
.rule p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ------------------------------------------------------------------ callout */

.callout {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--peri-line);
  background: radial-gradient(700px circle at 0% 0%, rgba(153, 170, 255, 0.25), transparent 60%), linear-gradient(140deg, #2a313c, var(--slate));
}
.callout p { margin: 10px 0 0; color: var(--text-dim); max-width: 620px; }
.callout .btn { align-self: flex-start; }
.callout .play {
  position: absolute; right: -40px; bottom: -60px; width: 240px; height: 240px; color: rgba(153, 170, 255, 0.1); pointer-events: none;
}
@media (min-width: 760px) {
  .callout { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px; }
  .callout .btn { align-self: center; flex: none; }
}

/* -------------------------------------------------------------- study page */

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 28px 0 0;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line);
}
@media (min-width: 760px) { .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.facts > div { background: rgba(34, 40, 49, 0.92); padding: 13px 16px; min-width: 0; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.facts dd { margin: 3px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.facts dd.mono { font-size: 13px; }

.panel { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(34, 40, 49, 0.7); padding: 22px; min-width: 0; }
.panel h3 { font-size: 18px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }

.verdict {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 26px; border-radius: 22px;
  border: 1px solid var(--line); margin-bottom: 16px; overflow: hidden;
}
.verdict::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, currentColor, transparent 65%); opacity: 0.12; pointer-events: none;
}
.verdict-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.verdict .k { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.verdict .grade { font-size: clamp(44px, 10vw, 76px); letter-spacing: -0.045em; line-height: 1; margin: 16px 0 12px; font-weight: 800; }
.verdict .summary { margin: 0 0 12px; color: var(--text-dim); max-width: 820px; font-size: 17px; }
.verdict.strong { color: var(--good); border-color: rgba(143, 227, 185, 0.4); background: linear-gradient(160deg, rgba(143, 227, 185, 0.1), rgba(34, 40, 49, 0.7)); }
.verdict.promising { color: var(--peri); border-color: var(--peri-line); background: linear-gradient(160deg, rgba(153, 170, 255, 0.12), rgba(34, 40, 49, 0.7)); }
.verdict.marginal { color: var(--run); border-color: rgba(255, 210, 122, 0.4); background: linear-gradient(160deg, rgba(255, 210, 122, 0.1), rgba(34, 40, 49, 0.7)); }
.verdict.reject { color: var(--down); border-color: rgba(255, 143, 143, 0.4); background: linear-gradient(160deg, rgba(255, 143, 143, 0.1), rgba(34, 40, 49, 0.7)); }
.verdict .grade { color: inherit; }
.verdict .more { color: var(--peri); }

/* Hero statistics. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 124px; min-width: 0; padding: 17px;
  border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(165deg, rgba(42, 49, 60, 0.85), rgba(34, 40, 49, 0.5)); overflow: hidden;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(241, 241, 241, 0.05) 48%, transparent 66%);
  background-size: 220% 100%; animation: sweep 7s ease-in-out infinite;
}
.tile .k { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }
.tile .v { font-family: var(--mono); font-size: clamp(25px, 6.4vw, 36px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 12px 0 7px; white-space: nowrap; }
.tile .sub { font-size: 12px; color: var(--text-faint); line-height: 1.35; }
.tile.up { border-color: var(--peri-line); background: linear-gradient(165deg, rgba(153, 170, 255, 0.16), rgba(34, 40, 49, 0.5)); }
.tile.up .v { color: var(--peri); }
.tile.down { border-color: rgba(255, 143, 143, 0.35); background: linear-gradient(165deg, rgba(255, 143, 143, 0.12), rgba(34, 40, 49, 0.5)); }
.tile.down .v { color: var(--down); }
.tile.warn .v { color: var(--run); }

.pending {
  position: relative; padding: 28px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 210, 122, 0.32); background: linear-gradient(160deg, rgba(255, 210, 122, 0.09), rgba(34, 40, 49, 0.7));
}
.pending h2 { margin: 16px 0 8px; font-size: clamp(26px, 4vw, 34px); }
.pending p { margin: 0; color: var(--text-dim); max-width: 720px; }
.pending .scanline { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 210, 122, 0.12); overflow: hidden; }
.pending .scanline::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: var(--run); animation: travel 2.4s ease-in-out infinite alternate; }

.data-panel { display: flex; flex-direction: column; gap: 14px; }
.data-panel p { margin: 6px 0 0; color: var(--text-dim); font-size: 15px; max-width: 640px; }
.data-panel .btn { font-family: var(--mono); font-size: 13.5px; align-self: flex-start; }
@media (min-width: 760px) {
  .data-panel { flex-direction: row; align-items: center; justify-content: space-between; }
  .data-panel .btn { align-self: center; flex: none; }
}
.data-note { margin-top: 18px; font-size: 14px; color: var(--text-faint); }

/* ------------------------------------------------------------ equity chart */

.equity { margin: 0; }
.equity-plot { position: relative; padding: 0 0 26px 0; }
.equity-main, .equity-dd { position: relative; margin-right: 54px; }
.equity-main { height: clamp(220px, 42vw, 380px); }
.equity-dd { height: clamp(60px, 10vw, 90px); margin-top: 8px; border-top: 1px solid var(--line); }
.equity svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.equity .curve { stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 6px currentColor); }
.equity .zero { stroke: rgba(241, 241, 241, 0.3); stroke-dasharray: 4 5; stroke-width: 1; }
.equity .dd-area { fill: rgba(255, 143, 143, 0.16); }
.equity .dd-line { stroke: rgba(255, 143, 143, 0.75); stroke-width: 1.2; }
.js .equity .draw { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(0.45, 0, 0.2, 1) 0.15s; }
.js .equity.is-in .draw, .js .is-in .equity .draw { clip-path: inset(0 0 0 0); }

.gridline { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid rgba(241, 241, 241, 0.06); }
.gridline span { position: absolute; left: 100%; margin-left: 8px; transform: translateY(-50%); font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }

.equity-x { position: absolute; left: 0; right: 54px; bottom: 0; height: 20px; }
.equity-x span { position: absolute; bottom: 0; font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); white-space: nowrap; }
.equity-x .mid { transform: translateX(-50%); }
@media (max-width: 520px) { .equity-x .mid { display: none; } }

/* Crosshair, added by site.js. */
.equity-main.hoverable { cursor: crosshair; }
.xhair { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(241, 241, 241, 0.35); pointer-events: none; opacity: 0; transition: opacity 0.15s; }
.xdot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--ink); border: 2px solid currentColor; box-shadow: 0 0 12px currentColor; pointer-events: none; opacity: 0; transition: opacity 0.15s; }
.xtip {
  position: absolute; top: 8px; padding: 8px 11px; border-radius: 10px; pointer-events: none; opacity: 0; transition: opacity 0.15s;
  background: rgba(26, 26, 26, 0.92); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; white-space: nowrap; color: var(--text-dim);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8);
}
.xtip b { display: block; font-size: 15px; color: var(--white); }
.equity-main.hovering .xhair, .equity-main.hovering .xdot, .equity-main.hovering .xtip { opacity: 1; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--text-dim); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.chart-note { margin: 14px 0 0; font-size: 14px; color: var(--text-faint); max-width: 780px; }

/* -------------------------------------------------------------------- prose */

.prose { max-width: 780px; }
.prose h2 { margin: 18px 0 14px; font-size: clamp(26px, 4vw, 34px); }
.prose h3 { margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-dim); font-size: 17px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--peri); }
.prose b, .prose strong { color: var(--white); }
.prose blockquote { margin: 0 0 14px; padding: 12px 18px; border-left: 3px solid var(--peri); background: var(--peri-soft); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; max-width: 100%; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 7px 11px; text-align: left; }
.prose pre { overflow-x: auto; padding: 14px; border-radius: 10px; background: rgba(34, 40, 49, 0.8); }
.prose pre code { background: none; padding: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.limits li::marker { color: var(--run); }

/* ------------------------------------------------------------- method page */

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-dim); font-size: 13.5px; transition: all 0.25s; }
.toc a:hover { color: var(--ink); background: var(--peri); border-color: var(--peri); text-decoration: none; }
section[id] { scroll-margin-top: 80px; }

.compile { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; margin: 14px 0 26px; max-width: 820px; }
.compile .node {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: rgba(34, 40, 49, 0.9); font-size: 14px; color: var(--text-dim);
}
.compile .node .icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--peri-soft); color: var(--peri); }
.compile .node .icon svg { width: 22px; height: 22px; }
.compile .node .k { display: block; font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--text); }
.compile .src { border-color: var(--peri-line); box-shadow: 0 0 40px -14px rgba(153, 170, 255, 0.7); }
.compile .fork { position: relative; height: 44px; }
.compile .fork svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.compile .fork path { fill: none; stroke: var(--peri); stroke-width: 1.5; stroke-dasharray: 4 8; animation: dash 0.9s linear infinite; opacity: 0.8; }
.compile .targets { display: grid; grid-template-columns: 1fr; gap: 12px; }
.compile .fork path:not(.straight) { display: none; }
@media (min-width: 640px) {
  .compile .targets { grid-template-columns: 1fr 1fr; }
  .compile .fork path:not(.straight) { display: inline; }
  .compile .fork path.straight { display: none; }
}

.folds { margin: 10px 0 0; max-width: 920px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(34, 40, 49, 0.6); }
.fold-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 12px; margin-bottom: 9px; }
.fold-label { font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.fold-track { position: relative; height: 20px; border-radius: 6px; background: rgba(241, 241, 241, 0.04); }
.seg { position: absolute; top: 0; bottom: 0; border-radius: 6px; transform-origin: left; }
.seg.train { background: rgba(153, 170, 255, 0.3); border: 1px solid rgba(153, 170, 255, 0.35); }
.seg.test { background: var(--peri); box-shadow: 0 0 16px -4px rgba(153, 170, 255, 0.9); }
.fold-row.result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.fold-row.result .fold-label { color: var(--peri); }
.js .folds .seg { transform: scaleX(0); transition: transform 0.7s var(--ease); transition-delay: calc(var(--r) * 0.22s + var(--o, 0s)); }
.js .folds .seg.test { --o: 0.3s; }
.js .folds .fold-row.result .seg { --o: 0.6s; transition-duration: 1.2s; }
.js .folds.is-in .seg { transform: none; }

.grades { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 6px 0 16px; }
@media (min-width: 760px) { .grades { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grades { grid-template-columns: repeat(4, 1fr); } }
.grade-card { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(34, 40, 49, 0.6); transition: transform 0.4s var(--ease), border-color 0.3s; }
.grade-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.grade-card p { margin: 12px 0 0; color: var(--text-dim); font-size: 14.5px; }

.checks-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .checks-grid { grid-template-columns: 3fr 2fr; } }
.checks { margin: 14px 0 0; display: grid; gap: 14px; }
.checks .tick { width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; background: var(--peri-soft); color: var(--peri); }
.checks .tick svg { width: 14px; height: 14px; }
.checks dt { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.checks dd { margin: 2px 0 0 36px; color: var(--text-dim); font-size: 14.5px; }
.checks-list { margin: 14px 0 14px; padding-left: 20px; color: var(--text-dim); font-size: 14.5px; }
.checks-list li { margin-bottom: 8px; }
.checks-list li::marker { color: var(--peri); }

/* -------------------------------------------------------------------- footer */

.footer { margin-top: 48px; border-top: 1px solid var(--line); background: rgba(20, 20, 22, 0.6); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 34px; padding-bottom: 40px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.1fr 2fr 2fr; gap: 30px; } }
.footer-brand p { margin: 12px 0 0; color: var(--text-dim); font-size: 14px; }
.fine { margin: 0; font-size: 13px; color: var(--text-faint); line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
@media (min-width: 900px) { .footer-nav { grid-column: 1 / -1; } }
.footer-nav a { color: var(--text-dim); }

@media (min-width: 900px) {
  :root { --gutter: 28px; }
  .section { padding: 64px 0; }
  .section.tight { padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .engine-code .ln { opacity: 1; }
  .engine-out .lane { opacity: 1; }
  .wf-row .tr, .wf-row .te { transform: none; }
  .js .reveal, .js .spark, .js .stamp, .js .equity .draw, .js .folds .seg, .topbar .wordmark .rise { opacity: 1; transform: none; clip-path: none; }
}
