:root {
  --ink: #05082e;
  --ink-2: #080d3a;
  --paper: #f8f8f4;
  --white: #fff;
  --cyan: #16c8ef;
  --cyan-soft: #8be9f7;
  --aqua: #63e6d0;
  --amber: #ffbf47;
  --coral: #ff6b61;
  --muted: rgba(236, 241, 255, .66);
  --faint: rgba(236, 241, 255, .38);
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(13, 20, 72, .74);
  --font: "IBM Plex Sans", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --chrome-pad-x: clamp(26px, 5.6vw, 108px);
  --stage-scale: 1;
  --stage-width: 1920px;
  --stage-height: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; }
html { background: var(--ink); }
body {
  color: var(--white);
  background: var(--ink);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
span.th, span.en { display: contents; }
[data-lang="th"] .en { display: none !important; }
[data-lang="en"] .th { display: none !important; }

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
}
.ambient i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .42; }
.ambient i:nth-child(1) { width: 52vw; height: 52vw; right: -22vw; top: -31vw; background: radial-gradient(circle, rgba(22,200,239,.34), transparent 66%); }
.ambient i:nth-child(2) { width: 46vw; height: 46vw; left: -28vw; bottom: -31vw; background: radial-gradient(circle, rgba(72,82,210,.38), transparent 66%); }
.ambient i:nth-child(3) { width: 26vw; height: 26vw; left: 48%; top: 40%; background: radial-gradient(circle, rgba(99,230,208,.08), transparent 68%); }

.chrome { position: fixed; left: 0; right: 0; z-index: 20; pointer-events: none; display: flex; align-items: center; }
.chrome > * { pointer-events: auto; }
.chrome-top { top: 0; height: 76px; padding: 0 var(--chrome-pad-x); justify-content: space-between; }
.chrome-bottom { bottom: 0; height: 72px; padding: 0 var(--chrome-pad-x); justify-content: space-between; }
.brand { display: flex; gap: 4px; align-items: center; color: var(--white); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.brand span:last-child { color: var(--muted); font-weight: 500; }
.brand b { color: var(--cyan); }
.top-actions, .nav-actions { display: flex; align-items: center; gap: 8px; }
.control {
  border: 1px solid var(--line); background: rgba(5,8,46,.62); backdrop-filter: blur(16px);
  color: var(--muted); border-radius: 999px; cursor: pointer; transition: .2s ease;
}
.control:hover { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(17,25,83,.8); }
.language-toggle { height: 40px; min-width: 90px; padding: 0 15px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; }
.language-toggle strong, .language-toggle em { font-style: normal; font-weight: 600; color: var(--faint); }
[data-lang="th"] .language-toggle strong, [data-lang="en"] .language-toggle em { color: var(--cyan); }
.language-toggle span { color: var(--faint); }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 17px; }
.counter { display: flex; align-items: baseline; gap: 8px; color: var(--faint); font-size: 12px; letter-spacing: .12em; }
.counter strong { color: var(--white); font-size: 16px; }
.keyboard-hint { color: var(--faint); font-size: 11px; }
.progress { position: fixed; left: 0; bottom: 0; height: 3px; z-index: 30; width: 0; background: linear-gradient(90deg, var(--cyan), var(--aqua)); transition: width .45s var(--ease); }

.section-rail { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; align-items: center; }
.section-dot { width: 26px; height: 24px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; position: relative; }
.section-dot::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); transition: .25s ease; }
.section-dot:hover::after { background: var(--white); transform: scale(1.4); }
.section-dot.active::after { width: 20px; border-radius: 4px; background: var(--cyan); }

