:root {
  --navy-950: #041326;
  --navy-900: #061a33;
  --navy-850: #08233f;
  --navy-800: #0c3152;
  --blue: #0a7ee8;
  --blue-bright: #18a8f4;
  --cyan: #54ddff;
  --cyan-soft: #8cecff;
  --mint: #47d8ae;
  --ink: #0b2342;
  --muted: #6f8199;
  --line: #d5e2ef;
  --surface: #ffffff;
  --light: #f2f7fc;
  --amber: #efaf3a;
  --green: #168453;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --slide-ease: cubic-bezier(.19, 1, .22, 1);
  --hero-x: 0px;
  --hero-y: 0px;
  --grid-x: 0px;
  --grid-y: 0px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
  color: white;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  text-rendering: geometricPrecision;
}
button { font: inherit; }
button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.deck { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; background: var(--navy-950); }
.slides, .slide { position: absolute; inset: 0; }
.slide {
  z-index: 1;
  padding: 48px clamp(52px, 5.25vw, 104px) 134px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(42px, 0, 0) scale(1.018);
  filter: blur(3px);
  transition:
    opacity .72s ease,
    transform .9s var(--slide-ease),
    filter .54s ease;
  will-change: transform, opacity;
  overflow: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.slide.is-before { transform: translate3d(-42px, 0, 0) scale(1.018); }
.slide.is-active { z-index: 3; opacity: 1; pointer-events: auto; transform: translate3d(0,0,0) scale(1); filter: none; }
.slide.is-settling { z-index: 2; }

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(.992);
  filter: blur(4px);
  transition:
    opacity .82s ease var(--delay, 0s),
    transform .9s var(--slide-ease) var(--delay, 0s),
    filter .6s ease var(--delay, 0s);
}
.is-active [data-animate] { opacity: 1; transform: none; filter: none; }

