:root {
  --bg: #090b11;
  --bg-soft: #101522;
  --panel: rgba(13, 17, 28, 0.76);
  --panel-strong: rgba(18, 24, 37, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f8f7f4;
  --muted: #b5bfd5;
  --accent: #ff6b3d;
  --accent-2: #ffbf5f;
  --accent-3: #ffe8ba;
  --success: #89f0c4;
  --danger: #ff7f95;
  --void: #8d7bff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --wrap: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 191, 95, 0.12), transparent 22%),
    radial-gradient(circle at 20% 20%, rgba(255, 107, 61, 0.12), transparent 26%),
    linear-gradient(180deg, #0b0e15 0%, #090b11 38%, #0c1120 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
.wrap { width: var(--wrap); margin: 0 auto; }
main, section, footer, header { position: relative; z-index: 2; }

.page-glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}
.glow-left { top: -8rem; left: -10rem; background: #ff6b3d; }
.glow-right { right: -10rem; bottom: 10rem; background: #ffd889; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 1;
  background-image: radial-gradient(#fff 0.7px, transparent 0.7px);
  background-size: 14px 14px;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header { padding: 24px 0 10px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
}
.brand strong { display: block; font-size: 1rem; letter-spacing: 0.02em; }
.brand span { display: block; color: var(--muted); font-size: 0.85rem; }

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #d5ddf0;
}

.hero {
  padding: 24px 0 44px;
}
.hero-shell {
  display: grid;
  gap: 28px;
}
.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-2);
}

h1, h2 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.04em;
  margin: 0;
}
h1 {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.92;
}
h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
}
h3, strong { letter-spacing: -0.02em; }

p { line-height: 1.7; color: var(--muted); }
.lede {
  max-width: 62ch;
  font-size: 1.08rem;
  margin: 18px 0 0;
}

.meta-row,
.hero-actions,
.demo-actions,
.footer-links,
.form-actions,
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-actions { margin-top: 24px; }