.stage-shell { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
.deck {
  position: absolute; left: 50%; top: 50%; width: var(--stage-width); height: var(--stage-height);
  container-type: size; transform: translate(-50%, -50%) scale(var(--stage-scale)); transform-origin: center center;
  will-change: transform;
}
.slide {
  --slide-pad-x: clamp(26px, 5.6cqw, 108px);
  --slide-pad-y: clamp(76px, 10cqh, 116px);
  position: absolute; inset: 0; width: 100%; max-width: 1760px; margin: auto;
  padding: var(--slide-pad-y) var(--slide-pad-x) 86px; display: flex; flex-direction: column; justify-content: safe center;
  opacity: 0; visibility: hidden; transform: translate3d(0, 24px, 0) scale(.992);
  transition: opacity .44s var(--ease), transform .44s var(--ease), visibility 0s linear .44s;
  overflow: hidden;
}
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .44s var(--ease), transform .44s var(--ease); }
.slide.active .reveal { animation: reveal .62s var(--ease) both; }
.slide.active .reveal:nth-child(2) { animation-delay: .06s; }
.slide.active .reveal:nth-child(3) { animation-delay: .12s; }
.slide.active .reveal:nth-child(4) { animation-delay: .18s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slide::after { content: attr(data-number); position: absolute; right: var(--slide-pad-x); top: 74px; font-size: clamp(70px, 10cqw, 150px); line-height: 1; font-weight: 700; letter-spacing: -.06em; color: rgba(255,255,255,.025); pointer-events: none; }

.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-size: clamp(14px, 1.05cqw, 17px); font-weight: 700; margin-bottom: clamp(18px, 2.6cqh, 28px); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { font-size: clamp(48px, 6.3cqw, 108px); line-height: .99; letter-spacing: -.052em; font-weight: 650; max-width: 1380px; }
h2 { font-size: clamp(36px, 4.5cqw, 76px); line-height: 1.08; letter-spacing: -.042em; font-weight: 620; max-width: 1390px; }
h3 { font-size: clamp(21px, 2cqw, 32px); line-height: 1.25; font-weight: 550; }
.accent { color: var(--cyan); }
.lime { color: var(--aqua); }
.amber { color: var(--amber); }
.muted { color: var(--muted); }
.subtitle { margin-top: clamp(24px, 3.2cqh, 40px); color: var(--muted); font-size: clamp(20px, 2.3cqw, 34px); line-height: 1.45; max-width: 1080px; }
.slide-title { margin-bottom: clamp(28px, 4.6cqh, 58px); }
.small-title { max-width: 1100px; }

/* Deep bottom padding lifts the title block clear of the QR card below it. */
.title-slide { justify-content: flex-end; padding-bottom: clamp(150px, 26cqh, 300px); }
.title-slide .title-kicker {
  position: absolute; top: 21%; right: 8%; width: clamp(180px, 24cqw, 380px); aspect-ratio: 1;
  border: 1px solid rgba(22,200,239,.24); border-radius: 50%;
  background:
    radial-gradient(circle, var(--cyan) 0 12px, rgba(22,200,239,.4) 13px, transparent 25px),
    radial-gradient(circle, transparent 0 34%, rgba(22,200,239,.13) 34.3%, transparent 34.8%),
    radial-gradient(circle, transparent 0 68%, rgba(99,230,208,.1) 68.3%, transparent 68.8%);
  box-shadow: inset 0 0 70px rgba(22,200,239,.045), 0 0 70px rgba(22,200,239,.035);
}
.title-slide .title-kicker::before, .title-slide .title-kicker::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(22,200,239,.68); opacity: 0; transform: translate(-50%, -50%) scale(.35);
  animation: radar-pulse 3.6s cubic-bezier(.2,.58,.28,1) infinite; animation-play-state: paused;
}
.title-slide .title-kicker::after { border-color: rgba(99,230,208,.6); animation-delay: 1.8s; }
.slide.active .title-kicker::before, .slide.active .title-kicker::after { animation-play-state: running; }
@keyframes radar-pulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
  12% { opacity: .72; }
  72% { opacity: .18; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(4.45); }
}
.title-slide .credit { margin-top: 34px; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--faint); }
.title-qr {
  position: absolute; right: 8%; bottom: 14%; z-index: 2; display: grid; grid-template-columns: 180px minmax(180px, max-content);
  gap: 20px; align-items: center; color: var(--white); text-decoration: none;
}
.title-qr-code {
  width: 180px; padding: 11px; display: block; background: var(--white); border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,.26); transform-origin: right bottom; cursor: zoom-in;
  transition: transform .38s var(--ease), box-shadow .38s ease;
}
/* height:auto is load-bearing — the <img> carries width/height attributes, and that
   presentational height would otherwise beat aspect-ratio and stretch the code. */
