/* day-v2 (skies): the presentation in the V2 website's look (DESIGN-DAY-V2.md, revision 2). One override sheet, loaded
   last; the r6 sheets stay as they are, so removing this sheet's <link> gives the r6 look back. Every rule is at least as
   specific as the r6 rule it replaces (start screen .ps.jl-start, end card .pp-end.jl-end, scenes .pp-world).
   Look only: no words, no timing, no geometry the engine measures. Colours that carry meaning (outcomes, Tessera violet,
   people, the sky of the hour) and the product captures are untouched. url() here resolve against skies/. */

/* ================================================================ tokens (KIT 1), and the r6 tokens re-pointed */
:root {
  --night-0: #060a19; --night-1: #0d1640; --night-2: #0b1030; --sky-black: #04060f;
  --core-d: #0044bd; --blue-l: #7394ff; --ice: #cfdcff;
  --text-d: #eef1fa; --muted-d: #a3adca; --slate: #93a1b4; --ink: #282e42;
  --rule-d: rgba(115, 148, 255, .22); --line-d: rgba(238, 241, 250, .4);
  --e-expo: cubic-bezier(.19, 1, .22, 1); --e-out: cubic-bezier(.215, .61, .355, 1);
  --pad: 32px;
  --sk-halo: 0 0 6px var(--night-0), 0 0 14px var(--night-0);
  --sk-shadow: 0 8px 24px rgba(2, 4, 14, .35);
  --sk-dc: linear-gradient(180deg, rgba(18, 30, 92, .94), rgba(11, 19, 64, .95));
  /* art r1 item 2: the plate's night tint is .38 (was .62), so the still's stars read on a stand TV at 3 m */
  --sk-plate: linear-gradient(rgba(6, 10, 25, .38), rgba(6, 10, 25, .38)), url(stills/sky-quiet-1920.jpg) 50% 0 / cover no-repeat, #060a19;
  --sk-plate-phone: linear-gradient(rgba(6, 10, 25, .38), rgba(6, 10, 25, .38)), url(stills/sky-quiet-390.jpg) 50% 0 / cover no-repeat, #060a19;
  /* r6 tokens (engine.css) */
  --deeper: var(--night-0); --deep: var(--night-0); --card: rgba(13, 22, 64, .7); --line: var(--rule-d);
  --fg: var(--text-d); --muted: var(--muted-d); --subtle: var(--slate); --scrim: rgba(6, 10, 25, .62);
  --font: "Manrope", system-ui, sans-serif;
  --font-ar: "Manrope", "Plex Arabic", "Readex Pro", "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  --dir: 1;
}
/* QA r2 (weight): on a phone the plate is the 390 still from the first style pass, not the 1920 one that the .pp-phone override replaced only after the engine booted (61 KB less on every phone load) */
@media (max-width: 599px) { :root { --sk-plate: var(--sk-plate-phone); } }
:root, [dir="ltr"] { --dir: 1; }
[dir="rtl"] { --dir: -1; }
html, body { background: var(--night-0); }
body { font-feature-settings: "tnum" 1; }
:lang(ar) { letter-spacing: 0 !important; text-transform: none !important; }
button:focus-visible, :focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }

/* ================================================================ the sky (theme.css "the sky", unchanged) */
#sky { position: fixed; inset: 0; inline-size: 100%; block-size: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 600ms ease; }
html.sky-on #sky { opacity: 1; }
.sky-still { position: fixed; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: 50% 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 600ms ease; background: var(--night-0); }
html:not(.js) .sky-still, html.nogl .sky-still, html.sky-wait .sky-still { opacity: 1; }
html:not(.js) #sky, html.nogl #sky { display: none; }
.ov { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; contain: strict; }
.ov svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; max-inline-size: none; }
#ov-html { position: absolute; inset: 0; direction: ltr; }
html.still .ov, html.nogl .ov, html:not(.js) .ov { display: none; }
#pres-player { z-index: 2; }

/* During a story the margins are a plain night letterbox: the sky fades out (sky-link.js pauses it at the same moment). */
html:has(#pres-start:not(.ps-show)):not(:has(#pp-end.pp-show)) :is(#sky, .sky-still) { opacity: 0; }
/* The stage fades in on Start and is cut at once under the start screen and the end card (never words over words).
   art r1 item 3: full bleed. The margins around the stage carry the same plate as the stage, so its edge cannot be seen. */
#pres-player > .pp-fit { background: var(--sk-plate); opacity: 1; visibility: visible; transition: opacity 600ms ease; }
.pp-phone #pres-player > .pp-fit { background: var(--sk-plate-phone); }
#pres-start.ps-show ~ #pres-player > .pp-fit,
#pres-player:has(> #pp-end.pp-show) > .pp-fit { opacity: 0; visibility: hidden; transition: none; }
.pp-reduced #pres-player > .pp-fit, .pp-reduced :is(#sky, .sky-still) { transition-duration: .01s; }
/* r6's opaque start screen and end card hid the player under them; with the sky behind them, hide it the same way
   (visibility only: nothing the engine measures changes). */
#pres-start.ps-show ~ #pres-player, #pres-start.ps-show ~ #pres-player .pp-sound-hint { visibility: hidden; }
#pres-player:has(> #pp-end.pp-show) > :is(.pp-cardlayer, .pp-caption, .pp-chapter-card, .pp-paused) { visibility: hidden; }

/* ================================================================ components (KIT 4, prefixed sk-) */
.sk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: -.005em;
  border: 1px solid transparent; border-radius: 0; box-shadow: none; white-space: nowrap; transform: none;
  transition: background-color 240ms ease-in-out, color 240ms ease-in-out, border-color 240ms ease-in-out; }
