:root {
  --ink: #071a2b;
  --navy: #08243b;
  --navy-2: #0b3552;
  --cyan: #19c6d1;
  --cyan-soft: #7ce4e8;
  --amber: #ffad33;
  --red: #ef4b5a;
  --green: #17b77a;
  --paper: #f5f9fb;
  --white: #ffffff;
  --muted: #587184;
  --line: #cfdee6;
  --shadow: 0 24px 70px rgba(4, 25, 43, .16);
  --stage-w: 1920px;
  --stage-h: 1080px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: #020a10;
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
.app { width: 100%; height: 100%; position: relative; overflow: hidden; }
.viewport {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--stage-w);
  height: var(--stage-h);
  transform-origin: center center;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0, 0, 0, .65);
}
.deck, .slide { position: absolute; inset: 0; }
.slide {
  display: none;
  width: 1920px;
  height: 1080px;
  padding: 76px 112px 122px;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}
.slide.active {
  display: block;
  animation: slideIn .48s cubic-bezier(.22, .8, .2, 1) both;
}
.slide.dark { color: white; background: var(--ink); }
.slide.light { color: var(--ink); background: var(--paper); }
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(10, 53, 82, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 53, 82, .035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.slide.dark::before {
  background:
    radial-gradient(circle at 78% 20%, rgba(25, 198, 209, .12), transparent 30%),
    linear-gradient(rgba(124, 228, 232, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 228, 232, .035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}
#ambient {
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  mix-blend-mode: screen;
}
.viewport.has-ambient #ambient { opacity: .28; }

@keyframes slideIn {
  from { opacity: 0; transform: translate3d(26px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseLine { 50% { opacity: .38; } }

h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h2 { margin-bottom: 28px; font-size: 68px; line-height: 1.02; font-weight: 760; }
h3 { font-size: 34px; line-height: 1.12; }
p { font-size: 28px; line-height: 1.42; }
.title-claim { max-width: 1640px; margin: 14px 0 52px; font-size: 66px; }
.lead { font-size: 31px; line-height: 1.4; }
.muted-light { color: #aac3d1; }
.cyan-ink { color: #078f9a; }
.red-ink { color: var(--red); }
.amber-ink { color: #d27b00; }
.green-ink { color: #008e5b; }
.cyan { color: var(--cyan); }
.coral { color: #ff7a86; }
.overline, .kicker, .section-label {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.slide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}
.compact-head { margin-bottom: 12px; }
.section-label { color: var(--cyan-soft); }
.dark-label { color: #1c5978; }
.chapter-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #93acbb;
}
.chapter-code.ink { color: #7490a3; }

/* Shared brand footer */
.brand-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  z-index: 14;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 9px 42px 9px 54px;
  background: rgba(5, 25, 42, .97);
  border-top: 1px solid rgba(124, 228, 232, .2);
}
.footer-brand { display: flex; align-items: center; justify-content: center; height: 52px; }
.footer-snp { width: 240px; padding: 8px 18px; background: white; border-radius: 8px; }
.footer-snp img { display: block; width: 100%; height: 36px; object-fit: contain; }
.footer-onex { width: 126px; padding: 7px 14px; background: #020c14; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; }
.footer-onex img { display: block; width: 100%; height: 38px; object-fit: contain; }
.footer-topic { flex: 1; color: #aac0ce; font-size: 16px; font-weight: 700; letter-spacing: .12em; }
.footer-number { min-width: 50px; color: white; text-align: right; font-size: 20px; font-weight: 800; }

/* Cover */
.hero-slide { padding: 0; color: white; background: var(--ink); }
.hero-slide::before { display: none; }
.hero-image {
  position: absolute;
  inset: 0;
  background: url("assets/images/hero-smart-port.png") center center / cover no-repeat;
  transform: scale(1.01);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 31, .97) 0%, rgba(3, 18, 31, .83) 35%, rgba(3, 18, 31, .25) 68%, rgba(3, 18, 31, .12) 100%),
    linear-gradient(0deg, rgba(3, 18, 31, .88) 0%, transparent 42%);
}
.hero-copy { position: absolute; left: 112px; top: 132px; z-index: 3; width: 1030px; }
.kicker.light { color: #b8dce4; }
.hero-copy h1 { margin: 52px 0 24px; font-size: 95px; line-height: .96; font-weight: 790; }
.hero-copy h1 span { color: var(--cyan-soft); }
.hero-sub { margin: 0; font-size: 37px; color: #d8e9ee; }
.speaker-line { display: flex; align-items: baseline; gap: 24px; margin-top: 54px; font-size: 24px; }
.speaker-line strong { font-size: 29px; }
.speaker-line span { color: #9fb8c6; }
.cover-brands {
  position: absolute;
  z-index: 5;
  left: 112px;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cover-brand { display: flex; align-items: center; justify-content: center; border-radius: 12px; height: 78px; }
.cover-brand img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cover-brand.snp-card { width: 344px; padding: 13px 24px; background: rgba(255, 255, 255, .96); }
.cover-brand.onex-card { width: 184px; padding: 10px 21px; background: rgba(2, 11, 18, .95); border: 1px solid rgba(255,255,255,.2); }
.brand-connector { width: 70px; height: 1px; background: rgba(124,228,232,.45); position: relative; }
.brand-connector span { position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }

/* Question */
.question-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; align-items: center; min-height: 710px; }
.question-layout h2 { font-size: 70px; line-height: 1.02; }
.question-layout h2 em { color: var(--cyan-soft); font-style: normal; }
.email-card {
  margin: 0;
  padding: 54px 58px 50px;
  background: #f7fbfd;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, .28);
  transform: rotate(-1.2deg);
  position: relative;
}
.mail-top { display: block; padding-bottom: 24px; border-bottom: 2px solid #dce7ed; font-size: 20px; color: #60798a; letter-spacing: .08em; }
.mail-top b { color: #0b6483; margin-right: 16px; }
.email-card p { margin: 34px 0 42px; font-size: 32px; line-height: 1.45; font-weight: 610; }
.mail-status { display: inline-block; padding: 11px 16px; background: #e9f2f5; border-radius: 6px; font-size: 16px; font-weight: 800; letter-spacing: .08em; }
.audience-prompt { position: absolute; left: 112px; bottom: 114px; font-size: 22px; letter-spacing: .1em; color: #92aab8; }
.audience-prompt strong { color: white; }

/* Error stack */
.error-stack { display: flex; flex-direction: column; gap: 17px; margin-top: 18px; }
.error-line {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  min-height: 144px;
  padding: 24px 30px;
  background: white;
  border-left: 6px solid #d5e3e9;
  box-shadow: 0 10px 30px rgba(14, 43, 61, .08);
}
.error-no { font-size: 30px; font-weight: 800; color: #7a94a5; }
.error-line strong { display: block; font-size: 34px; margin-bottom: 3px; }
.error-line p { margin: 0; font-size: 23px; color: var(--muted); }
.error-tag { padding: 13px 17px; border-radius: 4px; font-size: 17px; font-weight: 850; letter-spacing: .08em; }
.error-tag.red { background: #fff0f2; color: #c72b3b; }
.error-tag.amber { background: #fff6e8; color: #a75e00; }
.error-tag.navy { background: #eaf2f7; color: #0b4a69; }
.bottom-thesis { margin: 28px 0 0; font-size: 24px; font-weight: 730; color: #395a70; }

/* Manifesto */
.manifesto { padding: 110px 120px 136px; }
.manifesto-mark {
  position: absolute;
  right: 80px;
  top: 104px;
  font-size: 180px;
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.07em;
  color: rgba(124, 228, 232, .07);
  text-align: right;
}
.manifesto-copy { position: relative; z-index: 2; width: 1220px; }
.manifesto-copy h2 { margin: 45px 0 42px; font-size: 94px; line-height: .98; }
.manifesto-copy h2 span { color: var(--cyan-soft); }
.manifesto-rule { width: 230px; height: 5px; background: var(--amber); margin-bottom: 32px; }
.manifesto-copy > p:last-child { color: #abc2cf; font-size: 28px; }

/* 4 questions */
.four-questions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; min-height: 500px; align-items: stretch; }
.question-block { position: relative; padding: 40px 30px 32px; background: white; border-top: 8px solid #b8cbd5; box-shadow: var(--shadow); }
.question-block b { display: block; margin-bottom: 92px; font-size: 22px; color: #8198a7; }
.question-block span { font-size: 18px; font-weight: 850; letter-spacing: .14em; color: #138a97; }
.question-block h3 { margin: 18px 0 0; font-size: 36px; line-height: 1.12; }
.q2 { transform: translateY(22px); border-color: var(--cyan); }
.q3 { transform: translateY(44px); border-color: var(--amber); }
.q4 { transform: translateY(66px); border-color: var(--red); }
.model-line { margin: 62px auto 0; text-align: center; font-size: 18px; font-weight: 850; letter-spacing: .09em; color: #44677c; }
.model-line i { color: var(--cyan); margin: 0 16px; font-style: normal; }

/* split */
.split-slide { padding: 0 0 72px; display: none; grid-template-columns: 1fr 1fr; }
.split-slide.active { display: grid; }
.split-half { padding: 118px 92px 128px 112px; }
.split-half h2 { margin: 52px 0 70px; font-size: 76px; color: white; }
.split-half h2 span { color: var(--cyan-soft); }
.value-side { background: #092940; }
.authority-side { background: #f4f7f8; color: var(--ink); }
.authority-side h2 { color: var(--ink); }
.authority-side h2 span { color: var(--red); }
.big-list { list-style: none; margin: 0; padding: 0; }
.big-list li { position: relative; padding: 22px 0 22px 50px; border-top: 1px solid rgba(255,255,255,.18); color: #d3e4ea; font-size: 27px; }
.big-list li::before { content: "+"; position: absolute; left: 0; color: var(--cyan); font-size: 34px; top: 14px; }
.danger-list li { color: #35566b; border-color: #d5e1e7; }
.danger-list li::before { content: "×"; color: var(--red); }

/* tool route */
.tool-route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; padding-top: 42px; }
.tool-route::before { content: ""; position: absolute; left: 4%; right: 4%; top: 82px; height: 4px; background: linear-gradient(90deg, #91cfd4, var(--cyan), var(--amber)); }
.tool-stop { position: relative; padding: 86px 26px 30px; min-height: 430px; background: white; box-shadow: 0 18px 48px rgba(8, 35, 57, .1); }
.tool-index { position: absolute; left: 28px; top: 18px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: white; font-size: 19px; font-weight: 850; box-shadow: 0 0 0 10px var(--paper); }
.tool-stop h3 { margin: 12px 0 26px; font-size: 42px; }
.tool-stop p { font-size: 25px; color: #547083; }
.tool-stop b { display: block; margin-top: 28px; padding-top: 22px; border-top: 2px solid #dce8ed; color: #0b6483; font-size: 20px; line-height: 1.4; }
.agent-stop { background: var(--ink); color: white; transform: translateY(-12px); }
.agent-stop .tool-index { background: var(--amber); color: var(--ink); }
.agent-stop p { color: #afc5d1; }
.agent-stop b { color: var(--cyan-soft); border-color: #24485f; }
.tool-rule { margin: 38px 0 0; text-align: center; font-size: 24px; font-weight: 760; color: #355a6e; }

/* chapters and risks */
.chapter-slide { padding: 126px 118px; }
.chapter-number { position: absolute; right: 92px; top: 66px; font-size: 430px; line-height: 1; font-weight: 900; letter-spacing: -.1em; color: rgba(239, 75, 90, .12); }
.chapter-copy { position: absolute; left: 120px; top: 230px; z-index: 3; }
.chapter-copy h2 { margin: 45px 0 34px; font-size: 96px; }
.chapter-copy h2 span { color: #ff8c96; }
.chapter-copy > p:last-child { color: #a9bfcc; font-size: 30px; }
.risk-radar { position: absolute; right: 230px; bottom: 140px; width: 380px; height: 380px; border: 2px solid rgba(239,75,90,.2); border-radius: 50%; }
.risk-radar i { position: absolute; inset: 18%; border: 2px solid rgba(239,75,90,.16); border-radius: 50%; }
.risk-radar i:nth-child(2) { inset: 36%; }
.risk-radar i:nth-child(3) { inset: 49%; background: var(--red); box-shadow: 0 0 35px rgba(239,75,90,.7); }
.risk-radar b { position: absolute; left: 50%; top: 50%; width: 47%; height: 2px; background: linear-gradient(90deg, var(--red), transparent); transform-origin: left; transform: rotate(-38deg); animation: pulseLine 1.8s infinite; }
.risk-chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.08fr; gap: 14px; align-items: center; margin-top: 78px; }
.risk-item { min-height: 330px; padding: 30px 25px; background: white; border-top: 7px solid #bdd0d9; box-shadow: 0 14px 38px rgba(8,35,57,.09); }
.risk-item b { color: #6d899a; font-size: 19px; }
.risk-item h3 { margin: 82px 0 18px; font-size: 34px; }
.risk-item p { font-size: 21px; color: var(--muted); }
.agent-risk { background: var(--ink); color: white; border-color: var(--red); }
.agent-risk p { color: #a8bfcc; }
.chain-arrow { font-size: 40px; color: #4a7188; }
.risk-consequence { margin-top: 48px; text-align: center; color: #49687a; font-size: 25px; }

/* Shadow AI */
.boundary-map { position: absolute; right: 105px; top: 170px; width: 920px; height: 580px; }
.safe-zone { position: absolute; inset: 40px 250px 40px 0; padding: 36px; border: 2px dashed rgba(124,228,232,.45); border-radius: 24px; }
.safe-zone > span { font-size: 17px; font-weight: 850; letter-spacing: .14em; color: var(--cyan-soft); }
.safe-path { display: flex; flex-direction: column; gap: 18px; margin-top: 60px; }
.safe-path b, .safe-path i { display: block; padding: 18px 22px; background: rgba(255,255,255,.06); border-left: 4px solid var(--cyan); font-size: 24px; font-style: normal; }
.safe-path i { color: #a9c3d0; border-color: #447087; }
.escape-path { position: absolute; right: 0; top: 160px; display: flex; align-items: center; gap: 18px; }
.escape-path p { font-size: 19px; color: #aec3ce; width: 90px; }
.escape-path strong { color: var(--red); font-size: 48px; }
.escape-dot { width: 18px; height: 18px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 12px rgba(239,75,90,.12); }
.personal-cloud { display: grid; place-items: center; width: 200px; height: 150px; border: 2px solid var(--red); border-radius: 80px; color: #ff9aa3; font-weight: 850; letter-spacing: .08em; text-align: center; }
.boundary-title { position: absolute; left: 112px; top: 238px; width: 720px; font-size: 66px; }
.boundary-title span { color: #ff8792; }
.bottom-question { position: absolute; left: 112px; bottom: 122px; font-size: 25px; color: #a4bdca; }

/* Data depth */
.data-depth { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 0; height: 500px; padding: 0 20px; }
.depth-level { padding: 32px 28px; color: white; position: relative; box-shadow: 0 -15px 45px rgba(7,26,43,.12); }
.depth-level > span { position: absolute; right: 20px; top: 14px; font-size: 60px; font-weight: 850; opacity: .1; }
.depth-level h3 { margin: 0 0 18px; font-size: 35px; }
.depth-level p { margin: 0; font-size: 21px; color: rgba(255,255,255,.82); }
.depth-level.public { height: 220px; background: #1aa987; }
.depth-level.internal { height: 300px; background: #147a9e; }
.depth-level.confidential { height: 390px; background: #d88816; }
.depth-level.critical { height: 480px; background: #c43b4b; }
.source-question { margin: 30px 0 0; text-align: center; font-size: 25px; color: #446477; }

/* Hallucination */
.hallucination-copy { margin-top: 140px; }
.hallucination-copy h2 { margin-top: 42px; font-size: 88px; }
.hallucination-copy h2 span { color: var(--cyan-soft); }
.invented-strip { display: flex; gap: 14px; margin-top: 70px; }
.invented-strip span { padding: 22px 28px; border: 1px solid rgba(239,75,90,.55); color: #ff929d; font-size: 28px; font-weight: 760; background: rgba(239,75,90,.08); }
.safe-sentence { position: absolute; right: 112px; bottom: 150px; font-size: 28px; color: #afc7d2; }
.safe-sentence strong { color: var(--amber); }

/* Injection */
.injection-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 110px; align-items: center; min-height: 760px; }
.injection-layout h2 { font-size: 72px; }
.injection-rule { display: inline-block; margin-top: 35px; padding: 18px 24px; border-left: 6px solid var(--red); background: #fff0f2; color: #a42b39; font-size: 24px; font-weight: 780; }
.document-sheet { position: relative; min-height: 590px; padding: 60px 54px; background: white; box-shadow: var(--shadow); transform: rotate(1deg); }
.doc-line { height: 12px; margin: 14px 0; background: #dbe6eb; border-radius: 4px; }
.w90{width:90%}.w75{width:75%}.w82{width:82%}.w64{width:64%}.w88{width:88%}
.document-sheet blockquote { margin: 65px 0; padding: 28px; border-left: 7px solid var(--red); background: #fff2f3; color: #9a2533; font-size: 27px; line-height: 1.42; font-weight: 700; }
.doc-stamp { position: absolute; right: 30px; bottom: 45px; padding: 13px 20px; border: 4px solid var(--red); color: var(--red); font-size: 18px; font-weight: 900; letter-spacing: .13em; transform: rotate(-7deg); }

/* Agent escalation */
.agent-risk-title { margin-top: 86px; font-size: 78px; }
.agent-risk-title span { color: #a9c4d1; }
.agent-risk-title em { color: #ff8792; font-style: normal; }
.escalation-path { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: center; gap: 20px; margin-top: 80px; }
.escalation-path article { min-height: 230px; padding: 30px; border-top: 5px solid #3d7189; background: rgba(255,255,255,.055); }
.escalation-path article b { color: var(--cyan-soft); font-size: 20px; }
.escalation-path article p { margin: 72px 0 0; font-size: 29px; font-weight: 700; }
.escalation-path > i { color: #6e97a9; font-size: 45px; font-style: normal; }
.escalation-path .danger-step { border-color: var(--red); background: rgba(239,75,90,.12); }
.escalation-path .danger-step b, .escalation-path .danger-step p { color: #ff9ba4; }
.agent-warning { margin-top: 52px; padding: 22px; border: 1px solid rgba(255,173,51,.4); color: #ffd08a; text-align: center; font-size: 25px; }

/* Photo sections */
.photo-slide { padding: 0 0 72px; color: white; background: var(--ink); }
.photo-slide::before { display: none; }
.photo-bg { position: absolute; inset: 0 0 72px; background-position: center; background-size: cover; }
.dock-photo .photo-bg { background-image: url("assets/images/dock-red-yellow-green.png"); }
.case-photo .photo-bg { background-image: url("assets/images/case-study-team.png"); }
.photo-overlay { position: absolute; inset: 0 0 72px; background: linear-gradient(90deg, rgba(3,17,29,.93), rgba(3,17,29,.55) 48%, rgba(3,17,29,.1)); }
.photo-overlay.right-shade { background: linear-gradient(90deg, rgba(3,17,29,.06), rgba(3,17,29,.45) 53%, rgba(3,17,29,.96) 100%); }
.photo-copy { position: absolute; z-index: 3; top: 230px; width: 780px; }
.photo-copy.left { left: 120px; }
.photo-copy.right { right: 112px; text-align: right; }
.photo-copy h2 { margin: 38px 0 28px; font-size: 88px; }
.photo-copy h2 span { color: var(--cyan-soft); }
.photo-copy p:last-child { font-size: 29px; color: #c4d8df; }
.lane-legend { position: absolute; z-index: 4; right: 80px; bottom: 140px; display: flex; gap: 12px; }
.lane { min-width: 170px; padding: 16px 20px; background: rgba(5,22,36,.88); border-top: 5px solid; color: #cbdde3; font-size: 18px; }
.lane b { display: block; margin-bottom: 7px; font-size: 23px; color: white; }
.red-lane{border-color:var(--red)}.amber-lane{border-color:var(--amber)}.green-lane{border-color:var(--cyan)}
.case-badge { position: absolute; right: 112px; bottom: 128px; z-index: 3; padding: 14px 20px; background: rgba(255,173,51,.95); color: var(--ink); font-size: 17px; font-weight: 850; letter-spacing: .08em; }

/* Scenario activity */
.activity-instruction { margin: -22px 0 30px; color: #526f80; font-size: 25px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scenario {
  position: relative;
  min-height: 190px;
  padding: 28px 25px;
  border: 0;
  border-left: 6px solid #aec3cd;
  background: white;
  text-align: left;
  box-shadow: 0 12px 32px rgba(7,26,43,.09);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.scenario:hover { transform: translateY(-4px); }
.scenario:focus-visible, .action-btn:focus-visible, .hud-btn:focus-visible {
  outline: 3px solid rgba(25, 198, 209, .72);
  outline-offset: 3px;
}
.scenario > span { display: block; color: #7892a1; font-size: 18px; font-weight: 850; }
.scenario strong { display: block; margin-top: 31px; font-size: 28px; }
.scenario em { display: none; margin-top: 14px; font-size: 18px; font-weight: 850; font-style: normal; letter-spacing: .06em; }
.scenario.revealed em { display: block; }
.scenario.revealed[data-answer="red"] { border-color: var(--red); background: #fff2f3; }.scenario.revealed[data-answer="red"] em{color:#bd2a39}
.scenario.revealed[data-answer="yellow"] { border-color: var(--amber); background: #fff7e9; }.scenario.revealed[data-answer="yellow"] em{color:#9d5b00}
.scenario.revealed[data-answer="green"] { border-color: var(--green); background: #edfaf5; }.scenario.revealed[data-answer="green"] em{color:#087d53}
.activity-footer { margin-top: 28px; font-size: 24px; color: #4a687a; }

/* Clean room */
.cleanroom-slide h2 { margin-top: 88px; font-size: 74px; }
.cleanroom-slide h2 span { color: var(--cyan-soft); }
.cleanroom-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.25fr; align-items: center; gap: 15px; margin-top: 92px; }
.cleanroom-flow article { min-height: 265px; padding: 30px 24px; background: rgba(255,255,255,.055); border-top: 5px solid #3e7188; }
.cleanroom-flow article b { font-size: 20px; color: var(--cyan-soft); }
.cleanroom-flow article h3 { margin: 92px 0 8px; font-size: 30px; }
.cleanroom-flow article p { margin: 0; color: #9eb8c5; font-size: 19px; }
.cleanroom-flow > i { font-size: 37px; font-style: normal; color: #6d92a4; }
.cleanroom-flow .approved-box { background: rgba(255,173,51,.12); border-color: var(--amber); }
.cleanroom-flow .approved-box b, .cleanroom-flow .approved-box h3 { color: #ffc86f; }
.cleanroom-rule { margin-top: 54px; text-align: center; color: #a7c0cc; font-size: 24px; }

/* Scrub */
.scrub-compare { display: grid; grid-template-columns: 1fr 190px 1fr; gap: 20px; align-items: center; }
.scrub-panel { padding: 34px 34px 38px; background: white; box-shadow: 0 15px 42px rgba(7,26,43,.1); }
.before-panel { border-top: 7px solid var(--red); }
.after-panel { border-top: 7px solid var(--green); }
.data-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #dbe6eb; }
.data-row span { color: #678294; font-size: 20px; }
.data-row strong { font-size: 25px; }
.before-panel .data-row strong { text-decoration: line-through; text-decoration-color: rgba(239,75,90,.7); }
.scrub-arrow { text-align: center; color: #6c8999; }
.scrub-arrow span { display: block; font-size: 17px; font-weight: 900; letter-spacing: .1em; }
.scrub-arrow b { display: block; margin-top: 18px; color: var(--cyan); font-size: 65px; }
.scrub-note { margin-top: 40px; text-align: center; color: #416174; font-size: 25px; font-weight: 720; }

/* Approval pipeline */
.approval-pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1.1fr auto 1.08fr; align-items: center; gap: 23px; margin-top: 95px; }
.approval-pipeline article { min-height: 255px; padding: 28px; background: white; border-top: 6px solid #9bb7c5; box-shadow: 0 14px 38px rgba(7,26,43,.1); }
.approval-pipeline article > span { font-size: 17px; font-weight: 850; letter-spacing: .12em; color: #55788c; }
.approval-pipeline h3 { margin: 82px 0 9px; font-size: 35px; }
.approval-pipeline p { margin: 0; font-size: 20px; color: #627e8f; }
.approval-pipeline > i { font-size: 40px; font-style: normal; color: #5d8397; }
.approval-pipeline .approval-gate { background: var(--ink); color: white; border-color: var(--amber); transform: scale(1.04); }
.approval-pipeline .approval-gate > span, .approval-pipeline .approval-gate p { color: #b6ccd7; }
.approval-questions { display: flex; justify-content: center; gap: 18px; margin-top: 65px; }
.approval-questions span { padding: 14px 20px; background: #e8f1f4; color: #315b70; font-size: 20px; font-weight: 730; }

/* Rails */
.rails-slide h2 { margin-top: 76px; font-size: 74px; }.rails-slide h2 span{color:var(--cyan-soft)}
.rail-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 118px; padding: 46px 10px; }
.rail-line { position: absolute; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #24526b, var(--cyan), #24526b); }
.top-rail{top:12px}.bottom-rail{bottom:12px}
.rail-stop { position: relative; min-height: 250px; padding: 30px; background: #0d3048; border: 1px solid #2a5670; }
.rail-stop::before, .rail-stop::after { content:""; position:absolute; left:50%; width:8px; height:40px; background:#4a7b91; transform:translateX(-50%); z-index:-1; }.rail-stop::before{top:-40px}.rail-stop::after{bottom:-40px}
.rail-stop b { color: var(--cyan-soft); font-size: 21px; }
.rail-stop h3 { margin: 82px 0 10px; font-size: 34px; }
.rail-stop p { margin: 0; color: #9db7c4; font-size: 21px; }
.gate-stop { border-color: var(--amber); box-shadow: 0 0 35px rgba(255,173,51,.13); }
.gate-stop b,.gate-stop h3 { color:#ffd082 }
.rail-rule { margin-top: 44px; text-align: center; color: #a7bfcb; font-size: 24px; }.rail-rule strong{color:#ffd082}

/* Demo flow */
.demo-flow { display: grid; grid-template-columns: repeat(11, auto); align-items: center; justify-content: center; gap: 16px; margin-top: 120px; }
.demo-flow article { width: 190px; min-height: 190px; display:flex; flex-direction:column; justify-content:space-between; padding:24px; background:white; border-top:5px solid #8bb4c5; box-shadow:0 12px 32px rgba(7,26,43,.1) }
.demo-flow article span { color:#52798d; font-size:18px; font-weight:850; letter-spacing:.08em }.demo-flow article h3{margin:0;font-size:27px}
.demo-flow > i{font-style:normal;font-size:34px;color:#6d91a2}
.demo-flow .stop-sign{width:220px;background:#fff0f2;border-color:var(--red);transform:scale(1.07)}
.demo-flow .stop-sign span{color:var(--red);font-size:30px}.demo-flow .stop-sign h3{color:#a92433}
.demo-flow .final-action{border-color:var(--green)}
.demo-exception { margin: 70px auto 0; max-width: 980px; padding: 22px 28px; border-left: 6px solid var(--amber); background: #fff7e8; color: #6e4b17; font-size: 24px; }

/* Case context */
.source-streams { display: grid; grid-template-columns: 1fr 1fr 1fr auto 1.18fr; gap: 22px; align-items: center; margin-top: 90px; }
.source-sheet { min-height: 360px; padding: 32px; background:white; box-shadow:0 16px 42px rgba(7,26,43,.1); border-top:6px solid #86b6c7 }
.source-sheet span{font-size:20px;font-weight:850;color:#668698}.source-sheet h3{margin:110px 0 18px;font-size:36px}.source-sheet p{font-size:21px;color:#5b7587}
.merge-arrow{font-size:56px;color:var(--cyan)}
.ai-triage{min-height:390px;padding:40px;background:var(--ink);color:white;border-top:7px solid var(--amber);box-shadow:var(--shadow)}
.ai-triage small{color:var(--cyan-soft);font-weight:850;letter-spacing:.12em}.ai-triage h3{margin:105px 0 20px;font-size:42px}.ai-triage p{font-size:20px;color:#abc2ce}

/* Case table */
.table-title-row { display:flex; align-items:center; justify-content:space-between; margin:0 0 22px }.table-title-row h2{font-size:55px;margin:0}
.action-btn { border:0; padding:17px 24px; background:var(--ink); color:white; font-size:17px; font-weight:850; letter-spacing:.09em; cursor:pointer; box-shadow:0 8px 22px rgba(7,26,43,.16) }.action-btn:hover{background:#0e4966}
.case-table-wrap { background:white; box-shadow:0 14px 42px rgba(7,26,43,.1); overflow:hidden }
.case-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:19px }
.case-table th { padding:17px 13px; background:var(--ink); color:white; text-align:left; font-size:16px; letter-spacing:.05em }
.case-table td { padding:15px 13px; border-bottom:1px solid #dce7ec; font-weight:600 }
.case-table tr { cursor:pointer; transition:background .18s ease, box-shadow .18s ease }.case-table tbody tr:hover{background:#edf6f8}
.case-row.flagged.fee{background:#fff5e7;box-shadow:inset 7px 0 0 var(--amber)}
.case-row.flagged.invoice{background:#eef9fa;box-shadow:inset 7px 0 0 var(--cyan)}
.case-row.flagged.docs{background:#fff1f3;box-shadow:inset 7px 0 0 var(--red)}
.case-row.flagged.duplicate{background:#f2eefb;box-shadow:inset 7px 0 0 #8667c6}
.table-legend { display:flex; gap:25px; margin-top:22px; font-size:17px; font-weight:720; color:#547083 }.table-legend span::before{content:"";display:inline-block;width:12px;height:12px;margin-right:9px}.fee-dot::before{background:var(--amber)}.invoice-dot::before{background:var(--cyan)}.docs-dot::before{background:var(--red)}.duplicate-dot::before{background:#8667c6}

/* Group orbit */
.group-task-slide h2{margin-top:58px;font-size:70px}.group-task-slide h2 span{color:var(--cyan-soft)}
.group-orbit{position:relative;width:1080px;height:540px;margin:20px auto 0;border:2px dashed rgba(124,228,232,.2);border-radius:50%}
.orbit-center{position:absolute;left:50%;top:50%;width:230px;height:230px;transform:translate(-50%,-50%);border-radius:50%;display:grid;place-content:center;text-align:center;background:var(--amber);color:var(--ink);box-shadow:0 0 0 18px rgba(255,173,51,.08)}
.orbit-center b{font-size:58px;line-height:1}.orbit-center span{margin-top:10px;font-size:20px;font-weight:900;letter-spacing:.08em}
.role{position:absolute;width:205px;min-height:125px;padding:20px;background:#0e344d;border:1px solid #28556c}.role b{color:var(--cyan-soft);font-size:19px}.role p{margin:13px 0 0;font-size:21px;font-weight:720;line-height:1.25}
.role-1{left:45px;top:40px}.role-2{left:436px;top:-28px}.role-3{right:45px;top:40px}.role-4{right:45px;bottom:38px}.role-5{left:436px;bottom:-28px}.role-6{left:45px;bottom:38px}
.group-delivery{position:absolute;right:112px;bottom:113px;font-size:22px;color:#a9bfca}

/* Prompt */
.prompt-title{font-size:58px;margin:16px 0 34px}
.prompt-compare{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.prompt-panel{min-height:600px;padding:42px 44px;background:white;box-shadow:var(--shadow)}
.unsafe-prompt{border-top:8px solid var(--red);background:#fff9f9}.safe-prompt{border-top:8px solid var(--green)}
.prompt-panel blockquote{margin:85px 0 72px;font-size:33px;line-height:1.46;font-weight:720;color:#8f2633}
.safe-prompt ul{list-style:none;margin:62px 0 56px;padding:0}.safe-prompt li{position:relative;padding:17px 0 17px 38px;border-bottom:1px solid #dce7eb;font-size:25px}.safe-prompt li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:900}
.prompt-result{padding:22px;background:#eaf2f5;font-size:22px;color:#3c5f72}.unsafe-prompt .prompt-result{background:#ffecef;color:#842432}.safe-prompt .prompt-result{background:#e8f8f1;color:#176b4b}

/* Findings */
.finding-list{display:flex;flex-direction:column;gap:12px}
.finding{display:grid;grid-template-columns:170px 230px 1fr;align-items:center;min-height:100px;padding:16px 24px;background:white;border-left:6px solid #9cb9c7;box-shadow:0 9px 22px rgba(7,26,43,.07)}
.finding>b{font-size:27px}.finding-type{justify-self:start;padding:10px 13px;font-size:15px;font-weight:850;letter-spacing:.06em}.finding p{margin:0;font-size:23px;color:#526f80}
.invoice-type{background:#e5f8fa;color:#087986}.fee-type{background:#fff2dd;color:#9a5900}.docs-type{background:#ffedf0;color:#a32d3a}.duplicate-type{background:#eee9fa;color:#6243a2}
.finding-rule{margin-top:28px;text-align:center;font-size:23px;color:#476779}

/* Refusal */
.refusal-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:55px;align-items:center;margin-top:150px}
.user-demand,.safe-refusal{min-height:400px;padding:44px;border-top:7px solid;background:rgba(255,255,255,.055)}
.user-demand{border-color:var(--red)}.safe-refusal{border-color:var(--cyan)}
.user-demand blockquote,.safe-refusal blockquote{margin:78px 0 0;font-size:39px;line-height:1.36;font-weight:720}.user-demand blockquote{color:#ff9aa4}.safe-refusal blockquote{color:#d7edf0}
.refusal-arrow{font-size:75px;color:#5c8296}.refusal-thesis{margin-top:65px;text-align:center;font-size:28px;color:#a9c2ce}.refusal-thesis strong{color:#ffd083}

/* Approval matrix */
.table-title{font-size:56px;margin:16px 0 25px}
.approval-table{width:100%;border-collapse:collapse;background:white;box-shadow:0 14px 42px rgba(7,26,43,.1);font-size:19px}
.approval-table th{padding:17px;background:var(--ink);color:white;text-align:left;font-size:16px;letter-spacing:.05em}.approval-table td{padding:19px 17px;border-bottom:1px solid #d9e5ea}.approval-table td:first-child{font-weight:850}.approval-table td span{display:inline-block;padding:8px 10px;background:#fff3df;color:#8b5407;font-size:14px;font-weight:850;letter-spacing:.04em}
.matrix-foot{margin-top:28px;padding:18px 24px;background:#e8f1f4;color:#375f73;font-size:21px}

/* Commitment */
.commitment-slide{display:none;grid-template-columns:.9fr 1.1fr;padding:0 0 72px}.commitment-slide.active{display:grid}
.commitment-side{padding:160px 90px 120px 112px;background:var(--ink);color:white}.commitment-side h2{margin:48px 0 36px;font-size:74px}.commitment-side h2 span{color:var(--cyan-soft)}.commitment-side>p:last-child{color:#a9c0cc;font-size:27px}
.commitment-form{padding:120px 112px 110px 82px;background:var(--paper)}
.form-line{display:grid;grid-template-columns:65px 1fr auto;align-items:center;min-height:160px;border-bottom:2px solid #cbdce4}.form-line span{font-size:22px;font-weight:850;color:#7290a1}.form-line p{margin:0;font-size:31px;font-weight:720}.form-line b{color:#0f7c8a;font-size:16px;letter-spacing:.1em}

/* Closing */
.closing-slide{padding:0;color:white;background:var(--ink)}.closing-slide::before{display:none}
.closing-grid{position:absolute;inset:0;background:linear-gradient(rgba(124,228,232,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(124,228,232,.04) 1px,transparent 1px),radial-gradient(circle at 78% 25%,rgba(25,198,209,.15),transparent 32%);background-size:72px 72px,72px 72px,auto}
.closing-copy{position:absolute;left:118px;top:105px;width:1200px}.closing-three{display:flex;gap:16px;margin:62px 0 74px}.closing-three span{min-width:250px;padding:20px 24px;border-top:4px solid var(--cyan);background:rgba(255,255,255,.055);color:#adc5d0;font-size:20px;font-weight:780;letter-spacing:.04em}.closing-three b{display:block;margin-bottom:7px;color:white;font-size:28px}.closing-three span:nth-child(2){border-color:var(--amber)}.closing-three span:nth-child(3){border-color:var(--red)}
.closing-copy h2{font-size:94px;margin:0}.closing-copy h2 em{color:var(--cyan-soft);font-style:normal}.closing-speaker{margin-top:62px;color:#8fa9b7;font-size:18px;font-weight:800;letter-spacing:.12em}
.closing-brands{position:absolute;right:90px;bottom:70px;display:flex;gap:16px}.closing-brands .snp-card{width:300px;height:72px}.closing-brands .onex-card{width:170px;height:72px}

/* Reveal mechanics */
.step { opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.step.revealed { opacity: 1; transform: translateY(0); }

/* HUD */
.hud {
  position: absolute;
  z-index: 40;
  right: 22px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border-radius: 9px;
  background: rgba(2, 12, 20, .78);
  opacity: .14;
  transition: opacity .2s ease;
}
.hud:hover, .hud:focus-within { opacity: 1; }
.progress-track { position:absolute; left:0; right:0; bottom:-5px; height:3px; background:rgba(255,255,255,.18) }.progress-fill{height:100%;width:0;background:var(--cyan);transition:width .25s ease}
.hud-btn { width: 42px; height: 36px; border:0; border-radius:6px; background:rgba(255,255,255,.08); color:white; font-size:21px; cursor:pointer }.hud-btn:hover{background:rgba(25,198,209,.3)}
.text-btn{font-size:15px;font-weight:850}.counter{padding:0 8px;color:#d5e6eb;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}
.help-pill{position:fixed;z-index:60;right:18px;bottom:16px;width:36px;height:36px;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:rgba(2,12,20,.75);color:white;cursor:pointer;opacity:.32}.help-pill:hover{opacity:1}

/* overlays */
.notes-panel{position:fixed;z-index:80;right:20px;top:20px;bottom:20px;width:min(560px,calc(100vw - 40px));display:flex;flex-direction:column;background:#f9fcfd;color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.45);transform:translateX(calc(100% + 40px));transition:transform .28s ease}.notes-panel.open{transform:translateX(0)}
.notes-panel header,.overview header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:var(--ink);color:white}.notes-panel header b,.overview header b{font-size:15px;letter-spacing:.12em}.notes-panel header button,.overview header button{border:0;background:transparent;color:white;font-size:34px;cursor:pointer}.notes-panel #notesContent{padding:28px;font-size:18px;line-height:1.6;white-space:pre-line;overflow:auto}.notes{display:none}
.overview{position:fixed;z-index:75;inset:18px;display:flex;flex-direction:column;background:#071a2bf2;color:white;backdrop-filter:blur(14px);opacity:0;pointer-events:none;transform:scale(.985);transition:.2s ease}.overview.open{opacity:1;pointer-events:auto;transform:scale(1)}.overview header>div{display:flex;flex-direction:column;gap:5px}.overview header span{color:#9eb6c2;font-size:14px}.overview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;padding:24px;overflow:auto}.overview-card{min-height:150px;padding:22px;border:1px solid #2b5369;background:#0b2b41;color:white;text-align:left;cursor:pointer}.overview-card:hover,.overview-card.current{border-color:var(--cyan);background:#0d3953}.overview-card b{display:block;color:var(--cyan-soft);font-size:16px}.overview-card span{display:block;margin-top:50px;font-size:20px;font-weight:720;line-height:1.25}
.help-overlay{position:fixed;z-index:90;inset:0;display:grid;place-items:center;background:rgba(0,7,12,.78);opacity:0;pointer-events:none;transition:.2s}.help-overlay.open{opacity:1;pointer-events:auto}.help-card{position:relative;width:min(800px,calc(100vw - 40px));padding:42px;background:white;color:var(--ink);box-shadow:0 30px 90px rgba(0,0,0,.5)}.help-card>button{position:absolute;right:18px;top:10px;border:0;background:transparent;font-size:38px;cursor:pointer}.help-card h2{font-size:38px}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;font-size:18px}.shortcut-grid span{padding:10px 0;border-bottom:1px solid #dbe6eb}kbd{display:inline-grid;place-items:center;min-width:30px;height:28px;margin-right:6px;padding:0 7px;border-radius:5px;background:#e6eef2;box-shadow:inset 0 -2px 0 #bdccd4;font-size:13px;font-weight:800}
.timer{position:fixed;z-index:70;left:18px;bottom:16px;display:none;align-items:center;gap:6px;padding:8px 10px;background:rgba(2,12,20,.82);color:white;border-radius:8px;font-variant-numeric:tabular-nums}.timer.visible{display:flex}.timer span{font-size:22px;font-weight:800}.timer button{border:0;background:transparent;color:#9edce0;cursor:pointer}.blackout{position:fixed;z-index:100;inset:0;background:black;opacity:0;pointer-events:none;transition:opacity .18s}.blackout.active{opacity:1;pointer-events:auto}

/* Print */
@media print {
  @page { size: 13.333in 7.5in; margin: 0; }
  html, body { width:auto; height:auto; overflow:visible; background:white; }
  .app, .viewport, .deck { position:static; width:auto; height:auto; transform:none !important; overflow:visible; box-shadow:none; }
  .slide, .slide.active { position:relative; display:block !important; page-break-after:always; animation:none; }
  .step { opacity:1 !important; transform:none !important; }
  .hud,.help-pill,.notes-panel,.overview,.help-overlay,.timer,.blackout,#ambient { display:none !important; }
}

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