.title-qr img { width: 100%; height: auto; aspect-ratio: 1; display: block; border-radius: 8px; }
.title-qr-copy strong { display: block; color: var(--aqua); font-size: 14px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
/* The URL is the way in for anyone on a laptop, so it has to read from the back
   of the room — bright and large, not a caption under the code. */
.title-qr-copy small { display: block; margin-top: 10px; color: var(--white); font-size: clamp(18px, 1.9cqw, 29px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .title-qr-code:hover, .title-qr:focus-visible .title-qr-code {
    transform: scale(2.5); box-shadow: 0 34px 100px rgba(0,0,0,.48), 0 0 0 1px rgba(99,230,208,.34);
  }
}
.cover-capture .title-qr,
.cover-capture .chrome,
.cover-capture .progress { display: none; }
.cover-capture .stage-shell { border: 0; border-radius: 0; }

.two-column { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(44px, 7cqw, 120px); align-items: center; }
.statement-list { display: flex; flex-wrap: wrap; gap: 12px; max-width: 760px; }
.statement-list span { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: clamp(18px, 1.8cqw, 28px); }
.definition { border-left: 2px solid var(--cyan); padding-left: clamp(24px, 3cqw, 44px); }
.definition .label { color: var(--cyan); font-size: 12px; text-transform: uppercase; letter-spacing: .17em; font-weight: 700; margin-bottom: 18px; }
.definition blockquote { font-size: clamp(27px, 3cqw, 48px); line-height: 1.36; letter-spacing: -.02em; }

.shift-stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 3.5cqw, 64px); align-items: stretch; }
.shift-panel {
  padding: clamp(24px, 3cqw, 46px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.shift-panel .label { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 22px; }
.shift-panel blockquote { font-size: clamp(21px, 2.3cqw, 36px); line-height: 1.45; }
.shift-panel.target { border-color: rgba(22,200,239,.48); }
.shift-panel.target .label { color: var(--cyan); }
.shift-arrow { align-self: center; color: var(--cyan); font-size: clamp(28px, 3cqw, 50px); }
.big-shift {
  margin-top: clamp(34px, 5cqh, 64px); display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(24px, 3.5cqw, 64px); align-items: start;
  font-size: clamp(28px, 3.5cqw, 58px); line-height: 1.25; letter-spacing: -.035em; font-weight: 600;
}
.big-shift .muted { text-align: left; }
.big-shift .accent { justify-self: center; }
.big-shift .shift-outcome { text-align: left; }

.data-orbit { display: grid; grid-template-columns: 1fr minmax(260px, .72fr); gap: 7cqw; align-items: center; }
.data-cloud { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.data-cloud span { border: 1px solid var(--line); border-radius: 999px; padding: clamp(10px, 1.2cqw, 16px) clamp(16px, 1.8cqw, 28px); font-size: clamp(16px, 1.6cqw, 24px); background: rgba(255,255,255,.025); }
.data-cloud span:nth-child(3n+1) { color: var(--cyan-soft); border-color: rgba(22,200,239,.28); }

/* Today's scope — what AI already does vs. what this talk covers */
.scope-intro { margin-top: clamp(14px, 2cqh, 26px); color: var(--muted); font-size: clamp(15px, 1.4cqw, 21px); }
.scope-cloud { margin-top: clamp(14px, 2cqh, 22px); display: flex; flex-wrap: wrap; gap: clamp(9px, 1cqw, 14px); align-content: center; }
.scope-cloud > span {
  border: 1px solid var(--line); border-radius: 999px;
  padding: clamp(8px, 1cqw, 14px) clamp(14px, 1.6cqw, 24px);
  font-size: clamp(14px, 1.4cqw, 21px); color: var(--faint); background: rgba(255,255,255,.02);
}
.scope-cloud > span.focus {
  color: var(--ink); background: linear-gradient(90deg, var(--cyan) 0%, var(--aqua) 100%);
  border-color: transparent; font-weight: 600;
}
.scope-focus {
  /* the highlighted chips need room to breathe before the focus band */
  margin-top: clamp(38px, 7cqh, 86px); display: flex; align-items: center; gap: clamp(14px, 1.8cqw, 26px);
  flex-wrap: wrap; padding: clamp(14px, 1.8cqw, 24px) clamp(18px, 2.2cqw, 32px);
  border: 1px solid rgba(99,230,208,.32); border-radius: 20px; background: rgba(99,230,208,.06);
}
.scope-focus-label {
  flex-shrink: 0; color: var(--aqua); font-size: clamp(12px, 1.05cqw, 15px);
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.scope-focus-path { margin: 0; color: var(--white); font-size: clamp(16px, 1.7cqw, 26px); font-weight: 600; line-height: 1.45; }
.decision-callout { position: relative; padding: clamp(30px, 4cqw, 54px); border: 1px solid rgba(99,230,208,.36); background: rgba(99,230,208,.045); }
.decision-callout::before { content: ""; position: absolute; left: -7cqw; top: 50%; width: 7cqw; border-top: 1px solid rgba(99,230,208,.4); }
.decision-callout p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.decision-callout strong { font-size: clamp(28px, 3.2cqw, 50px); line-height: 1.3; font-weight: 560; }

.source-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3cqw, 52px); align-items: center; }
.sources-slide { padding-bottom: 120px; }
.source-block { min-height: 350px; padding: clamp(26px, 2.2cqw, 36px); border-top: 3px solid var(--cyan); background: linear-gradient(180deg, rgba(22,200,239,.08), transparent); }
.source-block.event { border-color: var(--aqua); background: linear-gradient(180deg, rgba(99,230,208,.07), transparent); }
.source-block .source-number { color: var(--faint); font-size: 12px; letter-spacing: .16em; margin-bottom: 14px; }
.source-block h3 { margin-bottom: 22px; }
.clean-list { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: clamp(15px, 1.3cqw, 20px); }
.clean-list li { padding-left: 17px; position: relative; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.source-link { color: var(--cyan); font-size: 30px; }

.matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix th { color: var(--white); font-size: clamp(17px, 1.7cqw, 27px); font-weight: 560; padding: 0 16px 18px; text-align: left; border-bottom: 1px solid rgba(22,200,239,.45); }
.matrix td { color: var(--muted); font-size: clamp(13px, 1.25cqw, 18px); line-height: 1.35; padding: 17px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.logic-line { margin-top: 34px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; color: var(--muted); font-size: clamp(17px, 1.7cqw, 26px); }
.logic-line b { color: var(--white); font-weight: 550; }
.logic-line i { color: var(--cyan); font-style: normal; }

.safety-question { max-width: 1170px; padding-left: clamp(24px, 4cqw, 60px); border-left: 4px solid var(--amber); font-size: clamp(30px, 4cqw, 68px); line-height: 1.17; letter-spacing: -.035em; }
.safety-options { margin-top: clamp(36px, 5cqh, 62px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1100px; }
.safety-option { padding: 22px 26px; border-top: 1px solid var(--line); }
.safety-option strong { display: block; color: var(--aqua); margin-bottom: 8px; font-size: 17px; }
.safety-option:last-child strong { color: var(--coral); }
.safety-option p { color: var(--muted); font-size: clamp(15px, 1.5cqw, 21px); }

.level-stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.1cqw, 18px); counter-reset: levels; }
.level { counter-increment: levels; position: relative; min-height: 310px; padding: 24px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.level::before { content: "0" counter(levels); color: var(--cyan); font-size: 11px; letter-spacing: .13em; margin-bottom: 34px; }
.level h3 { font-size: clamp(17px, 1.45cqw, 24px); margin-bottom: 16px; }
.level p { color: var(--muted); font-size: clamp(13px, 1.15cqw, 17px); line-height: 1.55; }
.level::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: linear-gradient(90deg,var(--cyan),var(--aqua)); transition: right .7s var(--ease); }
.slide.active .level::after { right: 0; }
.slide.active .level:nth-child(2)::after { transition-delay: .1s; }
.slide.active .level:nth-child(3)::after { transition-delay: .2s; }
.slide.active .level:nth-child(4)::after { transition-delay: .3s; }
.slide.active .level:nth-child(5)::after { transition-delay: .4s; }

.prompt-slide { justify-content: center; }
.prompt-layout { display: grid; grid-template-columns: minmax(280px, .38fr) minmax(520px, .62fr); gap: clamp(30px, 4.5cqw, 76px); align-items: start; width: 100%; }
.prompt-context { padding-top: 4px; }
.prompt-number { color: var(--cyan); text-transform: uppercase; font-size: clamp(14px, 1.05cqw, 17px); letter-spacing: .13em; font-weight: 700; margin-bottom: 18px; }
.prompt-context h2 { font-size: clamp(30px, 3.2cqw, 54px); line-height: 1.12; margin-bottom: clamp(22px, 3cqh, 34px); }
.context-line { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 16px; }
.context-line .mini-label { display: block; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.context-line p { color: var(--muted); font-size: clamp(16px, 1.45cqw, 22px); line-height: 1.45; }
.context-line.value p { color: var(--white); }
.file-list { color: var(--cyan-soft) !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px !important; }
.demo-cue { margin-top: 22px; color: var(--aqua); font-size: 15px; line-height: 1.4; display: flex; gap: 8px; align-items: center; }
.demo-cue::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 13px rgba(99,230,208,.7); }
.prompt-card { position: relative; background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(28px, 3cqw, 46px); min-height: min(66cqh, 680px); max-height: 72cqh; display: flex; flex-direction: column; box-shadow: 0 32px 100px rgba(0,0,0,.22); overflow: hidden; }
.prompt-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--cyan), var(--aqua)); }
.prompt-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(5,8,46,.12); }
.prompt-card-head > span { color: rgba(5,8,46,.55); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; }
.prompt-actions { display: flex; gap: 8px; }
.prompt-button { border: 1px solid rgba(5,8,46,.16); border-radius: 999px; background: transparent; color: var(--ink); padding: 12px 24px; font-size: clamp(12px, .8cqw, 17px); font-weight: 600; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .05s linear; }
.prompt-button:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.prompt-text { white-space: pre-wrap; overflow: hidden; font: 500 19.5px/1.52 var(--font); letter-spacing: -.005em; flex: 1; }
.prompt-text.compact { font-size: 16.5px; line-height: 1.44; }

