/* ── Blog post that doubles as a slide deck (#deck, driven by assets/js/blog-deck.js).
   Everything is sized in em so the same parts scale up on slides. Rules start at #deck so they
   win over the article styles in module.css and library-page.css. ── */

#deck {
  --bd-ink: var(--hd-ink, #1c1d1c);
  --bd-accent: var(--hd-accent, #ffd653);
  --bd-accent-2: var(--hd-accent-hover, #f0c42a);
  --bd-warm: var(--hd-warm, #f7f1dc);
  --bd-soft: color-mix(in srgb, var(--bd-accent) 26%, #fff);
  --bd-line: rgba(32,33,31,.1);
  --bd-muted: #5d5e58;
  color: #2b2c29;
  font-size: 17.5px;
  line-height: 1.7;
}

/* Reset the article styles this page's parts do not want. */
#deck h2, #deck h3, #deck p, #deck ol, #deck ul, #deck li {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; letter-spacing: inherit;
}
#deck ol, #deck ul { display: block; list-style: none; }
#deck li::before, #deck h3::before { content: none; }
#deck p + p { margin-top: .8em; }
#deck b, #deck strong { color: inherit; font-weight: 600; }
#deck em { color: inherit; }
#deck:not(.is-deck) .bd-d { display: none; }

/* ── Article ── */
#deck .bd-s { margin: 0 0 1.8em; }
#deck .bd-s > * + * { margin-top: 1em; }
#deck .bd-s--open { margin-top: 3.6em; padding-top: 2.4em; border-top: 1px solid var(--bd-line); }
#deck .bd-num { color: var(--bd-ink); font-size: 3.6em; font-weight: 200; line-height: 1; letter-spacing: -.04em; }
#deck .bd-num::after { content: ''; display: block; width: 1.1em; height: .12em; margin-top: .18em; border-radius: 999px; background: var(--bd-accent); transform-origin: left; }
#deck .bd-num + .bd-h, #deck .bd-num + .bd-qhead { margin-top: .5em; }
#deck .bd-h { color: var(--bd-ink); font-size: 1.62em; font-weight: 600; line-height: 1.22; letter-spacing: -.02em; }
#deck .bd-h--xl { font-size: 3.4em; font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
#deck .bd-h3 { color: var(--bd-ink); font-size: 1.18em; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
#deck .bd-lede { color: #3c3d38; font-size: 1.14em; line-height: 1.6; }
#deck .bd-kicker { color: var(--bd-muted); font-size: .78em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-note { padding-left: .9em; border-left: 3px solid var(--bd-accent); color: var(--bd-muted); font-size: .88em; line-height: 1.6; }
#deck .bd-note--flag { padding: .85em 1.1em; border: 0; border-radius: .9em; background: var(--bd-warm); color: var(--bd-ink); font-size: .95em; }
#deck .bd-answer { color: var(--bd-ink); font-size: 2.4em; font-weight: 300; line-height: 1.1; letter-spacing: -.035em; }
#deck .bd-answer::after { content: ''; display: block; width: 1.4em; height: .1em; margin-top: .14em; border-radius: 999px; background: var(--bd-accent); transform-origin: left; }

/* Present button */
#deck .bd-launch { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin: 0 0 2em; padding: .7em .7em .7em 1.2em; border-radius: 999px; background: var(--bd-warm); }
#deck .bd-launch p { color: var(--bd-muted); font-size: .9em; line-height: 1.4; }
#deck .bd-launch p b { color: var(--bd-ink); }
#deck .bd-launch-btn { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45em; padding: .6em 1.2em; border: 0; border-radius: 999px; background: var(--bd-ink); color: #fff; font: inherit; font-size: .92em; font-weight: 500; cursor: pointer; transition: transform .15s ease; }
#deck .bd-launch-btn:hover { transform: translateY(-1px); }
#deck .bd-launch-btn svg { width: 1em; height: 1em; fill: var(--bd-accent); }

/* Chips */
#deck .bd-chips { display: flex; flex-wrap: wrap; gap: .45em; }
#deck .bd-chips span { padding: .38em .9em; border-radius: 999px; background: var(--bd-soft); color: var(--bd-ink); font-size: .88em; line-height: 1.4; transition: background .15s ease, transform .15s ease; }
#deck .bd-chips span:hover { background: var(--bd-accent); transform: translateY(-2px); }
#deck .bd-chips--tight span { background: #fff; font-weight: 500; }
#deck .bd-chips--dark span { background: rgba(255,255,255,.1); color: #fff; }
#deck .bd-chips--dark span:hover { background: var(--bd-accent); color: var(--bd-ink); }

/* Big figure on the accent colour */
#deck .bd-stat { display: grid; gap: .3em; padding: 1.3em 1.5em; border-radius: 1.2em; background: var(--bd-accent); color: var(--bd-ink); }
#deck .bd-stat b { font-size: 2.6em; font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#deck .bd-stat p { color: #3c3d38; }
#deck .bd-stat--row { grid-template-columns: auto 1fr; align-items: center; gap: 1.2em; }
#deck .bd-stat-fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em 1em; }
#deck .bd-days { padding: .3em .85em; border-radius: 999px; background: var(--bd-ink); color: var(--bd-accent); font-size: .85em; font-weight: 600; white-space: nowrap; }
#deck .bd-days:empty { display: none; }

/* Tiles */
#deck .bd-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65em; }
#deck .bd-tile { position: relative; display: grid; align-content: start; gap: .25em; padding: 1em 1.1em; border-radius: 1em; background: var(--bd-soft); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
#deck .bd-tile:hover { transform: translateY(-3px); box-shadow: 0 .6em 1.4em rgba(32,33,31,.1); }
#deck .bd-tile b { color: var(--bd-ink); font-size: .98em; line-height: 1.35; }
#deck .bd-tile span { color: #45463f; font-size: .88em; line-height: 1.5; }
#deck .bd-tile span i { display: block; margin-top: .4em; color: var(--bd-ink); font-size: .92em; font-style: normal; font-weight: 600; }
#deck .bd-tiles--sectors .bd-tile b small { display: inline-grid; min-width: 1.7em; height: 1.7em; margin-left: .3em; padding: 0 .4em; place-items: center; border-radius: 999px; background: var(--bd-ink); color: var(--bd-accent); font-size: .78em; font-weight: 600; vertical-align: .1em; }
#deck .bd-tiles--sectors .bd-tile span { font-size: .82em; line-height: 1.55; }
#deck .bd-tiles--num { counter-reset: bd-tile; }
#deck .bd-tiles--num .bd-tile { counter-increment: bd-tile; }
#deck .bd-tiles--num .bd-tile::before { content: counter(bd-tile, decimal-leading-zero); color: var(--bd-ink); font-size: 1.5em; font-weight: 200; line-height: 1.1; }
#deck .bd-tiles--num .bd-tile > span { color: var(--bd-ink); font-size: .92em; }
#deck .bd-tags { display: flex; flex-wrap: wrap; gap: .3em; margin-top: .35em; font-style: normal; }
#deck .bd-tags a { padding: .15em .6em; border-radius: 999px; background: #fff; color: var(--bd-ink); font-size: .74em; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background .15s ease; }
#deck .bd-tags a:hover { background: var(--bd-ink); color: #fff; }
#deck .bd-tiles--num .bd-tile:hover { background: var(--bd-accent); }

/* "What should organisations do?" — the one dark card */
#deck .bd-do { padding: 1.5em 1.7em; border-radius: 1.3em; background: var(--bd-ink); color: rgba(255,255,255,.82); }
#deck .bd-do > * + * { margin-top: .9em; }
#deck .bd-do-k { color: var(--bd-accent); font-size: .78em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-do-h { color: #fff; font-size: 1.16em; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
#deck .bd-do-foot { color: rgba(255,255,255,.72); font-size: .94em; }
#deck .bd-grid6 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55em; counter-reset: bd-g; }
#deck .bd-grid6 li { position: relative; padding: .75em 1em .75em 3em; border-radius: .85em; background: rgba(255,255,255,.08); color: #fff; font-size: .95em; line-height: 1.4; counter-increment: bd-g; transition: background .15s ease; }
#deck .bd-grid6 li:hover { background: rgba(255,255,255,.16); }
#deck .bd-grid6 li::before { content: counter(bd-g); position: absolute; left: .85em; top: 50%; display: grid; width: 1.55em; height: 1.55em; place-items: center; border-radius: 50%; background: var(--bd-accent); color: var(--bd-ink); font-size: .85em; font-weight: 600; transform: translateY(-50%); }

/* A row of stages */
#deck .bd-journey { display: flex; flex-wrap: wrap; gap: .4em; }
#deck .bd-journey li { display: inline-flex; align-items: center; gap: .4em; padding: .4em .95em; border-radius: 999px; background: var(--bd-soft); color: var(--bd-ink); font-size: .9em; font-weight: 500; line-height: 1.35; }
#deck .bd-journey li + li::before { content: '→'; margin-left: -.15em; color: var(--bd-muted); }
#deck .bd-do .bd-journey li { background: rgba(255,255,255,.1); color: #fff; }
#deck .bd-do .bd-journey li + li::before { color: var(--bd-accent); }
#deck .bd-journey--dark li { background: var(--bd-ink); color: #fff; }
#deck .bd-journey--dark li + li::before { color: var(--bd-accent); }

/* Three roles, with data flowing along and responsibility looping back to the bank */
#deck .bd-roles { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8em; }
#deck .bd-roles::before { content: ''; position: absolute; z-index: 0; top: 2.7em; left: 10%; width: .7em; height: .7em; border-radius: 50%; background: var(--bd-accent-2); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--bd-accent) 40%, transparent); animation: bd-flow 3.2s ease-in-out infinite; }
#deck .bd-role { position: relative; z-index: 1; display: grid; align-content: start; gap: .3em; padding: 1.1em 1.2em; border-radius: 1.1em; background: var(--bd-soft); transition: transform .2s ease, box-shadow .2s ease; }
#deck .bd-role:hover { transform: translateY(-3px); box-shadow: 0 .6em 1.4em rgba(32,33,31,.12); }
#deck .bd-role:not(:nth-child(3)):not(:last-child)::after { content: '→'; position: absolute; top: 50%; right: -1.35em; color: var(--bd-ink); font-size: 1.2em; transform: translateY(-50%); }
#deck .bd-role small { color: var(--bd-muted); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-role b { color: var(--bd-ink); font-size: 1.2em; font-weight: 600; line-height: 1.25; }
#deck .bd-role span { color: #45463f; font-size: .86em; line-height: 1.5; }
#deck .bd-role--main { background: var(--bd-ink); }
#deck .bd-role--main small { color: var(--bd-accent); }
#deck .bd-role--main b { color: #fff; }
#deck .bd-role--main span { color: rgba(255,255,255,.75); }
#deck .bd-roles-back { position: relative; grid-column: 2 / 4; height: 2.6em; margin: -1.1em 16% 0; border: 2px dashed var(--bd-ink); border-top: 0; border-radius: 0 0 1.2em 1.2em; }
#deck .bd-roles-back::before { content: ''; position: absolute; left: -.42em; top: -.1em; border: .38em solid transparent; border-bottom: .55em solid var(--bd-ink); border-top: 0; }
#deck .bd-roles-back span { position: absolute; left: 50%; bottom: -.85em; padding: .2em .9em; border-radius: 999px; background: var(--bd-accent); color: var(--bd-ink); font-size: .82em; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }

/* Two panels side by side */
#deck .bd-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em; }
#deck .bd-panel { padding: 1.1em 1.2em; border-radius: 1.1em; background: var(--bd-soft); }
#deck .bd-panel > * + * { margin-top: .6em; }
#deck .bd-panel small { display: block; color: var(--bd-muted); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-panel p { font-size: .95em; }

/* Callout */
#deck .bd-callout { padding: 1em 1.3em; border-left: 4px solid var(--bd-accent); border-radius: 0 1em 1em 0; background: var(--bd-warm); }
#deck .bd-callout b { color: var(--bd-ink); }

/* Scenario: the question, a show of hands, then the answer */
#deck .bd-scn { padding: 1.5em 1.7em; border: 2px solid var(--bd-ink); border-radius: 1.3em; background: #fff; }
#deck .bd-scn-k { display: inline-block; padding: .25em .85em; border-radius: 999px; background: var(--bd-accent); color: var(--bd-ink); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-scn-q { margin-top: .7em; color: var(--bd-ink); font-size: 1.32em; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
#deck .bd-scn-a { margin-top: 1.2em; padding-top: 1.1em; border-top: 1px dashed rgba(32,33,31,.25); }
#deck .bd-scn-a::before { content: 'Answer'; display: block; margin-bottom: .5em; color: var(--bd-muted); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-scn-a > * + * { margin-top: .8em; }
#deck .bd-scn-a b { color: var(--bd-ink); }
#deck .bd-poll { display: flex; flex-wrap: wrap; gap: .5em; margin-top: 1em; }
#deck .bd-poll button { position: relative; display: inline-flex; align-items: center; gap: .6em; overflow: hidden; padding: .5em 1.1em; border: 2px solid var(--bd-ink); border-radius: 999px; background: #fff; color: var(--bd-ink); font: inherit; font-size: .92em; font-weight: 500; cursor: pointer; transition: transform .15s ease; }
#deck .bd-poll button:hover { transform: translateY(-2px); }
#deck .bd-poll button:active { transform: scale(.96); }
#deck .bd-poll button::before { content: ''; position: absolute; inset: 0 auto 0 0; z-index: 0; width: var(--share, 0%); background: var(--bd-accent); transition: width .35s ease; }
#deck .bd-poll i { position: relative; z-index: 1; min-width: 1.5em; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
#deck .bd-poll i:empty { display: none; }
#deck .bd-poll-label { position: relative; z-index: 1; }

/* Lettered cards */
#deck .bd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em; }
#deck .bd-card { padding: 1.2em 1.3em; border-radius: 1.2em; background: var(--bd-soft); transition: transform .2s ease, box-shadow .2s ease; }
#deck .bd-card:hover { transform: translateY(-3px); box-shadow: 0 .6em 1.4em rgba(32,33,31,.1); }
#deck .bd-card > * + * { margin-top: .6em; }
#deck .bd-card i { display: grid; width: 1.9em; height: 1.9em; place-items: center; border-radius: 50%; background: var(--bd-ink); color: var(--bd-accent); font-size: .85em; font-style: normal; font-weight: 600; }
#deck .bd-card p { font-size: .94em; }

/* Regulators, with DPDP running across them; hovering a linked area lights up its matches */
#deck .bd-reg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
#deck .bd-reg-col { display: grid; align-content: start; gap: .2em; padding: 1.1em 1.2em; border-radius: 1.1em; background: var(--bd-soft); }
#deck .bd-reg-col b { color: var(--bd-ink); font-size: 1.7em; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
#deck .bd-reg-col small { min-height: 2.6em; color: var(--bd-muted); font-size: .78em; line-height: 1.35; }
#deck .bd-reg-col ul { margin-top: .5em; }
#deck .bd-reg-col li { margin: 0 -.4em; padding: .3em .4em; border-top: 1px solid var(--bd-line); border-radius: .4em; color: var(--bd-ink); font-size: .9em; line-height: 1.4; transition: background .2s ease; }
#deck .bd-reg-dpdp { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5em 1em; padding: 1em 1.3em; border-radius: 1.1em; background: var(--bd-ink); }
#deck .bd-reg-dpdp b { color: var(--bd-accent); font-size: 1.2em; }
#deck .bd-reg-tags { display: flex; flex-wrap: wrap; gap: .35em; }
#deck .bd-reg-tags span { padding: .2em .75em; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: .88em; transition: background .2s ease, color .2s ease; }
#deck [data-hl] { cursor: help; }
#deck .bd-reg-col li[data-hl] { text-decoration: underline dotted rgba(32,33,31,.35); text-underline-offset: 3px; }
#deck .bd-reg.hl-security [data-hl="security"], #deck .bd-reg.hl-accountability [data-hl="accountability"] { background: var(--bd-accent); color: var(--bd-ink); }

/* Breach response, numbered */
#deck .bd-flow { display: grid; gap: .5em; margin-top: .8em; counter-reset: bd-f; }
#deck .bd-flow li { position: relative; padding: .7em 1em .7em 3em; border-radius: .9em; background: var(--bd-soft); color: var(--bd-ink); font-size: .95em; line-height: 1.45; counter-increment: bd-f; }
#deck .bd-flow li::before { content: counter(bd-f); position: absolute; left: .85em; top: .72em; display: grid; width: 1.55em; height: 1.55em; place-items: center; border-radius: 50%; background: var(--bd-ink); color: var(--bd-accent); font-size: .85em; font-weight: 600; }

/* Reporting timeline */
#deck .bd-time { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; padding: 1.2em 0 .4em; }
#deck .bd-time::before { content: ''; position: absolute; left: .45em; right: 0; top: 3.15em; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--bd-ink), var(--bd-accent)); transform-origin: left; }
#deck .bd-time-pt { position: relative; display: grid; align-content: start; gap: .35em; }
#deck .bd-time-pt i { justify-self: start; padding: .2em .75em; border-radius: 999px; background: var(--bd-ink); color: #fff; font-size: .82em; font-style: normal; font-weight: 600; }
#deck .bd-time-pt::before { content: ''; order: 1; width: .95em; height: .95em; margin: .25em 0 .35em; border: 3px solid var(--bd-ink); border-radius: 50%; background: var(--bd-accent); }
#deck .bd-time-pt b { order: 2; color: var(--bd-ink); font-size: .9em; font-weight: 500; line-height: 1.4; }
#deck .bd-time-pt--0 i { background: var(--bd-soft); color: var(--bd-ink); }
#deck .bd-time-pt--72 i { background: var(--bd-accent); color: var(--bd-ink); }

/* Retain, erase, stop */
#deck .bd-sort { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
#deck .bd-sort > div { position: relative; display: grid; gap: .3em; padding: .9em 1em; border-radius: .9em; background: var(--bd-soft); }
#deck .bd-sort > div::after { content: ''; position: absolute; top: .9em; right: 1em; width: 1em; height: 1.25em; border-radius: .15em; background: #fff linear-gradient(var(--bd-line), var(--bd-line)) center 35% / 60% 2px no-repeat; box-shadow: 0 0 0 2px var(--bd-ink); }
#deck .bd-sort b { justify-self: start; padding: .15em .8em; border-radius: 999px; background: var(--bd-ink); color: #fff; font-size: .85em; }
#deck .bd-sort > div:nth-child(2) b { background: var(--bd-accent); color: var(--bd-ink); }
#deck .bd-sort > div:nth-child(3) b { background: #fff; color: var(--bd-ink); }
#deck .bd-sort span { color: var(--bd-ink); font-size: .9em; line-height: 1.4; }

/* Seven steps */
#deck .bd-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; }
#deck .bd-steps li { display: grid; align-content: start; gap: .2em; padding: 1em 1.1em; border-radius: 1em; background: var(--bd-soft); transition: transform .2s ease, box-shadow .2s ease; }
#deck .bd-steps li:hover { transform: translateY(-3px); box-shadow: 0 .6em 1.4em rgba(32,33,31,.1); }
#deck .bd-steps li:first-child { background: var(--bd-ink); }
#deck .bd-steps li:first-child small { color: var(--bd-accent); }
#deck .bd-steps li:first-child b { color: #fff; }
#deck .bd-steps li:first-child span { color: rgba(255,255,255,.75); }
#deck .bd-steps small { color: var(--bd-muted); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-steps b { color: var(--bd-ink); font-size: 1.02em; line-height: 1.3; }
#deck .bd-steps span { color: #45463f; font-size: .86em; line-height: 1.5; }

/* Ten questions: tap to tick; the ring counts them */
#deck .bd-qhead { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
#deck .bd-ring { display: flex; flex: 0 0 auto; align-items: center; gap: .6em; }
#deck .bd-ring svg { width: 3.4em; height: 3.4em; transform: rotate(-90deg); }
#deck .bd-ring circle { fill: none; stroke: var(--bd-soft); stroke-width: 4; }
#deck .bd-ring .bd-ring-fill { stroke: var(--bd-ink); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: calc(97.4 - 97.4 * var(--done, 0) / 10); transition: stroke-dashoffset .5s ease; }
#deck .bd-ring > span { display: grid; color: var(--bd-ink); font-size: .9em; font-weight: 500; line-height: 1.2; }
#deck .bd-ring b { font-size: 1.6em; font-weight: 300; }
#deck .bd-ring small { color: var(--bd-muted); font-size: .78em; }
#deck .bd-ring.is-full .bd-ring-fill { stroke: var(--bd-accent-2); }
#deck .bd-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5em; counter-reset: bd-q; }
#deck .bd-check li { counter-increment: bd-q; }
#deck .bd-check button { position: relative; display: flex; align-items: flex-start; width: 100%; height: 100%; padding: .75em 1em .75em 3.1em; border: 0; border-radius: .9em; background: var(--bd-soft); color: var(--bd-ink); font: inherit; font-size: .93em; line-height: 1.4; text-align: left; cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s ease; }
#deck .bd-check button::before { content: counter(bd-q); position: absolute; left: .85em; top: .78em; display: grid; width: 1.6em; height: 1.6em; place-items: center; border: 2px solid var(--bd-ink); border-radius: 50%; font-size: .85em; font-weight: 600; transition: transform .25s ease; }
#deck .bd-check button:hover { background: color-mix(in srgb, var(--bd-accent) 45%, #fff); }
#deck .bd-check button:active { transform: scale(.98); }
#deck .bd-check button[aria-pressed="true"] { background: var(--bd-ink); color: #fff; }
#deck .bd-check button[aria-pressed="true"]::before { content: '✓'; border-color: var(--bd-accent); background: var(--bd-accent); color: var(--bd-ink); transform: rotate(360deg); }

/* Agenda */
#deck .bd-agenda { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45em; }
#deck .bd-agenda a { display: flex; align-items: center; gap: .8em; height: 100%; padding: .55em .9em; border-radius: .85em; background: var(--bd-soft); color: var(--bd-ink); font-size: .94em; line-height: 1.35; text-decoration: none; transition: background .15s ease, transform .15s ease; }
#deck .bd-agenda a:hover { background: var(--bd-accent); transform: translateX(4px); }
#deck .bd-agenda i { flex: 0 0 auto; font-size: 1.35em; font-style: normal; font-weight: 200; letter-spacing: -.03em; }

/* Title, closing and about */
#deck .bd-pill { display: inline-block; padding: .35em .95em; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: .82em; }
#deck .bd-pill--accent { background: var(--bd-accent); color: var(--bd-ink); font-weight: 600; }
#deck .bd-title-foot { display: flex; flex-wrap: wrap; gap: .5em; }
#deck .bd-byline { color: rgba(255,255,255,.65); font-size: .9em; }
#deck .bd-s--close { padding: 1.6em 1.7em; border-radius: 1.3em; background: var(--bd-warm); }
#deck .bd-s--close .bd-h { font-size: 1.4em; }
#deck .bd-s--about { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--bd-line); }
#deck .bd-s--about .bd-note { border: 0; padding: .8em 1em; border-radius: .8em; background: var(--bd-warm); }
#deck .bd-about > div > * + * { margin-top: .8em; }
#deck .bd-thanks { color: var(--bd-ink); font-size: 2.2em; font-weight: 300; letter-spacing: -.03em; }

/* World map in the jurisdiction-map style (world-map.css): flat grey countries, India and the
   source countries lit up, numbered yellow pins. Drawn by the post's own script. */
#deck .cm-svg { display: block; width: 100%; height: auto; overflow: hidden; }
#deck .cm-land { fill: #d9d8d3; stroke: #fff; stroke-width: .7; transition: fill .4s ease; }
#deck .cm-land.cm-src { fill: #8f908a; }
#deck .cm-land.cm-in { fill: var(--bd-accent); stroke: #20211f; stroke-width: 1.4; }
#deck .cm-f path { fill: none; stroke: #20211f; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 0; transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1); }
#deck .cm-pin circle { fill: var(--bd-accent); stroke: #fff; stroke-width: 2.5; }
#deck .cm-pin text, #deck .cm-india { fill: var(--bd-ink); font-size: 19px; font-weight: 600; paint-order: stroke; stroke: var(--bd-warm); stroke-width: 6px; stroke-linejoin: round; }
#deck .cm-india { font-size: 22px; }
#deck .cm-arrow { fill: #20211f; }
#deck .cm-key { display: none; }
/* On slides, each flow waits for its line in the key */
#deck.is-deck .cm-svg { width: auto; max-width: 100%; height: 30em; margin: 0 auto; }
#deck.is-deck .cm-f { opacity: 0; transition: opacity .3s ease; }
#deck.is-deck .cm-f path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
#deck.is-deck .cm-land.cm-src { fill: #d9d8d3; }
#deck.is-deck .cm:has(li[data-f="us"].is-shown) .cm-f[data-f="us"],
#deck.is-deck .cm:has(li[data-f="ca"].is-shown) .cm-f[data-f="ca"],
#deck.is-deck .cm:has(li[data-f="br"].is-shown) .cm-f[data-f="br"],
#deck.is-deck .cm:has(li[data-f="de"].is-shown) .cm-f[data-f="de"],
#deck.is-deck .cm:has(li[data-f="ru"].is-shown) .cm-f[data-f="ru"],
#deck.is-deck .cm:has(li[data-f="ae"].is-shown) .cm-f[data-f="ae"],
#deck.is-deck .cm:has(li[data-f="za"].is-shown) .cm-f[data-f="za"],
#deck.is-deck .cm:has(li[data-f="au"].is-shown) .cm-f[data-f="au"] { opacity: 1; }
#deck.is-deck .cm:has(li[data-f="us"].is-shown) .cm-f[data-f="us"] path,
#deck.is-deck .cm:has(li[data-f="ca"].is-shown) .cm-f[data-f="ca"] path,
#deck.is-deck .cm:has(li[data-f="br"].is-shown) .cm-f[data-f="br"] path,
#deck.is-deck .cm:has(li[data-f="de"].is-shown) .cm-f[data-f="de"] path,
#deck.is-deck .cm:has(li[data-f="ru"].is-shown) .cm-f[data-f="ru"] path,
#deck.is-deck .cm:has(li[data-f="ae"].is-shown) .cm-f[data-f="ae"] path,
#deck.is-deck .cm:has(li[data-f="za"].is-shown) .cm-f[data-f="za"] path,
#deck.is-deck .cm:has(li[data-f="au"].is-shown) .cm-f[data-f="au"] path { stroke-dashoffset: 0; }
#deck.is-deck .cm:has(li[data-f="us"].is-shown) .cm-land[data-f="us"],
#deck.is-deck .cm:has(li[data-f="ca"].is-shown) .cm-land[data-f="ca"],
#deck.is-deck .cm:has(li[data-f="br"].is-shown) .cm-land[data-f="br"],
#deck.is-deck .cm:has(li[data-f="de"].is-shown) .cm-land[data-f="de"],
#deck.is-deck .cm:has(li[data-f="ru"].is-shown) .cm-land[data-f="ru"],
#deck.is-deck .cm:has(li[data-f="ae"].is-shown) .cm-land[data-f="ae"],
#deck.is-deck .cm:has(li[data-f="za"].is-shown) .cm-land[data-f="za"],
#deck.is-deck .cm:has(li[data-f="au"].is-shown) .cm-land[data-f="au"] { fill: #8f908a; }
#deck.is-deck .bd-s.is-cur .cm-land.cm-in { animation: bd-fade .6s ease .2s both; }

/* Earning potential: jobs as a pay table with a range bar, consulting as a calculator */
#deck .bd-earn-k { color: var(--bd-muted); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-pay-up > * + * { margin-top: .5em; }
#deck .bd-pay { width: 100%; border-collapse: separate; border-spacing: 0 .4em; margin: 0; font-size: .95em; }
#deck .bd-pay th, #deck .bd-pay td { padding: .6em .9em; border: 0; background: var(--bd-soft); color: var(--bd-ink); text-align: left; vertical-align: middle; }
#deck .bd-pay thead th { padding-top: 0; padding-bottom: 0; background: none; color: var(--bd-muted); font-size: .74em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-pay tbody th { border-radius: .8em 0 0 .8em; font-weight: 500; }
#deck .bd-pay tbody td:last-child { border-radius: 0 .8em .8em 0; white-space: nowrap; }
#deck .bd-pay td:nth-child(2) { width: 46%; }
#deck .bd-pay td b { font-weight: 600; font-variant-numeric: tabular-nums; }
#deck .bd-pay-bar { position: relative; display: block; height: .55em; margin-bottom: .35em; border-radius: 999px; background: #fff; }
#deck .bd-pay-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--bd-accent-2); }
#deck .bd-pay tbody tr:first-child th, #deck .bd-pay tbody tr:first-child td { background: var(--bd-ink); color: #fff; }
#deck .bd-pay tbody tr:first-child .bd-pay-bar { background: rgba(255,255,255,.15); }
#deck .bd-pay tbody tr:first-child .bd-pay-bar i { background: var(--bd-accent); }
#deck.is-deck .bd-s.is-cur .bd-pay-bar i { animation: bd-grow .8s cubic-bezier(.2,.8,.2,1) .3s both; transform-origin: left; }

#deck .bd-calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .8em; }
#deck .bd-calc-in { display: grid; gap: 1em; padding: 1.3em 1.4em; border-radius: 1.2em; background: var(--bd-soft); }
#deck .bd-calc label { display: grid; gap: .45em; cursor: pointer; }
#deck .bd-calc label > span { display: flex; justify-content: space-between; gap: 1em; color: var(--bd-ink); font-size: .92em; font-weight: 500; }
#deck .bd-calc output { font-weight: 600; font-variant-numeric: tabular-nums; }
#deck .bd-calc input[type="range"] { width: 100%; margin: 0; accent-color: var(--bd-ink); cursor: pointer; }
#deck .bd-calc-hint { color: var(--bd-muted); font-size: .82em; line-height: 1.45; }
#deck .bd-calc-out { display: flex; flex-direction: column; justify-content: center; gap: .5em; padding: 1.4em 1.5em; border-radius: 1.2em; background: var(--bd-ink); color: rgba(255,255,255,.8); }
#deck .bd-calc-out small { color: var(--bd-accent); font-size: .78em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#deck .bd-calc-out > b { color: #fff; font-size: 2.8em; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
#deck .bd-calc-out > span { font-size: .9em; line-height: 1.5; }
#deck .bd-calc-month { padding-top: .6em; border-top: 1px solid rgba(255,255,255,.15); }
#deck .bd-calc-month b { color: var(--bd-accent); font-weight: 600; }
#deck.is-deck .bd-calc { user-select: none; }
@media (max-width: 640px) { #deck .bd-calc { grid-template-columns: minmax(0, 1fr); } }

/* Tool names link out from the dark card */
#deck .bd-grid6 a { color: var(--bd-accent); text-decoration: none; }
#deck .bd-grid6 a b { color: var(--bd-accent); }
#deck .bd-grid6 a:hover b { text-decoration: underline; text-underline-offset: 3px; }
#deck .bd-grid6 a::after { content: ' ↗'; color: var(--bd-accent); font-size: .85em; }

/* Closing links */
#deck .bd-ctas { display: flex; flex-wrap: wrap; gap: .6em; }
#deck .bd-ctas a { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.3em; border-radius: 999px; background: var(--bd-ink); color: #fff; font-weight: 500; line-height: 1.3; text-decoration: none; transition: transform .15s ease; }
#deck .bd-ctas a:hover { transform: translateY(-2px); }
#deck .bd-ctas a + a { background: var(--bd-accent); color: var(--bd-ink); }
#deck .bd-ctas small { display: block; opacity: .75; font-size: .78em; font-weight: 400; }

@media (max-width: 640px) {
  #deck { font-size: 16.5px; }
  #deck .bd-launch { border-radius: 1em; }
  #deck .bd-tiles, #deck .bd-grid6, #deck .bd-split, #deck .bd-cards, #deck .bd-reg,
  #deck .bd-sort, #deck .bd-steps, #deck .bd-check, #deck .bd-agenda { grid-template-columns: minmax(0, 1fr); }
  #deck .bd-roles { grid-template-columns: minmax(0, 1fr); gap: 1.6em; }
  #deck .bd-roles::before { display: none; }
  #deck .bd-role:not(:nth-child(3)):not(:last-child)::after { content: '↓'; top: auto; right: auto; bottom: -1.45em; left: 50%; transform: translateX(-50%); }
  #deck .bd-roles-back { grid-column: 1; height: auto; margin: 0; border: 0; text-align: center; }
  #deck .bd-roles-back::before { content: none; }
  #deck .bd-roles-back span { position: static; display: inline-block; white-space: normal; transform: none; }
  #deck .bd-stat--row { grid-template-columns: minmax(0, 1fr); }
  #deck .bd-time { grid-template-columns: minmax(0, 1fr); padding-left: 1.6em; }
  #deck .bd-time::before { left: .45em; right: auto; top: 1.4em; bottom: .6em; width: 3px; height: auto; background: linear-gradient(180deg, var(--bd-ink), var(--bd-accent)); }
  #deck .bd-time-pt::before { position: absolute; left: -1.6em; top: .1em; margin: 0; }
  #deck .bd-reg-col small { min-height: 0; }
  #deck .bd-qhead { flex-direction: column; align-items: flex-start; }
}

/* ── Slides (#deck moved under <body> and given .is-deck) ── */
html.bd-lock, html.bd-lock body { overflow: hidden; }
#deck.is-deck { position: fixed; inset: 0; z-index: 10000; overflow: hidden; background: var(--bd-warm); font-size: 16px; }
#deck.is-deck .bd-ui, #deck.is-deck .bd-poll, #deck.is-deck .bd-check, #deck.is-deck .bd-tiles--reveal { -webkit-user-select: none; user-select: none; }
#deck.is-deck .bd-a, #deck.is-deck .bd-launch { display: none; }
#deck.is-deck .bd-s {
  position: absolute; inset: 4.2rem max(5vw, 1.2rem) 4.6rem; display: none; flex-direction: column; justify-content: safe center;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; overflow: hidden;
}
#deck.is-deck .bd-s.is-cur { display: flex; animation: bd-in-fwd .5s cubic-bezier(.2,.8,.2,1) both; }
#deck.is-deck.is-back .bd-s.is-cur { animation-name: bd-in-back; }
#deck.is-deck .bd-s > * { flex: 0 0 auto; }
#deck.is-deck .bd-s > * + * { margin-top: 1.1em; }
#deck.is-deck .bd-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#deck.is-deck .bd-grid6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#deck.is-deck .bd-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#deck.is-deck .bd-flow { gap: .4em; }
#deck.is-deck .bd-flow li { padding-top: .55em; padding-bottom: .55em; }
#deck.is-deck .bd-flow li::before { top: .55em; }
#deck.is-deck .bd-note--flag, #deck.is-deck .bd-callout, #deck.is-deck .bd-s--about .bd-note { background: #fff; }
#deck.is-deck .bd-num { font-size: 4.4em; }
#deck.is-deck .bd-h { font-size: 2.1em; }
#deck.is-deck .bd-s--close .bd-h { font-size: 2.1em; }
#deck.is-deck .bd-s--about .bd-h3 { font-size: 1.5em; }
#deck.is-deck .bd-stat--date { grid-template-columns: auto 1fr; align-items: center; gap: .6em 1.4em; }
#deck.is-deck .bd-stat--date .bd-stat-fig { display: grid; gap: .5em; justify-items: start; }

/* Clicks: [data-step] waits for its turn */
#deck.is-deck [data-step] { opacity: 0; transform: translateY(.6em) scale(.98); transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1), clip-path .9s ease; }
#deck.is-deck [data-step].is-shown { opacity: 1; transform: none; }

/* Personal data tiles show the function only; hover or click shows the data */
#deck.is-deck .bd-tiles--reveal .bd-tile { cursor: pointer; }
#deck.is-deck .bd-tiles--reveal .bd-tile b::after { content: '+'; float: right; margin-left: .4em; color: var(--bd-muted); font-weight: 300; transition: transform .25s ease; }
#deck.is-deck .bd-tiles--reveal .bd-tile span { opacity: 0; transform: translateY(.4em); transition: opacity .3s ease, transform .3s ease; }
#deck.is-deck .bd-tiles--reveal .bd-tile:hover, #deck.is-deck .bd-tiles--reveal .bd-tile.is-open { background: var(--bd-accent); }
#deck.is-deck .bd-tiles--reveal .bd-tile:hover span, #deck.is-deck .bd-tiles--reveal .bd-tile.is-open span { opacity: 1; transform: none; }
#deck.is-deck .bd-tiles--reveal .bd-tile.is-open b::after { transform: rotate(45deg); }
/* Sector groups: names only on the slide; the open group's sectors show in one panel under the grid */
#deck.is-deck .bd-tiles--sectors { position: relative; padding-bottom: 7.5em; }
#deck.is-deck .bd-tiles--sectors .bd-tile, #deck.is-deck .bd-tiles--sectors .bd-tile:hover { position: static; transform: none; box-shadow: none; }
/* (a finished entrance must not leave a transform, or the panel would be placed inside the tile) */
#deck.is-deck .bd-s.is-cur .bd-tiles--sectors > .bd-tile { animation-fill-mode: backwards !important; }
#deck.is-deck .bd-tiles--sectors .bd-tile span { position: absolute; left: 0; right: 0; bottom: 0; display: none; height: 6.8em; padding: .9em 1.2em; border-radius: 1em; background: var(--bd-ink); color: #fff; font-size: .95em; }
#deck.is-deck .bd-tiles--sectors .bd-tile:hover span, #deck.is-deck .bd-tiles--sectors .bd-tile.is-open span { display: block; }
/* Obligation tags come up on hover */
#deck.is-deck .bd-tags { opacity: 0; transform: translateY(.3em); transition: opacity .2s ease, transform .2s ease; }
#deck.is-deck .bd-tile:hover .bd-tags { opacity: 1; transform: none; }

/* Entrances: parts of a slide arrive one after another */
#deck.is-deck .bd-s.is-cur :is(.bd-tiles, .bd-chips, .bd-grid6, .bd-agenda, .bd-check, .bd-cards, .bd-journey, .bd-reg-tags, .bd-split, .bd-poll) > :not([data-step]) {
  animation: bd-pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms + .2s);
}
#deck.is-deck .bd-s.is-cur .bd-num::after, #deck.is-deck .bd-s.is-cur .bd-answer::after { animation: bd-grow .7s cubic-bezier(.2,.8,.2,1) .25s both; }
#deck.is-deck .bd-s.is-cur .bd-answer { animation: bd-pop .5s cubic-bezier(.2,.8,.2,1) .1s both; }
#deck.is-deck .bd-s.is-cur .bd-stat { animation: bd-pop .6s cubic-bezier(.2,.8,.2,1) .25s both; }
#deck.is-deck .bd-s.is-cur .bd-days { animation: bd-pulse 2.4s ease-in-out 1s infinite; }
/* Roles: the data dot travels customer → bank → cloud provider; the loop draws in last */
#deck.is-deck .bd-roles::before { visibility: hidden; }
#deck.is-deck .bd-roles:has(> :nth-child(3).is-shown)::before { visibility: visible; }
#deck.is-deck .bd-roles-back[data-step] { clip-path: inset(-3em 200% -3em -100%); opacity: 1; transform: none; }
#deck.is-deck .bd-roles-back[data-step].is-shown { clip-path: inset(-3em -100% -3em -100%); }
/* Regulators rise; the DPDP bar sweeps across under them */
#deck.is-deck .bd-reg-dpdp[data-step] { clip-path: inset(0 100% 0 0); transform: none; }
#deck.is-deck .bd-reg-dpdp[data-step].is-shown { clip-path: inset(0 0 0 0); }
#deck.is-deck .bd-reg-col[data-step] { transform: translateY(2em); }
#deck.is-deck .bd-reg-col[data-step].is-shown { transform: none; }
/* Timeline: the line draws, each deadline pops in at its point */
#deck.is-deck .bd-s.is-cur .bd-time::before { animation: bd-draw 1.4s cubic-bezier(.4,0,.2,1) .2s both; }
#deck.is-deck .bd-time-pt[data-step] { transform: translateY(.8em) scale(.9); }
#deck.is-deck .bd-time-pt[data-step].is-shown { transform: none; }
#deck.is-deck .bd-time-pt.is-shown::before { animation: bd-ping .8s ease-out .15s; }
/* Records drop into their box */
#deck.is-deck .bd-sort > div[data-step]::after { opacity: 0; transform: translateY(-2.2em) rotate(-20deg); transition: opacity .3s ease .25s, transform .6s cubic-bezier(.3,1.5,.5,1) .25s; }
#deck.is-deck .bd-sort > div.is-shown::after { opacity: 1; transform: none; }
/* Seven steps: the newest one lights up */
#deck.is-deck .bd-steps li.is-shown { transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
#deck.is-deck .bd-steps li.is-latest { box-shadow: 0 0 0 3px var(--bd-accent-2); }

/* Dark slides: the title */
#deck.is-deck.is-dark { background: var(--bd-ink); }
#deck.is-deck .bd-s--title { color: #fff; }
#deck.is-deck .bd-s--title .bd-kicker { color: var(--bd-accent); }
#deck.is-deck .bd-s--title .bd-h { color: #fff; font-size: 4.4em; }
#deck.is-deck .bd-s--title .bd-lede { max-width: 26em; color: rgba(255,255,255,.8); font-size: 1.6em; }
#deck.is-deck .bd-s--title .bd-title-foot { margin-top: 2em; }
#deck.is-deck .bd-s.is-cur.bd-s--title > * { animation: bd-rise .8s cubic-bezier(.2,.8,.2,1) both; }
#deck.is-deck .bd-s.is-cur.bd-s--title > :nth-child(2) { animation-delay: .1s; }
#deck.is-deck .bd-s.is-cur.bd-s--title > :nth-child(3) { animation-delay: .25s; }
#deck.is-deck .bd-s.is-cur.bd-s--title > :nth-child(4) { animation-delay: .4s; }
#deck.is-deck .bd-s.is-cur.bd-s--title > :nth-child(5) { animation-delay: .55s; }

/* Slide frame: brand, section, progress, buttons */
#deck .bd-ui { display: none; }
#deck.is-deck .bd-ui { display: block; }
#deck .bd-top, #deck .bd-bot { position: absolute; left: max(5vw, 1.2rem); right: max(5vw, 1.2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--bd-muted); font-size: 14px; line-height: 1.3; }
#deck .bd-top { top: 1.3rem; }
#deck .bd-bot { bottom: 1.2rem; }
#deck .bd-brand { display: inline-flex; align-items: center; gap: .6em; }
#deck .bd-brand b { padding: .2em .8em; border: 1.5px solid currentColor; border-radius: 999px; color: var(--bd-ink); font-weight: 500; }
#deck .bd-label { padding: .3em .9em; border-radius: 999px; background: #fff; color: var(--bd-ink); font-weight: 500; }
#deck .bd-label:empty { display: none; }
#deck .bd-count { font-variant-numeric: tabular-nums; }
#deck .bd-btns { display: flex; gap: .4rem; }
#deck .bd-btns button { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--bd-ink); cursor: pointer; transition: background .15s ease; }
#deck .bd-btns button:hover { background: var(--bd-accent); }
#deck .bd-btns .bd-sep { width: 1px; margin: .3rem .2rem; background: var(--bd-line); }
#deck .bd-btns svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#deck .bd-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(32,33,31,.08); }
#deck .bd-bar i { display: block; height: 100%; background: var(--bd-ink); transition: width .3s ease; }
#deck .bd-hint { opacity: .8; }
#deck .bd-hint kbd { padding: .05em .4em; border: 1px solid currentColor; border-radius: .3em; font: inherit; font-size: .85em; }
#deck.is-dark .bd-top, #deck.is-dark .bd-bot { color: rgba(255,255,255,.6); }
#deck.is-dark .bd-brand b { color: #fff; }
#deck.is-dark .bd-btns button { background: rgba(255,255,255,.12); color: #fff; }
#deck.is-dark .bd-btns button:hover { background: var(--bd-accent); color: var(--bd-ink); }
#deck.is-dark .bd-bar { background: rgba(255,255,255,.1); }
#deck.is-dark .bd-bar i { background: var(--bd-accent); }

/* Overview (O), blackout (B) and spotlight (L) */
#deck .bd-ov, #deck .bd-black, #deck .bd-spot { display: none; }
#deck.is-ov .bd-ov { position: absolute; inset: 0; z-index: 5; display: block; overflow: auto; padding: 4.2rem max(5vw, 1.2rem) 3rem; background: var(--bd-warm); animation: bd-fade .25s ease both; }
#deck .bd-ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .7rem; }
#deck .bd-ov button { display: grid; align-content: start; gap: .3rem; min-height: 7.5rem; padding: .9rem 1rem; border: 0; border-radius: 1rem; background: #fff; color: var(--bd-ink); font: inherit; font-size: 14px; line-height: 1.35; text-align: left; cursor: pointer; transition: transform .15s ease, background .15s ease; }
#deck .bd-ov button:hover { background: var(--bd-accent); transform: translateY(-3px); }
#deck .bd-ov button.is-cur { box-shadow: 0 0 0 3px var(--bd-ink); }
#deck .bd-ov small { color: var(--bd-muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
#deck .bd-ov b { font-size: 15px; font-weight: 600; }
#deck .bd-ov-title { margin: 0 0 1rem; color: var(--bd-ink); font-size: 20px; font-weight: 600; }
#deck.is-black .bd-black { position: absolute; inset: 0; z-index: 6; display: block; background: #000; animation: bd-fade .3s ease both; }
#deck.is-spot .bd-spot { position: absolute; inset: 0; z-index: 4; display: block; pointer-events: none; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent 0, transparent 7rem, rgba(0,0,0,.6) 7.6rem); }

@media (max-width: 640px) {
  #deck .bd-hint, #deck .bd-brand span, #deck .bd-btns .bd-opt { display: none; }
  #deck.is-deck .bd-tiles--4, #deck.is-deck .bd-grid6, #deck.is-deck .bd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #deck.is-deck .cm-svg { height: auto; width: 100%; }
}

@keyframes bd-in-fwd { from { opacity: 0; transform: translateX(3%); } to { opacity: 1; transform: none; } }
@keyframes bd-in-back { from { opacity: 0; transform: translateX(-3%); } to { opacity: 1; transform: none; } }
@keyframes bd-pop { from { opacity: 0; transform: translateY(.7em) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bd-rise { from { opacity: 0; transform: translateY(1.2em); } to { opacity: 1; transform: none; } }
@keyframes bd-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bd-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bd-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bd-ink) 30%, transparent); } 50% { box-shadow: 0 0 0 .4em transparent; } }
@keyframes bd-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bd-accent-2) 80%, transparent); } 100% { box-shadow: 0 0 0 1em transparent; } }
@keyframes bd-flow {
  0% { left: 10%; opacity: 0; } 8% { opacity: 1; }
  45%, 55% { left: calc(50% - .35em); }
  92% { opacity: 1; } 100% { left: 88%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #deck *, #deck *::before, #deck *::after, #deck.is-deck .bd-s.is-cur { animation: none !important; transition: none !important; }
  #deck.is-deck .bd-roles-back[data-step].is-shown, #deck.is-deck .bd-reg-dpdp[data-step].is-shown { clip-path: none; }
}
