:root { --bg: #faf8f5; --card: #fff; --ink: #1c1830; --mu: #4a4460; --line: #e7e2ee; --brand: #4f2fe0; --brand-ink: #3a1fb8; --tint: #f1edff; --accent: #e23e78; --ok: #1b6a49; --ok-bg: #e5f4ec; --warn: #8a4a0b; --warn-bg: #fdeedd; --serif: Georgia, "Times New Roman", serif; --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --mono: ui-monospace, Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #14112a; font-family: var(--sans); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.deck { counter-reset: n; }
.slide { counter-increment: n; position: relative; width: 1280px; height: 720px; padding: 28px 56px 0; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; gap: 18px; margin: 0 auto 24px; }
.bar { display: flex; align-items: center; gap: 10px; font: 600 20px var(--serif); height: 40px; flex: none; }
.bar img { width: 30px; height: 30px; }
.bar .meta { margin-left: auto; font: 600 14px var(--sans); color: var(--mu); }
.eyebrow { align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 14px; background: var(--tint); color: var(--brand-ink); }
h1 { margin: 0; font: 500 50px/1.06 var(--serif); letter-spacing: -.02em; max-width: 1100px; }
h1 span { color: var(--brand); }
h2 { margin: 0; font: 600 26px var(--serif); }
p { margin: 0; }
.cols { display: flex; gap: 28px; flex: 1; min-height: 0; padding-bottom: 28px; }
.col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.card p, li { font-size: 21px; line-height: 1.4; color: var(--mu); }
ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.big { font: 600 60px/1 var(--serif); color: var(--brand); }
.big small { font: 600 26px var(--sans); color: var(--mu); }
.tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); }
.tag.test { background: var(--ok-bg); color: var(--ok); }
.tag.data { background: var(--tint); color: var(--brand-ink); }
.src { font: 14px var(--mono); color: var(--mu); }
.foot { margin-top: auto; padding-bottom: 20px; font-size: 16px; color: var(--mu); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mini { padding: 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mini .line { display: flex; justify-content: space-between; font: 700 20px var(--sans); }
.ok { align-self: flex-start; padding: 3px 10px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); font-size: 16px; font-weight: 600; }
.fake { height: 46px; border-radius: 8px; color: #fff; font: 700 18px var(--sans); display: flex; align-items: center; justify-content: center; background: var(--b, #1f4fa3); }
.how img { display: block; height: 452px; width: auto; margin: 0 auto; border-radius: 12px; }
.motto { font: 500 28px var(--serif); text-align: center; color: var(--brand-ink); }
.road li { font-size: 19px; }
.road b, .lim b { color: var(--ink); }
.key { display: flex; gap: 18px; align-items: center; font-size: 15px; color: var(--mu); }
.hud { display: none; }
/* Screen: one slide at a time, scaled to the window. */
.js body, .js html { overflow: hidden; height: 100%; }
.js .deck { position: fixed; inset: 0; }
.js .slide { position: absolute; left: 50%; top: 50%; margin: 0; transform-origin: center; display: none; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.js .slide.on { display: flex; }
.js .hud { display: flex; position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%); gap: 8px; z-index: 5; }
.hud button { min-width: 44px; min-height: 44px; border-radius: 22px; border: 1px solid #4a4378; background: #1e1a38; color: #f1eefb; font: 700 16px var(--sans); cursor: pointer; }
.hud a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid #4a4378; background: #1e1a38; color: #f1eefb; font: 600 14px var(--sans); text-decoration: none; }
@page { size: 1280px 720px; margin: 0; }
@media print {
  html, body { background: #fff; overflow: visible !important; height: auto !important; }
  .js .deck { position: static; }
  .slide, .js .slide { display: flex !important; position: relative; left: 0; top: 0; transform: none !important; margin: 0; break-after: page; page-break-after: always; }
  .hud, .js .hud { display: none !important; }
}
.mockrow { margin-top: auto; padding-bottom: 30px; display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--card); border: 1px solid var(--warn); border-style: dashed; border-radius: 12px; padding: 10px 16px; font-size: 19px; color: var(--mu); }
.chips b { color: var(--warn); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack .panel { flex-direction: row; align-items: center; padding: 14px 18px; gap: 16px; }
.stack .mini { flex: 1; padding: 12px; gap: 8px; }
.stack .mini .line { font-size: 18px; }
.stack .fake { height: 40px; font-size: 16px; }
.stack .ok { font-size: 14px; }
#s4 .card p { font-size: 19px; }
#s4 .cols { padding-bottom: 8px; }
.hud .hudlang { display: inline-flex; gap: 4px; }
.hud .hudlang a { min-width: 44px; justify-content: center; padding: 0 8px; font-size: 13px; }
.hud .hudlang a[aria-current="true"] { background: #4f2fe0; border-color: #4f2fe0; }
.srcnote { font-size: 15px; color: var(--mu); }
.srcnote code { font: 14px var(--mono); }
#s6 li { font-size: 17px; line-height: 1.3; }
#s6 ul { gap: 5px; }
#s6 .cols { padding-bottom: 6px; }
#s6 h2 { font-size: 23px; }
.chips span { font-size: 16px; padding: 8px 12px; }
.mockrow { padding-bottom: 24px; gap: 8px; }
#s1 h1 { font-size: 46px; }
#s1 .col { gap: 10px; }
#s1 .card { padding: 14px 20px; gap: 4px; }
#s1 .card p { font-size: 19px; }
#s1 .big { font-size: 52px; }
#s1 .srcnote { font-size: 13px; }
#s1 .srcnote code { font-size: 12px; }
#s1 .cols { padding-bottom: 14px; }
#s3 .how img { height: 330px; }
.decisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 6px; padding-bottom: 20px; }
.decisions div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.decisions b { font: 600 19px var(--serif); color: var(--brand-ink); }
.decisions span { font-size: 15px; line-height: 1.35; color: var(--mu); }
.foot code { font: 13px var(--mono); }
#s2 .foot { font-size: 14px; line-height: 1.35; padding-bottom: 6px; }
#s2 .cols { padding-bottom: 10px; }
#s2 h1 { font-size: 44px; }
#s2 .foot { font-size: 13px; padding-bottom: 2px; }
#s2 .col ul { gap: 5px; }
/* Slide 5: the case file of the advisor and the controls. */
.ticket { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.trow { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.3; color: var(--mu); }
.trow b { color: var(--ink); }
.trow.head { display: flex; justify-content: space-between; border-top: 0; background: var(--warn-bg); color: var(--warn); font-weight: 700; }
.checks { list-style: none; padding-left: 0; }
.checks li { position: relative; padding-left: 30px; font-size: 19px; line-height: 1.35; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.big.mid { font-size: 44px; }
#s5 .card { padding: 14px 20px; gap: 4px; }
#s5 .cols { padding-bottom: 16px; }
#s4 h2, #s1 h2, #s5 h2 { font-size: 23px; }
#s4 .big { font-size: 50px; }
#s4 .card { padding: 14px 20px; gap: 4px; }
#s4 .col { gap: 10px; }
#s4 .foot { padding-bottom: 14px; font-size: 14px; }
.trow { grid-template-columns: 150px 1fr; font-size: 17px; }
#s5 h1 { font-size: 44px; }
#s5 .big.mid { font-size: 40px; }
/* --- Sentinel look: brand fonts, the gradient mark and gradient titles. --- */
@font-face { font-family: "Newsreader"; font-weight: 500 600; font-display: swap; src: url("fonts/newsreader-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400 700; font-display: swap; src: url("fonts/sourcesans3-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Code Pro"; font-weight: 400; font-display: swap; src: url("fonts/sourcecodepro-latin.woff2") format("woff2"); }
:root { --serif: "Newsreader", Georgia, serif; --sans: "Source Sans 3", system-ui, sans-serif; --mono: "Source Code Pro", ui-monospace, monospace;
  --grad: linear-gradient(110deg, #6d4aff 0%, #a64dff 50%, #ff4f8b 100%); --bg: #f7f6fb; }
.slide { padding-top: 34px; gap: 20px; }
.slide::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }
.bar { font: 600 22px var(--serif); }
.bar .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.bar .mark img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.bar .meta { font: 600 14px var(--sans); letter-spacing: .04em; }
h1 { font-weight: 600; letter-spacing: -.015em; }
h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-weight: 600; }
.big { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card, .panel, .ticket { box-shadow: 0 1px 2px rgba(28,24,48,.04), 0 8px 24px rgba(79,47,224,.06); }
.decisions b { color: var(--brand); }
/* Slide 1: room under the title. */
#s1 h1 { font-size: 50px; }
#s1 .cols { padding-top: 6px; }
#s1 .col:first-child .card { border-left: 4px solid var(--accent); }
/* Slide 2: keep the note clear of the bottom edge. */
#s2 h1 { font-size: 46px; }
#s2 .foot { padding-bottom: 14px; }
/* Slide 3: a larger drawing. */
#s3 .how img { height: 360px; }
/* Slide 4 and 5: room for the source line. */
#s4 .foot { padding-bottom: 22px; }
/* Slide 6: no gap in the middle. */
#s6 .cols { flex: none; }
#s6 .mockrow { margin-top: 18px; }
#s6 li { font-size: 19px; }
#s6 ul { gap: 8px; }
#s4 h1 { font-size: 44px; }
#s5 .trow { font-size: 19px; padding: 13px 18px; }
#s5 .checks li { font-size: 20px; }
#s5 .cols { padding-top: 8px; }