.value-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.value-list.compact { gap: 8px; }
.value-list li { color: #e7ebf6; }
.value-list strong { color: var(--accent-3); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #151515;
  box-shadow: 0 14px 34px rgba(255, 107, 61, 0.28);
}
.btn-secondary,
.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #e7ecf9;
  font-size: 0.84rem;
  font-weight: 700;
}
.badge-live {
  color: #101418;
  background: linear-gradient(135deg, var(--success), #d9ffea);
  border-color: transparent;
}
.badge-soft {
  background: rgba(255,255,255,0.04);
  color: #d7dded;
}

.hero-stage,
.proof article,
.ritual-grid article,
.stack-grid article,
.launch-form,
.faq-list details,
.legal-page {
  background: var(--panel);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stage {
  border-radius: var(--radius-xl);
  padding: 18px;
}
.machine-frame {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid var(--line-strong);
  padding: 18px;
}
.machine-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 20px;
  align-items: start;
}
.machine-controls,
.machine-showcase,
.demo-panel {
  display: grid;
  gap: 14px;
}
.machine-top {
  display: grid;
  gap: 12px;
}
.machine-screen {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.95), rgba(14, 20, 31, 0.9));
  border: 1px solid rgba(137, 240, 196, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.machine-screen-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--success);
  margin-bottom: 6px;
}
.price-chip {
  padding: 12px 16px;
  border-radius: 20px;
  font-weight: 800;
  color: #171717;
  background: linear-gradient(135deg, #fff0d4, var(--accent-2));
}

.mode-panel,
.composer-shell,
.flow-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.composer-shell.is-locked {
  border-style: dashed;
  opacity: 0.88;
}
.panel-kicker,
.flow-label,
.field-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-3);
  font-weight: 800;
}
.panel-note,
.flow-copy { margin: 0; font-size: 0.94rem; }
.passive-card .btn { pointer-events: none; }

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mode-tab {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(7, 10, 16, 0.82);
  color: #eef2fb;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.mode-tab:hover { transform: translateY(-1px); }
.mode-tab:disabled { cursor: default; }
.mode-tab.is-demo-display:hover { transform: none; }
.mode-tab.active {
  border-color: rgba(255, 191, 95, 0.5);
  background:
    radial-gradient(circle at top right, rgba(255, 237, 196, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(255, 107, 61, 0.24), rgba(255, 191, 95, 0.14)),
    rgba(14, 11, 8, 0.8);
  box-shadow: 0 18px 34px rgba(255, 107, 61, 0.15), inset 0 1px 0 rgba(255,255,255,0.12);
}
.mode-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.mode-icon span { position: absolute; display: block; }
.icon-classic span:nth-child(1),
.icon-classic span:nth-child(2),
.icon-classic span:nth-child(3) {
  top: 9px;
  width: 8px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff5da, #ffb15f);
}
.icon-classic span:nth-child(1) { left: 12px; }
.icon-classic span:nth-child(2) { left: 24px; }
.icon-classic span:nth-child(3) { left: 36px; }
.icon-crosscut span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fff5dd, #ffb05f);
}
.icon-crosscut span:nth-child(1) { top: 10px; left: 10px; }
.icon-crosscut span:nth-child(2) { top: 10px; right: 10px; }
.icon-crosscut span:nth-child(3) { bottom: 10px; left: 10px; }
.icon-crosscut span:nth-child(4) { bottom: 10px; right: 10px; }
.icon-incinerate span {
  left: 16px;
  top: 8px;
  width: 24px;
  height: 38px;
  background: radial-gradient(circle at 50% 30%, #fff6db 0 22%, #ffd15f 23% 48%, #ff6b3d 49% 74%, #792611 75% 100%);
  clip-path: polygon(50% 0%, 76% 18%, 84% 42%, 70% 84%, 48% 100%, 22% 82%, 12% 52%, 18% 20%);
  filter: drop-shadow(0 0 12px rgba(255,107,61,0.35));
}
.icon-yeet span:nth-child(1) {
  left: 18px;
  top: 10px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(205, 197, 255, 0.92);
  border-radius: 50%;
}
.icon-yeet span:nth-child(2),
.icon-yeet span:nth-child(3) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}
.icon-yeet span:nth-child(2) { left: 14px; bottom: 12px; }
.icon-yeet span:nth-child(3) { right: 12px; top: 14px; }
.mode-copy strong { display: block; font-size: 0.98rem; }
.mode-copy small { display: block; color: #c6cfdf; font-size: 0.8rem; font-weight: 600; line-height: 1.35; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 12, 18, 0.78);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}
textarea:disabled,
input:disabled,
select:disabled { opacity: 0.62; cursor: not-allowed; }
textarea:focus,
input:focus,
select:focus {
  border-color: rgba(255, 191, 95, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 191, 95, 0.08);
}
textarea { min-height: 112px; resize: vertical; }
.demo-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.shredder-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 26%), linear-gradient(180deg, #1a2130, #0d121b 54%, #0b0f16 100%);
  border: 1px solid rgba(255,255,255,0.12);
}
.shredder-card[data-mode="incinerate"] {
  background: radial-gradient(circle at 50% 24%, rgba(255, 127, 52, 0.16), transparent 30%), linear-gradient(180deg, #23150e, #16110f 54%, #0d0f16 100%);
}
.shredder-card[data-mode="yeet"] {
  background: radial-gradient(circle at 50% 24%, rgba(141, 123, 255, 0.2), transparent 32%), linear-gradient(180deg, #15122e, #111426 54%, #0b0f16 100%);
}
.shredder-card.is-busy .roller { animation: rollerSpin 220ms linear infinite; }
.shredder-card.is-busy .shredder-glow { opacity: 1; transform: scale(1.06); }
.shredder-card.is-busy .slot-sheen { animation: slotSweep 540ms linear infinite; }

.machine-face {
  position: absolute;
  top: 24px;
  right: 26px;
  display: flex;
  gap: 6px;
  opacity: 0.45;
}
.machine-face span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
}
.slot-assembly {
  position: absolute;
  top: 36px;
  left: 50%;
  width: min(320px, 72%);
  transform: translateX(-50%);
  z-index: 6;
}
.slot-hood {
  width: 100%;
  height: 48px;
  border-radius: 22px 22px 16px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 30px rgba(0,0,0,0.22);
}
.paper-slot {
  position: relative;
  margin: -8px auto 0;
  width: calc(100% - 22px);
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #252d3e, #0a0d14);
  box-shadow: inset 0 3px 7px rgba(0,0,0,0.7), 0 6px 18px rgba(0,0,0,0.28);
  overflow: hidden;
}
.slot-track { position: absolute; inset: 5px 12px; border-radius: 999px; background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(35,43,60,0.55)); }
.slot-sheen { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent); opacity: 0.5; }
.roller {
  position: absolute;
  top: 5px;
  width: 54px;
  height: 14px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #d6dbe6 0 4px, #7d8697 4px 8px, #d6dbe6 8px 12px);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.45), 0 1px 3px rgba(0,0,0,0.35);
}
.roller-left { left: 14px; }
.roller-right { right: 14px; }

