:root {
  --navy-950: #071827;
  --navy-900: #0b1f33;
  --navy-850: #0f2438;
  --navy-800: #123047;
  --cyan: #13b5ea;
  --cyan-2: #18b7c8;
  --teal: #14c8a8;
  --sage: #8fb9a8;
  --amber: #ffb020;
  --red: #e5484d;
  --white: #ffffff;
  --soft: #f6f8fb;
  --soft-2: #edf4f7;
  --ink: #071827;
  --text: #24364b;
  --muted: #60738a;
  --card: rgba(255, 255, 255, 0.92);
  --border: rgba(150, 175, 198, 0.32);
  --shadow: 0 28px 70px rgba(7, 24, 39, 0.24);
  --radius: 24px;
  --header-h: 56px;
  --pad-x: clamp(42px, 5.5vw, 86px);
  --pad-y: clamp(22px, 3.1vw, 46px);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: #020913; font-family: var(--font); color: var(--white); overflow: hidden; }
button, select, input, textarea { font-family: inherit; }

body.is-locked .deck-shell { filter: blur(12px); pointer-events: none; }
.password-gate {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 75% 25%, rgba(19,181,234,.18), transparent 28rem), linear-gradient(135deg, #030b14, #071827 58%, #0b2f3e);
  color: white; padding: 24px;
}
body:not(.is-locked) .password-gate { display: none; }
.gate-card {
  width: min(500px, 100%); border-radius: 28px; padding: 34px; text-align: center;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); box-shadow: 0 36px 100px rgba(0,0,0,.38); backdrop-filter: blur(18px);
}
.gate-logo { width: 90px; height: 90px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(19,181,234,.25)); }
.gate-eyebrow { margin: 12px 0 0; color: #55dfff; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gate-card h1 { margin: 16px 0 10px; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.055em; }
.gate-card p { color: rgba(255,255,255,.78); line-height: 1.5; }
.gate-form { display: flex; gap: 10px; margin-top: 22px; }
.gate-form input { flex: 1; min-height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.12); color: white; padding: 0 16px; font-size: 16px; }
.gate-form input::placeholder { color: rgba(255,255,255,.55); }
.gate-form button { border: 0; min-height: 52px; padding: 0 18px; border-radius: 14px; background: var(--cyan); color: #04111d; font-weight: 900; cursor: pointer; }
.gate-error { min-height: 20px; color: #ffd0d0 !important; margin-bottom: 0; }

.deck-shell { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: var(--navy-950); }
.deck { position: absolute; inset: 0; overflow: hidden; }
.slide {
  position: absolute; inset: 0; display: none; overflow: hidden; padding: var(--pad-y) var(--pad-x) calc(var(--pad-y) + 76px);
  transform: scale(.992); opacity: 0; transition: opacity 520ms ease, transform 520ms ease;
}
.slide.is-active { display: block; opacity: 1; transform: scale(1); }
.slide.theme-dark { background: radial-gradient(circle at 92% 6%, rgba(19,181,234,.18), transparent 24rem), radial-gradient(circle at 8% 92%, rgba(20,200,168,.10), transparent 24rem), linear-gradient(135deg, #061827 0%, #0b2133 55%, #0d3142 100%); }
.slide.theme-light { background: radial-gradient(circle at 0% 100%, rgba(19,181,234,.10), transparent 24rem), linear-gradient(180deg, #fff 0%, #f4f8fb 100%); color: var(--ink); }
.slide::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.52) 58%, transparent 100%); }
.slide.theme-light::before { opacity: .11; background: linear-gradient(rgba(10,37,57,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(10,37,57,.08) 1px, transparent 1px); }

.brand-lockup { position: absolute; left: var(--pad-x); top: 24px; z-index: 8; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.94); font-size: 13px; font-weight: 850; letter-spacing: -.01em; }
.brand-lockup img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(19,181,234,.22)); }
.brand-lockup.dark { color: #091827; }
.brand-lockup.dark img { filter: drop-shadow(0 8px 18px rgba(10,37,57,.10)); }
.slide-content { position: relative; z-index: 5; height: 100%; padding-top: calc(var(--header-h) + 14px); padding-bottom: 58px; }
.two-column { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #54dbff; font-size: clamp(13px, 1.12vw, 16px); font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 13px; height: 13px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 22px rgba(19,181,234,.64); }
.eyebrow.cyan { color: #0a9fcc; }
.headline { margin: 0; max-width: 1080px; color: #fff; font-size: clamp(40px, 5.05vw, 72px); line-height: .96; letter-spacing: -.065em; font-weight: 860; }
.headline.dark { color: #061827; }
.hero-headline { max-width: 760px; }
.subhead { margin: 26px 0 0; max-width: 900px; color: rgba(255,255,255,.84); font-size: clamp(18px, 1.35vw, 22px); line-height: 1.52; letter-spacing: -.01em; }
.subhead.dark { color: #3f5269; }
.fine-print { margin: 28px 0 0; color: #526b82; font-size: 18px; line-height: 1.5; }

.fragment { opacity: 0; transform: translateY(22px); transition: opacity 520ms cubic-bezier(.2,.7,.2,1), transform 520ms cubic-bezier(.2,.7,.2,1), clip-path 680ms cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.fragment.is-visible { opacity: 1; transform: translateY(0); }
.fragment[data-anim="slide-left"] { transform: translateX(-34px); }
.fragment[data-anim="slide-right"] { transform: translateX(34px); }
.fragment[data-anim="slide-up"] { transform: translateY(38px); }
.fragment[data-anim="zoom-soft"] { transform: scale(.965); }
.fragment[data-anim="pop"] { transform: scale(.86); }
.fragment[data-anim="wipe-right"] { clip-path: inset(0 100% 0 0); transform: none; }
.fragment.is-visible[data-anim="slide-left"], .fragment.is-visible[data-anim="slide-right"], .fragment.is-visible[data-anim="slide-up"] { transform: translate(0,0); }
.fragment.is-visible[data-anim="zoom-soft"], .fragment.is-visible[data-anim="pop"] { transform: scale(1); }
.fragment.is-visible[data-anim="wipe-right"] { clip-path: inset(0 0 0 0); }

.hero-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; margin-top: 30px; padding: 0 34px; border-radius: 16px; background: linear-gradient(135deg, #13b5ea, #18b7c8); color: #031321; font-size: 18px; font-weight: 900; box-shadow: 0 20px 52px rgba(19,181,234,.24); }
.hero-proof, .dashboard-stage, .record-visual, .phone-frame { position: relative; border-radius: 26px; border: 1px solid rgba(255,255,255,.18); overflow: hidden; box-shadow: 0 38px 100px rgba(0,0,0,.42); background: rgba(255,255,255,.05); }
.slide.theme-light .hero-proof, .slide.theme-light .dashboard-stage, .slide.theme-light .record-visual, .slide.theme-light .phone-frame { border-color: rgba(10,37,57,.12); box-shadow: 0 28px 70px rgba(10,37,57,.15); }
.hero-proof img, .dashboard-stage img, .record-visual img, .phone-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.phone-frame { max-width: 520px; justify-self: center; background: #fff; padding: 18px; }
.phone-frame img { border-radius: 16px; }
.bg-dashboard { position: absolute; inset: 0 0 0 52%; z-index: 0; opacity: .42; overflow: hidden; }
.bg-dashboard img { width: 100%; height: 100%; object-fit: cover; object-position: left center; filter: saturate(.82) contrast(.94); }
.scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,24,39,.98) 0%, rgba(7,24,39,.92) 50%, rgba(7,24,39,.60) 100%); }
.scrim.heavy { background: linear-gradient(90deg, rgba(7,24,39,.98), rgba(7,24,39,.86)); }
.bg-dashboard-close { inset: 0; opacity: .32; }
.bg-dashboard-close img { object-position: center center; filter: blur(1px) saturate(.8); }

.signal-map { position: relative; height: min(410px, 48vh); margin-top: 42px; border-radius: 30px; background: linear-gradient(180deg, rgba(7,24,39,.03), rgba(19,181,234,.04)); }
.signal-lines { position: absolute; inset: 0; z-index: 1; }
.signal-lines path { fill: none; stroke: rgba(19,181,234,.72); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.signal-map.is-visible .signal-lines path { animation: drawLine 1s ease forwards; }
.signal-map.is-visible .line-2 { animation-delay: .12s; } .signal-map.is-visible .line-3 { animation-delay: .24s; } .signal-map.is-visible .line-4 { animation-delay: .36s; } .signal-map.is-visible .line-5 { animation-delay: .48s; } .signal-map.is-visible .line-6 { animation-delay: 1.36s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.signal-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 210px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(10,37,57,.08); box-shadow: 0 18px 46px rgba(7,24,39,.11); color: #13263a; font-size: 18px; font-weight: 850; opacity: 0; transform: translateY(18px); }
.signal-map.is-visible .signal-card { animation: cardIn .6s ease forwards; }
.signal-left { left: 4%; top: 22%; animation-delay: .2s !important; } .signal-top { left: 20%; top: 4%; animation-delay: .35s !important; } .signal-upper-right { right: 16%; top: 7%; animation-delay: .5s !important; } .signal-right { right: 3%; top: 34%; animation-delay: .65s !important; } .signal-bottom-left { left: 25%; bottom: 7%; animation-delay: .8s !important; } .signal-bottom-right { right: 22%; bottom: 5%; animation-delay: .95s !important; }
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; background: var(--cyan); box-shadow: 0 0 16px currentColor; }
.dot.blue { background: var(--cyan); color: var(--cyan); } .dot.red { background: var(--red); color: var(--red); } .dot.teal { background: var(--teal); color: var(--teal); } .dot.sage { background: var(--sage); color: var(--sage); } .dot.amber { background: var(--amber); color: var(--amber); } .dot.cyan-dot { background: var(--cyan-2); color: var(--cyan-2); }
.centre-hub { position: absolute; z-index: 3; left: 50%; top: 48%; transform: translate(-50%, -50%) scale(.92); display: grid; place-items: center; width: 350px; min-height: 150px; padding: 26px; border-radius: 28px; background: linear-gradient(135deg, var(--navy-950), #0d3142); color: white; text-align: center; font-size: 25px; line-height: 1.18; font-weight: 900; box-shadow: 0 28px 80px rgba(7,24,39,.36); opacity: 0; }
.signal-map.is-visible .centre-hub { animation: hubIn .72s ease forwards 1.1s; }
@keyframes hubIn { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.fragment-to-view { display: grid; grid-template-columns: minmax(0, 1fr) 80px minmax(0, .9fr); gap: 28px; align-items: center; margin-top: 52px; }
.fragment-channels { display: grid; gap: 14px; }
.fragment-channel { padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 20px; font-weight: 850; }
.merge-arrow { color: var(--cyan); font-size: 76px; font-weight: 900; text-align: center; }
.live-view-card { padding: 34px; border-radius: 26px; background: rgba(255,255,255,.12); border: 1px solid rgba(19,181,234,.35); box-shadow: 0 24px 80px rgba(19,181,234,.14); }
.live-view-card strong { display: block; font-size: 34px; color: white; letter-spacing: -.04em; } .live-view-card span { display: block; margin-top: 14px; color: rgba(255,255,255,.74); font-size: 20px; }
.compare-grid, .responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.compare-card, .responsibility-card, .role-card, .faq-card, .value-card, .success-card { border-radius: 24px; padding: 28px; background: rgba(255,255,255,.94); border: 1px solid rgba(10,37,57,.08); box-shadow: 0 18px 50px rgba(7,24,39,.08); color: #071827; }
.compare-card.premium, .responsibility-card.premium { background: linear-gradient(135deg, #071827, #0d3142); color: white; border-color: rgba(19,181,234,.32); }
.compare-card h3, .responsibility-card h3, .role-card h3, .faq-card h3, .value-card h3, .emergency-card h3 { margin: 0 0 16px; font-size: 28px; letter-spacing: -.035em; }
ul { margin: 0; padding-left: 20px; } li { margin: 10px 0; font-size: 18px; line-height: 1.35; }
.dashboard-stage { margin-top: 30px; max-height: 48vh; overflow: hidden; }
.dashboard-stage.big { max-height: 52vh; }
.callout, .incident-card-overlay, .manager-card { position: absolute; z-index: 5; padding: 14px 18px; border-radius: 16px; background: rgba(7,24,39,.92); border: 1px solid rgba(19,181,234,.45); color: white; box-shadow: 0 18px 44px rgba(0,0,0,.26); font-weight: 900; opacity: 0; transform: translateY(12px); }
.dashboard-stage.is-visible .callout, .dashboard-stage.is-visible .incident-card-overlay, .dashboard-stage.is-visible .manager-card { animation: calloutIn .6s ease forwards; }
.callout-top { top: 8%; left: 8%; animation-delay: .35s !important; } .callout-map { left: 40%; top: 44%; animation-delay: .55s !important; } .callout-queue { right: 6%; top: 22%; animation-delay: .75s !important; }
@keyframes calloutIn { to { opacity: 1; transform: translateY(0); } }
.flow-line, .status-build, .task-flow, .pilot-steps, .document-flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; align-items: stretch; margin-top: 56px; }
.flow-step, .status-pill, .task-card, .pilot-step, .doc-card { display: grid; place-items: center; text-align: center; min-height: 134px; border-radius: 22px; background: white; color: #071827; border: 1px solid rgba(10,37,57,.08); box-shadow: 0 18px 46px rgba(7,24,39,.09); padding: 18px; }
.flow-step span, .pilot-step span { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--cyan); color: #02121c; font-weight: 900; margin-bottom: 14px; }
.flow-step strong, .pilot-step strong { font-size: 22px; }
.pilot-step small, .doc-card span { color: #5b7189; font-size: 15px; line-height: 1.35; margin-top: 8px; }
.flow-caption, .role-statement, .manager-action { margin-top: 34px; padding: 20px 26px; border-radius: 18px; background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); color: #04111d; font-size: 22px; font-weight: 900; box-shadow: 0 18px 42px rgba(19,181,234,.22); }
.status-build { grid-template-columns: repeat(5, 1fr); } .status-pill { min-height: 94px; font-size: 22px; font-weight: 900; background: rgba(255,255,255,.10); color: white; border-color: rgba(255,255,255,.16); } .status-pill.success { background: rgba(20,200,168,.22); border-color: rgba(20,200,168,.55); color: #ccfff4; }
.dashboard-mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.metric-card { border-radius: 20px; padding: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); } .metric-card strong { display: block; font-size: 24px; } .metric-card span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: 17px; }
.benefit-list { display: grid; gap: 14px; margin-top: 32px; } .benefit { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: white; font-size: 19px; font-weight: 850; } .dark-list .benefit, .slide.theme-light .benefit { background: #fff; color: #071827; border-color: rgba(10,37,57,.08); box-shadow: 0 12px 32px rgba(7,24,39,.08); }
.routing-grid, .role-grid, .value-grid, .faq-grid, .success-grid, .emergency-grid { display: grid; gap: 20px; margin-top: 44px; } .routing-grid { grid-template-columns: repeat(4, 1fr); } .role-grid, .faq-grid { grid-template-columns: repeat(4, 1fr); } .value-grid, .success-grid { grid-template-columns: repeat(3, 1fr); } .emergency-grid { grid-template-columns: repeat(3, 1fr); }
.routing-card { min-height: 190px; padding: 24px; border-radius: 24px; background: white; color: #071827; border: 1px solid rgba(10,37,57,.08); box-shadow: 0 18px 50px rgba(7,24,39,.08); display: flex; flex-direction: column; gap: 14px; } .routing-card strong { font-size: 23px; letter-spacing: -.03em; } .routing-card small { font-size: 16px; color: #60738a; }
.role-card p, .faq-card p, .value-card p, .emergency-card p, .success-card span { margin: 0; color: #4e657d; font-size: 17px; line-height: 1.42; } .role-card.muted { opacity: .72; }
.timeline { display: grid; gap: 16px; margin-top: 36px; } .timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.13); } .timeline-item span { color: #55dfff; font-weight: 900; font-size: 20px; } .timeline-item strong { font-size: 20px; }
.pulse-pin { position: absolute; z-index: 6; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,176,32,.5), 0 0 22px rgba(255,176,32,.75); animation: pulse 1.7s ease-out infinite; } @keyframes pulse { 70% { box-shadow: 0 0 0 24px rgba(255,176,32,0), 0 0 22px rgba(255,176,32,.75); } } .pin-one { left: 54%; top: 50%; } .cluster-a { left: 48%; top: 45%; } .cluster-b { left: 54%; top: 51%; background: var(--cyan); } .cluster-c { left: 58%; top: 42%; background: var(--red); }
.incident-card-overlay { right: 6%; top: 18%; max-width: 340px; } .incident-card-overlay strong, .manager-card strong { display: block; font-size: 22px; } .incident-card-overlay span, .manager-card span { display: block; margin-top: 8px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.35; }
.manager-card { right: 6%; bottom: 9%; max-width: 380px; }
.emergency-card { min-height: 210px; padding: 30px; border-radius: 26px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); color: white; } .emergency-card p { color: rgba(255,255,255,.76); } .emergency-card.danger { box-shadow: inset 0 4px 0 var(--red); } .emergency-card.warning { box-shadow: inset 0 4px 0 var(--amber); } .emergency-card.info { box-shadow: inset 0 4px 0 var(--cyan); }
.scan-visual, .security-report, .portfolio-board { border-radius: 28px; padding: 34px; background: linear-gradient(135deg, #071827, #0d3142); color: white; box-shadow: var(--shadow); border: 1px solid rgba(19,181,234,.25); }
.qr-sim { width: 220px; height: 220px; border-radius: 18px; background: conic-gradient(from 90deg, #fff 0 25%, #071827 0 50%, #fff 0 75%, #071827 0), repeating-linear-gradient(45deg, #fff 0 9px, #071827 9px 18px); border: 16px solid white; margin: 0 auto 26px; }
.phone-notice { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); } .phone-notice strong { display: block; font-size: 24px; } .phone-notice span { display: block; margin-top: 10px; color: rgba(255,255,255,.75); font-size: 18px; }
.document-flow { grid-template-columns: 1fr auto 1fr auto 1fr; } .doc-arrow { display: grid; place-items: center; color: var(--cyan); font-size: 56px; font-weight: 900; } .doc-card.success { background: #dcfff6; }
.report-row, .store-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); } .report-row:last-child, .store-row:last-child { border-bottom: 0; } .report-row strong, .store-row strong { font-size: 21px; } .report-row span, .store-row span { color: #7ee7ff; font-size: 22px; font-weight: 900; } .store-row { grid-template-columns: 120px 1fr auto; } .store-row em { font-style: normal; border-radius: 999px; padding: 8px 12px; color: #071827; background: var(--amber); font-weight: 900; }
.responsibility-card ul, .compare-card ul { color: inherit; } .responsibility-card li { font-size: 18px; } .success-card strong { display: block; font-size: 22px; margin-bottom: 10px; letter-spacing: -.02em; }
.close-content { display: grid; align-content: center; max-width: 980px; } .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 42px; } .cta-row a, .cta-row span { display: inline-flex; align-items: center; min-height: 58px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 900; font-size: 18px; } .cta-row a { background: var(--cyan); color: #031321; } .cta-row span { border: 1px solid rgba(255,255,255,.26); color: white; background: rgba(255,255,255,.07); }

.talking-points { display: none; }
.deck-ui { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; pointer-events: none; } .progress-shell { height: 5px; background: rgba(255,255,255,.12); } .progress-bar { width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--teal)); transition: width 260ms ease; }
.controls { pointer-events: auto; position: absolute; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(5,18,31,.78); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(14px); } .controls button, .controls span { border: 0; color: white; background: transparent; font-size: 13px; font-weight: 850; } .controls button { cursor: pointer; padding: 9px 12px; border-radius: 999px; } .controls button:hover { background: rgba(255,255,255,.10); } #slideCounter { padding: 0 8px; color: rgba(255,255,255,.72); }
.notes-panel { position: fixed; z-index: 30; right: 22px; top: 88px; width: min(430px, calc(100vw - 44px)); max-height: calc(100vh - 132px); overflow: auto; padding: 0; border-radius: 22px; background: rgba(255,255,255,.96); color: #071827; border: 1px solid rgba(10,37,57,.12); box-shadow: 0 28px 90px rgba(0,0,0,.28); opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity 240ms ease, transform 240ms ease; } .notes-panel.is-open { opacity: 1; transform: translateX(0); pointer-events: auto; } .notes-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: #fff; border-bottom: 1px solid #e2e8f0; } .notes-header button { border: 0; background: #f1f5f9; border-radius: 999px; width: 32px; height: 32px; cursor: pointer; } #notesText { padding: 18px; color: #334155; font-size: 16px; line-height: 1.55; }
.help-panel { position: fixed; z-index: 40; left: 22px; bottom: 26px; display: grid; gap: 8px; padding: 18px; border-radius: 18px; background: rgba(7,24,39,.92); border: 1px solid rgba(255,255,255,.15); color: white; opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity 220ms ease, transform 220ms ease; } .help-panel.is-open { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --pad-x: 24px; --pad-y: 24px; }
  .two-column, .compare-grid, .responsibility-grid { grid-template-columns: 1fr; gap: 22px; }
  .headline { font-size: clamp(38px, 9vw, 64px); }
  .subhead { font-size: 18px; }
  .routing-grid, .role-grid, .value-grid, .faq-grid, .success-grid, .emergency-grid { grid-template-columns: 1fr 1fr; }
  .flow-line, .status-build, .task-flow, .pilot-steps, .document-flow { grid-auto-flow: row; grid-template-columns: 1fr; }
  .doc-arrow { display: none; }
  .signal-map { transform: scale(.9); transform-origin: top center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }


/* v3 refinements: audience-safe notes, better dashboard hotspot alignment, and slower grouped reveals */
.notes-header strong::after {
  content: "";
}

.controls button#notesBtn {
  min-width: 104px;
}

/* Sequential reveal within one click for multi-card blocks */
.fragment:is(
  .routing-grid,
  .role-grid,
  .value-grid,
  .faq-grid,
  .success-grid,
  .emergency-grid,
  .pilot-steps,
  .task-flow,
  .flow-line,
  .document-flow,
  .status-build,
  .dashboard-mini-row,
  .benefit-list,
  .timeline,
  .compare-grid,
  .responsibility-grid,
  .fragment-channels
) > * {
  opacity: 0;
  transform: translateY(18px) scale(.985);
}

.fragment.is-visible:is(
  .routing-grid,
  .role-grid,
  .value-grid,
  .faq-grid,
  .success-grid,
  .emergency-grid,
  .pilot-steps,
  .task-flow,
  .flow-line,
  .document-flow,
  .status-build,
  .dashboard-mini-row,
  .benefit-list,
  .timeline,
  .compare-grid,
  .responsibility-grid,
  .fragment-channels
) > * {
  animation: childStaggerIn 980ms cubic-bezier(.18,.78,.2,1) forwards;
}

@keyframes childStaggerIn {
  from { opacity: 0; transform: translateY(20px) scale(.985); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.fragment.is-visible > *:nth-child(1) { animation-delay: .08s; }
.fragment.is-visible > *:nth-child(2) { animation-delay: .40s; }
.fragment.is-visible > *:nth-child(3) { animation-delay: .72s; }
.fragment.is-visible > *:nth-child(4) { animation-delay: 1.04s; }
.fragment.is-visible > *:nth-child(5) { animation-delay: 1.36s; }
.fragment.is-visible > *:nth-child(6) { animation-delay: 1.68s; }
.fragment.is-visible > *:nth-child(7) { animation-delay: 2.00s; }
.fragment.is-visible > *:nth-child(8) { animation-delay: 2.32s; }

/* Slide 8: keep the incident pulse on the actual map area, not the KPI cards */
.incident-dashboard .pin-one {
  left: 37%;
  top: 76%;
  width: 22px;
  height: 22px;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229,72,77,.5), 0 0 22px rgba(229,72,77,.75);
}
.incident-dashboard .incident-card-overlay {
  top: 56%;
  right: 7%;
}

/* Slide 13: align zone pressure visuals to the map itself */
.pressure-dashboard {
  max-height: min(54vh, 560px);
}
.pressure-dashboard img {
  transform: translateY(-2%);
}
.pressure-dashboard .zone-spotlight {
  position: absolute;
  z-index: 5;
  left: 24.5%;
  top: 57.5%;
  width: 28%;
  height: 30%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,176,32,.20), rgba(19,181,234,.10) 42%, transparent 68%);
  border: 2px solid rgba(255,176,32,.55);
  box-shadow: 0 0 0 12px rgba(255,176,32,.10), 0 0 50px rgba(19,181,234,.16);
  pointer-events: none;
  animation: hotspotBreath 2.4s ease-in-out infinite;
}
@keyframes hotspotBreath {
  0%, 100% { transform: scale(.985); opacity: .82; }
  50% { transform: scale(1.02); opacity: 1; }
}
.pressure-dashboard .cluster-a {
  left: 34%;
  top: 67%;
  background: var(--amber);
}
.pressure-dashboard .cluster-b {
  left: 40%;
  top: 72%;
  background: var(--cyan);
}
.pressure-dashboard .cluster-c {
  left: 45%;
  top: 63%;
  background: var(--red);
}
.pressure-dashboard .hotspot-label {
  position: absolute;
  z-index: 7;
  left: 28%;
  top: 49%;
  max-width: 300px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(7, 24, 39, .88);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  box-shadow: 0 16px 46px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.pressure-dashboard .hotspot-label strong {
  display: block;
  font-size: 18px;
}
.pressure-dashboard .hotspot-label span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.35;
}
.pressure-dashboard .manager-card {
  right: 5.5%;
  bottom: 7%;
  background: rgba(7, 24, 39, .90);
  border: 1px solid rgba(19,181,234,.28);
}

/* Make overlay cards easier to read on real dashboard screenshots */
.callout,
.incident-card-overlay,
.manager-card {
  position: absolute;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(7,24,39,.90);
  color: white;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 52px rgba(0,0,0,.30);
  backdrop-filter: blur(14px);
}

/* Less intrusive key considerations panel if opened during a meeting */
.notes-panel {
  width: min(470px, calc(100vw - 44px));
}
#notesText {
  font-size: 17px;
  line-height: 1.62;
  color: #273a51;
}

/* Responsive pressure hotspot adjustments */
@media (max-width: 980px) {
  .pressure-dashboard .zone-spotlight { left: 24%; top: 57%; width: 32%; height: 28%; }
  .pressure-dashboard .hotspot-label { left: 22%; top: 46%; }
}


/* v4 polish: safe margins, client-safe considerations, new emergency/adoption visuals */
.deck-ui.is-hidden { opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity 220ms ease, transform 220ms ease; }
.controls button#notesBtn { min-width: 122px; }

/* Keep large visuals away from the bottom control rail */
.slide[data-title="Actual command centre"] .dashboard-stage,
.slide[data-title="Incident appears"] .dashboard-stage,
.slide[data-title="Patterns emerge"] .dashboard-stage,
.slide[data-title="Record builds"] .record-visual {
  max-height: 46vh;
}
.pressure-dashboard { max-height: min(46vh, 470px); }

/* Avoid oversized layouts on laptop-height screens */
@media (max-height: 820px) {
  :root { --pad-y: 20px; --header-h: 48px; }
  .brand-lockup { top: 18px; }
  .brand-lockup img { width: 42px; height: 42px; }
  .headline { font-size: clamp(34px, 4.5vw, 62px); line-height: 1; }
  .subhead { margin-top: 18px; font-size: clamp(16px, 1.22vw, 20px); }
  .eyebrow { margin-bottom: 16px; }
  .dashboard-stage, .dashboard-stage.big, .record-visual { max-height: 42vh !important; }
  .phone-frame { max-height: 62vh; overflow: hidden; }
  .signal-map { height: 360px; }
  .value-grid, .faq-grid, .success-grid, .routing-grid, .role-grid, .emergency-grid { margin-top: 28px; gap: 16px; }
}

.routing-grid-five { grid-template-columns: repeat(5, 1fr); }
.routing-grid-five .routing-card { min-height: 172px; padding: 20px; }
.routing-grid-five .routing-card strong { font-size: 20px; }
.routing-grid-five .routing-card small { font-size: 14px; }

.output-grid, .lockdown-board, .adoption-grid { display: grid; gap: 20px; margin-top: 42px; }
.output-grid, .lockdown-board, .adoption-grid { grid-template-columns: repeat(4, 1fr); }
.output-card, .lock-card, .adoption-card {
  min-height: 185px;
  padding: 24px;
  border-radius: 24px;
  background: white;
  color: #071827;
  border: 1px solid rgba(10,37,57,.10);
  box-shadow: 0 18px 50px rgba(7,24,39,.08);
}
.output-card strong, .lock-card strong, .adoption-card strong { display: block; font-size: 22px; letter-spacing: -.025em; }
.output-card span, .lock-card span, .adoption-card span { display: block; margin-top: 12px; color: #4f667d; font-size: 16px; line-height: 1.45; }
.lock-card.secure { box-shadow: inset 0 5px 0 var(--teal), 0 18px 50px rgba(7,24,39,.08); }
.lock-card.pending { box-shadow: inset 0 5px 0 var(--amber), 0 18px 50px rgba(7,24,39,.08); }
.lock-card.help { box-shadow: inset 0 5px 0 var(--red), 0 18px 50px rgba(7,24,39,.08); }
.lock-card.command { box-shadow: inset 0 5px 0 var(--cyan), 0 18px 50px rgba(7,24,39,.08); }

.fragment:is(.output-grid, .lockdown-board, .adoption-grid) > * { opacity: 0; transform: translateY(18px) scale(.985); }
.fragment.is-visible:is(.output-grid, .lockdown-board, .adoption-grid) > * { animation: childStaggerIn 980ms cubic-bezier(.18,.78,.2,1) forwards; }

.public-help-visual { min-height: 520px; display: grid; place-items: center; }
.map-sim {
  position: relative;
  width: min(620px, 100%);
  height: 430px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(circle at 42% 50%, rgba(19,181,234,.18), transparent 34%),
    #0b1f33;
  background-size: 42px 42px, 42px 42px, auto, auto;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.venue-block { position: absolute; left: 22%; top: 20%; width: 46%; height: 58%; border-radius: 26px; border: 2px solid rgba(19,181,234,.38); background: rgba(19,181,234,.08); }
.help-pin { position: absolute; left: 54%; top: 56%; width: 24px; height: 24px; border-radius: 999px; background: var(--red); box-shadow: 0 0 0 0 rgba(229,72,77,.55), 0 0 24px rgba(229,72,77,.75); animation: pulse 1.7s ease-out infinite; }
.help-card { position: absolute; right: 28px; bottom: 28px; width: 300px; padding: 18px; border-radius: 18px; background: rgba(7,24,39,.92); color: white; border: 1px solid rgba(255,255,255,.16); }
.help-card strong { display: block; font-size: 20px; }
.help-card span { display: block; margin-top: 8px; color: rgba(255,255,255,.76); line-height: 1.4; }

@media (max-width: 1200px) {
  .routing-grid-five, .output-grid, .lockdown-board, .adoption-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .routing-grid-five, .output-grid, .lockdown-board, .adoption-grid { grid-template-columns: 1fr; }
  .public-help-visual { min-height: 360px; }
  .map-sim { height: 340px; }
}


/* v4 refinements: better safe areas, no bottom clipping, richer workflow visuals */
:root {
  --pad-y: clamp(24px, 3.2vw, 46px);
}
.slide {
  padding-bottom: calc(var(--pad-y) + 84px);
}
.slide-content {
  min-height: 0;
  padding-bottom: 86px;
}
.headline {
  font-size: clamp(42px, 5.2vw, 74px);
}
.subhead {
  max-width: 980px;
}
.dashboard-stage.big {
  max-height: min(55vh, 540px);
}
.dashboard-stage.big img {
  max-height: min(55vh, 540px);
  object-fit: contain;
}
.record-slide .record-visual img {
  max-height: min(56vh, 560px);
  object-fit: contain;
}
.phone-slide .phone-frame img {
  max-height: min(66vh, 660px);
  width: auto;
  margin: 0 auto;
}

/* Hide controls cleanly when presenting if needed (press C). */
body.ui-hidden .deck-ui {
  opacity: 0;
  transform: translateY(42px);
  pointer-events: none;
}
.deck-ui {
  transition: opacity 220ms ease, transform 220ms ease;
}

/* Key considerations panel: client-safe wording. */
.controls button#notesBtn {
  min-width: 132px;
}
.notes-panel {
  width: min(520px, calc(100vw - 44px));
}
#notesText {
  font-size: 17px;
}

/* Slightly slower grouped reveals from a single click. */
.fragment.is-visible > *:nth-child(1) { animation-delay: .12s; }
.fragment.is-visible > *:nth-child(2) { animation-delay: .44s; }
.fragment.is-visible > *:nth-child(3) { animation-delay: .76s; }
.fragment.is-visible > *:nth-child(4) { animation-delay: 1.08s; }
.fragment.is-visible > *:nth-child(5) { animation-delay: 1.40s; }
.fragment.is-visible > *:nth-child(6) { animation-delay: 1.72s; }
.fragment.is-visible > *:nth-child(7) { animation-delay: 2.04s; }
.fragment.is-visible > *:nth-child(8) { animation-delay: 2.36s; }

/* Auto-routing and shifts visual */
.shift-routing {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 42px;
}
.shift-card {
  min-height: 170px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(10,37,57,.10);
  box-shadow: 0 18px 50px rgba(7,24,39,.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shift-card strong { font-size: 23px; letter-spacing: -.03em; color: #071827; }
.shift-card span { font-size: 16px; line-height: 1.35; color: #526b82; }
.shift-card.result { background: linear-gradient(135deg, #071827, #0f3143); color: white; border-color: rgba(19,181,234,.32); }
.shift-card.result strong { color: white; }
.shift-card.result span { color: rgba(255,255,255,.78); }
.shift-arrow { display: grid; place-items: center; font-size: 42px; color: var(--cyan); font-weight: 900; }
.shift-note { margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: #e9fbff; border: 1px solid rgba(19,181,234,.22); color: #0b3750; font-size: 20px; font-weight: 800; }

/* Audit output */
.audit-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.audit-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(10,37,57,.10);
  box-shadow: 0 18px 50px rgba(7,24,39,.10);
}
.audit-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #d8f7fa;
  color: #0a88a8;
  font-weight: 950;
}
.audit-card strong { display: block; font-size: 24px; letter-spacing: -.035em; color: #071827; }
.audit-card small { display: block; margin-top: 12px; color: #526b82; font-size: 16px; line-height: 1.42; }

/* Public help escalation visual */
.public-help-visual {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(19,181,234,.10));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 32px 80px rgba(0,0,0,.26);
}
.mini-map-grid {
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    radial-gradient(circle at 42% 52%, rgba(19,181,234,.22), transparent 30%),
    rgba(7,24,39,.62);
  background-size: 54px 54px, 54px 54px, auto, auto;
}
.help-pulse {
  position: absolute;
  left: 42%; top: 55%;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229,72,77,.5), 0 0 26px rgba(229,72,77,.8);
  animation: pulse 1.7s ease-out infinite;
}
.safe-zone {
  position: absolute;
  right: 8%; top: 12%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20,200,168,.16);
  border: 1px solid rgba(20,200,168,.45);
  color: #9effef;
  font-weight: 900;
}
.responder-route {
  position: absolute;
  left: 43%; top: 57%;
  width: 35%; height: 22%;
  border-top: 3px dashed rgba(19,181,234,.72);
  border-right: 3px dashed rgba(19,181,234,.72);
  border-radius: 0 28px 0 0;
}
.help-card {
  position: absolute;
  left: 44px; bottom: 44px;
  max-width: 430px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}
.help-card strong { display: block; font-size: 26px; }
.help-card span, .help-card em { display: block; margin-top: 10px; color: rgba(255,255,255,.78); font-style: normal; font-size: 18px; line-height: 1.35; }
.help-card em { color: #7ee7ff; font-weight: 850; }

/* Deeper lockdown visual */
.lockdown-dashboard {
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(19,181,234,.08));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}
.lockdown-title { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 22px; }
.lockdown-title strong { font-size: 28px; }
.lockdown-title span { color: rgba(255,255,255,.72); font-weight: 750; }
.lockdown-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.lockdown-stats > div {
  min-height: 130px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.lockdown-stats strong { display:block; font-size: 50px; color: var(--teal); letter-spacing: -.06em; }
.lockdown-stats span { color: rgba(255,255,255,.75); font-weight: 850; }
.lockdown-stats .warn strong { color: var(--amber); }
.lockdown-row {
  margin-top: 10px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  font-weight: 850;
}
.lockdown-row.ok { border-left: 4px solid var(--teal); }
.lockdown-row.warn { border-left: 4px solid var(--amber); }

/* Decision confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.confidence-card {
  min-height: 190px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}
.confidence-card strong { display: block; color: white; font-size: 25px; letter-spacing: -.03em; }
.confidence-card span { display: block; margin-top: 14px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.45; }

/* Generated dashboard no longer calls out location gaps, so keep overlays away from KPI row. */
.pressure-dashboard .zone-spotlight { left: 25%; top: 58%; }
.pressure-dashboard .hotspot-label { left: 25%; top: 47%; }
.pressure-dashboard .cluster-a { left: 34%; top: 69%; }
.pressure-dashboard .cluster-b { left: 40%; top: 73%; }
.pressure-dashboard .cluster-c { left: 45%; top: 64%; }

@media (max-width: 980px) {
  .shift-routing, .audit-board, .confidence-grid, .lockdown-stats { grid-template-columns: 1fr; }
  .shift-arrow { display: none; }
}

.fragment:is(.shift-routing,.audit-board,.lockdown-stats,.confidence-grid) > * { opacity: 0; transform: translateY(18px) scale(.985); }
.fragment.is-visible:is(.shift-routing,.audit-board,.lockdown-stats,.confidence-grid) > * { animation: childStaggerIn 720ms cubic-bezier(.18,.78,.2,1) forwards; }