.question-break { align-items: center; text-align: center; }
.question-break::before { content: ""; position: absolute; width: min(66cqw, 1000px); aspect-ratio: 1; border: 1px solid rgba(22,200,239,.14); border-radius: 50%; }
.question-break .prompt-number { position: relative; }
.question-break h2 { position: relative; font-size: clamp(36px, 5.5cqw, 90px); max-width: 1200px; }
.question-break .question-prompt { position: relative; margin-top: clamp(32px, 5cqh, 68px); padding: 26px 42px; border-top: 1px solid var(--cyan); border-bottom: 1px solid var(--cyan); font-size: clamp(22px, 2.7cqw, 44px); line-height: 1.45; }
.question-break .prompt-actions { position: relative; margin-top: 24px; }
.question-break .prompt-button { color: var(--white); border-color: var(--line); }
.question-break .prompt-button:hover { background: var(--white); color: var(--ink); }

.aegis-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.aegis-identity h3 { font-weight: 400; color: var(--faint); }
.aegis-mark { width: min(620px, 46cqw); display: block; }
.aegis-cta { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: clamp(26px, 3.2cqh, 40px); padding: 13px 28px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--aqua)); color: var(--ink); font-size: clamp(14px, .95cqw, 18px); font-weight: 700; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.aegis-cta:hover { box-shadow: 0 10px 32px rgba(99,230,208,.35); transform: translateY(-2px); }
.aegis-cta .arr { transition: transform .2s ease; }
.aegis-cta:hover .arr { transform: translateX(3px); }
.aegis-path { margin-top: clamp(120px, 13cqh, 160px); display: flex; align-items: center; gap: 18px; font-size: clamp(22px, 2.6cqw, 42px); flex-wrap: wrap; }
.aegis-path i { color: var(--cyan); font-style: normal; }
.governance-list { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 28px; max-width: 1120px; color: var(--muted); font-size: clamp(14px, 1.3cqw, 19px); }
.governance-list p { border-top: 1px solid var(--line); padding-top: 12px; }