.sk-btn-hero { min-height: 48px; padding: 0 24px; font-size: 16px; }
.sk-btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.sk-btn-primary:hover { background: transparent; color: #fff; }
.sk-btn-ghost { background: var(--night-0); color: #fff; border-color: rgba(255, 255, 255, .55); }
.sk-btn-ghost:hover { background: var(--night-1); border-color: #fff; }
.sk-tile { background: rgba(13, 22, 64, .7); border: 1px solid var(--rule-d); border-radius: 4px; transition: background-color 240ms ease-in-out, border-color 240ms ease-in-out; }
.sk-tile:hover { background: rgba(13, 22, 64, .9); border-color: rgba(115, 148, 255, .4); }
.sk-kick { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); text-shadow: var(--sk-halo); }
.sk-eye { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-l); }
.sk-accent { color: var(--blue-l); }
.sk-dm { display: inline-block; inline-size: 9px; block-size: 9px; rotate: 45deg; background: rgba(115, 148, 255, .55); flex: none; }
.sk-dm.on { background: #fff; box-shadow: 0 0 8px rgba(115, 148, 255, .8); }
/* the website's closing blocks (.k-main, .k-side): stripes as a static picture of the core's own pattern */
.sk-kmain { position: relative; overflow: hidden; background: var(--core-d); color: #fff; border-radius: 4px; }
.sk-kmain::after { content: ""; position: absolute; inset-inline-end: 0; inset-block: 52% 0; inline-size: 34%; pointer-events: none;
  background: url(stripes.svg) 0 0 / 100% 100% no-repeat; }
[dir="rtl"] .sk-kmain::after { transform: scaleX(-1); }
.sk-kside { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; background: rgba(13, 22, 64, .7); border: 1px solid var(--rule-d); border-radius: 4px; }

/* the start H1's word rise (from-only, never stuck: the resting state is the word's own style) */
.sk-w { display: inline-block; animation: skRise 1000ms var(--e-expo) backwards; animation-delay: calc(200ms + var(--i, 0) * 55ms); }
@keyframes skRise { from { opacity: 0; transform: translateY(.35em); } }
.sk-rose .sk-w, .pp-reduced .sk-w, html.still .sk-w, html[data-motion="paused"] .sk-w { animation: none; }

/* ================================================================ start screen (.ps.jl-start) */
.ps.jl-start { background: transparent; padding-top: 0; padding-bottom: clamp(16px, 2.2vh, 32px); padding-inline: var(--pad); }
.ps.jl-start::before { display: none; }
.jl-start-sky { display: none; }
.ps.jl-start .ps-top { min-height: 72px; }
.ps.jl-start .ps-logo { height: 28px; }
.ps.jl-start .ps-hint { font-size: 15px; line-height: 20px; font-weight: 500; color: rgba(255, 255, 255, .92); text-shadow: var(--sk-halo); }
.ps.jl-start .ps-hint kbd { border: 1px solid var(--rule-d); border-radius: 2px; color: #fff; }
.ps.jl-start .ps-eyebrow { font-weight: 600; letter-spacing: .14em; color: var(--blue-l); text-shadow: var(--sk-halo); }
.ps.jl-start .ps-main .ps-h1 { font-weight: 500; letter-spacing: -.04em; line-height: 1; white-space: normal; text-wrap: balance;
  font-size: min(clamp(56px, 5.4vw, 96px), 9vh); max-width: none; max-inline-size: 8.6em; margin: .18em 0 .22em; }
@media (min-width: 1301px) { .ps.jl-start .ps-main .ps-h1 { max-inline-size: min(8.6em, 62vw); } }
@media (max-width: 900px) { .ps.jl-start .ps-main .ps-h1 { font-size: min(clamp(44px, 7vw, 64px), 8vh); } }
.ps.jl-start .ps-main .ps-h1:lang(ar) { font-size: calc(.85 * min(clamp(56px, 5.4vw, 96px), 9vh)); line-height: 1.2; }
@media (max-width: 900px) { .ps.jl-start .ps-main .ps-h1:lang(ar) { font-size: calc(.85 * min(clamp(44px, 7vw, 64px), 8vh)); } }
/* laptops and 16:10 stands (shorter than 1000 px): the same hero on one line, so Start stays above the fold (G13) */
@media (min-width: 901px) and (max-height: 999px) {
  .ps.jl-start .ps-main .ps-h1 { font-size: min(clamp(44px, 4.6vw, 80px), 7.4vh); max-inline-size: min(14em, 62vw); }
  .ps.jl-start .ps-main .ps-h1:lang(ar) { font-size: calc(.85 * min(clamp(44px, 4.6vw, 80px), 7.4vh)); }
}
.ps.jl-start .ps-sub.jl-start-line { font-weight: 400; color: var(--muted-d); font-size: min(24px, 2.6vh); line-height: 1.42; text-shadow: var(--sk-halo); }
.ps.jl-start .ps-sub .cp-start-lead { font-weight: 600; color: #fff; }
.ps.jl-start .ps-label { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); text-shadow: var(--sk-halo);
  border-top: 1px solid var(--rule-d); padding-top: 10px; max-width: 1140px; }
.ps.jl-start .ps-track { padding: clamp(12px, .95vw, 20px); background: rgba(13, 22, 64, .7); border: 1px solid var(--rule-d); border-radius: 4px; box-shadow: none; transform: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color 240ms ease-in-out, border-color 240ms ease-in-out; }
.ps.jl-start .ps-track:hover { background: rgba(13, 22, 64, .9); border-color: rgba(115, 148, 255, .4); transform: none; }
.ps.jl-start .ps-track.on { background: rgba(13, 22, 64, .9); border-color: var(--blue-l); box-shadow: none; }
.ps.jl-start .ps-track .ps-tt { font-size: clamp(18px, 1.15vw, 22px); line-height: 1.27; font-weight: 500; letter-spacing: -.02em; }
/* art r1 item 11: the selected story is marked by its border only (no second marker next to the product icon) */
.ps.jl-start .ps-track .ps-tl { font-size: clamp(13px, .8vw, 15px); line-height: 1.45; color: var(--muted-d); }
.ps.jl-start .ps-track .ps-meta { color: var(--slate); }
.ps.jl-start .ps-sym-blank { border-radius: 4px; background: rgba(13, 22, 64, .9); }
.ps.jl-start .ps-cuts { gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
.ps.jl-start .ps-cuts button { border: 1px solid var(--rule-d); border-radius: 4px; background: transparent; color: var(--text-d); font-size: 15px; line-height: 20px; font-weight: 500;
  padding: 9px 18px; box-shadow: none; transition: background-color 240ms ease-in-out, border-color 240ms ease-in-out; }
.ps.jl-start .ps-cuts button:hover { background: rgba(13, 22, 64, .9); border-color: rgba(115, 148, 255, .4); }
.ps.jl-start .ps-cuts button small { font-size: 13px; line-height: 16px; font-weight: 400; color: var(--muted-d); }
.ps.jl-start .ps-cuts button.on { background: rgba(13, 22, 64, .9); border-color: var(--blue-l); color: #fff; font-weight: 600; box-shadow: none; }
.ps.jl-start .ps-cuts button.on small { color: var(--blue-l); }
.ps.jl-start .pp-cta.sk-btn-primary { background: #fff; color: var(--ink); border: 1px solid #fff; box-shadow: none; }
.ps.jl-start .pp-cta.sk-btn-primary:hover { background: transparent; color: #fff; transform: none; }
.ps.jl-start .pp-cta.pp-ghost.sk-btn-ghost { background: var(--night-0); color: #fff; border: 1px solid rgba(255, 255, 255, .55); box-shadow: none; }
.ps.jl-start .pp-cta.pp-ghost.sk-btn-ghost:hover { background: var(--night-1); border-color: #fff; transform: none; }
.ps.jl-start .ps-sound { border-radius: 0; background: var(--night-0); border: 1px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 500; position: relative; }
.ps.jl-start .ps-sound:hover { background: var(--night-1); border-color: #fff; color: #fff; }
.ps.jl-start .ps-sound[aria-pressed="true"] { background: var(--night-0); border-color: #fff; color: #fff; }
.ps.jl-start .ps-sound[aria-pressed="true"]::before { content: ""; inline-size: 7px; block-size: 7px; rotate: 45deg; background: #fff; box-shadow: 0 0 8px rgba(115, 148, 255, .8); flex: none; }
.ps.jl-start .ps-foot { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); text-shadow: var(--sk-halo);
  border-top: 1px solid var(--rule-d); padding-top: 12px; gap: 6px 32px; }
/* the hero's two copilot cards float on the sky: Argus a white plate (product picture), Tessera the decision card */
.ps.jl-start .cp-start-art .cp-hcard.light { border-radius: 4px; box-shadow: var(--sk-shadow); }
.ps.jl-start .cp-start-art .cp-hcard.navy { background: var(--sk-dc); border: 1px solid rgba(115, 148, 255, .34); border-radius: 16px; box-shadow: 0 0 48px rgba(74, 108, 255, .18); }
.ps.jl-start .cp-start-dots i, .ps.jl-start .cp-start-dots i.v { box-shadow: none; }
/* the hero cards are English product pictures (dir=ltr) in every language: they keep their own eyebrow case and tracking */
.ps.jl-start .cp-start-art .cp-hcard .ey { text-transform: uppercase !important; letter-spacing: .12em !important; }
/* short laptop screens (800 px tall or less): a little tighter still, nothing hidden */
@media (min-width: 901px) and (max-height: 800px) {
  .ps.jl-start .ps-main .ps-h1 { font-size: min(clamp(40px, 4.6vw, 80px), 6.6vh); }
  .ps.jl-start .ps-main .ps-h1:lang(ar) { font-size: calc(.85 * min(clamp(40px, 4.6vw, 80px), 6.6vh)); }
  .ps.jl-start .ps-label { padding-top: 6px; }
  .ps.jl-start .ps-cuts button { padding: 6px 16px; }
  .ps.jl-start .ps-actions { margin-top: 12px; }
}
/* wide screens: the stories and the lengths end before the hero art (which starts at 69vw), so no tile runs under it */
@media (min-width: 1301px) { .ps.jl-start .ps-tracks, .ps.jl-start .ps-label { max-width: min(1140px, calc(69vw - var(--pad) - 32px)); } }
@media (max-width: 760px) { .ps.jl-start { padding-inline: 24px; } }
@media (max-width: 640px) {
  .ps.jl-start .ps-main .ps-h1 { font-size: min(clamp(44px, 12.5vw, 56px), 7.2vh); line-height: 1.04; margin: .2em 0 .15em; }
  .ps.jl-start .ps-main .ps-h1:lang(ar) { font-size: calc(.85 * min(clamp(44px, 12.5vw, 56px), 7.2vh)); line-height: 1.2; }
  .ps.jl-start .ps-track { padding: 12px 14px; }
  .ps.jl-start .ps-track .ps-tt { font-size: 18px; line-height: 24px; }
  .ps.jl-start .ps-track .ps-tl { font-size: 13px; line-height: 1.35; }
  .ps.jl-start .ps-actions { background: linear-gradient(180deg, rgba(6, 10, 25, 0), rgba(6, 10, 25, .92) 30%); }
  .ps.jl-start .ps-actions .sk-btn { flex: 1 1 auto; }
}

/* ================================================================ language switch, sound hints, paused (one-line pills) */
.pp-lang { gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; }
/* QA r2 (weight): on the English page the Arabic switch label uses the system Arabic face; Plex Arabic (46 KB) loads only when the Arabic page is chosen */
html:not([data-lang="ar"]) .pp-lang button[lang="ar"], html:not([data-lang="ar"]) .ps-lang button[lang="ar"] { font-family: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif; }
.pp-lang button { border-radius: 999px; background: rgba(7, 11, 30, .9); border: 1px solid rgba(214, 224, 255, .14); color: var(--muted-d); font-weight: 500; }
.pp-lang button:hover { color: #fff; background: rgba(7, 11, 30, .9); border-color: rgba(214, 224, 255, .4); }
.pp-lang button.on { background: rgba(7, 11, 30, .9); color: #fff; font-weight: 600; border-color: var(--blue-l); box-shadow: none; }
.ps-sound-hint, .pp-sound-hint { border-radius: 999px; background: rgba(7, 11, 30, .9); border-color: rgba(214, 224, 255, .14); font-weight: 500; }
.pp-paused { border-radius: 999px; background: rgba(7, 11, 30, .9); border: 1px solid rgba(214, 224, 255, .14); font-weight: 500; font-size: 13px; }
.pp-paused::before { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--blue-l); box-shadow: 0 0 0 3px rgba(115, 148, 255, .2); margin-inline-end: 9px; vertical-align: .12em; }

/* ================================================================ stage, captures, spotlight */
/* art r1 item 3: no hairline and no drop shadow round the stage (the website is always full bleed) */
.pp-stage { background: var(--sk-plate); box-shadow: none; border-radius: 0; }
/* art r1 item 4: the spotlight frame is a 1 px rule with 4 px corners and no glow (the cut-out follows the same corners) */
.pp-spot .pp-ring { border-width: calc(var(--ring-w) / 2); border-color: rgba(115, 148, 255, var(--ring)); border-radius: 4px; box-shadow: none; }
.pp-spot.pp-pulse .pp-ring::after { border-width: calc(var(--ring-w) / 2); border-radius: 4px; }
#pp-holes rect { rx: 4px; ry: 4px; }
/* art r2 item 2: the 1 px line at the stage edge (x = 54 / 1866 at 1920x1080) is the product screen kept under a scene
   (the engine keeps the front capture loaded below every illustration). The stage sits at a fractional position
   (54.22 to 1865.78), and the iframe layer's clip is rounded out to the device pixel, so a light capture shows through
   one pixel column beside the scene. Clipping the captures 2 stage px inside the stage removes it; a capture shown on
   its own loses 2 px at each edge, next to the night margin, which cannot be seen. Clip only: no box the engine
   measures changes. Probe: check/art-r2-edge-cause.mjs. */
#pp-frames { clip-path: inset(2px); }
.pp-phone .pp-stage { background: var(--sk-plate-phone); }
.pp-dim-fill { fill: #060a19; }

/* ================================================================ captions (look only; every size and place as r6) */
.pp-caption { border-radius: 4px; background: rgba(13, 22, 64, .94); border: 1px solid var(--rule-d); box-shadow: var(--sk-shadow); }
/* the accent bar becomes the diamond mark, in the same inline-start padding (no layout change) */
.pp-caption::before { left: .5em; top: 1.24em; bottom: auto; width: 7px; height: 7px; border-radius: 0; rotate: 45deg; background: rgba(115, 148, 255, .55); }
.pp-caption[dir="rtl"]::before { left: auto; right: .5em; border-radius: 0; }
.pp-caption.pp-cap-fit1::before { top: 1.04em; }
.pp-cap-notch { background: rgba(13, 22, 64, .94); border-color: var(--rule-d); }
/* art r1 item 6: the website's kicker tracking (.08em), so no eyebrow wraps where r6 (.09em, weight 700) did not */
.pp-cap-eyebrow { font-weight: 600; letter-spacing: .08em; color: var(--blue-l); }
.pp-cap-title { font-weight: 600; letter-spacing: -.02em; }
.pp-cap-text { color: rgba(238, 241, 250, .86); }

/* ================================================================ chapter cards (opaque: the r6 anti-ghost timings stay) */
.pp-chapter-card { background: var(--sk-plate); }
.pp-phone .pp-chapter-card { background: var(--sk-plate-phone); }
.pp-cc-num { font-weight: 600; letter-spacing: .14em; color: var(--blue-l); }
.pp-cc-num::before { content: ""; display: inline-block; inline-size: 9px; block-size: 9px; rotate: 45deg; background: rgba(115, 148, 255, .55); margin-inline-end: .7em; vertical-align: .12em; }
.pp-cc-title { font-weight: 500; letter-spacing: -.035em; }
.pp-cc-sub { color: var(--muted-d); }

/* ================================================================ blank (clickers' B and .) */
.pp-blank { background: var(--night-0); }

/* ================================================================ card layer (openers, bridge, flow, the loop's close) */
.pp-cardlayer { background: var(--sk-plate); --c-node: rgba(13, 22, 64, .7); --c-node-line: var(--rule-d); }
/* QA r2 fix: the light site cards (check track) keep their light ground on a phone too; the phone plate was winning over .pp-card-light and left dark ink on the night plate */
.pp-phone .pp-cardlayer:not(.pp-card-light) { background: var(--sk-plate-phone); }
.pp-cardlayer::before { display: none; }
.pp-cardlayer .pp-card-eyebrow { font-weight: 600; letter-spacing: .14em; }
.pp-cardlayer .pp-card-eyebrow::before { content: ""; display: inline-block; inline-size: 9px; block-size: 9px; rotate: 45deg; background: rgba(115, 148, 255, .55); margin-inline-end: .7em; vertical-align: .12em; }
.pp-cardlayer .pp-card-title { font-weight: 500; letter-spacing: -.04em; }
.pp-cardlayer .pp-card-lines { font-weight: 500; }
.pp-cardlayer .pp-card-foot { font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.pp-cardlayer .pp-flow-node { border-radius: 4px; border: 1px solid var(--rule-d); box-shadow: none; font-weight: 600; }
.pp-cardlayer .pp-flow-node.pp-flow-argus, .pp-cardlayer .pp-flow-node.pp-flow-tessera { border-color: rgba(115, 148, 255, .55); }
.pp-cardlayer .pp-card-image { border-radius: 4px; }
/* the loop's close card (the one with the QR): its title in the closing block, as the website's close */
.pp-cardlayer:not(.pp-card-light):has(.pp-card-image) .pp-card-title { position: relative; overflow: hidden; background: var(--core-d); color: #fff; border-radius: 4px; padding: 24px 32px; padding-inline-end: calc(32px + 2.2em); }
.pp-cardlayer:not(.pp-card-light):has(.pp-card-image) .pp-card-title::after { content: ""; position: absolute; inset-inline-end: 0; inset-block: 52% 0; inline-size: 2em; pointer-events: none;
  background: url(stripes.svg) 0 0 / 100% 100% no-repeat; }

/* ================================================================ end card (an instant cut, as r6; the live sky behind) */
.pp-end.jl-end { background: transparent; }
.jl-end-sky { display: none; }
.pp-end.jl-end .pp-end-logo { height: clamp(24px, 2vw, 36px); }
.pp-end.jl-end .sk-kmain { margin-top: 1.4em; padding: 32px 40px; text-align: start; }
.pp-end.jl-end .sk-kmain .pp-end-title { margin-top: 0; font-weight: 500; letter-spacing: -.04em; color: #fff; max-inline-size: 13em; }
.pp-end.jl-end .sk-kmain .pp-end-text { color: rgba(255, 255, 255, .86); max-inline-size: 62%; }
.pp-end.jl-end .jl-end-lockups { margin: 16px 0 6px; gap: 16px; }
.pp-end.jl-end .jl-end-lockups .sk-kside { flex: 1 1 0; }
.pp-end.jl-end .jl-end-lockups img { height: 30px; }
.pp-end.jl-end .pp-end-actions { gap: 12px; }
.pp-end.jl-end .pp-cta { min-height: 48px; padding: 0 24px; font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: -.005em; border-radius: 0; box-shadow: none; transform: none;
  background: var(--night-0); color: #fff; border: 1px solid rgba(255, 255, 255, .55); transition: background-color 240ms ease-in-out, color 240ms ease-in-out, border-color 240ms ease-in-out; }
.pp-end.jl-end .pp-cta:hover { background: var(--night-1); border-color: #fff; transform: none; }
.pp-end.jl-end .pp-cta.pp-end-next { background: #fff; color: var(--ink); border-color: #fff; }
.pp-end.jl-end .pp-cta.pp-end-next:hover { background: transparent; color: #fff; }
/* the countdown: a 2 px Core Blue bar on the button's block-end edge (origin flips in RTL, r6) */
.pp-end.jl-end .pp-end-next::before { inset: auto 0 0 0; height: 2px; z-index: 0; background: var(--core); }
.pp-end.jl-end .pp-end-count { color: var(--muted-d); text-shadow: var(--sk-halo); }
.pp-end.jl-end .pp-end-cancel { font-weight: 500; text-decoration-color: var(--line-d); text-decoration-thickness: 1px; border-radius: 0; }
.pp-end.jl-end .pp-end-cancel:hover { background: transparent; text-decoration-color: #fff; }
.pp-end.jl-end .jl-end-foot { color: var(--muted-d); font-weight: 500; text-shadow: var(--sk-halo); }
/* the QR (copilots story): a white 4 px plate; r6 haloed it and the address against the dune light path, which is gone */
.pp-end.jl-end .pp-end-card .cp-end-qr { border-radius: 4px; padding: 8px; box-shadow: none; }
.pp-end.jl-end .pp-end-card .cp-end-qr ~ .jl-end-foot { background: none; padding: 6px 0; border-radius: 0; }
@media (max-width: 600px) {
  .pp-end.jl-end .sk-kmain { padding: 24px; }
  .pp-end.jl-end .sk-kmain .pp-end-text { max-inline-size: none; }
  .pp-end.jl-end .sk-kmain::after { inline-size: 40%; inset-block: 70% 0; }
  .pp-end.jl-end .jl-end-lockups .sk-kside { flex: none; }
}

/* ================================================================ presenter bar, rail, drawers */
.pp-controls { border-radius: 4px; background: rgba(6, 10, 25, .94); border: 1px solid var(--rule-d); box-shadow: var(--sk-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pp-pinned .pp-controls { background: var(--night-0); border-color: rgba(115, 148, 255, .14); border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pp-btn { border-radius: 0; border-color: transparent; background: transparent; color: rgba(255, 255, 255, .92); font-weight: 500; transition: background-color 240ms ease-in-out, border-color 240ms ease-in-out; }
.pp-btn:hover { background: var(--night-1); }
.pp-btn.pp-play { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }
.pp-btn.pp-play:hover { background: var(--night-1); border-color: #fff; }
/* art r1 item 7: Next is the website's primary (white fill, ink type), so the presenter finds it at a glance */
.pp-btn.pp-next { border-color: #fff; background: #fff; color: var(--ink); }
.pp-btn.pp-next:hover { background: transparent; border-color: #fff; color: #fff; }
.pp-btn:disabled:hover { background: transparent; }
.pp-tool { border-radius: 0; color: rgba(255, 255, 255, .92); font-weight: 500; }
.pp-tool:hover { background: var(--night-1); color: #fff; }
.pp-tool.pp-active { background: var(--night-1); color: #fff; box-shadow: inset 0 -1px 0 #fff; }
.pp-tool.pp-sound { position: relative; }
.pp-tool.pp-sound[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #fff; }
.pp-tool.pp-sound[aria-pressed="true"]::after { content: ""; position: absolute; inset-block-start: 5px; inset-inline-end: 5px; inline-size: 5px; block-size: 5px; rotate: 45deg; background: #fff; box-shadow: 0 0 8px rgba(115, 148, 255, .8); }
.pp-where-chapter { font-weight: 600; }
.pp-where-step, .pp-pinned .pp-where-step { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.pp-pinned .pp-count { font-weight: 500; }
/* art r1 item 9: the rail sits on a night strip with stronger future segments, so it reads over light product captures */
.pp-rail-step { background: rgba(115, 148, 255, .34); border-radius: 0; }
.pp-pinned .pp-rail { background: var(--night-0); }
.pp-drawer { background: var(--night-0); border-color: var(--rule-d); }
.pp-drawer.pp-open { box-shadow: 0 24px 64px rgba(2, 4, 14, .7); }
.pp-dr-head { font-weight: 600; }
.pp-dr-x { border-radius: 0; border-color: rgba(255, 255, 255, .55); }
.pp-seg { gap: 6px; padding: 0; border: 0; border-radius: 0; }
.pp-seg button { border: 1px solid var(--rule-d); border-radius: 4px; background: transparent; color: var(--text-d); font-weight: 500; }
.pp-seg button.on { background: rgba(13, 22, 64, .9); border-color: var(--blue-l); color: #fff; font-weight: 600; }
.pp-ch { border-top-color: var(--rule-d); }
.pp-ch-title { font-weight: 500; font-size: 15px; line-height: 20px; border-radius: 0; }
.pp-ch-title:hover, .pp-ch li button:hover { background: var(--night-1); }
.pp-ch-n { border-radius: 4px; background: rgba(13, 22, 64, .9); color: var(--muted-d); font-size: 11px; font-weight: 500; }
.pp-ch.cur .pp-ch-n { background: rgba(13, 22, 64, .9); color: #fff; box-shadow: inset 0 0 0 1px var(--blue-l); }
.pp-ch.cur .pp-ch-title { text-decoration: underline; text-decoration-color: #fff; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pp-ch.cur .pp-ch-title::after { content: ""; inline-size: 7px; block-size: 7px; rotate: 45deg; background: #fff; box-shadow: 0 0 8px rgba(115, 148, 255, .8); flex: none; margin-inline-start: 4px; }
.pp-ch li button { border-radius: 0; }
.pp-ch li button.cur { background: rgba(13, 22, 64, .9); color: #fff; }
.pp-n-chapter { font-weight: 600; letter-spacing: .14em; }
.pp-n-title { font-weight: 600; }
.pp-n-note { border-radius: 12px; background: rgba(13, 22, 64, .7); border-color: var(--rule-d); }
.pp-keys { color: var(--muted-d); }

/* ================================================================ scenes (.pp-world): the kit's look tokens, not its meanings */
.pp-world { --ad-panel: rgba(13, 22, 64, .7); --ad-panel-solid: #0d1640; --ad-line: rgba(115, 148, 255, .22); --ad-line-2: rgba(115, 148, 255, .34); --ad-grid: transparent; }
/* the r6 night world is switched off: dunes and their square stars, rising dust, blueprint grid, edge vignette */
/* QA r1 fix: the three canvases stay laid out and are made fully transparent. With display:none or visibility:hidden the browser stalled the main thread for 1.5 to 4 s when cp-balance (step 9) and cp-engine (step 21) were entered; opacity:0 measured 0.25 s, as r6. */
/* QA r2 fix: opacity:0 (and a zero clip) still stalled the main thread for about 1 s in step 15 (cp-ask): the browser stops presenting a canvas that cannot be seen, but the canvas keeps drawing, and its frame call then waits on the GPU (trace: CanvasRenderingContext2D::FinalizeFrame blocked on GPU backpressure, 3 x 1.1 s; r6 and any canvas still on screen: none). The three canvases therefore stay on screen at 1 percent opacity, which no one can see (about 2 of 255 levels on the darkest sky). Measured on SwiftShader: 0 stalls in 3 of 3 runs. */
.pp-world .ld-cv.ld-sky, .pp-world .ld-cv.ld-sky-front, .pp-world .ld-cv.ld-dust { display: block; opacity: .01 !important; pointer-events: none; }
.pp-world .ld-grid, .pp-world .ld-edges { display: none; }
/* the deep field: the quiet sky, dimmed (opaque). art r1 item 2: the stars stay under the sky-of-the-hour wash too; the
   wash itself is now a thin, cool horizon glow (skies/day-skies.js), not a broad warm band */
.pp-world .ld-bg { background: var(--sk-plate); }
.pp-world.pp-world-phone .ld-bg { background: var(--sk-plate-phone); }
/* type: display sizes to weight 500, sizes unchanged (the probe boxes are measured on them) */
.pp-world .ld-hour { font-weight: 500; }
.pp-world .ld-eyebrow { font-weight: 600; letter-spacing: .14em; color: var(--blue-l); }
.pp-world .ld-headline, .pp-world .cp-head, .pp-world .cp-h2 { font-weight: 500; letter-spacing: -.035em; }
.pp-world .cp-h1 { font-weight: 500; letter-spacing: -.04em; }
.pp-world .ld-handoff-word { font-weight: 500; }
.pp-world .ld-micro { font-weight: 600; letter-spacing: .14em; }
.pp-world.pp-world-phone .ld-micro { letter-spacing: .12em; }
.pp-world .ld-stamp-word { font-weight: 700; }
.pp-world .ld-closeline { font-weight: 500; letter-spacing: -.04em; }
.pp-world .ld-closeline small { font-weight: 600; letter-spacing: .14em; }
.pp-world .jl-cover-title { font-weight: 500; letter-spacing: -.04em; }
.pp-world .jl-cover-eyebrow { font-weight: 600; letter-spacing: .14em; }
.pp-world :is(.ld-hour, .ld-eyebrow, .ld-headline, .cp-h1, .cp-head, .cp-h2, .ld-handoff-word, .jl-cover-title, .jl-cover-eyebrow) { text-shadow: var(--sk-halo); }
/* nodes: night-glass tiles, 4 px, no blur, no glow (fill .9 so lines drawn under a node never show through its words) */
.pp-world :is(.ld-node, .cp-node, .cp-pnode, .ld-devnode) { background: rgba(13, 22, 64, .9); border: 1px solid var(--rule-d); border-radius: 4px; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.pp-world .ld-notif { background: rgba(40, 48, 80, .92); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* inner panels 12 px; the Tessera answer plates take the decision card; the Argus plates stay white (product pictures) */
.pp-world :is(.cp-qbox, .cp-qcard, .jl-draft) { border-radius: 12px; border-color: rgba(115, 148, 255, .28); }
.pp-world .jl-card { border-radius: 12px; }
.pp-world .cp-plate { border-radius: 12px; }
.pp-world .cp-plate.light { border-radius: 4px; box-shadow: var(--sk-shadow); }
.pp-world .cp-plate.navy, .pp-world .cp-hcard.navy { background: var(--sk-dc); border: 1px solid rgba(115, 148, 255, .34); border-radius: 16px; box-shadow: 0 0 48px rgba(74, 108, 255, .18); }
.pp-world .cp-hcard.light { border-radius: 4px; box-shadow: var(--sk-shadow); }
.pp-world .cp-card { border-radius: 4px; box-shadow: var(--sk-shadow); }
.pp-world .cp-rec { border-radius: 4px; }
.pp-world :is(.ld-chip, .cp-tag, .cp-ptag, .jl-chip) { font-weight: 600; }
/* people in framed pictures: 4 px frame, a hairline, no glow; the warm or cool interior unchanged */
.pp-world .ld-vig { border-radius: 4px; box-shadow: 0 0 0 1px rgba(115, 148, 255, .34); }
.pp-world .ld-vig-in { border-radius: 4px; }
.pp-world .ld-vig-label { background: rgba(7, 11, 30, .9); border: 1px solid rgba(214, 224, 255, .14); box-shadow: none; }
.pp-world .ld-vig-label b { font-weight: 600; }
.pp-world .ld-vig-label i { box-shadow: 0 0 0 3px rgba(115, 148, 255, .2); }
.pp-world .ld-vig.is-warm .ld-vig-label i { box-shadow: 0 0 0 3px rgba(242, 166, 90, .2); }
.pp-world .ld-bubble { border-radius: 12px; }
/* step 0's light path: a sky hairline rising to the two cards (no glow) */
.pp-world svg.cp-lines path.light { stroke: #b7cbff; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .5; filter: none; }
/* art r1 item 1: the money road of the cover world (joint opener and close, Argus close) as a website constellation:
   the same hairline, with star nodes along it (skies/day-skies.js draws it on the r6 road's own curve), no glow */
.pp-world svg.sk-road { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.pp-world svg.sk-road .sk-road-line { fill: none; stroke: #b7cbff; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .5; }
.pp-world svg.sk-road .sk-road-star { fill: #cfdcff; opacity: .85; }
.pp-world svg.sk-road .sk-road-star.end { fill: #fff; opacity: 1; }

/* art r1 item 4: one style in the product stories. The Argus and Tessera openers' group frames and nodes lose r6's neon:
   a 1 px line, 4 px corners, no outer glow; the outcome colours (Step up, Hold, Review, Decline) stay as border and type
   colour only. (The track sheets are injected after this one, hence html + .pp-world in front.) */
html .pp-world.ag-open .ag-dc { border-radius: 4px; border: 1px solid var(--rule-d); box-shadow: none; }
html .pp-world.ag-open .ag-dc-glow { border-width: 1px; box-shadow: none; }
html .pp-world.ag-open .ag-dc-ic { border-radius: 4px; }
html .pp-world.ag-open .ag-dc-stamp { border-radius: 4px; border-width: 1px; box-shadow: none; background: rgba(6, 10, 25, .9); }
html .pp-world.ag-open .ag-dc[data-oc=stepup] .ag-dc-stamp { background: rgba(6, 10, 25, .9); border-color: rgb(var(--oc)); }
html .pp-world.ag-open .ag-dc[data-oc=stepup] .ag-dc-stamp .w { color: rgb(var(--oc)); }
html .pp-world.ag-open .ag-dc-mode::before { box-shadow: none; }
html .pp-world.ag-open .ag-gnode { border-width: 1px; box-shadow: none; background: var(--night-0); }
html .pp-world.ag-open .ag-dot { box-shadow: none; }
html .pp-world.ag-open .ag-wire { width: 1px; margin-left: 0; background: rgba(115, 148, 255, .34); }
html .pp-world.tx .tx-use { border-radius: 4px; border-color: var(--rule-d); }
html .pp-world.tx .tx-use i, html .pp-world.tx .tx-ev i { border-radius: 4px; }
html .pp-world.tx .tx-ev { border-radius: 4px; border-color: var(--rule-d); box-shadow: none; }
html .pp-world.tx .tx-pill { border-radius: 4px; }
html .pp-world.tx .tx-pill i { box-shadow: none; }
html .pp-world.tx .tx-pill.lit, html .pp-world.tx .tx-pill.lit.risk { box-shadow: none; }
html .pp-world.tx svg.tx-links circle.bead { filter: none; }
html .pp-world .ld-pred-core { border-radius: 4px; border-width: 1px; border-color: rgba(207, 220, 255, .5); box-shadow: none; background: var(--core-d); }
html .pp-world .ld-pred-core img { filter: none; }
html .pp-world .ld-pred-core::after { border-radius: 4px; }
/* art r2 item 3: the engine scene of "Copilots at work" ("One model. Six predictions.") as the Tessera opener: the
   diamond is flat Core Blue with a 1 px line and no halo; the event cards and the predictions are 1 px tiles with
   4 px corners and no glow (the lit event keeps a 1 px line, no ring); the threads lose their drop-shadow glow.
   Every place and size stays as r6 (the spotlight and the keep-clear boxes are measured on them). */
html .pp-world.cp-engine .cp-core { border-radius: 4px; border: 1px solid rgba(207, 220, 255, .5); box-shadow: none; background: var(--core-d); }
html .pp-world.cp-engine .cp-core img { filter: none; }
html .pp-world.cp-engine .cp-ev { border-radius: 4px; border: 1px solid var(--rule-d); background: rgba(13, 22, 64, .9); box-shadow: none; }
html .pp-world.cp-engine .cp-ev.on { border-color: var(--rule-d); box-shadow: none; }
html .pp-world.cp-engine .cp-ev i { border-radius: 4px; }
html .pp-world.cp-engine .cp-pred { border-radius: 4px; border: 1px solid var(--rule-d); background: rgba(13, 22, 64, .9); box-shadow: none; }
html .pp-world.cp-engine svg.cp-lines path.thread { filter: none; }
html .pp-world.cp-engine .cp-head .sk-accent { color: var(--blue-l); }

/* art r1 item 5: the display headlines are two-tone, as on the website (the span is added by skies/day-skies.js; the
   words are unchanged). On the cobalt closing block the accent is ice, because periwinkle on Core Dark Blue is under 3:1. */
.pp-world :is(.cp-h1, .jl-cover-title, .ag-title, .ag-cover-title) .sk-accent { color: var(--blue-l); }
html .pp-world.tx .tx-title span + span { color: var(--blue-l); }
.pp-end.jl-end .pp-end-title .sk-accent { color: var(--blue-l); }
.pp-end.jl-end .sk-kmain .pp-end-title .sk-accent { color: var(--ice); }

/* art r1 item 10: the "A name" and "An account number" tags have an opaque night fill, so map dots never show through */
.pp-world :is(.cp-ptag.name, .cp-ptag.acct) { background: linear-gradient(rgba(184, 194, 224, .12), rgba(184, 194, 224, .12)), var(--night-1) !important; }
.pp-world .cp-ghost { background: linear-gradient(rgba(163, 173, 202, .08), rgba(163, 173, 202, .08)), var(--night-1); }

/* ================================================================ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sk-w { animation: none; }
  #sky, .sky-still, #pres-player > .pp-fit { transition-duration: .01s !important; }
}
