/* Layout: one dark ground, wide 1180px rail, display type set huge and tight; mono labels carry structure; indigo is the only accent (the "dot"). */
:root {
  --ground: #171717;
  --panel: #211f1e;
  --raised: #2a2826;
  --line: rgba(234, 227, 221, .10);
  --line-2: rgba(234, 227, 221, .18);
  --taupe: #a8978c;
  --taupe-2: #887870;
  --cream: #eae3dd;
  --paper: #e9e3dd;
  --paper-ink: #1b1a19;
  --muted: #958a83;
  --dot: #8c95ff;
  --dot-deep: #5b6ce0;
  --dot-ink: #10121f;
  --app: #121418;
  --display: "Outfit", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--cream); font-family: var(--display); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--dot); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-weight: 500; text-transform: uppercase; }
.dot { color: var(--dot); }
.t-taupe { color: var(--taupe); }
.t-cream { color: var(--cream); }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }

/* Buttons: mono caps, 8px radius, arrow that kicks on a loop */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.btn svg { width: 14px; height: 14px; animation: kick 3.6s ease-in-out infinite; }
.btn-dot { background: var(--dot); color: var(--dot-ink); }
.btn-dot:hover { background: #a3aaff; }
.btn-dark { background: var(--raised); color: var(--cream); }
.btn-dark:hover { background: #34312f; }
.btn-paper { background: var(--paper); color: var(--paper-ink); }
.btn-paper:hover { background: #fff; }
@keyframes kick { 0%, 80%, 100% { transform: translateX(0); } 86% { transform: translateX(4px); } 92% { transform: translateX(0); } 96% { transform: translateX(2px); } }

/* Nav */
.nav { position: relative; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand svg { width: 26px; height: 28px; color: var(--cream); }
.nav-links { display: flex; gap: 30px; font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; color: var(--cream); }
.nav-links a { opacity: .9; }
.nav-links a:hover { opacity: 1; color: var(--dot); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.signin { font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 40px; padding-block: 64px 40px; }
.kicker { font-family: var(--mono); font-weight: 500; font-size: 14px; text-transform: uppercase; color: var(--taupe); margin: 0 0 22px; }
.hero h1 { font-size: clamp(64px, 10vw, 128px); line-height: .9; letter-spacing: -.045em; }
.hero h1 span { display: block; padding-bottom: .06em; }
.hero h1 .l1, .hero h1 .l2 { color: var(--taupe); }
.hero h1 .l3 { color: var(--cream); }
.lede { max-width: 30em; margin: 28px 0 0; font-size: 18px; color: var(--muted); }
.lede b { color: var(--cream); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.reveal .l1, .reveal .l2, .reveal .l3, .reveal .kicker, .reveal .lede, .reveal .cta-row { animation: wipe 1s cubic-bezier(.2, .7, .2, 1) both; }
.reveal .l2 { animation-delay: .12s; } .reveal .l3 { animation-delay: .24s; }
.reveal .lede { animation: rise .9s .4s ease-out both; } .reveal .cta-row { animation: rise .9s .5s ease-out both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -10% 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Hero stage: fixed 560x480 design, scaled to fit */
.stage-fit { position: relative; width: 100%; aspect-ratio: 560 / 480; }
.stage { position: absolute; left: 0; top: 0; width: 560px; height: 480px; transform-origin: 0 0; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.chip { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px 0 0; border-radius: 4px; background: #d6d0ca; color: #2a2826; font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.35); transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); transition: transform 1s cubic-bezier(.6, 0, .2, 1), opacity .6s; }
.chip i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px 0 0 4px; background: #bfb8b1; font-style: normal; }
.chip i svg { width: 13px; height: 13px; }
.scene.stack .chip { transform: translate(var(--tx), var(--ty)) rotate(0deg); }
.scene.stack .chip.dim { opacity: .55; }
.lr-pill { position: absolute; left: 150px; top: 36px; padding: 4px 10px; border-radius: 999px; background: var(--dot); color: var(--dot-ink); font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: .5s .9s; }
.composer { position: absolute; left: 96px; top: 70px; width: 470px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s .7s, transform .6s .7s; }
.composer img, .composer canvas { width: 100%; height: auto; }
.composer canvas { position: absolute; inset: 0; }
.composer.live img { visibility: hidden; }
.scene.stack .composer, .scene.stack .lr-pill { opacity: 1; transform: none; }
.frame { position: absolute; border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.frame img { width: 100%; height: auto; }
.scene .frame { transform: translateY(16px); opacity: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1) .1s, opacity .6s .1s; }
.scene.on .frame { transform: none; opacity: 1; }
.frame-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; font-size: 12px; font-weight: 600; color: var(--paper-ink); border-bottom: 1px solid rgba(0,0,0,.08); }
.frame-bar svg { width: 14px; height: 15px; color: var(--paper-ink); }
.frame-bar .mono { margin-left: auto; font-size: 10px; color: #7a716b; }
.badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-2); font-size: 13px; box-shadow: 0 14px 30px rgba(0,0,0,.4); opacity: 0; transform: translateY(10px); transition: .6s .7s; }
.badge svg { width: 16px; height: 16px; color: var(--dot); }
.scene.on .badge { opacity: 1; transform: none; }
.frame-app { background: var(--app); border: 1px solid var(--line); }

.tabs { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; padding-block: 8px 72px; }
.tab { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; color: var(--taupe-2); font: 600 17px/1.2 var(--display); letter-spacing: -.01em; cursor: pointer; transition: color .3s; }
.tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); transform: scale(0); transition: transform .3s; }
.tab[aria-selected="true"] { color: var(--cream); }
.tab[aria-selected="true"]::before { transform: scale(1); }
.tab:hover { color: var(--cream); }

/* Section heads */
section { position: relative; }
.big { font-size: clamp(44px, 7.4vw, 96px); line-height: .96; letter-spacing: -.04em; }
.big > span { display: block; }

/* Story numbers */
.story { padding-block: 72px 0; }
.stat-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { position: relative; padding: 14px 18px 18px; border: 0; border-left: 1px solid var(--line); background: none; text-align: left; color: var(--cream); cursor: pointer; font: inherit; }
.stat:last-child { border-right: 1px solid var(--line); }
.stat::after { content: ""; position: absolute; left: -1px; top: -1px; height: 2px; width: 0; background: var(--dot); }
.stat[aria-selected="true"]::after { animation: fill var(--dur, 6s) linear forwards; }
.stat small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--muted); }
.stat b { display: block; margin-top: 10px; font-size: 30px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--taupe); }
.stat[aria-selected="false"] b { color: var(--taupe-2); }
@keyframes fill { to { width: calc(100% + 1px); } }
.band { position: relative; margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--app); overflow: hidden; }
.band-inner { position: relative; max-width: 1440px; margin: 0 auto; }
.band-shot { position: relative; margin-left: auto; width: min(1120px, 86%); }
.band-shot img { width: 100%; }
.hl { position: absolute; border: 2px solid var(--dot); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(10, 11, 14, .5), 0 0 30px rgba(140, 149, 255, .45); transition: all .7s cubic-bezier(.6, 0, .2, 1); pointer-events: none; }
.quote { position: absolute; left: 0; bottom: 0; width: min(380px, 40%); padding: 34px 32px 30px; background: var(--dot); color: var(--dot-ink); border-radius: 0 10px 0 0; }
.quote b { display: block; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.quote small { display: block; margin-top: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; }
.quote p { margin: 18px 0 26px; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; min-height: 4.05em; }
.quote a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.quote a svg { width: 16px; height: 16px; }
.mark-tile { position: absolute; left: min(380px, 40%); bottom: calc(100% - 92px); width: 92px; height: 92px; margin-left: 0; display: none; }

/* Signal section */
.sig { padding-block: 120px 40px; overflow: hidden; }
.sig-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sig-head .big { font-size: clamp(40px, 5.4vw, 66px); }
.sig-head p { margin: 10px 0 0; font-size: 17px; color: var(--muted); max-width: 30em; }
.sig-head p b { color: var(--cream); font-weight: 500; }
.sig-cols { display: grid; grid-template-columns: 1.12fr 1fr 1.12fr; margin-top: 88px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; color: var(--taupe); }
.sig-cols span:nth-child(2) { text-align: center; }
.sig-cols span:nth-child(3) { text-align: right; }
.wrap-wide { max-width: 1460px; }
.sig-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.12fr); gap: 0; align-items: center; margin-top: 44px; }
.sig-grid > svg.rails { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.panel { position: relative; z-index: 1; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--raised); color: var(--dot); flex: none; }
.av svg { width: 17px; height: 17px; }
.panel-head h3 { font-size: 17px; letter-spacing: -.01em; }
.panel-head small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.crop { margin: 14px; border-radius: 9px; overflow: hidden; background: var(--app); border: 1px solid rgba(255,255,255,.04); }
.crop img { width: 100%; height: auto; }
.crop-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 14px 14px; align-items: start; }
.crop-pair .crop { margin: 0; }
.right-stack { display: grid; gap: 14px; }
.engine { position: relative; aspect-ratio: 1 / 1; margin: 0 92px 0 84px; }
.engine canvas { position: absolute; inset: -34%; width: 168%; height: 168%; max-width: none; }
.orbit { position: absolute; inset: -4%; border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-right-color: rgba(140, 149, 255, .55); border-top-color: rgba(140, 149, 255, .12); filter: drop-shadow(0 0 6px rgba(140,149,255,.5)); }
@keyframes spin { to { transform: rotate(360deg); } }
.tiles { position: absolute; inset: 4%; display: grid; grid-template-columns: 1fr 1fr; gap: 22%; }
.tile { position: relative; padding: 12px 13px; border-radius: 9px; background: rgba(26, 25, 24, .88); border: 1px solid var(--line-2); transition: border-color .4s, box-shadow .4s; }
.tile small { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--muted); transition: color .4s; }
.tile b { display: block; margin-top: 7px; font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.tile.on { border-color: var(--dot); box-shadow: 0 0 24px rgba(140, 149, 255, .25); }
.tile.on small { color: var(--dot); }
.engine-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 13px; border-radius: 999px; background: var(--dot); color: var(--dot-ink); font-family: var(--mono); font-weight: 500; font-size: 12.5px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 34px rgba(140,149,255,.55); z-index: 2; }
.sig-foot { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; margin-top: 30px; }
.sig-foot p { grid-column: 2; margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--cream); }
.link-arrow i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--raised); color: var(--dot); }
.link-arrow i svg { width: 12px; height: 12px; }
.sig-foot .link-arrow { grid-column: 3; justify-self: end; }