.chrome {
  position: absolute;
  z-index: 30;
  inset: 0;
  height: 100%;
  padding: 0;
  color: white;
  transition: color .45s ease;
  pointer-events: none;
}
.chrome > * { pointer-events: auto; }
.chrome-actions { position: absolute; right: clamp(34px, 5.25vw, 104px); bottom: 22px; display: flex; align-items: center; gap: 8px; }
.chrome-button { min-height: 38px; border: 1px solid rgba(255,255,255,.18); color: inherit; background: rgba(5,29,53,.32); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 12px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.chrome-button:hover { transform: translateY(-2px); background: rgba(20,94,140,.35); border-color: rgba(84,221,255,.45); }
.chrome-button[aria-pressed="true"] { background: rgba(16,133,207,.42); border-color: rgba(84,221,255,.62); }
.chrome-icon { width: 40px; padding: 0; }
.chrome-icon svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pdf-button { min-width: 72px; font-weight: 780; letter-spacing: .03em; }
.pdf-button svg { width: 17px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.play-icon { color: var(--cyan); font-size: 11px; }
.deck.on-light .chrome { color: var(--ink); }
.deck.on-light .chrome-button { background: rgba(255,255,255,.72); border-color: #d5e2ef; }

.cursor-glow { position: absolute; z-index: 20; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; opacity: .15; background: radial-gradient(circle, rgba(52,198,255,.42), rgba(34,146,238,.12) 38%, transparent 70%); transform: translate3d(calc(var(--cursor-x, 50vw) - 220px), calc(var(--cursor-y, 50vh) - 220px), 0); transition: opacity .3s ease; mix-blend-mode: screen; }

.deck-nav {
  position: absolute;
  z-index: 35;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 180px));
  display: grid;
  grid-template-columns: 42px 1fr auto 42px;
  align-items: center;
  gap: 14px;
  color: white;
}
.nav-arrow { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); background: rgba(5,27,48,.34); color: inherit; border-radius: 50%; display: grid; place-items: center; font-size: 20px; cursor: pointer; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: .25s ease; }
.nav-arrow:hover:not(:disabled) { background: rgba(18,119,186,.35); border-color: rgba(84,221,255,.55); transform: scale(1.06); }
.nav-arrow:disabled { opacity: .3; cursor: default; }
.progress-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.progress-step { position: relative; height: 20px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.progress-step::before { content: ""; position: absolute; inset: 9px 0 auto; height: 2px; background: rgba(133,172,202,.32); border-radius: 99px; }
.progress-step i { position: absolute; inset: 9px auto auto 0; width: 0; height: 2px; background: var(--cyan); border-radius: 99px; box-shadow: 0 0 10px rgba(84,221,255,.5); transition: width .48s var(--ease); }
.progress-step.is-done i, .progress-step.is-active i { width: 100%; }
.deck.is-autoplay .progress-step.is-active i { width: 0; animation: autoplay-progress 8s linear forwards; }
.slide-counter { min-width: 54px; color: rgba(216,232,246,.65); font-size: 12px; letter-spacing: .08em; }
.slide-counter b { color: white; font-size: 17px; }
.deck.on-light .deck-nav { color: var(--ink); }
.deck.on-light .nav-arrow { background: rgba(255,255,255,.78); border-color: #d1dfed; }
.deck.on-light .progress-step::before { background: #d8e4ef; }
.deck.on-light .slide-counter { color: #8293a9; }
.deck.on-light .slide-counter b { color: var(--ink); }
.key-hint { position: absolute; z-index: 25; left: clamp(34px, 5.25vw, 104px); bottom: 30px; color: rgba(174,201,222,.42); font-size: 11px; letter-spacing: .04em; transition: opacity .4s ease; }
.deck.on-light .key-hint { color: rgba(80,102,128,.45); }
.deck.has-interacted .key-hint { opacity: 0; }

/* Shared slide language */
.slide-light { background: radial-gradient(circle at 15% 20%, rgba(77,188,255,.08), transparent 28%), var(--light); color: var(--ink); }
.slide-dark { background: linear-gradient(135deg, var(--navy-950), #072948); color: white; }
.section-head { position: relative; z-index: 4; min-height: 112px; }
.section-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); text-transform: uppercase; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.section-meta span { min-width: 82px; border-radius: 999px; padding: 8px 13px; background: #e3f1ff; color: var(--blue); text-align: center; letter-spacing: .04em; }
.slide-dark .section-meta { color: #9fb5ca; }
.slide-dark .section-meta span { color: var(--cyan-soft); background: #0d3a5c; }
.section-head h2 { margin: 18px 0 0; max-width: 980px; font-size: clamp(38px, 4.15vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.section-head .roles-title { max-width: none; white-space: nowrap; font-size: clamp(38px, 3.45vw, 58px); }
.scope-pill, .engine-formula { position: absolute; right: 0; top: 0; min-height: 38px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #087d61; border: 1px solid #b9eadb; background: #e7f8f3; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.soft-orb { position: absolute; width: 540px; height: 540px; border-radius: 50%; filter: blur(80px); opacity: .18; pointer-events: none; background: #3caefb; }
.orb-left { left: -300px; bottom: -260px; }
.orb-right { right: -260px; top: -200px; }

/* Slide 1 */
.slide-hero { padding: 0; background: var(--navy-950); }
.hero-print-photo { display: none; }
.hero-image-space { position: absolute; left: 50%; top: 50%; width: max(106vw, 188.28vh); aspect-ratio: 1675 / 943; transform: translate3d(calc(-50% + var(--hero-x)), calc(-50% + var(--hero-y)), 0) scale(1.065); transform-origin: center; transition: transform .18s linear; }
.hero-photo { background: url("assets/hero.png") center/100% 100% no-repeat; }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(79,190,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(79,190,255,.18) 1px, transparent 1px); background-size: 70px 70px; -webkit-mask-image: linear-gradient(90deg, black, transparent 70%); mask-image: linear-gradient(90deg, black, transparent 70%); transform: translate3d(var(--grid-x), var(--grid-y), 0); }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,38,.99) 0%, rgba(4,19,38,.94) 36%, rgba(4,19,38,.54) 61%, rgba(4,19,38,.05) 100%), linear-gradient(0deg, rgba(3,18,34,.76), transparent 30%); }
.hero-copy { position: absolute; z-index: 4; left: clamp(52px, 7vw, 132px); top: 50%; transform: translateY(-50%); width: min(720px, 48vw); }
.hero-copy h1 { margin: 0; font-size: clamp(58px, 6.2vw, 104px); line-height: .93; letter-spacing: -.06em; }
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { margin-top: 17px; color: transparent; font-style: normal; font-weight: 580; -webkit-text-stroke: 1.25px rgba(109,222,255,.96); text-shadow: 0 0 40px rgba(23,166,239,.2); }
.lead { max-width: 670px; margin: 28px 0 0; color: #c6d5e4; font-size: clamp(17px, 1.4vw, 23px); line-height: 1.5; }
.hero-pulse-space { z-index: 2; pointer-events: none; }
.hero-pulse { position: absolute; left: 67.1%; top: 47.2%; width: 26%; aspect-ratio: 1; transform: translate(-50%,-50%); }
.hero-pulse i { position: absolute; inset: 38%; border-radius: 50%; border: 1px solid rgba(84,221,255,.5); opacity: 0; animation: hero-ripple 4.2s ease-out infinite; }
.hero-pulse i:nth-child(2) { animation-delay: 1.4s; }
.hero-pulse i:nth-child(3) { animation-delay: 2.8s; }

/* Slide 2 */
.roles-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(360px, .78fr) minmax(520px, 1.22fr); gap: clamp(24px, 3vw, 56px); height: calc(100% - 154px); margin-top: 30px; }
.chat-card { position: relative; min-height: 0; display: grid; grid-template-rows: 36px 1fr auto; padding: 12px; background: rgba(255,255,255,.92); border: 1px solid #cbddec; border-radius: 24px; box-shadow: 0 28px 70px rgba(19,72,116,.13); overflow: hidden; }
.screen-top { display: flex; align-items: center; gap: 7px; padding: 0 4px; color: #8a9bb0; font-size: 11px; }
.screen-top span { width: 7px; height: 7px; border-radius: 50%; background: #d2deea; }
.screen-top span:first-child { background: #60ccff; }
.screen-top b { margin-left: 5px; color: #526a83; font-weight: 700; }
.chat-screen { position: relative; min-height: 0; overflow: hidden; border-radius: 16px; background: #edf7ff; }
.chat-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; top: -2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 18px var(--cyan); animation: chat-scan 4.8s ease-in-out infinite; }
.source-badge { position: absolute; z-index: 3; top: 16px; right: 24px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; color: white; background: rgba(6,26,51,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.source-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.chat-stats { display: flex; gap: 12px; justify-content: space-between; padding: 11px 8px 8px; color: #8293a7; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.chat-stats b { color: var(--blue); font-size: 13px; }
.role-column { min-height: 0; display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.role-card { position: relative; min-height: 0; display: grid; grid-template-columns: 72px 1fr 34px; align-items: center; gap: 18px; padding: 17px 22px; border-radius: 22px; background: rgba(255,255,255,.92); border: 1px solid #cbddec; box-shadow: 0 15px 42px rgba(23,72,114,.07); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.role-card:hover { transform: translateX(-6px); border-color: #85cfff; box-shadow: 0 24px 55px rgba(23,72,114,.13); }
.role-card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--cyan), var(--blue)); transform: scaleY(0); transition: transform .35s var(--ease); }
.role-card:hover::after { transform: scaleY(1); }
.role-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 850; }
.role-blue { color: #0876df; background: #e5f1ff; }
.role-green { color: #087f61; background: #e1f6f0; }
.role-violet { color: #625cd7; background: #ececff; }
.role-cyan { color: #08769b; background: #e1f6fb; }
.role-card small, .deliverables small, .management-value small, .pilot-cta small { display: block; color: var(--blue); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.role-card h3 { margin: 4px 0 5px; font-size: clamp(19px, 1.65vw, 28px); letter-spacing: -.03em; }
.role-card p { margin: 0; color: var(--muted); font-size: clamp(12px, 1.04vw, 16px); line-height: 1.35; }
.role-seq { color: #c5d5e4; font-size: 12px; font-weight: 800; }
/* Slide 3 */
.dark-mesh { position: absolute; inset: 0; opacity: .11; background: linear-gradient(45deg, transparent 48%, rgba(71,193,255,.35) 49%, transparent 50%); background-size: 420px 420px; animation: mesh-drift 18s linear infinite; }
.engine-head h2 { font-size: clamp(39px, 4.1vw, 66px); }
.engine-head > p { max-width: 840px; margin: 8px 0 0; color: #afc3d7; font-size: clamp(14px, 1.12vw, 18px); line-height: 1.35; }
.engine-head > p b { color: white; }
.engine-formula { color: var(--cyan-soft); border-color: #17668d; background: rgba(14,62,94,.72); }
.engine-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(300px, .68fr) minmax(640px, 1.65fr); gap: clamp(28px, 4vw, 70px); height: calc(100% - 168px); margin-top: 20px; }
.ai-core-wrap { position: relative; display: grid; place-items: center; min-height: 0; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(51,183,238,.45); }
.orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.orbit-one { width: min(29vw, 360px); aspect-ratio: 1; animation: orbit-spin 14s linear infinite; }
.orbit-one i { top: -5px; left: 50%; }
.orbit-two { width: min(23vw, 290px); aspect-ratio: 1; border-style: dashed; animation: orbit-spin-rev 10s linear infinite; }
.orbit-two i:first-child { top: 22%; left: 1%; }
.orbit-two i:last-child { bottom: 8%; right: 11%; width: 7px; height: 7px; }
.orbit-three { width: min(17vw, 212px); aspect-ratio: 1; border-width: 2px; border-color: rgba(84,221,255,.58); animation: orbit-spin 7s linear infinite; }
.orbit-three i { top: 47%; right: -5px; width: 7px; height: 7px; }
.ai-core { position: relative; width: min(10.5vw, 132px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 26%, #59e4ff, #0789e7 53%, #0757ab); box-shadow: 0 0 0 18px rgba(20,139,220,.12), 0 0 60px rgba(34,188,247,.32); }
.ai-core span { position: relative; z-index: 2; font-size: clamp(28px, 2.6vw, 42px); font-weight: 850; }
.ai-core b { position: absolute; inset: -24%; border-radius: 50%; background: conic-gradient(transparent 0 72%, rgba(84,221,255,.6) 78%, transparent 84%); animation: orbit-spin 2.8s linear infinite; }
.ai-caption { position: absolute; bottom: 10px; color: var(--cyan-soft); text-align: center; text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; }
.pipeline { min-height: 0; display: grid; grid-template-rows: repeat(4, 1fr) auto auto; gap: 10px; }
.pipeline-step { min-height: 0; display: grid; grid-template-columns: 54px 1fr minmax(170px, 25%); align-items: center; gap: 18px; padding: 12px 20px; border: 1px solid #1b567b; border-radius: 18px; background: rgba(13,49,82,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--ease), background .3s ease; }
.pipeline-step:hover { transform: translateX(7px); background: rgba(14,63,99,.9); }
.pipeline-step > b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #27c6f5, #087ce4); box-shadow: 0 10px 28px rgba(14,155,232,.2); }
.pipeline-step h3 { margin: 0; font-size: clamp(18px, 1.6vw, 25px); letter-spacing: -.02em; }
.pipeline-step p { margin: 4px 0 0; color: #b8c9d9; font-size: clamp(11px, .95vw, 15px); }
.pipeline-step > span { justify-self: stretch; padding: 10px 13px; border: 1px solid #217198; border-radius: 999px; color: var(--cyan-soft); background: #0e4667; text-align: center; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.analysis-progress { height: 7px; border-radius: 99px; overflow: hidden; background: #29475f; }
.analysis-progress i { display: block; width: 94%; height: 100%; background: linear-gradient(90deg, #159ff0, #67e5ff); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 18px rgba(84,221,255,.45); }
.is-active .analysis-progress i { animation: fill-analysis 2.1s var(--ease) .85s forwards; }
.analysis-labels { display: grid; grid-template-columns: repeat(4,1fr); color: #829db7; text-transform: uppercase; text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .07em; }

/* Slide 4 */
.score-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(250px, .55fr) minmax(650px, 1.75fr); gap: clamp(24px, 3vw, 48px); height: calc(100% - 160px); margin-top: 26px; }
.score-panel { min-height: 0; padding: 24px; border-radius: 24px; color: white; background: linear-gradient(155deg, #061a33, #0d3a5e); border: 1px solid #1d5c83; box-shadow: 0 26px 60px rgba(16,64,106,.18); display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; overflow: hidden; }
.score-panel > small { color: var(--cyan-soft); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.score-ring { position: relative; width: min(15.5vw, 220px); align-self: center; aspect-ratio: 1; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.score-track, .score-value { fill: none; stroke-width: 19; }
.score-track { stroke: #31536d; }
.score-value { stroke: var(--cyan); stroke-linecap: butt; stroke-dasharray: 528; stroke-dashoffset: 528; filter: drop-shadow(0 0 8px rgba(84,221,255,.25)); }
.is-active .score-value { animation: score-ring 1.45s var(--ease) .35s forwards; }
.score-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-ring strong { font-size: clamp(48px, 4.8vw, 78px); line-height: .9; letter-spacing: -.06em; }
.score-ring span { margin-top: 10px; color: #b5c8da; font-size: 13px; font-weight: 700; }
.result-label { min-width: 150px; margin-bottom: 32px; padding: 9px 22px; border-radius: 999px; color: var(--blue); background: #e8f3ff; text-align: center; text-transform: uppercase; font-size: 12px; }
.confidence { align-self: end; width: 100%; padding-top: 15px; border-top: 1px solid #31536d; display: flex; justify-content: space-between; gap: 10px; color: #b5c8da; font-size: 11px; }
.confidence strong { color: var(--mint); }
.criteria-grid { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr) auto; gap: 10px 14px; }
.criterion { min-height: 0; display: grid; grid-template-columns: 48px 1fr 42px; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 17px; border: 1px solid #cfddea; background: rgba(255,255,255,.93); box-shadow: 0 10px 30px rgba(28,74,113,.05); transition: transform .28s var(--ease), border-color .28s ease; }
.criterion:hover { transform: translateY(-3px); border-color: #8bcdf5; }
.criterion i { height: 27px; border-radius: 999px; display: grid; place-items: center; color: var(--blue); background: #e6f2ff; font-style: normal; font-size: 11px; font-weight: 800; }
.criterion span { font-size: clamp(12px, 1.05vw, 17px); font-weight: 780; line-height: 1.22; }
.criterion > b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.score-three { color: #986400; background: #fff1d6; }
.score-five { color: var(--green); background: #def5e9; }
.result-scale { grid-column: 1/-1; display: grid; grid-template-columns: 160px 1fr; grid-template-rows: auto auto; align-items: center; gap: 5px 14px; margin-top: 18px; padding: 3px 8px 0; }
.scale-title { grid-row: 1/3; color: #536b87; text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .07em; }
.scale-bar { position: relative; display: grid; grid-template-columns: 29% 29% 29% 13%; height: 16px; overflow: visible; border-radius: 999px; box-shadow: 0 5px 16px rgba(29,83,127,.14); }
.scale-bar i { display: block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.scale-bar i:first-child { border-radius: 999px 0 0 999px; }
.scale-bar i:nth-child(1) { background: #f29b96; }
.scale-bar i:nth-child(2) { background: #f4cc60; }
.scale-bar i:nth-child(3) { background: #82d2ad; }
.scale-bar i:nth-child(4) { border-radius: 0 999px 999px 0; background: #3cc9a5; }
.scale-bar b { position: absolute; left: 78%; top: -26px; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 20px solid #0789f5; transform: translateX(-50%); filter: drop-shadow(0 5px 8px rgba(7,137,245,.38)); }
.scale-labels { display: grid; grid-template-columns: 29% 29% 29% 13%; color: #4f6681; text-align: center; font-size: 10px; font-weight: 800; }

/* Slide 5 */
.output-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(460px, .95fr) minmax(620px, 1.15fr); gap: clamp(28px, 3vw, 52px); height: calc(100% - 180px); margin-top: 24px; }
.output-head h2 { font-size: clamp(39px, 4.05vw, 66px); }
.output-proof { top: 4px; }
.radar-card { min-height: 0; padding: 20px 26px 15px; border-radius: 24px; color: var(--ink); background: white; border: 1px solid #c9daea; box-shadow: 0 28px 70px rgba(0,10,30,.26); display: grid; grid-template-rows: auto 1fr auto; row-gap: 12px; overflow: hidden; }
.card-kicker { width: max-content; min-width: 210px; padding: 8px 14px; border-radius: 999px; color: var(--blue); background: #e5f2ff; text-transform: uppercase; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.radar { width: 100%; min-height: 0; height: 100%; overflow: hidden; }
.radar-grid polygon, .radar-grid path { fill: none; stroke: #d7e3ef; stroke-width: 1.2; }
.radar-fill { fill: rgba(17,156,230,.21); transform-origin: 260px 210px; transform: scale(0); opacity: 0; }
.radar-line { fill: none; stroke: #0798e4; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.radar-dots circle { fill: #0ba5ea; stroke: white; stroke-width: 2; opacity: 0; transform-origin: center; }
.radar-labels { fill: var(--ink); font-size: 16px; font-weight: 800; text-anchor: middle; }
.is-active .radar-fill { animation: radar-fill-in .85s var(--ease) .75s forwards; }
.is-active .radar-dots circle { animation: dot-pop .35s var(--ease) forwards; }
.is-active .radar-dots circle:nth-child(1) { animation-delay: .78s; }.is-active .radar-dots circle:nth-child(2) { animation-delay: .84s; }.is-active .radar-dots circle:nth-child(3) { animation-delay: .9s; }.is-active .radar-dots circle:nth-child(4) { animation-delay: .96s; }.is-active .radar-dots circle:nth-child(5) { animation-delay: 1.02s; }.is-active .radar-dots circle:nth-child(6) { animation-delay: 1.08s; }.is-active .radar-dots circle:nth-child(7) { animation-delay: 1.14s; }.is-active .radar-dots circle:nth-child(8) { animation-delay: 1.2s; }
.radar-score { position: relative; z-index: 2; justify-self: center; min-width: 250px; margin-top: 6px; padding: 8px 18px; border-radius: 999px; color: #087f61; background: #e4f7f1; border: 1px solid #b9e6da; text-align: center; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.radar-score i { display: inline-block; width: 4px; height: 4px; margin: 0 9px 2px; border-radius: 50%; background: #77a696; }
.deliverables { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) minmax(118px, .26fr); gap: 14px; }
.report-card { min-height: 0; display: flex; flex-direction: column; padding: 22px 28px; border-radius: 24px; color: var(--ink); background: white; border: 1px solid #c9daea; box-shadow: 0 22px 58px rgba(0,10,30,.2); overflow: hidden; }
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.report-head > div { min-width: 0; }
.report-badge { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; color: white; background: var(--blue); font-size: 10px; font-weight: 850; box-shadow: 0 6px 18px rgba(9,126,232,.25); }
.report-card h3 { margin: 6px 0 0; font-size: clamp(21px, 1.8vw, 30px); line-height: 1.05; letter-spacing: -.035em; }
.recommendation-list { list-style: none; display: grid; gap: 9px; margin: 16px 0 0; padding: 0; }
.recommendation-list li { min-height: 0; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; padding: 10px 13px; border: 1px solid #d6e4f0; border-radius: 14px; background: #f4f8fc; color: #536b84; font-size: clamp(11px, .9vw, 14px); line-height: 1.3; }
.recommendation-list li b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: #e3f1ff; font-size: 10px; }
.recommendation-list li span { font-weight: 680; }
.file-types { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.file-types b { min-width: 76px; padding: 7px 12px; border-radius: 999px; color: var(--blue); background: #e8f3ff; text-align: center; font-size: 9px; text-transform: uppercase; }
.management-value, .pilot-cta { border-radius: 20px; padding: 13px 20px; border: 1px solid #1c628a; background: rgba(13,61,94,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.management-value small, .pilot-cta small { color: var(--cyan-soft); }
.management-value { display: flex; flex-direction: column; justify-content: center; padding: 22px 28px; }
.management-value small { font-size: 12px; }
.management-value p { margin: 12px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: clamp(19px, 1.5vw, 26px); line-height: 1.16; }
.management-value i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(84,221,255,.55); }
.pilot-cta { position: relative; color: white; background: linear-gradient(110deg, #0879e4, #18bff0); border-color: transparent; box-shadow: 0 18px 46px rgba(8,122,228,.22); overflow: hidden; }
.pilot-cta::after { content: ""; position: absolute; inset: -80% auto -80% -20%; width: 40%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); animation: cta-shine 4s ease-in-out infinite; }
.pilot-cta strong { display: block; margin-top: 5px; font-size: clamp(16px, 1.2vw, 20px); }
.pilot-cta span { position: absolute; right: 24px; top: 50%; transform: translateY(-15%); font-size: 28px; }

/* Slide 6 */
.slide-finale { padding: 0; background: radial-gradient(circle at 75% 45%, rgba(15,132,209,.24), transparent 30%), linear-gradient(135deg, #031326 0%, #062746 54%, #04192f 100%); }
.finale-backdrop { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(84,221,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(84,221,255,.08) 1px, transparent 1px); background-size: 74px 74px; -webkit-mask-image: radial-gradient(circle at 74% 48%, black, transparent 68%); mask-image: radial-gradient(circle at 74% 48%, black, transparent 68%); }
.finale-beam { position: absolute; right: -12%; top: -45%; width: 68%; height: 190%; opacity: .24; background: linear-gradient(90deg, transparent, rgba(63,210,255,.22), transparent); transform: rotate(-18deg); animation: finale-beam 7s ease-in-out infinite; }
.finale-layout { position: relative; z-index: 4; height: 100%; display: grid; grid-template-columns: minmax(620px, 1.18fr) minmax(420px, .82fr); align-items: center; gap: clamp(30px, 5vw, 92px); padding: 48px clamp(52px, 6.5vw, 130px) 124px; }
.finale-copy { max-width: 940px; }
.finale-copy h2 { margin: 28px 0 0; font-size: clamp(70px, 7.6vw, 126px); line-height: .88; letter-spacing: -.065em; }
.finale-copy p { max-width: 800px; margin: 34px 0 0; color: #b9cde0; font-size: clamp(17px, 1.38vw, 23px); line-height: 1.48; }
.finale-points { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 34px; color: var(--cyan-soft); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.finale-points span { padding: 9px 14px; border: 1px solid rgba(84,221,255,.25); border-radius: 999px; background: rgba(10,72,110,.4); }
.finale-points i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.finale-visual { position: relative; justify-self: center; width: min(38vw, 560px); aspect-ratio: 1; display: grid; place-items: center; }
.finale-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(84,221,255,.42); }
.finale-ring i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.finale-ring-one { inset: 0; animation: orbit-spin 19s linear infinite; }
.finale-ring-one i { left: 50%; top: -5px; }
.finale-ring-two { inset: 12%; border-style: dashed; border-color: rgba(84,221,255,.31); animation: orbit-spin-rev 13s linear infinite; }
.finale-ring-two i:first-child { left: 4%; top: 24%; }
.finale-ring-two i:last-child { right: 7%; bottom: 18%; width: 7px; height: 7px; }
.finale-ring-three { inset: 27%; border-width: 2px; border-color: rgba(84,221,255,.62); animation: orbit-spin 8s linear infinite; }
.finale-ring-three i { right: -5px; top: 48%; width: 7px; height: 7px; }
.finale-core { position: relative; width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 26%, #66e9ff, #0d91e6 52%, #0753a1); box-shadow: 0 0 0 22px rgba(16,139,218,.11), 0 0 78px rgba(44,198,250,.38); animation: finale-breathe 3.4s ease-in-out infinite; }
.finale-core svg { position: relative; z-index: 2; width: 57%; fill: none; stroke: white; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 5px 12px rgba(0,59,114,.3)); }
.finale-core b { position: absolute; inset: -25%; border-radius: 50%; background: conic-gradient(transparent 0 70%, rgba(84,221,255,.7) 77%, transparent 84%); animation: orbit-spin 3.1s linear infinite; }
@keyframes status-pulse { 0%,100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes autoplay-progress { to { width: 100%; } }
@keyframes hero-ripple { 0% { inset: 38%; opacity: .7; } 100% { inset: 2%; opacity: 0; } }
@keyframes chat-scan { 0%,12% { top: -2px; opacity: 0; } 20% { opacity: 1; } 78% { opacity: 1; } 88%,100% { top: 102%; opacity: 0; } }
@keyframes mesh-drift { to { background-position: 420px 420px; } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { to { transform: rotate(-360deg); } }
@keyframes fill-analysis { to { transform: scaleX(1); } }
@keyframes score-ring { to { stroke-dashoffset: 106; } }
@keyframes radar-fill-in { to { opacity: 1; transform: scale(1); } }
@keyframes dot-pop { 0% { opacity: 0; transform: scale(0); } 80% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }
@keyframes cta-shine { 0%,55% { left: -45%; } 78%,100% { left: 125%; } }
@keyframes finale-beam { 0%,100% { transform: translateX(-5%) rotate(-18deg); opacity: .13; } 50% { transform: translateX(12%) rotate(-18deg); opacity: .32; } }
@keyframes finale-breathe { 0%,100% { transform: scale(.96); box-shadow: 0 0 0 18px rgba(16,139,218,.08), 0 0 58px rgba(44,198,250,.25); } 50% { transform: scale(1.04); box-shadow: 0 0 0 26px rgba(16,139,218,.13), 0 0 92px rgba(44,198,250,.48); } }

@media (max-height: 820px) {
  .slide { padding-top: 42px; padding-bottom: 106px; }
  .section-head { min-height: 98px; }
  .section-head h2 { margin-top: 12px; }
  .roles-layout, .engine-layout, .score-layout, .output-layout { margin-top: 17px; height: calc(100% - 126px); }
  .role-card { padding-block: 12px; }
  .role-icon { width: 54px; height: 54px; }
  .role-card { grid-template-columns: 60px 1fr 30px; }
  .role-card p { font-size: 12px; }
  .pipeline { gap: 7px; }
  .pipeline-step { padding-block: 8px; }
  .pipeline-step > b { width: 40px; height: 40px; }
  .ai-caption { bottom: 8px; }
  .score-panel { padding: 17px 20px; }
  .criterion { padding-block: 8px; }
  .radar-card { padding-top: 15px; }
  .report-card { padding: 16px 20px; }
  .finale-layout { padding-top: 32px; padding-bottom: 100px; }
  .finale-copy h2 { margin-top: 20px; font-size: clamp(58px, 7vw, 92px); }
  .finale-copy p, .finale-points { margin-top: 22px; }
  .finale-visual { width: min(35vw, 430px); }
  .deck-nav { bottom: 13px; }
  .key-hint { bottom: 19px; }
  .hero-copy { transform: translateY(-50%); }
  .lead { margin-top: 20px; }
}

@media (max-width: 1120px) {
  .autoplay-label { display: none; }
  .roles-layout { grid-template-columns: .85fr 1.15fr; gap: 22px; }
  .role-card { grid-template-columns: 56px 1fr 26px; gap: 12px; padding-inline: 14px; }
  .role-icon { width: 50px; height: 50px; }
  .engine-layout { grid-template-columns: 280px 1fr; gap: 24px; }
  .pipeline-step { grid-template-columns: 44px 1fr 150px; gap: 12px; padding-inline: 14px; }
  .pipeline-step > b { width: 38px; height: 38px; }
  .output-layout { grid-template-columns: .9fr 1.1fr; gap: 24px; }
  .finale-layout { grid-template-columns: 1.12fr .88fr; gap: 24px; padding-inline: 54px; }
  .finale-visual { width: min(38vw, 420px); }
  .key-hint { display: none; }
}

@media (max-width: 860px) {
  body { overflow: auto; }
  .deck { min-height: 100svh; }
  .slide { padding: 88px 22px 84px; overflow-y: auto; }
  .slide-finale { padding: 0; }
  .chrome { position: fixed; height: 100%; padding: 0; }
  .chrome-actions { right: 14px; bottom: 70px; }
  .section-head h2 { font-size: 38px; }
  .section-head .roles-title { white-space: normal; font-size: 38px; }
  .scope-pill, .engine-formula { position: static; margin-top: 15px; width: max-content; max-width: 100%; }
  .roles-layout, .engine-layout, .score-layout, .output-layout { grid-template-columns: 1fr; height: auto; padding-bottom: 50px; }
  .chat-card { min-height: 520px; }
  .role-column { min-height: 520px; }
  .engine-layout { gap: 40px; }
  .ai-core-wrap { min-height: 430px; }
  .pipeline { min-height: 510px; }
  .score-panel { min-height: 450px; }
  .criteria-grid { min-height: 520px; }
  .output-layout { min-height: 1040px; }
  .radar-card { min-height: 560px; }
  .deliverables { min-height: 560px; }
  .finale-layout { min-height: 1040px; height: auto; grid-template-columns: 1fr; align-content: start; gap: 70px; padding: 72px 24px 160px; }
  .finale-copy h2 { font-size: 62px; }
  .finale-visual { width: min(78vw, 480px); }
  .deck-nav { position: fixed; width: calc(100vw - 28px); bottom: 10px; grid-template-columns: 40px 1fr 48px 40px; padding: 4px 8px; border-radius: 999px; background: rgba(6,26,51,.8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .deck.on-light .deck-nav { background: rgba(246,250,254,.9); }
  .hero-copy { left: 28px; right: 28px; width: auto; top: 48%; }
  .hero-copy h1 { font-size: 54px; }
  .hero-vignette { background: linear-gradient(90deg, rgba(4,19,38,.98), rgba(4,19,38,.72) 80%, rgba(4,19,38,.35)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .score-value { stroke-dashoffset: 106; }
  .radar-fill { opacity: 1; transform: scale(1); }
  .radar-dots circle { opacity: 1; }
}

@media print {
  @page { size: landscape; margin: 0; }
  html, body {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: var(--navy-950) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .deck, .slides {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  .slide, .slide.is-before, .slide.is-active {
    position: relative !important;
    inset: auto !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    opacity: 1 !important;
    pointer-events: none !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    overflow: hidden !important;
    transition: none !important;
    will-change: auto !important;
    break-after: page;
    page-break-after: always;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .slide:last-of-type { break-after: auto; page-break-after: auto; }
  .chrome, .deck-nav, .key-hint, .cursor-glow, .chat-scan { display: none !important; }
  .soft-orb, .finale-backdrop, .finale-beam { display: none !important; }
  .slide-light {
    background-color: #f2f7fc !important;
    background-image: none !important;
    color: #0b2342 !important;
  }
  .slide-finale {
    background: linear-gradient(135deg, #031326 0%, #062746 54%, #04192f 100%) !important;
  }
  .hero-photo { display: none !important; }
  .hero-print-photo {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right center !important;
  }
  .hero-grid { z-index: 1 !important; }
  .hero-vignette { z-index: 2 !important; }
  .hero-pulse-space { z-index: 3 !important; }
  .hero-copy {
    top: 20% !important;
    transform: none !important;
  }
  .finale-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr) !important;
    gap: clamp(28px, 4vw, 72px) !important;
  }
  .finale-visual {
    justify-self: center !important;
    align-self: center !important;
    width: min(31vw, 480px) !important;
    margin: 0 auto !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .analysis-progress i { transform: scaleX(1) !important; }
  .score-value { stroke-dashoffset: 106 !important; }
  .radar-fill { opacity: 1 !important; transform: scale(1) !important; }
  .radar-line { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .radar-dots circle { opacity: 1 !important; transform: scale(1) !important; }
  .finale-core { transform: scale(1) !important; }
}