.shredder-glow {
  position: absolute;
  inset: auto 15% 100px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 95, 0.28), transparent 65%);
  filter: blur(16px);
  opacity: 0.68;
  transition: transform 300ms ease, opacity 300ms ease;
}
.paper-stack {
  position: absolute;
  top: 94px;
  left: 50%;
  width: min(72%, 350px);
  height: 246px;
  transform: translateX(calc(-50% + 12px));
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,250,240,0.22), rgba(255, 247, 232, 0.05));
  filter: blur(1px);
}
.paper {
  position: absolute;
  top: 138px;
  left: 50%;
  width: min(72%, 350px);
  min-height: 230px;
  transform: translateX(-50%);
  padding: 34px 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffef9, #f0e0c7);
  color: #261c12;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transition: transform 1.2s cubic-bezier(.18,.86,.22,1), opacity 0.7s ease, filter 0.55s ease, clip-path 0.55s ease;
  z-index: 4;
  transform-origin: 50% 0%;
}
.paper-top-shadow {
  position: absolute;
  top: -14px;
  left: 22px;
  right: 22px;
  height: 26px;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245, 228, 202, 0.2));
  opacity: 0.9;
}
.paper-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #7f6950;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 800;
}
.paper p { margin: 0; color: #36291d; font-family: Fraunces, Georgia, serif; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.32; }
.paper-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.paper-meta span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7a6650; }
.slot-warning {
  position: absolute;
  top: 98px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 13, 21, 0.62);
  color: #dfe7f7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.paper.shredding-classic { transform: translate(-50%, 236px) scale(0.82) rotate(-1.8deg); opacity: 0.06; filter: blur(2px); clip-path: inset(0 0 84% 0 round 24px); }
.paper.shredding-crosscut { transform: translate(-50%, 232px) scale(0.78) rotate(2deg); opacity: 0.03; filter: blur(2.2px); clip-path: inset(0 0 88% 0 round 24px); }
.paper.shredding-incinerate { transform: translate(-50%, 228px) scale(0.8) rotate(-1deg); opacity: 0.02; filter: blur(3.4px) saturate(1.38) brightness(0.8); clip-path: inset(0 0 86% 0 round 24px); }
.paper.shredding-yeet { transform: translate(-50%, -150px) scale(0.42) rotate(-20deg); opacity: 0; filter: blur(5px); }
.shredder-card.is-classic .paper,
.shredder-card.is-crosscut .paper,
.shredder-card.is-incinerate .paper,
.shredder-card.is-yeet .paper { animation: paperPulse 260ms ease 3; }