/* Counter row */
.counter { margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.counter .n { padding-block: 64px; padding-right: 32px; border-right: 1px solid var(--line); font-size: clamp(56px, 7vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.counter .n sup { font-size: .34em; vertical-align: 1.5em; margin-left: 6px; letter-spacing: -.01em; color: var(--taupe); }
.counter h3 { align-self: center; padding: 40px 0 40px 52px; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.1; letter-spacing: -.025em; color: var(--taupe); }
.counter h3 em { font-style: normal; color: var(--cream); }

/* Roles */
.roles { padding-block: 110px 0; }
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.role { padding: 22px 22px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.role header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.role h3 { font-size: 19px; letter-spacing: -.01em; }
.role ul { list-style: none; margin: 0; padding: 0; }
.role li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.role li .mono { font-size: 11px; padding-top: 2px; color: var(--dot); }
.role li .mono.alt { color: var(--taupe); }
.beta { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 500; font-size: 10px; text-transform: uppercase; color: var(--taupe); vertical-align: 2px; }

/* CTA */
.cta { padding-block: 110px 0; }
.cta-card { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 72px); border-radius: 12px; background: var(--paper); color: var(--paper-ink); }
.cta-card .kicker { color: #6f6560; }
.cta-card .big .a { color: #8a7a71; }
.cta-card .big .b { color: var(--paper-ink); }
.cta-card .dot { color: var(--dot-deep); }

.cta-card .btn-dot { background: var(--dot-deep); color: #fff; }
.cta-card .btn-dot:hover { background: #4a5ad3; }
.cta-card .btn-ghost { background: transparent; color: var(--paper-ink); border: 1px solid rgba(0,0,0,.15); }
.cta-card canvas { max-width: none; position: absolute; left: 30%; bottom: -170px; width: 420px; height: 420px; opacity: .55; pointer-events: none; }

.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.cta-copy, .demo-form { position: relative; }
.cta-note { margin: 22px 0 0; max-width: 26em; font-size: 17px; color: #5f5752; }
.demo-form { display: grid; gap: 12px; padding: 22px; border-radius: 12px; background: #f5f1ed; border: 1px solid rgba(0,0,0,.08); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form label { display: grid; gap: 5px; min-width: 0; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: #6f6560; }
.demo-form input, .demo-form select { width: 100%; height: 40px; padding: 0 11px; border-radius: 7px; border: 1px solid rgba(0,0,0,.16); background: #fff; color: var(--paper-ink); font: 15px var(--display); text-transform: none; color-scheme: light; }
.demo-form input:focus, .demo-form select:focus { outline: 2px solid var(--dot-deep); outline-offset: 0; border-color: transparent; }
.demo-form input[aria-invalid="true"] { border-color: #c2412d; }
.demo-form .btn { justify-content: center; margin-top: 4px; }
.form-msg { margin: 0; min-height: 1.2em; font-size: 13px; color: #5f5752; }
/* Footer */
footer { padding-block: 96px 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--taupe); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--cream); }
.foot-grid ul a:hover { color: var(--dot); }
.foot-cta { display: grid; gap: 10px; justify-items: start; }
.foot-cta p { margin: 0 0 6px; font-size: 14px; color: var(--muted); max-width: 22em; }
.wordmark { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 24px); margin-top: 90px; line-height: .78; }
.wordmark svg { width: clamp(40px, 10vw, 140px); height: auto; flex: none; color: var(--taupe); margin-bottom: .6%; }
.wordmark b { font-size: clamp(40px, 14.2vw, 196px); letter-spacing: -.05em; color: var(--taupe); font-weight: 700; white-space: nowrap; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 0; padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.legal nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 36px 24px; }
  .stage-fit { max-width: 560px; margin: 0 auto; }
  .sig-head { grid-template-columns: 1fr; gap: 20px; }
  .sig-cols { display: none; }
  .sig-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; }
  .sig-grid > svg.rails { display: none; }
  .engine { width: min(100%, 440px); margin: 10px auto; }
  .sig-foot { grid-template-columns: 1fr; gap: 18px; }
  .sig-foot p, .sig-foot .link-arrow { grid-column: 1; justify-self: center; }
  .roles-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-cta { grid-column: 1 / -1; }
  .band-shot { width: 100%; }
  .quote { position: relative; width: 100%; border-radius: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card canvas { opacity: .3; left: auto; right: -120px; top: -120px; bottom: auto; }
}
@media (max-width: 640px) {
  .signin { display: none; }
  .nav .btn { height: 38px; padding: 0 13px; font-size: 14px; }
  .lede { font-size: 16px; }
  .tabs { justify-content: flex-start; gap: 4px 18px; padding-bottom: 48px; }
  .tab { font-size: 15px; }
  .stat-tabs { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 1px solid var(--line); }
  .counter .wrap { grid-template-columns: 1fr; }
  .counter .n { border-right: 0; padding-block: 40px 0; }
  .counter h3 { padding: 16px 0 40px; }
  .role li { grid-template-columns: 84px minmax(0, 1fr); font-size: 14px; }
  .quote p { min-height: 0; }
  .stage-fit { aspect-ratio: 560 / 760; }
  .stage { height: 760px; }
  .scene[data-scene="0"] .chip { display: none; }
  .scene:not([data-scene="0"]) { top: 120px; bottom: auto; height: 480px; }
  .composer { left: 50px; top: 40px; width: 460px; }
  .lr-pill { left: 50px; top: 4px; }
  .f2 { grid-template-columns: 1fr; }
  .demo-form { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Signal section: raw moments on the left */
.moments { list-style: none; margin: 14px; padding: 0; border-radius: 9px; background: var(--app); border: 1px solid rgba(255,255,255,.04); }
.moments li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.moments li:first-child { border-top: 0; }
.moments i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--taupe); }
.moments i svg { width: 15px; height: 15px; }
.moments b { display: block; font-weight: 500; font-size: 15px; color: #e6e3e0; line-height: 1.25; }
.moments small { display: block; font-size: 12.5px; color: #8b8e96; margin-top: 2px; }
.moments .mono { font-size: 10.5px; color: #8b8e96; padding: 3px 7px; border: 1px dashed rgba(255,255,255,.18); border-radius: 5px; white-space: nowrap; }
.moments-foot { margin: 0 18px 16px; font-size: 13px; color: var(--muted); font-style: italic; }