.app-blueprint { display: grid; grid-template-columns: minmax(420px, .92fr) minmax(420px, 1.08fr); gap: 6cqw; align-items: center; }
.app-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.app-fields span { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: clamp(14px, 1.3cqw, 19px); }
.app-note { margin-top: 26px; color: var(--aqua); font-size: clamp(17px, 1.8cqw, 27px); }
.app-frame { min-height: 480px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.04); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.app-frame-bar { height: 44px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 16px; gap: 6px; }
.app-frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.mock-dashboard { padding: 22px; }
.mock-dashboard .mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mock-dashboard strong { font-size: 20px; }
.mock-dashboard .kpi { color: var(--aqua); font-size: 12px; }
.mock-row { display: grid; grid-template-columns: 1.2fr .8fr .55fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.mock-row b { color: var(--white); font-weight: 550; }
.mock-row em { color: var(--cyan-soft); font-style: normal; }

.payoff { align-items: center; text-align: center; }
.payoff h2 { font-size: clamp(32px, 4.6cqw, 72px); }
.payoff-flow { margin-top: clamp(30px, 4cqh, 52px); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; max-width: 1500px; }
.payoff-step { font-size: clamp(15px, 1.55cqw, 24px); font-weight: 540; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.payoff-step.key { color: var(--aqua); border-color: var(--aqua); }
.payoff-arrow { color: var(--cyan); }

.takeaway-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.takeaway-item { padding: 22px 18px; border-top: 2px solid var(--cyan); background: linear-gradient(180deg, rgba(22,200,239,.06), transparent); }
.takeaway-item:nth-child(even) { border-color: var(--aqua); background: linear-gradient(180deg, rgba(99,230,208,.045), transparent); }
.takeaway-item strong { display: block; color: var(--faint); font-size: 11px; letter-spacing: .12em; margin-bottom: 18px; }
.takeaway-item h3 { font-size: clamp(16px, 1.5cqw, 24px); margin-bottom: 12px; }
.takeaway-item p { color: var(--muted); font-size: clamp(12px, 1.08cqw, 16px); line-height: 1.5; }
.governance-formula { margin-top: 36px; color: var(--muted); font-size: clamp(18px, 2cqw, 31px); }
.governance-formula b { color: var(--white); }

.three-questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6cqw, 40px); counter-reset: q; }
.question-card { counter-increment: q; padding-top: 20px; border-top: 1px solid var(--line); }
.question-card::before { content: "0" counter(q); display: block; color: var(--cyan); font-size: 11px; letter-spacing: .14em; margin-bottom: 24px; }
.question-card h3 { margin-bottom: 16px; }
.question-card p { color: var(--muted); line-height: 1.55; font-size: clamp(14px, 1.35cqw, 19px); }
.formula { margin-top: clamp(36px, 5cqh, 64px); font-size: clamp(24px, 2.8cqw, 44px); color: var(--muted); }
.formula b { color: var(--white); font-weight: 560; }
.formula i { color: var(--cyan); font-style: normal; }