.blade-row {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 100px;
  height: 98px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 12%),
    repeating-linear-gradient(90deg, #546076 0 12px, #151b27 12px 22px, #0a0d14 22px 28px),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0));
  border-radius: 16px 16px 10px 10px;
  box-shadow: inset 0 8px 12px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.12);
}
.shred-strip-bed,
.ash-bed,
.crosscut-grid,
.void-burst,
.confetti { position: absolute; pointer-events: none; }
.shred-strip-bed,
.ash-bed {
  left: 28px;
  right: 28px;
  bottom: 22px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
}
.shred-strip-bed { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.ash-bed { background: radial-gradient(circle at 50% 10%, rgba(255, 122, 76, 0.12), transparent 55%); }
.crosscut-grid { inset: auto 28px 22px 28px; height: 96px; }
.void-burst, .confetti { inset: 0; }

.strip,
.paper-burst,
.square,
.ash,
.spark,
.void-ring,
.star,
.confetti span { position: absolute; }
.strip { top: -16px; width: 9px; height: 88px; border-radius: 999px; opacity: 0; animation: stripFall 1.45s cubic-bezier(.18,.92,.22,1) forwards; }
.paper-burst { top: 184px; left: 50%; width: 16px; height: 44px; border-radius: 999px; opacity: 0; transform: translateX(-50%); animation: paperBurst 0.95s ease forwards; }
.square { width: 14px; height: 14px; border-radius: 4px; opacity: 0; animation: squareFall 1.5s cubic-bezier(.2,.9,.2,1) forwards; }
.ash { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 150, 0.95), rgba(78, 52, 40, 0.9)); opacity: 0; animation: ashFall 1.8s ease forwards; }
.spark { width: 4px; height: 34px; border-radius: 999px; background: linear-gradient(180deg, #fff8d1, #ff7a3d); opacity: 0; animation: sparkRise 1.1s ease forwards; }
.void-ring { left: 50%; top: 42%; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(175, 161, 255, 0.8); transform: translate(-50%, -50%) scale(0.2); opacity: 0; animation: voidPulse 1.1s ease forwards; }
.star { width: 6px; height: 6px; border-radius: 50%; background: #e9e2ff; opacity: 0; animation: starScatter 1.2s ease forwards; }
.confetti span { width: 12px; height: 22px; border-radius: 999px; opacity: 0; animation: confettiFall var(--duration, 1.35s) cubic-bezier(.18,.86,.22,1) forwards; }

section { padding: 40px 0; }
.centered { text-align: center; max-width: 760px; margin: 0 auto 22px; }
.centered p:last-child { max-width: 64ch; margin: 14px auto 0; }
.proof,
.ritual-grid,
.stack-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof article,
.ritual-grid article,
.stack-grid article,
.launch-form,
.faq-list details,
.legal-page { border-radius: var(--radius-lg); padding: 24px; }
.proof-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #171717;
  background: linear-gradient(135deg, var(--accent-2), #fff1c7);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.launch-form label { display: grid; gap: 8px; color: #edf1fa; font-weight: 600; }
.form-note { margin: 0; color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-note.success { color: var(--success); }
.form-note.error { color: var(--danger); }
.form-actions-stacked { align-items: flex-start; }

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
summary { cursor: pointer; font-weight: 700; color: #faf7f0; }
summary::marker { color: var(--accent-2); }

.site-footer { padding: 36px 0 56px; color: var(--muted); }
.footer-brand { margin: 0 0 6px; font-weight: 800; color: var(--text); }
.footer-links a { color: #e7ecf9; }

.legal-page { max-width: 860px; margin: 64px auto 72px; }
.legal-title { font-size: clamp(2.8rem, 7vw, 4.6rem); margin-bottom: 16px; }
.legal-page ul { color: var(--muted); line-height: 1.7; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.site-banner {
  position: relative;
  z-index: 3;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(14, 19, 30, 0.82);
  color: #eef2fb;
  box-shadow: var(--shadow);
}
.site-banner.success { border-color: rgba(137, 240, 196, 0.35); color: var(--success); }
.site-banner.error { border-color: rgba(255, 127, 149, 0.35); color: var(--danger); }
.site-banner.info { border-color: rgba(255, 191, 95, 0.35); color: var(--accent-3); }

@keyframes rollerSpin { from { background-position: 0 0; } to { background-position: 20px 0; } }
@keyframes slotSweep { 0% { transform: translateX(-100%); opacity: 0.15; } 50% { opacity: 0.55; } 100% { transform: translateX(100%); opacity: 0.15; } }
@keyframes paperPulse { 0%, 100% { filter: saturate(1) brightness(1); } 50% { filter: saturate(1.15) brightness(1.04); } }
@keyframes stripFall { 0% { transform: translateY(-118px) rotate(0deg); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(48px) rotate(18deg); opacity: 0.95; } }
@keyframes paperBurst { 0% { transform: translate(-50%, -24px) scaleY(0.4); opacity: 0; } 22% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--drift, 0px)), 112px) rotate(var(--rot, 0deg)); opacity: 0; } }
@keyframes squareFall { 0% { transform: translateY(-88px) rotate(0deg) scale(0.68); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateY(42px) rotate(110deg) scale(1); opacity: 0.92; } }
@keyframes ashFall { 0% { transform: translateY(-40px) scale(0.7); opacity: 0; } 20% { opacity: 0.95; } 100% { transform: translateY(46px) translateX(var(--drift, 0px)) scale(1.1); opacity: 0.35; } }
@keyframes sparkRise { 0% { transform: translateY(0) scale(0.5); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateY(-110px) translateX(var(--drift, 0px)) scale(1); opacity: 0; } }
@keyframes voidPulse { 0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0; } 25% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(9.4); opacity: 0; } }
@keyframes starScatter { 0% { transform: translate(0, 0) scale(0.3); opacity: 0; } 22% { opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1.1); opacity: 0; } }
@keyframes confettiFall { 0% { opacity: 0; transform: translateY(-14px) rotate(0deg) scale(0.8); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(182px) rotate(280deg) scale(1); } }

@media (max-width: 1080px) {
  .machine-layout,
  .proof,
  .ritual-grid,
  .stack-grid,
  .flow-grid,
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav { width: 100%; }
  .hero-stage,
  .machine-frame { padding: 14px; }
  .mode-tabs { grid-template-columns: 1fr; }
  .mode-tab { grid-template-columns: 52px 1fr; min-height: 88px; }
  .paper,
  .paper-stack { width: min(84%, 320px); }
  .slot-assembly { width: min(320px, 82%); }
  .slot-warning {
    width: calc(100% - 40px);
    text-align: center;
    font-size: 0.68rem;
  }
}
