:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --paper: #f5f7ff;
  --muted: #b4bed3;
  --quiet: #8b98b3;
  --base: #080b15;
  --fine: #d4e4ff23;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(1.25rem, 4vw, 5.75rem);
  --space-y: clamp(1rem, 2.65svh, 2.1rem);
  background: var(--base);
  color: var(--paper);
  font-synthesis: none;
}

[data-tone="iris"] { --accent: #cfb7ff; --rgb: 166, 138, 255; --glow: #512d9f; --edge: #83cdfd; }
[data-tone="ice"] { --accent: #a9dcff; --rgb: 152, 201, 255; --glow: #294f8d; --edge: #a5a5ed; }
[data-tone="lime"] { --accent: #d4f79d; --rgb: 193, 235, 141; --glow: #324c35; --edge: #6bcb9a; }
[data-tone="coral"] { --accent: #ffc1a9; --rgb: 255, 151, 122; --glow: #65383e; --edge: #df89b0; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--accent, #a9dcff); outline-offset: 3px; }
a { color: var(--accent); }
[hidden] { display: none !important; }
img { max-width: 100%; }
.glyph { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.mono { font-family: var(--mono); letter-spacing: .105em; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .75rem 1rem; border-radius: .4rem; background: var(--base); color: var(--paper); }

.keynote {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.backdrop, .backdrop > div { position: absolute; inset: 0; pointer-events: none; }
.backdrop { z-index: -1; overflow: hidden; background: #080c17; }
.field {
  color: var(--glow);
  background: radial-gradient(ellipse at 52% 23%, color-mix(in srgb, currentColor 41%, transparent), transparent 63%),
    radial-gradient(ellipse at 88% 80%, color-mix(in srgb, currentColor 27%, transparent), transparent 56%),
    linear-gradient(145deg, #0e1424, transparent 65%);
  transition: color 900ms var(--ease);
}
.grain {
  opacity: .42;
  background-image: radial-gradient(#c5d5ff29 .58px, transparent .7px);
  background-size: 6px 6px;
  mask-image: radial-gradient(ellipse at 50% 23%, #000, transparent 77%);
}
.field::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 840ms var(--ease); background: radial-gradient(ellipse at 76% 34%, #4730a162, transparent 58%), radial-gradient(ellipse at 7% 111%, #183d8282, transparent 53%), #090c19; }
.keynote[data-scene="cover"] .field::after { opacity: 1; }
.keynote[data-scene="cover"] .grain { background-size: 35px 35px; background-image: radial-gradient(#bbbeff50 1px, transparent 1.35px); mask-image: radial-gradient(ellipse at 71% 44%, #000, transparent 76%); }

.topbar, .bottom-bar {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding-inline: var(--gutter);
  background: #090d18b8;
}
.topbar { min-height: clamp(3.35rem, 7.05svh, 4.85rem); border-bottom: 1px solid var(--fine); }
.bottom-bar { min-height: clamp(3.25rem, 6.6svh, 4.5rem); border-top: 1px solid var(--fine); padding-bottom: env(safe-area-inset-bottom, 0px); }
:root[data-embedded="true"] .bottom-bar { padding-inline-end: max(var(--gutter), 9.5rem); }
.brand, .acts button, .icon-button, .chrome-button, .next-button, .monitor-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 0;
  border: 1px solid transparent;
  background: transparent;
  transition: color 160ms, background-color 160ms, border-color 160ms, opacity 160ms;
}
.brand { justify-self: start; padding: 0; text-align: left; color: var(--paper); font-weight: 650; font-size: clamp(.78rem, 1.1vw, .97rem); white-space: nowrap; }
.brand img { border-radius: 8px; box-shadow: 0 0 1rem rgba(var(--rgb), .17); flex: none; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand small { padding: .26em .44em; border-radius: .3rem; border: 1px solid rgba(var(--rgb), .29); color: var(--accent); font: 650 .62rem/1.1 var(--mono); }
.acts, .top-actions, .transport, .chapter { display: flex; align-items: center; }
.acts { gap: .25rem; }
.acts button { padding: .4rem .67rem; border-radius: .43rem; white-space: nowrap; font-size: .8rem; color: var(--quiet); }
.acts button small { color: var(--quiet); font: .65rem var(--mono); }
.acts button[aria-current] { border-color: var(--fine); color: var(--paper); background: #c6daff10; }
.acts button[aria-current] small { color: var(--accent); }
.top-actions, .transport { justify-self: end; gap: .35rem; }
.icon-button, .chrome-button { height: 2.25rem; border-radius: .5rem; color: var(--muted); font-size: 1.05rem; }
.icon-button { width: 2.25rem; padding: 0; }
.chrome-button { padding: 0 .65rem; font-size: .78rem; white-space: nowrap; }
.chrome-button .glyph { width: 1rem; height: 1rem; }
.acts button:hover, .icon-button:hover:not(:disabled), .chrome-button:hover, .chrome-button[aria-pressed="true"], .monitor-return:hover { background: #d1e4ff15; color: var(--paper); }
.icon-button[aria-pressed="true"] { color: var(--accent); border-color: var(--fine); }
.chapter { gap: .75rem; min-width: 0; color: var(--muted); font-size: .8rem; }
#counter { flex: none; color: var(--accent); font: 650 .73rem var(--mono); white-space: nowrap; letter-spacing: .04em; }
#chapter { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline { display: flex; align-items: center; gap: .16rem; }
.timeline button { height: 1.85rem; width: clamp(.75rem, 1.15vw, 1.36rem); border: 0; padding: 0; display: grid; place-items: center; border-radius: .25rem; background: transparent; }
.timeline button span { display: block; width: 45%; height: 3px; border-radius: 9px; background: #68738a; transition: width 320ms var(--ease), background-color 250ms, box-shadow 250ms; }
.timeline button.is-past span { background: rgba(var(--rgb), .52); }
.timeline button[aria-current] span, .timeline button:hover span { width: 94%; background: var(--accent); }
.timeline button[aria-current] span { box-shadow: 0 0 10px rgba(var(--rgb), .56); }
.next-button { min-width: 5.4rem; padding: .52rem .72rem .54rem .84rem; border-radius: .5rem; color: #0b1520; background: var(--accent); font-size: .8rem; font-weight: 720; white-space: nowrap; }
.next-button:hover:not(:disabled) { background: #f5f7ff; }

#stage { position: relative; min-width: 0; min-height: 0; outline: none; }
#stage::before { content: ""; z-index: 5; position: absolute; inset: 0 0 auto; height: 2px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: translateX(-100%); }
#stage[data-loading]::before { opacity: .75; animation: loading 1300ms ease-in-out infinite; }
@keyframes loading { to { transform: translateX(100%); } }
.layers, .effects, .layer { position: absolute; inset: 0; }
.layers { isolation: isolate; overflow: hidden; }
.effects { z-index: 4; pointer-events: none; overflow: hidden; }
.layer {
  display: flex;
  flex-direction: column;
  z-index: 0;
  padding: var(--space-y) var(--gutter);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #a1b4d355 transparent;
  visibility: hidden;
  pointer-events: none;
}
.layer.is-active { z-index: 2; visibility: visible; pointer-events: auto; }
.layer.is-outgoing { z-index: 1; visibility: visible; }
.layer > div { width: 100%; min-width: 0; margin: auto; flex: 0 0 auto; }
.editorial-width { max-width: 84rem; }
.layer h1, .layer h2, .layer p, .layer figure, .layer ol { margin: 0; }
.layer h1 {
  color: var(--paper);
  font-size: clamp(2.65rem, min(6.35vw, 10svh), 7.5rem);
  font-weight: 760;
  line-height: 1.135;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.line-mask { display: block; overflow: hidden; padding: .03em .07em .15em 0; margin-bottom: -.07em; }
.line { display: block; }
.tint { color: var(--accent); }
@supports (background-clip: text) {
  .tint { background: linear-gradient(110deg, #f1f8ff 0%, var(--accent) 42%, var(--edge) 103%); background-clip: text; color: transparent; }
}
.layer .deck {
  margin-top: .65em;
  font-size: clamp(.95rem, 1.45vw, 1.4rem);
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: .01em;
  text-wrap: pretty;
}
.eyebrow { color: var(--accent); font: 650 clamp(.67rem, 1vw, .89rem)/1.35 var(--mono); letter-spacing: .2em; }
.scene-badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .26rem .62rem .28rem .36rem;
  border-radius: .43rem;
  border: 1px solid rgba(var(--rgb), .32);
  color: var(--accent);
  background: #141b26ee;
  line-height: 1.2;
  font-size: clamp(.72rem, 1vw, .88rem);
  font-weight: 650;
  white-space: nowrap;
}
.scene-badge > span { display: grid; place-items: center; min-width: 1.65rem; padding: .17rem .21rem; color: #111a22; border-radius: .22rem; background: var(--accent); font: 720 .67rem/1.12 var(--mono); }
.flying-badge { position: absolute; z-index: 1; margin: 0; --rgb: 196, 214, 255; box-shadow: 0 7px 30px #0005; }
.stage-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  padding: .65rem 1rem;
  border: 1px solid #d7e7ff38;
  border-radius: .55rem;
  background: #171f30cd;
  color: var(--paper);
  font-size: clamp(.88rem, 1.14vw, 1.06rem);
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 220ms, border-color 220ms, color 220ms;
}
.stage-button .glyph { color: var(--accent); }
.stage-button:hover { border-color: var(--accent); background: #263347; }

.layer:is(.is-active, .is-outgoing) .enter { animation: emerge 640ms var(--ease) calc(var(--step, 0) * 58ms) both; }
.layer:is(.is-active, .is-outgoing) .line { animation: line-reveal 820ms var(--ease) calc(35ms + var(--step, 0) * 115ms) both; }
@keyframes emerge { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes line-reveal { from { opacity: 0; transform: translate3d(0, .72em, 0); } to { opacity: 1; transform: none; } }
@keyframes aperture { from { clip-path: inset(8% 3% 8% 3% round 2rem); opacity: .14; } to { clip-path: inset(0 round var(--monitor-radius)); opacity: 1; } }
@keyframes ring-arrive { from { opacity: 0; transform: scale(.84) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

.hero, .question { isolation: isolate; position: relative; display: grid; place-items: center; min-height: 100%; }
.hero-content, .question-content { position: relative; z-index: 1; width: 100%; padding-block: clamp(2.4rem, 6svh, 4.7rem); text-align: center; }
.hero .eyebrow { margin-block: clamp(.8rem, 1.8vh, 1.4rem) .55rem; }
.hero .stage-button, .question .stage-button { margin-top: clamp(1rem, 3.4svh, 2.4rem); }
.hero-open { max-width: 102rem; grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); gap: clamp(.3rem, 2.5vw, 3rem); padding-bottom: 2.25rem; }
.hero-open .hero-content { text-align: left; }
.hero-open .eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: clamp(.8rem, 1.85svh, 1.45rem); }
.hero-open .eyebrow i { width: 1.4rem; height: 1px; background: currentColor; box-shadow: 0 0 .8rem currentColor; }
.hero-open h1 { font-size: clamp(2.65rem, min(7.45vw, 13svh), 9rem); text-wrap: normal; }
.hero-open .deck { font-size: clamp(.98rem, 1.47vw, 1.66rem); }
.hero-open .tint { background-image: linear-gradient(108deg, #f1ebff, #c4a4ff 44%, #83ccfc 91%); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.08rem; margin-top: clamp(1rem, 3.5svh, 2.6rem); }
.hero-open .stage-button { margin-top: 0; border-radius: 999px; padding: .83rem 1.14rem; color: #14132d; background: #f1edff; box-shadow: 0 0 2.2rem #9874ff3a; }
.hero-open .stage-button .glyph { color: inherit; }
.hero-open .stage-button:hover { background: #fff; border-color: #dcccff; }
.hero-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .48em; padding: .58rem .5rem; border: 0; border-radius: .35rem; color: var(--muted); background: transparent; font-size: clamp(.83rem, 1.04vw, 1rem); }
.hero-secondary:hover, .hero-secondary[aria-pressed="true"] { color: var(--accent); background: #a9a7ff15; }
.hero-floor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 52% -25% -80%;
  transform-origin: 50% 0;
  transform: perspective(530px) rotateX(50deg);
  opacity: .48;
  background: repeating-linear-gradient(90deg, #3478ee36 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, #3478ee30 0 1px, transparent 1px 69px);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 5%, transparent 62%);
}
.orbit-visual { position: relative; display: grid; place-items: center; width: min(100%, 49rem, 79svh); aspect-ratio: 1.05; min-width: 0; }
.orbit-tilt { position: absolute; inset: 0; display: grid; place-items: center; transform: perspective(730px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transition: transform 320ms var(--ease); }
.orbit-aura, .orbit-flare, .orbit-ring { position: absolute; pointer-events: none; border-radius: 50%; }
.orbit-aura {
  inset: 2%;
  background: radial-gradient(circle, #6c72fb70, #5542e349 28%, #306efa17 53%, transparent 68%);
  transition: transform 850ms var(--ease), opacity 850ms var(--ease);
}
.orbit-visual:hover .orbit-aura { transform: scale(1.1); }
.orbit-ring { inset: 9%; border: 1px solid #b9b7ff49; box-shadow: 0 0 19px #715af525; }
.orbit-ring--outer { transform: rotate(-32deg) rotateX(62deg); }
.orbit-ring--mid { transform: rotate(25deg) rotateX(58deg); inset: 4%; border-color: #b89eff3d; }
.orbit-ring--inner { inset: 15%; transform: translateZ(-9px); border-color: #84b1ff40; box-shadow: inset 0 0 55px #8b80f220; }
.orbit-flare {
  inset: 11%;
  background: conic-gradient(from 203deg, transparent 8%, #90a9ff3a 16%, #83c9ff 19%, transparent 24% 57%, #d8a6ff8c 64%, transparent 70%);
  mask-image: radial-gradient(circle, transparent 66%, #000 69%, transparent 72%);
  opacity: .76;
}
.orbit-core {
  display: grid;
  place-items: center;
  z-index: 1;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid #e2dfff72;
  border-radius: 24%;
  background: linear-gradient(148deg, #bcbaff58, #2c316788 59%, #202a5655);
  box-shadow: 0 29px 72px #030e32b3, 0 0 55px #8d6eff53, inset 0 1px 0 #fff4;
  transform: translateZ(22px) rotate(-10deg);
}
.orbit-core img { display: block; width: 88%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 19%; }
.orbit-data { position: absolute; color: var(--accent); font: 650 clamp(.55rem, .86vw, .8rem)/1 var(--mono); letter-spacing: .16em; white-space: nowrap; }
.orbit-top { top: 10%; right: 3%; }
.orbit-bottom { bottom: 9%; left: 6%; }
.layer:is(.is-active, .is-outgoing) .orbit-visual { animation: emerge 1220ms var(--ease) 140ms both; }
.layer:is(.is-active, .is-outgoing) .orbit-core { animation: logo-arrive 4100ms var(--ease) both; }
.layer:is(.is-active, .is-outgoing) .orbit-flare { animation: orbit-sweep 4400ms var(--ease) both; }
@keyframes logo-arrive {
  0% { opacity: 0; transform: translate3d(0, 24px, -65px) rotate(-24deg) scale(.84); }
  29% { opacity: 1; transform: translate3d(0, -11px, 24px) rotate(-7deg) scale(1.04); }
  100% { opacity: 1; transform: translate3d(0, 0, 22px) rotate(-10deg) scale(1); }
}
@keyframes orbit-sweep { from { opacity: 0; rotate: -142deg; scale: .79; } 55% { opacity: .95; } to { opacity: .76; rotate: 0deg; scale: 1; } }
.hero-end { overflow: clip; }
.hero-end h1 { font-size: clamp(3rem, min(10vw, 13.5svh), 10rem); }
.hero-end .stage-button { background: #d9ecff0c; }
.halo { z-index: -1; position: absolute; pointer-events: none; width: min(49rem, 92vw, 88svh); aspect-ratio: 1; color: var(--accent); }
.halo::before { content: ""; position: absolute; inset: -7%; background: radial-gradient(circle, rgba(var(--rgb), .22), rgba(var(--rgb), .07) 40%, transparent 66%); }
.halo i { position: absolute; inset: 7%; border: 1px solid rgba(var(--rgb), .21); border-radius: 50%; }
.halo i:nth-of-type(2) { inset: 13%; border-color: rgba(var(--rgb), .11); transform: scaleX(1.23) rotate(-14deg); }
.halo i:nth-of-type(3) { inset: 19%; background: conic-gradient(from 218deg, transparent 4%, rgba(var(--rgb), .36) 9%, transparent 19% 48%, rgba(var(--rgb), .27) 56%, transparent 68%); mask-image: radial-gradient(circle, transparent 68%, #000 70%, transparent 72%); }
.halo svg { width: 100%; height: 100%; stroke: currentColor; opacity: .24; stroke-width: 1; stroke-dasharray: 2 9; }
.hero-end .halo { width: min(56rem, 91vw, 106svh); opacity: .77; }
.layer:is(.is-active, .is-outgoing) .halo { animation: ring-arrive 1500ms var(--ease) both; }
.edge-label, .hold-label {
  position: absolute;
  bottom: .2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-top: 1px solid var(--fine);
  padding-top: .7rem;
  color: var(--quiet);
  font: .67rem/1.4 var(--mono);
  letter-spacing: .14em;
}

.overview > header, .exhibit > header { padding: 0 0 clamp(1.15rem, 3.5svh, 2.35rem); }
.overview .eyebrow, .exhibit .eyebrow { margin-bottom: .9rem; }
.overview h1, .exhibit h1 { font-size: clamp(2.2rem, min(6.05vw, 9svh), 6.1rem); }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.55rem, 1.5vw, 1.4rem); }
.pain-card {
  position: relative;
  overflow: hidden;
  border-radius: clamp(.65rem, 1.35vw, 1.22rem);
  border: 1px solid rgba(var(--rgb), .25);
  background: radial-gradient(ellipse at 22% 0%, rgba(var(--rgb), .1), transparent 73%), #0d1422;
  box-shadow: 0 20px 40px #0509115e;
}
.pain-ornament { position: relative; min-height: clamp(7.4rem, 23svh, 16rem); isolation: isolate; overflow: hidden; }
.pain-ornament::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(rgba(var(--rgb), .071) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--rgb), .071) 1px, transparent 1px); background-size: 29px 29px; mask-image: linear-gradient(#000, transparent 100%); }
.pain-ornament > span { position: absolute; left: 6%; bottom: -.32em; color: rgba(var(--rgb), .15); font: 650 clamp(4.7rem, 11.4vw, 11rem)/1 var(--mono); letter-spacing: -.14em; }
.pain-ornament > div { position: absolute; inset: 18% 10% 17% 35%; display: grid; align-content: center; justify-content: start; grid-template-columns: repeat(2, auto); gap: .62rem; transform: rotate(-7deg); }
.pain-card:nth-child(2) .pain-ornament > div { transform: rotate(5deg); }
.pain-card:nth-child(3) .pain-ornament > div { transform: rotate(-3deg); }
.pain-ornament b { position: relative; padding: .46rem .62rem; border-radius: .39rem; border: 1px solid rgba(var(--rgb), .32); background: #162132; color: var(--accent); font-size: clamp(.74rem, 1.15vw, 1.08rem); white-space: nowrap; box-shadow: 0 8px 16px #0003; }
.layer:is(.is-active, .is-outgoing) .pain-ornament b { animation: emerge 790ms var(--ease) calc(250ms + var(--step) * 68ms) both; }
.pain-body { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .56rem .7rem; border-top: 1px solid rgba(var(--rgb), .14); padding: clamp(.95rem, 2vw, 1.65rem); }
.pain-icon { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; color: var(--accent); background: rgba(var(--rgb), .09); border: 1px solid rgba(var(--rgb), .24); border-radius: .55rem; font-size: 1.15rem; }
.pain-body h2 { font-size: clamp(1.2rem, 2.12vw, 2rem); letter-spacing: -.04em; }
.pain-body p { grid-column: 1 / -1; color: var(--muted); font-size: clamp(.81rem, 1.22vw, 1.12rem); line-height: 1.5; }

.question { max-width: 103rem; }
.question-content .scene-badge { margin-bottom: clamp(.95rem, 2.9svh, 1.95rem); }
.question-art { z-index: 0; position: absolute; inset: 0; overflow: hidden; pointer-events: none; mask-image: linear-gradient(transparent 0%, #000 10% 87%, transparent 100%); }
.question-orbit { position: absolute; inset: 8% 4%; border: 1px solid rgba(var(--rgb), .105); border-radius: 50%; transform: rotate(-15deg) scaleX(1.04); background: radial-gradient(ellipse at 56% 48%, rgba(var(--rgb), .08), transparent 71%); }
.question-orbit::before, .question-orbit::after { position: absolute; content: ""; inset: 10% -1%; border: 1px dashed rgba(var(--rgb), .13); border-radius: 50%; transform: rotate(12deg); }
.question-orbit::after { inset: 24% -2%; transform: rotate(-14deg); border-style: solid; border-color: rgba(var(--rgb), .07); }
.question-number { position: absolute; left: 50%; top: 49%; transform: translate(-52%, -51%); color: rgba(var(--rgb), .067); font: 700 clamp(11rem, min(48vw, 70svh), 51rem)/1 var(--mono); letter-spacing: -.17em; }
.float-word { position: absolute; top: var(--fy); left: var(--fx); transform: rotate(var(--fr)); padding: .46rem .72rem; border: 1px solid rgba(var(--rgb), .21); border-radius: .46rem; color: var(--accent); background: #111a28d9; font-size: clamp(.75rem, 1.12vw, 1.08rem); white-space: nowrap; box-shadow: 0 12px 30px #0005; opacity: .76; }
.layer:is(.is-active, .is-outgoing) .float-word { animation: label-arrive 1080ms var(--ease) calc(100ms + var(--step) * 78ms) both; }
@keyframes label-arrive { from { opacity: 0; translate: 0 22px; rotate: -10deg; } to { opacity: .76; translate: 0 0; rotate: 0deg; } }
.float-word:nth-of-type(2) { --fx: 12%; --fy: 22%; --fr: -10deg; }
.float-word:nth-of-type(3) { --fx: 78%; --fy: 17%; --fr: 9deg; }
.float-word:nth-of-type(4) { --fx: 81%; --fy: 76%; --fr: -6deg; }
.float-word:nth-of-type(5) { --fx: 11%; --fy: 73%; --fr: 7deg; }
.float-word:nth-of-type(6) { --fx: 26%; --fy: 84%; --fr: -4deg; }
.float-word:nth-of-type(7) { --fx: 66%; --fy: 83%; --fr: 4deg; }
.question--context .question-content { padding-right: 18%; text-align: left; }
.question--context h1 { font-size: clamp(2.45rem, min(5.85vw, 9.85svh), 6.8rem); text-wrap: normal; }
.question--context .question-number { left: 70%; }
.question--context .question-orbit { inset: 13% 7% 10% 28%; transform: rotate(-25deg); }
.question--context .float-word:nth-of-type(2) { --fx: 73%; --fy: 30%; --fr: -8deg; }
.question--context .float-word:nth-of-type(3) { --fx: 83%; --fy: 43%; --fr: 7deg; }
.question--context .float-word:nth-of-type(4) { --fx: 75%; --fy: 58%; --fr: -4deg; }
.question--context .float-word:nth-of-type(5) { --fx: 83%; --fy: 70%; --fr: 5deg; }
.question--care .question-content { align-self: center; transform: translateY(-4%); }
.question--care .question-number { top: 59%; }
.question--care .question-orbit { inset: 51% 6% 7%; transform: none; }
.question--care .float-word:nth-of-type(2) { --fx: 13%; --fy: 71%; --fr: -7deg; }
.question--care .float-word:nth-of-type(3) { --fx: 45%; --fy: 83%; --fr: -2deg; }
.question--care .float-word:nth-of-type(4) { --fx: 77%; --fy: 71%; --fr: 7deg; }
.hold-label { justify-content: center; }
.hold-label i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

.native {
  --screen-height: 55svh;
  --monitor-radius: clamp(.55rem, 1.05vw, .95rem);
  position: relative;
  max-width: 99rem;
  display: grid;
  grid-template: "copy" auto "screen" auto "modules" auto / minmax(0, 1fr);
  gap: .95rem clamp(1.25rem, 3.25vw, 4.25rem);
}
.native > :is(.native-copy, .monitor, .modules) { min-width: 0; }
.native-copy { grid-area: copy; align-self: center; }
.native .native-copy .scene-badge, .native .native-copy .eyebrow { margin-bottom: .5rem; }
.native h1 { font-size: clamp(1.8rem, min(3.75vw, 6svh), 4.05rem); }
.native .deck { margin-top: .37em; font-size: clamp(.87rem, 1.2vw, 1.15rem); }
.native .module-copy { margin-top: .35em; min-height: 1.55em; color: var(--accent); font-size: clamp(.82rem, 1.09vw, 1.04rem); line-height: 1.53; }
.native--wide .native-copy { text-align: center; }
.native--wide { max-width: 90rem; }
.native--cinemascope { --screen-height: 58svh; max-width: 103rem; }
.native--stack { --screen-height: 57svh; max-width: 93rem; }
.native--cinemascope .native-copy, .native--stack .native-copy, .native--editorial .native-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "badge proof" "title proof" "text proof";
  column-gap: 1.4rem;
  justify-items: start;
  align-items: end;
}
.native-copy > :is(.scene-badge, .eyebrow) { grid-area: badge; }
.native-copy > h1 { grid-area: title; }
.native-copy > .deck { grid-area: text; }
.native--cinemascope h1, .native--stack h1, .native--editorial h1 { text-wrap: normal; }
.native--cinemascope .monitor { border-top-color: rgba(var(--rgb), .55); }
.proof {
  grid-area: proof;
  grid-row: 2 / 4;
  align-self: end;
  padding: .1rem 0 .14rem clamp(.75rem, 1.5vw, 1.4rem);
  border-left: 1px solid rgba(var(--rgb), .55);
  display: grid;
  gap: .42rem;
  color: var(--accent);
  animation: emerge 560ms var(--ease) both;
}
.native-copy .proof[hidden] { display: grid !important; visibility: hidden; animation: none; }
.proof strong { font: 720 clamp(1.6rem, 3.2vw, 3.4rem)/1 var(--mono); letter-spacing: -.09em; }
.proof span { color: var(--muted); font-size: clamp(.7rem, 1.02vw, .97rem); line-height: 1.35; }
.native--ribbon { --screen-height: 49svh; max-width: 96rem; gap: .72rem; }
.native--ribbon h1 { font-size: clamp(1.76rem, min(3.3vw, 5.35svh), 3.4rem); }
.native--mirror { --screen-height: 62svh; grid-template: "screen copy" auto "modules copy" auto / minmax(0, 1fr) clamp(13.5rem, 20vw, 23rem); }
.native--mirror .native-copy { border-left: 1px solid rgba(var(--rgb), .32); padding-left: clamp(.9rem, 1.9vw, 1.95rem); }
.native--mirror h1 { font-size: clamp(1.8rem, min(3.38vw, 6svh), 3.8rem); text-wrap: normal; }
.native--mirror .deck { max-width: 19em; }
.native--mirror .module-copy { margin-top: 1.15em; }
.native--film { --screen-height: 50svh; max-width: 91rem; padding-inline: clamp(.65rem, 2.5vw, 2.35rem); }
.native--film::before, .native--film::after { content: ""; position: absolute; top: 25%; bottom: 2%; width: 5px; border-radius: 100%; background: repeating-linear-gradient(transparent 0 12px, rgba(var(--rgb), .34) 12px 19px, transparent 19px 29px); pointer-events: none; }
.native--film::before { left: 0; }
.native--film::after { right: 0; }
.native--film .native-copy { text-align: center; }
.native--film h1 { font-size: clamp(1.9rem, min(4.15vw, 6.4svh), 4.35rem); }
.native--editorial { --screen-height: 51svh; max-width: 87rem; }
.native--editorial .native-copy { padding-left: clamp(.78rem, 1.7vw, 1.55rem); border-left: 2px solid rgba(var(--rgb), .54); }
.trail { grid-area: proof; align-self: center; color: var(--muted); display: grid; gap: .35rem; padding: 0; list-style: none; font-size: clamp(.77rem, 1.1vw, .99rem); }
.trail li { display: flex; align-items: baseline; gap: .59rem; line-height: 1.44; }
.trail b { color: var(--accent); font: 700 .72rem var(--mono); }
.layer:is(.is-active, .is-outgoing) .trail li { animation: emerge 550ms var(--ease) calc(var(--step) * 68ms) both; }

.monitor {
  grid-area: screen;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #101725;
  border: 1px solid rgba(var(--rgb), .3);
  border-radius: var(--monitor-radius);
  box-shadow: 0 24px 68px #0008, 0 0 42px rgba(var(--rgb), .09);
  overflow: hidden;
  transition: border-color 240ms, box-shadow 240ms;
}
.layer:is(.is-active, .is-outgoing) .native--wide .monitor, .layer:is(.is-active, .is-outgoing) .native--film .monitor { animation: aperture 760ms var(--ease) both; }
.monitor[data-waiting="true"] { border-color: #ffcc9e9c; box-shadow: 0 25px 62px #0007, 0 0 26px #f4a97624; }
.monitor-bar, .monitor-foot { display: flex; align-items: center; min-width: 0; gap: .62rem; padding-inline: clamp(.55rem, 1.15vw, .95rem); }
.monitor-bar { justify-content: space-between; min-height: 2.28rem; }
.monitor-foot { min-height: 2.25rem; border-top: 1px solid #e7eefe17; }
.native-label, .monitor-controls { display: flex; align-items: center; gap: .46rem; white-space: nowrap; }
.native-label { font-size: .76rem; color: var(--muted); }
.native-label i { width: 6px; height: 6px; border-radius: 50%; background: #79869e; }
.monitor[data-source] .native-label i { background: #9be8c3; box-shadow: 0 0 10px #9be8c37a; }
.native-label small { color: var(--quiet); font: .68rem var(--mono); }
.monitor-controls { gap: .2rem; }
.monitor-controls .icon-button { height: 1.84rem; width: 1.84rem; border-radius: .344rem; font-size: .94rem; }
.monitor-return { color: var(--muted); font-size: .74rem; padding: .25rem .42rem; border-radius: .32rem; }
.screen { position: relative; height: clamp(17.2rem, var(--screen-height), 49rem); overflow: hidden; isolation: isolate; background: #172134; }
.view-lens { position: absolute; inset: 0; transform: translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0) scale(var(--zoom, 1)); transition: transform 940ms var(--ease); }
.screen iframe { position: absolute; top: 0; left: 0; display: block; border: 0; width: 100%; height: 100%; transform-origin: 0 0; background: #f4f6f9; }
.focus-point, .screen-wipe { position: absolute; pointer-events: none; }
.focus-point { z-index: 1; width: 1rem; height: 1rem; translate: -50% -50%; border-radius: 50%; border: 1px solid #ddfbff; box-shadow: 0 0 0 3px #38799496, 0 0 14px #79c6ff; animation: reticle 740ms var(--ease) forwards; }
@keyframes reticle { from { opacity: 0; scale: .56; } 40% { opacity: .8; } to { opacity: 0; scale: 1.45; } }
.screen-wipe { inset: 0; z-index: 2; opacity: 0; background: linear-gradient(151deg, #1b293a, #121a28); transition: opacity 280ms var(--ease); }
.monitor[data-switching="true"] .screen-wipe { opacity: .98; transition-duration: 160ms; }
.screen-error { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .8rem; padding: 1.2rem; text-align: center; background: #151f30; color: var(--muted); }
.screen-error strong { color: var(--paper); font-size: 1.15rem; }
.phase { flex: 0 0 auto; color: var(--accent); border: 1px solid rgba(var(--rgb), .23); border-radius: .29rem; padding: .21rem .43rem; background: rgba(var(--rgb), .07); font-size: .67rem; white-space: nowrap; }
.monitor[data-waiting="true"] .phase { color: #ffe0af; border-color: #ffca7c50; background: #e2a85817; }
.monitor:is([data-phase="result"], [data-phase="receipt"]) .phase { color: #acf0ce; border-color: #9ce5c047; background: #83f3b813; }
.monitor-note { flex: 1; min-width: 0; overflow: hidden; color: var(--muted); font-size: clamp(.69rem, .93vw, .86rem); line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.mini-steps { display: flex; gap: 4px; align-items: center; }
.mini-steps i { width: clamp(.48rem, .82vw, .9rem); height: 2px; border-radius: 9px; background: #62718b7a; transition: background-color 240ms; }
.mini-steps i[data-done="true"] { background: var(--accent); }

.modules { grid-area: modules; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .36rem; }
.native--mirror .modules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.modules button {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .37rem;
  padding: .56rem .25rem;
  font-size: clamp(.72rem, 1.05vw, .94rem);
  white-space: nowrap;
  color: var(--muted);
  border: 1px solid var(--fine);
  border-radius: .37rem;
  background: #121c2bcd;
  transition: color 240ms, background-color 240ms, border-color 240ms;
}
.modules button small { color: var(--quiet); font: .64rem var(--mono); }
.modules button[aria-pressed="true"], .modules button:hover { color: var(--paper); background: #263345; border-color: rgba(var(--rgb), .47); }
.modules button[aria-pressed="true"] small { color: var(--accent); }

.exhibit .table-panel { overflow: auto; border: 1px solid #bfdcff3d; border-radius: clamp(.5rem, 1vw, .88rem); background: #101829; box-shadow: 0 22px 55px #0005; scrollbar-color: #8da6c599 #101829; scrollbar-width: thin; }
.exhibit table { width: 100%; min-width: 43rem; border-spacing: 0; border-collapse: separate; }
.exhibit th, .exhibit td { padding: clamp(.65rem, 1.65vw, 1.45rem); text-align: left; vertical-align: middle; }
.exhibit thead th { background: #18283d; font-size: clamp(.75rem, 1.08vw, 1.02rem); letter-spacing: .065em; color: #c6def1; }
.exhibit tbody th, .exhibit tbody td { border-top: 1px solid var(--fine); }
.exhibit tbody th { min-width: 9rem; color: var(--accent); font-size: clamp(.95rem, 1.28vw, 1.27rem); line-height: 1.42; }
.exhibit tbody td { color: #d1daea; font-size: clamp(.86rem, 1.15vw, 1.11rem); line-height: 1.64; }
.layer:is(.is-active, .is-outgoing) .exhibit tbody tr { animation: row-reveal 740ms var(--ease) calc(var(--step) * 85ms) both; }
@keyframes row-reveal { from { opacity: 0; } to { opacity: 1; } }
.exhibit tbody tr:nth-child(even) { background: #d7e5ff07; }
.value-table th[scope="row"] { width: 16%; }
.value-table td:last-child { width: 30%; }
.value-table th[scope="row"] span { display: block; margin-top: .35em; color: var(--muted); font-size: .78em; font-weight: 500; }
.feature-tags { display: flex; flex-wrap: wrap; gap: .41rem; }
.feature-tags span { display: inline-block; border: 1px solid rgba(var(--rgb), .25); border-radius: .32rem; padding: .18rem .53rem; white-space: nowrap; color: var(--paper); background: rgba(var(--rgb), .067); font-size: clamp(.75rem, .99vw, .94rem); line-height: 1.57; }
.evidence-table th[scope="row"] { width: 23%; }
.evidence-table td:nth-child(2) { width: 32%; }
.evidence-table td:last-child { color: var(--muted); }
.evidence-link { display: inline-flex; align-items: center; justify-content: center; gap: .24rem; border: 0; border-radius: .32rem; padding: .22rem .31rem; color: var(--accent); background: #a4c8ff13; font-size: .74rem; white-space: nowrap; font-weight: 630; }
.evidence-link:hover { background: #a8d3ff2b; }
.evidence-table .evidence-link { display: flex; width: max-content; margin-top: .46rem; }
.layer .comparison-note { margin-top: .85rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; color: var(--muted); font-size: clamp(.76rem, 1vw, .93rem); line-height: 1.5; }
.sources { display: flex; gap: .44rem .55rem; flex-wrap: wrap; padding-top: .65rem; }
.sources a { padding: .32rem .48rem; border: 1px solid var(--fine); border-radius: .34rem; color: var(--accent); background: #132034; font-size: .79rem; text-decoration: none; }
.sources a:hover { text-decoration: underline; }
.exhibit .scroll-hint { display: none; color: var(--quiet); margin-top: .42rem; font-size: .78rem; }

dialog {
  width: min(37rem, calc(100% - 2rem));
  max-height: min(40rem, calc(100% - 2rem));
  padding: clamp(.85rem, 3vw, 1.75rem);
  border: 1px solid #aecaff4a;
  border-radius: .95rem;
  color: var(--paper);
  background: #121b2c;
  box-shadow: 0 30px 90px #000b;
}
dialog::backdrop { background: #050913bd; backdrop-filter: blur(6px); }
.notes-top, .notes-bottom { display: flex; gap: .45rem; align-items: center; color: var(--accent); font-size: .77rem; }
.notes-top { justify-content: space-between; }
#notes-title { margin: .5rem 0 .8rem; font-size: clamp(1.25rem, 3.3vw, 1.9rem); }
#notes-copy, #notes-cue { font-size: clamp(.91rem, 1.24vw, 1.07rem); line-height: 1.78; }
#notes-cue { padding: .7rem .85rem; border-left: 2px solid var(--accent); border-radius: .25rem; color: var(--muted); background: #9abaff0c; }
.notes-bottom { flex-wrap: wrap; border-top: 1px solid var(--fine); padding-top: .8rem; color: var(--quiet); }
kbd { padding: .16rem .34rem; border: 1px solid var(--fine); border-radius: .22rem; font: .75rem var(--mono); color: var(--paper); }

.keynote[data-cinema="true"] .topbar, .keynote[data-cinema="true"] .bottom-bar { background: #080b15b3; }
.keynote[data-cinema="true"] .topbar { min-height: 3rem; }
.keynote[data-cinema="true"] .bottom-bar { min-height: 3.05rem; }
.keynote[data-cinema="true"] .native { --screen-height: 61svh; }
.keynote[data-cinema="true"] .native--ribbon { --screen-height: 54svh; }
.keynote[data-cinema="true"] .native--mirror { --screen-height: 67svh; }
.keynote[data-cinema="true"] :is(.native--film, .native--editorial) { --screen-height: 54svh; }
.keynote[data-inspect="true"] .is-active { padding: clamp(.42rem, 1.2svh, .83rem) clamp(.42rem, 1.4vw, 1.35rem); overflow: hidden; }
.keynote[data-inspect="true"] .is-active .native { flex: 1 1 auto; height: 100%; min-height: 0; max-width: none; padding: 0; grid-template: "screen" minmax(0, 1fr) / minmax(0, 1fr); }
.keynote[data-inspect="true"] .is-active .native > :not(.monitor), .keynote[data-inspect="true"] .is-active .native::before, .keynote[data-inspect="true"] .is-active .native::after { display: none; }
.keynote[data-inspect="true"] .is-active .monitor { animation: none; }
.keynote[data-inspect="true"] .is-active .screen { height: 100%; min-height: 0; }

@media (max-width: 1060px) {
  .modules { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .native--ribbon { --screen-height: 44svh; }
  .keynote[data-cinema="true"] .native--ribbon { --screen-height: 47svh; }
  .question--context .float-word { opacity: .5; }
}

@media (max-width: 760px) {
  :root { --gutter: clamp(.8rem, 3.9vw, 1.7rem); --space-y: .93rem; }
  .topbar { grid-template-columns: minmax(0, 1fr) auto; min-height: 3.2rem; gap: .4rem; }
  .acts { display: none; }
  .brand { gap: .34rem; }
  .brand img { width: 25px; height: 25px; }
  .top-actions { gap: .12rem; }
  .icon-button { width: 2.4rem; height: 2.4rem; }
  .bottom-bar { grid-template-columns: 1fr auto; grid-template-areas: "dots dots" "chapter button"; gap: 0 .35rem; padding-top: .12rem; padding-bottom: max(.24rem, env(safe-area-inset-bottom)); }
  .timeline { grid-area: dots; justify-content: center; }
  .timeline button { width: min(4.6vw, 1.46rem); height: 1.45rem; }
  .chapter { grid-area: chapter; gap: .45rem; font-size: .75rem; }
  .transport { grid-area: button; gap: .04rem; }
  .next-button { font-size: .75rem; min-width: 4.85rem; gap: .32rem; }
  :root[data-embedded="true"] .bottom-bar { grid-template-columns: minmax(0, 1fr) auto; padding-inline-end: max(var(--gutter), 6.45rem); }
  :root[data-embedded="true"] .timeline { min-width: 0; }
  :root[data-embedded="true"] .timeline button { flex: 0 1 1.28rem; min-width: 0; }
  .layer h1 { font-size: clamp(2rem, 8.8vw, 4rem); letter-spacing: -.052em; }
  .hero-end h1 { font-size: clamp(2.5rem, 11vw, 5rem); }
  .hero-open { grid-template-columns: minmax(0, 1fr); gap: 0; align-content: center; }
  .hero-open .hero-content { padding-block: 1rem 0; }
  .hero-open h1 { font-size: clamp(2.33rem, 10.9vw, 4.9rem); }
  .hero-open .deck { margin-left: 0; }
  .hero-open .stage-button { padding: .64rem .8rem; }
  .hero-open .hero-actions { gap: .25rem .7rem; margin-top: 1rem; }
  .orbit-visual { width: min(86%, 33svh, 22rem); margin: .5rem auto 0; }
  .orbit-top { right: -2%; }
  .orbit-bottom { left: 0; }
  .hero .deck { margin-inline: auto; max-width: 24em; }
  .question--context .question-content { padding-right: 0; }
  .question--context .question-number { left: 53%; }
  .question--context h1 { font-size: clamp(1.95rem, 8.45vw, 4rem); }
  .float-word { padding: .3rem .39rem; }
  .float-word:nth-of-type(3), .float-word:nth-of-type(4), .float-word:nth-of-type(7) { left: auto; right: 7%; }
  .question--context .float-word:nth-of-type(2), .question--context .float-word:nth-of-type(3) { top: 14%; }
  .question--context .float-word:nth-of-type(4), .question--context .float-word:nth-of-type(5) { top: 82%; }
  .question--context .float-word:nth-of-type(2), .question--context .float-word:nth-of-type(5) { left: 10%; }
  .edge-label { letter-spacing: .095em; font-size: .58rem; }
  .pain-grid { grid-template-columns: 1fr; gap: .51rem; }
  .pain-card { display: grid; grid-template-columns: minmax(4rem, 23%) minmax(0, 1fr); }
  .pain-ornament { min-height: 0; border-right: 1px solid rgba(var(--rgb), .13); }
  .pain-ornament > span { left: 9%; bottom: .14em; font-size: clamp(2.4rem, 8vw, 4.7rem); }
  .pain-ornament > div { display: none; }
  .pain-body { gap: .36rem .55rem; padding: .6rem .56rem; border-top: none; }
  .pain-body h2 { font-size: clamp(1rem, 4.2vw, 1.5rem); }
  .pain-icon { width: 1.8rem; height: 1.8rem; font-size: .94rem; }
  .native, .native--mirror { --screen-height: 56svh; grid-template: "copy" auto "screen" auto "modules" auto / minmax(0, 1fr); gap: .63rem; }
  .native--ribbon, .native--mirror:has(.modules) { grid-template: "copy" auto "modules" auto "screen" auto / minmax(0, 1fr); }
  .native--ribbon { --screen-height: 45svh; }
  .native--mirror { --screen-height: 44svh; }
  .native--film { --screen-height: 50svh; padding-inline: 0; }
  .native--editorial { --screen-height: 51svh; }
  .native--film::before, .native--film::after { display: none; }
  .native--mirror .native-copy { padding-left: .65rem; }
  .native h1 { font-size: clamp(1.48rem, 6vw, 2.6rem); }
  .native .deck { margin-top: .28em; }
  .native--cinemascope .native-copy, .native--stack .native-copy, .native--editorial .native-copy { grid-template: "badge" auto "title" auto "text" auto "proof" auto / minmax(0, 1fr); }
  .proof { grid-area: proof; margin-top: .4rem; display: flex; align-items: baseline; gap: .46rem; padding: .15rem 0 .16rem .45rem; }
  .native-copy .proof[hidden] { display: flex !important; }
  .proof strong { font-size: 1.3rem; }
  .trail { grid-area: proof; display: flex; flex-wrap: wrap; gap: .2rem .58rem; margin-top: .35rem !important; }
  .trail li { gap: .25rem; }
  .mini-steps { display: none; }
  .modules { gap: .3rem; }
  .modules button { flex-direction: column; gap: .2rem; padding: .3rem .1rem; min-height: 2.27rem; }
  .modules button small { font-size: .6rem; }
  .exhibit .scroll-hint { display: block; }
  .exhibit .table-panel { margin: 0 -2px; }
  .keynote[data-cinema="true"] .native { --screen-height: 57svh; }
  .keynote[data-cinema="true"] .native--ribbon { --screen-height: 45svh; }
  .keynote[data-cinema="true"] .native--mirror { --screen-height: 44svh; }
}

@media (max-width: 365px) {
  #chapter, .chrome-button > span:last-child { display: none; }
  .brand small { display: none; }
  .timeline { gap: .05rem; }
  .question .float-word { font-size: .64rem; }
  :root[data-embedded="true"] .transport .icon-button { width: 1.9rem; }
  :root[data-embedded="true"] .next-button { min-width: 3.8rem; padding-inline: .38rem; }
}

@media (max-height: 760px) and (min-width: 761px) {
  :root { --space-y: .75rem; }
  .native { gap: .63rem 1.8rem; }
  .native .scene-badge, .native .eyebrow { margin-bottom: .35rem; }
  .native .monitor .screen { max-height: 54svh; }
  .native--ribbon .monitor .screen { max-height: 46svh; }
  .native--mirror .monitor .screen { max-height: 62svh; }
  .keynote[data-inspect="true"] .is-active .screen { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition: none !important; scroll-behavior: auto !important; }
  #stage[data-loading]::before { transform: none; }
}

.timeline {
  width: min(52vw, 46rem);
  max-width: 100%;
  min-width: 0;
  gap: .1rem;
  overflow: auto hidden;
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline button { flex: 1 1 0; width: auto; min-width: .35rem; height: 1.9rem; outline-offset: -2px; }
.timeline button span { width: 58%; height: 3px; }
.timeline button[aria-current] span { width: 100%; }
.hero-import { color: var(--accent); }
.hero-import .glyph { height: 1.2em; width: 1.2em; }
.native .modules { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.45rem), 1fr)); }
.native--mirror .modules { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)); }
.native--grouped { grid-template-areas: "copy" "modules" "screen"; }
.native--grouped.native--mirror { grid-template-areas: "modules copy" "screen copy"; }
.native .import-receipt-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.import-receipt-tabs button { color: #c6e4fd; border-color: #a9dcff55; background: #162d44; }

.import-spotlight { max-width: 79rem; text-align: center; }
.import-intro .eyebrow { color: var(--accent); }
.import-intro .eyebrow i { background: var(--accent); box-shadow: 0 0 15px rgba(var(--rgb), .65); }
.import-intro h1 { font-size: clamp(2.1rem, min(5.5vw, 7.5svh), 6.1rem); }
.import-intro .deck { margin-inline: auto; max-width: 48rem; }
.import-pipeline { position: relative; margin: clamp(.9rem, 2.6svh, 1.9rem) auto 0; max-width: 64rem; }
.import-pipeline::before { content: ""; position: absolute; inset: -18% 7% -16%; z-index: -1; background: radial-gradient(ellipse, #5aaeff24, transparent 65%); pointer-events: none; }
.import-packet {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(.52rem, 1.05vw, .95rem);
  max-width: 100%;
  padding: .52rem .68rem;
  border: 1px solid #a6daff55;
  border-radius: .92rem;
  background: linear-gradient(145deg, #223953, #15283e 75%);
  box-shadow: 0 0 2.5rem #5094f82b, inset 0 1px #d6efff18;
  text-align: left;
}
.packet-mark { display: grid; flex: none; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: .6rem; color: #142e59; background: linear-gradient(145deg, #d3efff, #83b9ff); font-size: 1.35rem; }
.import-packet strong, .import-packet small { display: block; }
.import-packet strong { color: var(--paper); font-size: clamp(.89rem, 1.3vw, 1.12rem); font-weight: 740; }
.import-packet small { margin-top: .13rem; color: var(--muted); font-size: .73rem; }
.packet-count { margin-left: .24rem; border-left: 1px solid #a6daff3f; padding-left: .65rem; color: var(--accent); font: 650 .7rem var(--mono); white-space: nowrap; }
.import-split {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: clamp(1.45rem, 5svh, 3.25rem);
  gap: .5rem;
  color: #94bfff8f;
}
.import-split::before { content: ""; position: absolute; left: 50%; height: 48%; width: 1px; background: currentColor; }
.import-split::after { content: ""; position: absolute; left: 9.76%; right: 9.76%; top: 48%; height: 1px; background: linear-gradient(90deg, #83aef45e, #c0e6fe, #83aef45e); }
.import-split i { position: relative; width: 1px; height: 52%; margin: auto auto 0; background: currentColor; }
.import-split i::after { content: ""; position: absolute; height: 5px; width: 5px; left: -2px; bottom: -2px; border-radius: 50%; background: #c3e7ff; box-shadow: 0 0 9px #79c8ff; }
.is-active .import-split i::after { animation: receipt-light 1250ms var(--ease) 420ms both; }
@keyframes receipt-light { from { opacity: 0; transform: translateY(-12px); } 64% { opacity: 1; } }
.import-fan { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.import-fan li { display: grid; justify-items: center; gap: .37rem; padding: clamp(.54rem, 1.45svh, .95rem) .25rem; border: 1px solid #a6daff42; border-radius: .8rem; background: linear-gradient(165deg, #20384f, #132439 85%); box-shadow: inset 0 1px #d6edff1c, 0 12px 30px #080e1a4f; }
.is-active .import-fan li { animation: emerge 640ms var(--ease) calc(450ms + 65ms * var(--step)) both; }
.import-fan li > span:first-child { color: var(--paper); font-weight: 690; font-size: clamp(.75rem, 1.2vw, 1.02rem); }
.import-fan li > span:last-child { color: var(--muted); font-size: clamp(.64rem, .91vw, .78rem); }
.import-fan strong { color: var(--accent); font: 710 clamp(1.55rem, min(3.55vw, 5.3svh), 3.22rem)/1 var(--mono); font-variant-numeric: tabular-nums; }
.import-fan strong small { margin-left: .19rem; font: 540 .75rem/1 system-ui, sans-serif; }
.import-spotlight .import-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: .56rem; max-width: 64rem; margin: clamp(.67rem, 1.6svh, 1rem) auto 0; padding: 0; list-style: none; }
.import-phases li { display: flex; align-items: center; gap: .42rem; border-top: 1px solid #a6daff3d; padding: .48rem .18rem 0; text-align: left; color: var(--muted); font-size: clamp(.7rem, 1.03vw, .88rem); line-height: 1.3; }
.import-phases b { flex: none; color: var(--accent); font: 670 .7rem var(--mono); }
.spotlight-actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: .45rem .92rem; margin: clamp(.65rem, 1.75svh, 1.15rem) 0 .45rem; }
.import-spotlight .spotlight-caption { color: var(--quiet); font-size: .75rem; line-height: 1.45; }

.comparison-exhibit { max-width: 97rem; }
.comparison-exhibit > header { display: grid; grid-template: "eyebrow eyebrow" auto "title actions" auto / minmax(0, 1fr) auto; align-items: end; column-gap: .72rem; padding: 0; margin-bottom: .86rem; }
.comparison-exhibit > header .eyebrow { grid-area: eyebrow; margin-bottom: .4rem; color: var(--accent); }
.comparison-exhibit > header .eyebrow b { margin-inline: .4rem .1rem; color: var(--paper); }
.comparison-exhibit > header .eyebrow span { color: var(--quiet); }
.comparison-exhibit > header h1 { grid-area: title; font-size: clamp(1.85rem, min(4.4vw, 6.05svh), 4.1rem); }
.table-panel.v3-matrix {
  flex: 0 1 auto;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-color: #99b9e288 transparent;
}
.v3-matrix .matrix-table { min-width: 50rem; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: .48rem 0; }
.v3-matrix .matrix-label-col { width: 12%; }
.v3-matrix .matrix-table th, .v3-matrix .matrix-table td { padding: .39rem clamp(.54rem, 1vw, .9rem); vertical-align: middle; border: 0; }
.v3-matrix .matrix-axis, .v3-matrix .matrix-dimension {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 0;
  color: #dce7fa;
  background: #17253a;
  text-align: center;
  font-size: clamp(.72rem, 1.01vw, .95rem);
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: normal;
}
.v3-matrix .matrix-axis, .v3-matrix .matrix-product { border-radius: .9rem .9rem 0 0; }
.v3-matrix .matrix-table .matrix-axis { color: #c2d6f4; vertical-align: bottom; padding-bottom: .72rem; }
.v3-matrix .matrix-product, .v3-matrix .matrix-cell { --card: #f0f3f9; background: var(--card); color: #172841; }
.v3-matrix .matrix-product:nth-child(even), .v3-matrix .matrix-cell:nth-child(even) { --card: #e4edf9; }
.v3-matrix .matrix-product.ours, .v3-matrix .matrix-cell.ours { --card: #dceaff; box-shadow: inset 2px 0 #8db9f5, inset -2px 0 #8db9f5; }
.v3-matrix .matrix-table .matrix-product { padding-block: .62rem .45rem; text-align: center; letter-spacing: normal; }
.v3-matrix .matrix-product-name { display: table; max-width: 100%; margin: .31rem auto 0; padding: .2rem .52rem; border-radius: .9rem; color: #fff; background: #4d6faa; font-size: clamp(.68rem, 1.11vw, .96rem); font-weight: 730; line-height: 1.22; overflow-wrap: anywhere; }
.v3-matrix .matrix-product.ours .matrix-product-name { background: #245dbc; }
.v3-matrix .matrix-product small { display: block; margin-top: .22rem; color: #4b5d78; font-size: .69rem; font-weight: 520; line-height: 1.2; }
.v3-matrix :is(.matrix-logo, .matrix-mark) { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; margin: auto; border-radius: .73rem; box-shadow: 0 .35rem .65rem #20395a2c; }
.v3-matrix .matrix-logo { object-fit: cover; }
.v3-matrix .matrix-mark { color: #315585; background: linear-gradient(155deg, #fff, #d2dff4); font-size: .91rem; font-weight: 760; }
.v3-matrix tbody tr { background: transparent; }
.v3-matrix .matrix-table tbody tr > * { border-top: 1px solid #94aac536; }
.v3-matrix tbody tr:last-child > * { border-radius: 0 0 .9rem .9rem; }
.v3-matrix .matrix-table .matrix-cell { text-align: center; padding-block: clamp(.44rem, 1.18svh, .85rem); }
.v3-matrix .matrix-cell .glyph { display: block; width: clamp(1.25rem, 3.7svh, 2.5rem); height: auto; margin: auto; color: #6d7890; }
.v3-matrix .matrix-cell[data-mark="yes"] .glyph { color: #267c63; }
.v3-matrix .matrix-cell.ours[data-mark="yes"] .glyph { color: #235aaa; }
.v3-matrix .matrix-priority .matrix-dimension { background: #284a79; color: #edf7ff; }
.v3-matrix .matrix-priority .matrix-cell.ours { --card: #c4e0ff; }
.matrix-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: .33rem; padding-bottom: .28rem; }
.matrix-actions .evidence-link { min-height: 1.85rem; padding: .28rem .53rem; }
.matrix-actions .matrix-play { background: var(--accent); color: #102340; }
.matrix-actions .matrix-play:hover { background: #f1f8ff; }
.comparison-exhibit .sources { padding: 0 0 .55rem; }

@media (max-height: 820px) and (min-width: 761px) {
  .comparison-exhibit > header { margin-bottom: .36rem; }
  .v3-matrix .matrix-table th, .v3-matrix .matrix-table td { padding-block: .32rem; }
  .v3-matrix .matrix-table .matrix-product { padding-block: .36rem; }
  .v3-matrix :is(.matrix-logo, .matrix-mark) { width: 1.8rem; height: 1.8rem; border-radius: .48rem; }
}
@media (max-width: 960px) {
  .acts button { gap: .24rem; padding-inline: .44rem; }
  .acts button small { display: none; }
  .comparison-exhibit .scroll-hint { display: block; }
}
@media (max-width: 760px) {
  .topbar { grid-template-areas: "brand actions" "chapters chapters"; grid-template-rows: minmax(2.6rem, auto) auto; gap: 0 .4rem; }
  .brand { grid-area: brand; }
  .top-actions { grid-area: actions; }
  .acts { grid-area: chapters; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .12rem; padding-bottom: .27rem; }
  .acts button { min-height: 1.85rem; padding: .14rem .02rem; font-size: clamp(.59rem, 2.8vw, .77rem); }
  .timeline { width: 100%; justify-content: flex-start; }
  .timeline button, :root[data-embedded="true"] .timeline button { flex: 1 1 0; width: auto; min-width: .56rem; height: 1.54rem; }
  .native .modules { grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.45rem), 1fr)); }
  .native--grouped.native--mirror { grid-template-areas: "copy" "modules" "screen"; }
  .native .import-receipt-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .import-intro h1 { font-size: clamp(1.8rem, 7.9vw, 3.2rem); }
  .import-packet { margin-bottom: .57rem; }
  .import-split { display: none; }
  .import-fan { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .38rem; }
  .import-fan li { grid-column: span 2; gap: .24rem; border-radius: .55rem; }
  .import-fan li:nth-child(n+4) { grid-column: span 3; }
  .import-spotlight .import-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .42rem; }
  .spotlight-actions .stage-button { padding: .63rem .77rem; }
  .comparison-exhibit > header { grid-template: "eyebrow" auto "title" auto "actions" auto / minmax(0, 1fr); row-gap: .35rem; }
  .comparison-exhibit > header h1 { font-size: clamp(1.64rem, 6.7vw, 2.85rem); }
  .v3-matrix .matrix-table { min-width: 53rem; border-spacing: .36rem 0; }
  .v3-matrix .matrix-label-col { width: 5.6rem; }
  .v3-matrix :is(.matrix-axis, .matrix-dimension) { box-shadow: 4px 0 8px #14203938; }
  .matrix-actions .evidence-link { min-height: 2.1rem; }
}
