@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #fbfbfa; --ink: #0b0d12; --muted: #5a606b; --faint: #7a808a; --line: #e7e7e3; --card: #fff;
  --blue: #2c5a84; --blue-soft: #edf2f7; --accent: #ff9f5a; --accent-ink: #b85a12; --accent-soft: #fff3ea;
  --green: #1f8a4c; --green-soft: #e9f6ee; --amber: #c96a12; --red: #c9372c; --red-soft: #fcecea;
  --shadow: 0 1px 2px rgba(11,13,18,.04), 0 8px 28px rgba(11,13,18,.07);
  --top: 52px; --foot: 56px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 60px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Satoshi", system-ui, sans-serif; font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
h1 { font-size: 40px; }
h2 { font-size: 31px; max-width: 22ch; }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
b { font-weight: 700; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.14em; }
kbd { font-family: inherit; font-size: 1em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 .4em; background: #fff; }

/* ---------- slide shell (phone-first long scroll) ---------- */
.slide { max-width: 1240px; margin: 0 auto; padding: 44px 16px 40px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: 19px; color: var(--muted); max-width: 46ch; line-height: 1.45; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 54ch; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.4; }
.points li > .i { margin-top: 3px; color: var(--blue); font-size: 20px; }
.note { font-size: 15px; color: var(--muted); line-height: 1.5; max-width: 74ch; border-left: 2px solid var(--line); padding-left: 14px; }
.src { font-size: 13.5px; color: var(--faint); line-height: 1.45; max-width: 120ch; }
.src a { color: inherit; text-decoration: underline; text-decoration-color: #c8ccd2; text-underline-offset: 2px; }
.head { display: flex; flex-direction: column; gap: 12px; }

/* cards */
.grid { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.45; }
.card .tag { font-size: 13px; font-weight: 700; color: var(--blue); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 22px; flex: none; }
.ico.orange { background: var(--accent-soft); color: var(--accent-ink); }
.ico.green { background: var(--green-soft); color: var(--green); }
.ico.red { background: var(--red-soft); color: var(--red); }
.ico.ink { background: var(--ink); color: #fff; }
.card.warm { background: var(--accent-soft); border-color: #f6d9c2; }
.card.soft { background: var(--blue-soft); border-color: #d6e1ec; box-shadow: none; }
.row { display: flex; gap: 12px; align-items: center; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.list li .i { margin-top: 2px; font-size: 18px; color: var(--green); }
.list.x li .i { color: var(--amber); }
.list.dim li .i { color: var(--blue); }

/* before / after */
.ba { display: grid; gap: 14px; }
.ba .card { border-top: 4px solid var(--red); }
.ba .card.good { border-top-color: var(--green); }
.ba .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); display: flex; gap: 6px; align-items: center; }
.ba .good .lbl { color: var(--green); }
.ba blockquote { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.arrow-mid { display: none; }

/* big numbers */
.stats { display: grid; gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.stat .n { font-size: 50px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.stat .n.orange { color: var(--accent-ink); }
.stat .t { margin-top: 10px; font-size: 16px; color: var(--muted); line-height: 1.4; }
.stat .was { margin-top: 8px; font-size: 14px; color: var(--faint); }
.meter { height: 8px; border-radius: 99px; background: #eef0f2; overflow: hidden; margin-top: 14px; position: relative; }
.meter span { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--blue); }
.meter .ghost { background: #d3dbe4; }

/* criteria chips */
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chip { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 15px; font-weight: 500; line-height: 1.25; }
.chip .k { font-size: 13px; font-weight: 700; color: var(--faint); min-width: 1.6em; }
.chip.on { border-color: var(--blue); background: var(--blue-soft); }
.chip.on .k { color: var(--blue); }

/* steps / flows */
.flow { display: grid; gap: 10px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.step b { display: block; font-size: 17px; }
.step span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.step.hot { background: var(--accent-soft); border-color: #f6d9c2; }
.step.gov { background: var(--blue-soft); border-color: #d6e1ec; }
.step.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.step.ink span { color: rgba(255,255,255,.72); }
.step.ink .ico { background: rgba(255,255,255,.12); color: #fff; }
.loop { font-size: 15px; color: var(--accent-ink); display: flex; gap: 8px; align-items: center; font-weight: 600; }

/* timeline */
.tl { display: grid; gap: 12px; }
.tl .wk { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.tl .wk h3 { font-size: 13px; color: var(--blue); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 12px; }
.tl ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tl li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; line-height: 1.35; }
.tl li .d { flex: none; width: 52px; font-weight: 700; font-size: 13px; color: var(--faint); }
.tl li.live .d, .tl li.live { color: var(--accent-ink); font-weight: 700; }

/* screenshot slides */
.shot { display: flex; flex-direction: column; gap: 18px; }
.shot .fig { margin: 0; }
.frame { position: relative; display: inline-block; max-width: 100%; line-height: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(11,13,18,.12); }
.frame img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.frame a { display: block; }
.frame.fade-r img { -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); }
.frame.fade-b img { -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent); mask-image: linear-gradient(to bottom, #000 88%, transparent); }
.pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 26px; text-align: center; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(11,13,18,.25); pointer-events: none; }
.fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--faint); line-height: 1.4; }
.pins { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pins li { display: flex; gap: 12px; align-items: flex-start; font-size: 17.5px; line-height: 1.4; }
.pins li::before { content: attr(data-n); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); font-size: 14px; font-weight: 800; line-height: 26px; text-align: center; margin-top: 1px; }
.shot .copy { display: flex; flex-direction: column; gap: 18px; }

/* people */
.people { display: grid; gap: 10px; }
.person { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.person b { display: block; }
.person span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.person .pill { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 3px 10px; white-space: nowrap; align-self: flex-start; }
.person .pill.orange { color: var(--accent-ink); background: var(--accent-soft); }

/* tables turned into rows */
.rows { display: grid; gap: 8px; }
.r { display: grid; gap: 4px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; align-items: center; }
.r b { font-size: 16.5px; }
.r span { font-size: 15px; color: var(--muted); line-height: 1.4; }
.r .who { font-size: 13px; font-weight: 700; color: var(--blue); }
.r .who.orange { color: var(--accent-ink); }
.r .ttl { display: flex; gap: 10px; align-items: center; }
.r .ttl .i { color: var(--blue); font-size: 18px; }

/* quote slide */
.quote { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; max-width: 22ch; margin: 0; }
.quote .mark { color: var(--accent); }

/* Q and A */
.qa { display: grid; gap: 12px; }
.qa .card { gap: 6px; padding: 16px 18px; }
.qa .card h3 { font-size: 17px; }
.qa .card p { font-size: 15.5px; }

/* glossary */
.gloss { display: grid; gap: 8px; margin: 0; }
.gloss div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; }
.gloss dt { font-weight: 700; font-size: 16px; }
.gloss dd { margin: 2px 0 0; font-size: 15px; color: var(--muted); line-height: 1.4; }

/* section divider */
.divider .big { font-size: 110px; font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--blue); }
.divider .big small { font-size: 18px; letter-spacing: .02em; color: var(--faint); font-weight: 600; margin-left: 12px; }
.divider h2 { font-size: 40px; max-width: 16ch; }
.split { display: grid; gap: 24px; align-items: center; }
.split > div { display: flex; flex-direction: column; gap: 18px; }
.art { width: 100%; max-width: 240px; justify-self: center; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }

/* contents */
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); transition: border-color .15s; height: 100%; }
.toc a:hover { border-color: var(--blue); }
.toc .no { font-size: 30px; font-weight: 700; color: var(--blue); letter-spacing: -0.04em; min-width: 1.1em; }
.toc b { display: block; font-size: 17px; }
.toc span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }

.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; border-radius: 99px; padding: 12px 22px; font-size: 17px; width: fit-content; }
.cta.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* progress: phone gets a sticky strip */
#prog { position: sticky; top: 0; z-index: 10; background: rgba(251,251,250,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
#prog .names { display: none; }
#prog .now { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
#prog .now b { color: var(--ink); }
#prog .fill { height: 3px; background: var(--line); }
#prog .fill span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.bar, .deck-only { display: none; }

@media (min-width: 700px) {
  body { font-size: 18px; }
  .slide { padding: 64px 32px 56px; gap: 26px; }
  h1 { font-size: 56px; } h2 { font-size: 40px; }
  .three { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
  .four { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats.four { grid-template-columns: repeat(4, 1fr); }
  .ba { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .arrow-mid { display: grid; place-items: center; color: var(--faint); font-size: 28px; }
  .chips { grid-template-columns: repeat(5, 1fr); }
  .flow.h { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
  .flow.h .step { flex-direction: column; align-items: flex-start; }
  .flow.h .step:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; z-index: 1; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a808a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 12px no-repeat; border-radius: 50%; }
  .tl { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1.4fr 1fr; }
  .toc { grid-template-columns: repeat(3, 1fr); }
  .r { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr); }
  .r .who { text-align: right; }
  .r.c2 { grid-template-columns: 1fr 2fr; }
  .gloss { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .qa { grid-template-columns: 1fr 1fr; }
  .art { max-width: 340px; }
  .divider .big { font-size: 170px; }
  .divider h2 { font-size: 54px; }
  .quote { font-size: 52px; }
}
@media (max-width: 699px) {
  .shot .copy { order: -1; }
  .pin { width: 20px; height: 20px; line-height: 20px; font-size: 12.5px; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(11,13,18,.25); }
  .r .who { justify-self: start; }
  .ba .arrow-mid { display: none; }
}

/* ---------- deck mode: one slide at a time on wide screens ---------- */
@media (min-width: 1000px) and (min-height: 620px) {
  html.deck, html.deck body { height: 100%; overflow: hidden; }
  html.deck .slide { position: absolute; top: var(--top); bottom: var(--foot); left: 0; right: 0; max-width: none; margin: 0; border: 0; padding: 28px max(64px, calc((100vw - 1240px) / 2)) 24px; overflow-y: auto; visibility: hidden; opacity: 0; gap: 24px; }
  html.deck .slide.active { visibility: visible; opacity: 1; }
  html.deck .slide > :first-child { margin-top: auto; }
  html.deck .slide > :last-child { margin-bottom: auto; }
  html.deck .deck-only { display: inline; } html.deck .phone-only { display: none; }
  html.deck h2 { font-size: 46px; max-width: 26ch; }
  html.deck .divider h2 { font-size: 64px; }
  html.deck .shot { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 56px; align-items: center; align-content: center; }
  html.deck .shot .fig { text-align: center; }
  html.deck .shot .fig figcaption { text-align: left; }
  html.deck .shot > * { margin: 0 !important; }
  html.deck .shot .copy h2 { font-size: 38px; }
  html.deck .frame img { max-height: calc(100vh - var(--top) - var(--foot) - 110px); width: auto; }
  html.deck .stat .n { font-size: 64px; }
  html.deck .gloss { grid-template-columns: repeat(4, 1fr); }
  html.deck .fig figcaption::after { content: " · click to see the full screen"; }

  html.deck #prog { position: fixed; top: 0; left: 0; right: 0; height: var(--top); display: flex; flex-direction: column; justify-content: flex-end; }
  html.deck #prog .now { display: none; }
  html.deck #prog .names { display: flex; justify-content: center; gap: 2px; padding: 0 16px; flex: 1; align-items: center; }
  #prog .names button { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--faint); background: none; border: 0; padding: 6px 10px; border-radius: 99px; cursor: pointer; white-space: nowrap; display: flex; gap: 7px; align-items: center; }
  #prog .names button .no { font-size: 11px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; }
  #prog .names button.done { color: var(--blue); }
  #prog .names button.done .no { background: var(--blue); border-color: var(--blue); color: #fff; }
  #prog .names button.on { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 2px 8px rgba(11,13,18,.06); }
  #prog .names button.on .no { background: var(--accent); border-color: var(--accent); color: var(--ink); }
  #prog .names button:hover { color: var(--ink); }

  html.deck .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: var(--foot); align-items: center; justify-content: center; gap: 18px; border-top: 1px solid var(--line); background: rgba(251,251,250,.96); font-size: 15px; z-index: 5; }
  html.deck .bar button { font: inherit; width: 42px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 18px; }
  html.deck .bar button:hover { border-color: var(--blue); }
  html.deck .bar a { color: var(--blue); text-decoration: none; font-weight: 600; }
  html.deck #count { min-width: 76px; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
}
@media (min-width: 1000px) and (max-width: 1299px) and (min-height: 620px) {
  #prog .names button { padding: 6px 5px; font-size: 12.5px; gap: 5px; }
}

/* subtle entrance motion, only when wanted */
@media (prefers-reduced-motion: no-preference) {
  html.deck .slide { transition: opacity .2s ease; }
  html.deck .slide.active > * { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
  html.deck .slide.active > :nth-child(2) { animation-delay: .06s; }
  html.deck .slide.active > :nth-child(3) { animation-delay: .12s; }
  html.deck .slide.active > :nth-child(n+4) { animation-delay: .18s; }
  html.deck .slide.active .pin { animation: pop .35s .35s cubic-bezier(.2,.8,.3,1.4) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