.closing { align-items: center; text-align: center; }
.closing h2 { max-width: 1300px; }
.closing-ladder { margin-top: clamp(35px, 5cqh, 66px); display: flex; align-items: center; gap: clamp(12px, 2cqw, 30px); flex-wrap: wrap; justify-content: center; }
.closing-step { min-width: 180px; }
.closing-step strong { display: block; color: var(--cyan); font-size: clamp(16px, 1.6cqw, 24px); margin-bottom: 8px; }
.closing-step span { color: var(--muted); font-size: clamp(13px, 1.1cqw, 16px); }
.closing-arrow { color: var(--faint); }

/* Thank-you / Q&A slide */
.thanks-slide { align-items: center; text-align: center; justify-content: center; }
.thanks-hero {
  margin-top: clamp(6px, 1cqh, 14px); font-size: clamp(64px, 9.5cqw, 148px); line-height: 1;
  letter-spacing: -.03em; color: var(--white);
}
.thanks-lead { margin-top: clamp(12px, 1.8cqh, 22px); color: var(--muted); font-size: clamp(15px, 1.35cqw, 21px); line-height: 1.7; }
.thanks-qr {
  margin-top: clamp(26px, 4cqh, 54px); display: inline-flex; align-items: center; gap: clamp(20px, 2.6cqw, 38px);
  padding: clamp(16px, 1.8cqw, 26px) clamp(26px, 3cqw, 44px) clamp(16px, 1.8cqw, 26px) clamp(16px, 1.8cqw, 26px);
  border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 255, 255, .05);
  color: var(--white); text-decoration: none; text-align: left;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.thanks-qr-code { width: clamp(170px, 17cqw, 258px); padding: clamp(10px, 1cqw, 14px); display: block; background: var(--white); border-radius: 18px; }
