:root {
  color-scheme: light;
  --navy: #000020;
  --paper: #f5f6fa;
  --white: #ffffff;
  --muted: #555566;
  --accent: #3155d9;
  --line: #d5d7e0;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --radius: 1rem;
  --motion: 240ms;
  --display: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Segoe UI', Arial, sans-serif;
  --title: clamp(3.6rem, 5.8vw, 5.4rem);
  --text: clamp(1.12rem, 1.65vw, 1.6rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--paper); color: var(--navy); font-family: var(--body); }
button { font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); min-height: 48px; min-width: 48px; padding: .65rem 1rem; touch-action: manipulation; }
button:hover { background: var(--white); }
button:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.toolbar { display: flex; align-items: center; gap: var(--space-1); padding: .75rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.edition { flex: 1; font-size: .8rem; letter-spacing: .04em; }
#presentation { min-height: 0; position: relative; }
.slide { height: 100%; animation: arrive var(--motion) ease-out; }
.slide-body { height: 100%; overflow-y: auto; scrollbar-width: none; padding: clamp(1.5rem, 4vw, 4rem); overscroll-behavior: contain; }
.slide-body::-webkit-scrollbar { display: none; }
h1, h2 { font-family: var(--display); font-weight: 600; font-size: var(--title); line-height: .98; letter-spacing: -.055em; margin: 0 0 var(--space-5); max-width: 19ch; overflow-wrap: anywhere; }
h1:focus, h2:focus { outline: none; }
.content { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
.content li { font-size: var(--text); line-height: 1.4; padding: var(--space-2) 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.slide-1, .slide-11 { background: var(--navy); color: var(--white); }
.slide-1 h1 { max-width: 18ch; }
.slide-1 .content { grid-template-columns: 1fr 1fr; }
.slide-1 .content li { font-size: 1rem; border-color: var(--muted); }
.slide-1 .content li:first-child { grid-column: 1 / -1; font-size: clamp(1.4rem, 2.5vw, 2rem); border: 0; padding-top: 0; }
.slide-1 .content li:nth-child(2) { font-size: 1.4rem; }
.slide-11 .content li { border-color: var(--muted); }
.slide-11 .content li:last-child { grid-column: 1 / -1; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.placeholder { min-height: 180px; padding: var(--space-4); border: 2px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-size: var(--text); }
.agenda { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.agenda-card { text-align: left; border-radius: var(--radius); padding: var(--space-3); font-size: var(--text); line-height: 1.4; background: var(--white); }
.agenda-card small { display: flex; justify-content: space-between; margin-top: var(--space-3); color: var(--accent); font-size: 1rem; }
.agenda-card:hover { border-color: var(--accent); }
.journey-intro { font-size: var(--text); line-height: 1.4; }
.journey { list-style: none; counter-reset: journey; padding: 0; margin: var(--space-4) 0; }
.journey li { counter-increment: journey; padding: 0 0 var(--space-3) 3.5rem; position: relative; min-height: 4rem; font-size: var(--text); line-height: 1.4; animation: arrive var(--motion) ease-out; }
.journey li::before { content: counter(journey); position: absolute; left: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--accent); color: var(--white); border-radius: 50%; font-size: 1rem; }
.journey li:not(:last-child)::after { content: ''; position: absolute; left: 1.15rem; top: 2.5rem; bottom: .2rem; width: 2px; background: var(--line); }
.journey-end { background: var(--accent); color: var(--white); padding: var(--space-3); border-radius: var(--radius); font-size: var(--text); line-height: 1.4; animation: arrive var(--motion) ease-out; }
.navigation { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: .75rem clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.navigation button { background: var(--navy); color: var(--white); width: 72px; font-size: 1.4rem; }
.position { width: min(40%, 320px); text-align: center; font-variant-numeric: tabular-nums; font-size: .85rem; }
progress { display: block; width: 100%; height: 4px; border: 0; margin-top: .5rem; background: var(--line); accent-color: var(--accent); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
dialog { color: var(--navy); background: var(--paper); border: 0; border-radius: var(--radius); padding: var(--space-3); width: min(92vw, 720px); max-height: 85dvh; }
dialog::backdrop { background: rgb(0 0 32 / .75); }
.notes-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.notes-header h2 { font: 600 1.5rem var(--body); letter-spacing: 0; margin: 0; }
#notes-text { font-size: 1.15rem; line-height: 1.65; white-space: pre-wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .edition { font-size: .65rem; max-width: 110px; margin-right: auto; }
  .toolbar { gap: .4rem; }
  .toolbar button { padding: .5rem; }
  .slide-body { padding: var(--space-3); }
  h1, h2 { margin-bottom: var(--space-4); }
  .content, .slide-1 .content, .agenda { grid-template-columns: 1fr; }
  .content li { padding: .9rem 0; }
  .agenda-card { padding: var(--space-2); }
}
@media (max-height: 500px) {
  .toolbar, .navigation { padding-block: .3rem; }
  h1, h2 { font-size: 3.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