.thanks-qr-code img { width: 100%; height: auto; aspect-ratio: 1; display: block; image-rendering: crisp-edges; }
.thanks-qr-copy strong { display: block; color: var(--aqua); font-size: clamp(14px, 1.25cqw, 19px); letter-spacing: .12em; text-transform: uppercase; }
.thanks-qr-name { display: block; margin-top: 12px; font-size: clamp(20px, 2cqw, 32px); font-weight: 600; }
.thanks-qr-copy small { display: block; margin-top: 8px; color: var(--faint); font-size: clamp(14px, 1.25cqw, 19px); letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) {
  .thanks-qr:hover, .thanks-qr:focus-visible { border-color: rgba(99, 230, 208, .45); background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .thanks-qr { transition: none; } }
.thanks { margin-top: 44px; color: var(--faint); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; }

.prompt-dialog {
  --dialog-from-x: 0px; --dialog-from-y: 0px;
  width: min(1040px, calc(100vw - 48px)); max-height: calc(100vh - 48px); margin: auto;
  border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #f8f8f4; color: var(--ink);
  box-shadow: 0 30px 120px rgba(0,0,0,.55); padding: 0; overflow: auto;
}
.prompt-dialog[open] { animation: prompt-dialog-zoom .42s var(--ease) both; }
.prompt-dialog::backdrop { background: rgba(2,4,28,.82); backdrop-filter: blur(8px); }
.prompt-dialog[open]::backdrop { animation: prompt-backdrop-in .32s ease-out both; }
@keyframes prompt-dialog-zoom {
  from { opacity: 0; transform: translate(var(--dialog-from-x), var(--dialog-from-y)) scale(.46); }
  to { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes prompt-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
/* close: zoom back to the card it came from */
.prompt-dialog.closing { animation: prompt-dialog-out .3s var(--ease) both; }
.prompt-dialog.closing::backdrop { animation: prompt-backdrop-out .3s ease-out both; }
@keyframes prompt-dialog-out {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to { opacity: 0; transform: translate(var(--dialog-from-x), var(--dialog-from-y)) scale(.46); }
}
@keyframes prompt-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
/* typing caret while the prompt types itself in */
.prompt-dialog pre.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: var(--ink); animation: prompt-caret .8s steps(1) infinite; }
@keyframes prompt-caret { 50% { opacity: 0; } }
.dialog-head { position: sticky; top: 0; background: #f8f8f4; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(5,8,46,.12); }
.dialog-label { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.dialog-actions { display: flex; gap: 8px; }
.dialog-actions .control { background: transparent; border-color: rgba(5,8,46,.16); color: var(--ink); backdrop-filter: none; }
.dialog-copy { padding: 0 16px; }
.prompt-dialog pre { padding: clamp(24px, 4vw, 52px); white-space: pre-wrap; font: 500 clamp(16px, 1.8vw, 24px)/1.6 var(--font); }
.copy-toast { position: fixed; z-index: 50; left: 50%; bottom: 86px; transform: translate(-50%, 14px); background: var(--aqua); color: var(--ink); border-radius: 999px; padding: 10px 18px; font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s ease; }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 761px) {
  .sources-slide h2 { max-width: 1600px; font-size: clamp(36px, 4.1cqw, 72px); }
}

@media (max-width: 1020px) {
  :root { --chrome-pad-x: clamp(24px, 4.8vw, 58px); }
  .section-rail { display: none; }
}

@media (max-width: 760px) {
  body { overflow: hidden; }
  .stage-shell { display: block; overflow: visible; }
  .deck { position: fixed; inset: 0; width: auto; height: auto; transform: none; container-type: normal; will-change: auto; }
  .chrome-top { height: 64px; }
  .chrome-bottom { height: 64px; }
  .keyboard-hint { display: none; }
  .slide { justify-content: flex-start; padding-top: 88px; padding-bottom: 82px; overflow-y: auto; }
  .slide::after { display: none; }
  h1 { font-size: clamp(42px, 14vw, 66px); }
  h2 { font-size: clamp(32px, 9vw, 46px); }
  .title-slide { justify-content: center; }
  .title-slide .title-kicker { right: 0; top: 10%; width: 66vw; opacity: .5; }
  .title-qr { position: relative; right: auto; bottom: auto; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; width: 100%; margin-top: 30px; align-self: flex-start; }
  .title-qr-code { width: 104px; padding: 8px; border-radius: 14px; }
  .two-column, .data-orbit, .app-blueprint { grid-template-columns: 1fr; gap: 36px; }
  .shift-stage { grid-template-columns: 1fr; gap: 12px; }
  .shift-arrow { transform: rotate(90deg); justify-self: center; }
  .big-shift { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .big-shift .muted, .big-shift .shift-outcome { text-align: center; }
  .big-shift .accent { transform: rotate(90deg); }
  .decision-callout::before { display: none; }
  .source-pair { grid-template-columns: 1fr; gap: 16px; }
  .source-link { transform: rotate(90deg); justify-self: center; }
  .source-block { min-height: 0; }
  .matrix-wrap { overflow-x: auto; padding-bottom: 12px; }
  .matrix { min-width: 720px; }
  .safety-options { grid-template-columns: 1fr; }
  .level-stack, .takeaway-grid { grid-template-columns: 1fr; }
  .level { min-height: 0; }
  .prompt-layout { grid-template-columns: 1fr; }
  .prompt-context h2 { margin-bottom: 18px; }
  .prompt-card { min-height: 0; max-height: none; }
  .prompt-text, .prompt-text.compact { font-size: 14px; overflow: visible; }
  .aegis-mark { width: min(86vw, 480px); }
  .governance-list, .three-questions { grid-template-columns: 1fr; }
  .app-frame { min-height: 380px; }
  .question-break { justify-content: center; }
  .question-break .question-prompt { padding-inline: 0; }
  .payoff-flow { flex-direction: column; }
  .payoff-arrow { transform: rotate(90deg); }
  .closing-ladder { flex-direction: column; }
  .closing-arrow { transform: rotate(90deg); }
  .prompt-dialog { width: calc(100vw - 24px); }
}

@media (max-height: 560px) and (min-width: 761px) {
  .chrome-top, .chrome-bottom { height: 54px; }
  .language-toggle { height: 34px; min-width: 80px; }
  .icon-button { width: 34px; height: 34px; }
  .nav-button { width: 38px; height: 38px; }
  .keyboard-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
