/* Docline — rationale hub (index.html, English). Depends on tokens.css → base.css → ui.css.
   The product's design language, applied to an editorial page: Poppins · black at 100 / 66 / 60 / 50 % (the hub's own small text never
   goes below 60 % — it reads at the accessibility-mode level it describes in section 04) · single-layer white 40 % glass (radius 28, four
   inset hairlines) on the flat grey field · blue = links you can open · orange = attention · red = deadline · white pill = primary.
   4-pt rhythm, calm space, few restrained reveals. */

body.hub {
  --wrap: 1200px; --wrap-wide: 1440px; --gut: 48px; --sec-gap: 152px;
  --ease-reveal: cubic-bezier(0.23, 1, 0.32, 1);
  --k72: rgba(0, 0, 0, 0.72); --k66: rgba(0, 0, 0, 0.66); --k60: rgba(0, 0, 0, 0.60); --k50: rgba(0, 0, 0, 0.50);
  --k20: rgba(0, 0, 0, 0.20); --k15: rgba(0, 0, 0, 0.15); --k10: rgba(0, 0, 0, 0.10); --k08: rgba(0, 0, 0, 0.08); --k05: rgba(0, 0, 0, 0.05);
  --blue: #1736f7; --blue-t: #1230e6; --orange: #ee4d12; --orange-t: #b03503; --red: #ee1212; --red-t: #c20e0e;
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.40), inset 1px 0 0 rgba(255, 255, 255, 0.32), inset 0 -1px 1px rgba(0, 0, 0, 0.13), inset -1px 0 1px rgba(0, 0, 0, 0.11);
  --lift: 0 30px 70px -34px rgba(0, 0, 0, 0.22);
  --violet: #ae3bf0; --violet-t: #9111da;   /* KI drafts · small violet text */
  /* shared text tokens used by ui.css components — at the accessibility-mode levels on this page */
  --text-2: rgba(0, 0, 0, 0.66); --text-3: rgba(0, 0, 0, 0.60);
  /* the product's field — one flat neutral grey, painted by .hb-bg and by the header scrim */
  --field: #e0e0e0;
}
@media (max-width: 1100px) { body.hub { --gut: 32px; --sec-gap: 136px; } }
@media (max-width: 720px) { body.hub { --gut: 16px; --sec-gap: 104px; } }

html { scroll-behavior: smooth; scroll-padding-top: 92px; background: #e0e0e0; }
html, body { height: auto; min-height: 100%; }
body.hub { background: #e0e0e0; color: #000; overflow-x: hidden; font-family: 'Poppins', system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── the field: fixed, so the page scrolls over one calm light ── */
.hb-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--field); }
.hb-bg::after { content: ''; position: absolute; inset: -50%; opacity: 0.015; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
/* the same field again, masked to the top: the header floats on a clean strip — headlines never show sliced behind it */
.hb-scrim { position: fixed; inset: 0; z-index: calc(var(--z-chrome) - 1); pointer-events: none; background: var(--field);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 74px, transparent 100px); mask-image: linear-gradient(180deg, #000 0, #000 74px, transparent 100px); }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gut))); margin-inline: auto; }
.wrap.wide { width: min(var(--wrap-wide), calc(100% - 2 * var(--gut))); }
.t3 { color: var(--k50); }
.t2 { color: var(--k66); }
.dot { color: var(--k20); margin: 0 6px; }

/* ───────── Header — the product's row: wordmark · context | nav pill | round controls ───────── */
.hb-top { position: fixed; z-index: var(--z-chrome); top: 16px; left: 20px; right: 20px; height: 47px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hb-brand { display: flex; align-items: center; gap: 14px; min-width: 0; padding-left: 13px; }
.hb-word { display: inline-flex; align-items: center; font-size: 25px; font-weight: 400; line-height: 1; letter-spacing: -0.01em; color: #000; text-decoration: none; }
.hb-o { display: inline-block; width: 0.5em; height: 0.5em; margin: 0 0.035em 0 0.03em; border-radius: 50%; background: #000; transform: translateY(0.02em); }
.hb-sep { width: 1px; height: 19px; background: var(--k15); flex: none; }
.hb-ctx { font-family: var(--font-context); font-size: 13px; color: var(--k60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-ctx .dot { margin: 0 4px; }
.hb-nav { display: inline-flex; align-items: center; gap: 2px; height: 47px; padding: 3px; border-radius: 33px; background: rgba(255, 255, 255, 0.40);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--inset); }
.hb-nav a { height: 41px; padding: 0 15px; border-radius: 33px; display: inline-flex; align-items: center; font-size: 14px; color: var(--k60); text-decoration: none; white-space: nowrap;
  transition: color var(--t-fast) ease, background-color var(--t-fast) ease; }
.hb-nav a:hover { color: #000; }
.hb-nav a[aria-current="true"] { background: #fff; color: #000; }
.hb-right { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.hb-open { display: inline-flex; align-items: center; gap: 10px; height: 47px; padding: 0 8px 0 18px; border-radius: 33px; font-size: 14px; color: #000; text-decoration: none;
  background: rgba(255, 255, 255, 0.40); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--inset); transition: background-color var(--t-fast) ease; }
.hb-open:hover { background: rgba(255, 255, 255, 0.72); }
.hb-open .kb { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #fff; font-size: 12px; color: var(--k60); }
@media (max-width: 1380px) { .hb-nav a.opt { display: none; } }
@media (max-width: 1080px) { .hb-nav { display: none; } .hb-top { grid-template-columns: 1fr auto; } }
@media (max-width: 560px) { .hb-ctx, .hb-sep, .hb-open .kb { display: none; } .hb-open { padding: 0 16px; } }

/* segmented control (the nav pill, small) */
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset); }
.seg button { height: 30px; padding: 0 13px; border-radius: 99px; font-size: 13px; font-weight: 400; color: var(--k60); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color var(--t-fast) ease, background-color var(--t-fast) ease; }
.seg button:hover { color: #000; }
.seg button svg { width: 13px; height: 13px; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; }
.seg.lg button { height: 35px; padding: 0 16px; font-size: 14px; }

/* ───────── Type ───────── */
.eyebrow-row { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 14px; font-weight: 500; color: #000; }
.eyebrow-row .n { font-weight: 400; color: var(--k60); font-variant-numeric: tabular-nums; }
.eyebrow-row .rule { flex: 1; height: 1px; background: var(--k10); }
.h-sec { margin: 0; max-width: 32ch; font-size: clamp(34px, 3.2vw, 48px); font-weight: 400; line-height: 1.12; letter-spacing: -0.028em; text-wrap: balance; }
.lead { margin: 24px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.55; color: var(--k72); text-wrap: pretty; }
.sec { padding-top: var(--sec-gap); position: relative; }
.sec-head { margin-bottom: 48px; }
.src { display: inline; color: var(--blue-t); font-size: 12px; line-height: 1.45; text-decoration: none; transition: color var(--t-fast) ease; }
.src:hover { text-decoration: underline; text-decoration-color: rgba(18, 48, 230, 0.4); text-underline-offset: 3px; }
.src svg { display: inline; width: 11px; height: 11px; margin-left: 3px; vertical-align: -1px; }
.src .nw, .nw { white-space: nowrap; }
.srcs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
code { font-family: var(--font-mono); }
/* smart separators (hub.js · sepify/fixSeps): glued to the word before; a line that breaks after one gets a clean break instead */
.sx { white-space: normal; }
.sx.brk { font-size: 0; color: transparent; }
.sx.brk::after { content: '\A'; white-space: pre; }

/* ───────── Reveal (IntersectionObserver adds .in) ───────── */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity 560ms var(--ease-reveal), transform 560ms var(--ease-reveal); transition-delay: calc(var(--i, 0) * 40ms); }
.js .rv.in { opacity: 1; transform: none; }
.reduce .rv { opacity: 1; transform: none; transition: none; }
.reduce .ba-img.after, .reduce .ba-spot { transition: opacity 240ms ease; }
.reduce .ba-frame[data-mode="after"] .ba-aspot.on { transition: opacity 240ms ease; }
@media (prefers-reduced-motion: reduce) { .ba-img.after, .ba-spot { transition: opacity 240ms ease; } .ba-frame[data-mode="after"] .ba-aspot.on { transition: opacity 240ms ease; } }

/* ───────── Buttons & links — white pill = primary, outlined pill = secondary ───────── */
a.btn, a.lnk { text-decoration: none; }
.btn-xl { height: 52px; padding: 0 9px 0 24px; gap: 10px; font-size: 16px; font-weight: 400; border-radius: 33px; }
.btn-xl .t { color: var(--k60); }
.btn-xl .kb { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 6px; border-radius: 50%; font-size: 12px; color: var(--k60); background: var(--k05); }
.btn-primary.btn-xl { background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.24); }
.btn-secondary.btn-xl { background: rgba(255, 255, 255, 0.18); border: 1px solid var(--k10); }
.btn-secondary.btn-xl:hover { background: rgba(255, 255, 255, 0.45); }
.lnk { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 99px; font-size: 13px; font-weight: 400; color: #000; text-decoration: none;
  background: transparent; border: 1px solid var(--k10); white-space: nowrap; transition: background-color var(--t-fast) ease, transform var(--t-press) var(--ease-out); }
.lnk:hover { background: rgba(255, 255, 255, 0.55); }
.lnk:active { transform: scale(.97); }
.lnk svg { width: 14px; height: 14px; }
.lnk code { font-size: 12px; color: var(--blue-t); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: #000; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset); transition: background-color var(--t-fast) ease, transform var(--t-press) var(--ease-out); }
.icon-btn:hover { background: rgba(255, 255, 255, 0.75); }
.icon-btn:active { transform: scale(.94); }
.hub .chip { height: 32px; padding: 0 14px 0 10px; gap: 6px; font-size: 13px; color: var(--k66); background: var(--k05); border: 0; }
.hub .chip svg { width: 14px; height: 14px; }

/* ───────── 00 Cover ───────── */
.cv { position: relative; min-height: 100svh; padding-top: clamp(128px, 16vh, 168px); text-align: center; overflow: hidden; isolation: isolate; }
.cv-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 14px; color: var(--k60); }
.cv-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--k20); }
.cv h1 { margin: 0 auto; font-size: clamp(64px, 7.6vw, 124px); font-weight: 400; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.cv h1 .wm .o { display: inline-block; width: 0.5em; height: 0.5em; margin: 0 0.035em 0 0.03em; border-radius: 50%; background: #000; transform: translateY(0.02em); }
.cv h1 .lt { font-weight: 200; margin-left: 0.12em; }
.cv-sub { margin: 26px auto 0; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.35; color: var(--k66); }
.cv-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cv-how { display: inline-flex; align-items: center; margin-top: 28px; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.30); box-shadow: var(--inset); }
.cv-how li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; font-size: 13px; color: var(--k66); white-space: nowrap; }
.cv-how li + li { border-left: 1px solid var(--k08); }
.gl { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--k66); background: var(--k05); }
.gl svg { width: 14px; height: 14px; }
.gl.k { padding: 0 8px; min-width: 26px; justify-content: center; font-weight: 400; }
.cv-meta { margin-top: 18px; font-size: 13px; color: var(--k60); }

/* the frame: the Desk on a glass tray, tilting upright as you scroll. Air above for the lift, floor below for the shadow. */
.cv-stage { --air: 120px; --floor: 64px; position: relative; isolation: isolate; box-sizing: border-box; width: min(calc(1180px + 2 * var(--gut)), 100%); margin: calc(clamp(52px, 7vh, 76px) - var(--air)) auto 0; padding: var(--air) var(--gut) var(--floor);
  perspective: 1800px; perspective-origin: 50% var(--air); }
.cv-frame { transform-origin: 50% 0%; transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, 0.95)); will-change: transform;
  padding: 8px; border-radius: 32px; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset), 0 50px 90px -40px rgba(0, 0, 0, 0.28); }
.cv-frame > .plate { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #e0e0e0; }
.cv-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cv-cap { margin: 18px 0 0; font-size: 13px; color: var(--k60); }
.cv-cap b { color: #000; font-weight: 500; }

@media (max-width: 720px) {
  .cv { padding-top: 112px; }
  .cv h1 { white-space: normal; font-size: clamp(48px, 14vw, 68px); line-height: 1.02; }
  .cv h1 .lt { display: block; margin: 0; }
  .cv-eyebrow { gap: 8px; font-size: 13px; }
  .cv-eyebrow .opt, .cv-eyebrow i.opt { display: none; }
  .cv-actions { flex-direction: column; align-items: center; }
  .cv-how { display: flex; flex-direction: column; align-items: stretch; border-radius: 22px; margin-inline: var(--gut); padding: 4px 8px; }
  .cv-how li { justify-content: flex-start; white-space: normal; height: auto; min-height: 40px; padding: 8px 6px; }
  .cv-how li + li { border-left: 0; border-top: 1px solid var(--k08); }
  .cv-meta, .cv-cap, .cv-sub { padding-inline: var(--gut); }
  .cv-stage { margin-top: calc(40px - var(--air)); }
}

/* placeholder when a frame is missing */
.sil-note { display: grid; gap: 10px; justify-items: center; padding: 20px 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.85); box-shadow: var(--inset), var(--lift); text-align: center; }
.sil-note b { font-size: 15px; font-weight: 500; }
.sil-note span { font-size: 13px; color: var(--k66); max-width: 34ch; }

/* ───────── 01 Thesis ───────── */
.th-quote { margin: 0; max-width: 27ch; font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; line-height: 1.12; letter-spacing: -0.028em; text-wrap: balance; }
.verbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 24px; margin-top: 80px; }
.verb { position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; padding-top: 24px; border-top: 1px solid var(--k10); }
.verb > .ui-tier { justify-self: start; }
.verb::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--c, #000); }
.verb .ui-tier { margin-bottom: 20px; }
.verb h3 { margin: 0; font-size: clamp(24px, 2vw, 29px); font-weight: 400; line-height: 1.18; letter-spacing: -0.02em; }
.verb p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--k72); max-width: 34ch; }
.verb .ex { margin-top: 24px; align-self: start; }
.verb .hint { display: block; margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--k60); max-width: 44ch; }
.rcpt { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px; padding: 8px 8px 8px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.55); box-shadow: var(--inset); font-size: 13px; color: #000; }
.rcpt > svg { width: 15px; height: 15px; flex: none; }
.rcpt .tx { min-width: 0; line-height: 1.35; }
.rcpt .tx .l1, .rcpt .tx .l2 { display: block; }
.rcpt .tx .l2 { color: var(--k66); }
.rcpt .mut { color: var(--k60); }
.rcpt .act { flex: none; height: 28px; padding: 0 11px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12px; background: #fff; }
.rcpt.t1 > svg { color: var(--blue); }
.rcpt.t2 > svg { color: var(--ai); }
.rcpt.t2 .ui-state { color: var(--ai-text); background: var(--ai-soft); border-color: var(--ai-line); }
/* seal-and-send, as on the Desk: a black pill (the capsule's material) that fills white from the left while held */
.verb .hold { height: 46px; padding: 0 22px; font-size: 14.5px; font-weight: 400; color: #fff; background: #000; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); }
/* the ring follows the pill (border-radius), not the square box — a square ring clipped round leaves black crescents at both ends */
.verb .hold .hold-fill { border-radius: 999px; background: #fff; color: #000; box-shadow: inset 0 0 0 1.5px #000; }
.verb .hold.done .hold-fill > span { gap: 8px; }
@media (max-width: 900px) { .verbs { grid-template-columns: 1fr; grid-template-rows: none; gap: 40px; } .verb { grid-row: auto; grid-template-rows: none; } }

/* ───────── 02 Before → After ───────── */
.ba { margin-top: 8px; }
.ba + .flow, .flow + .ba { margin-top: 128px; }
.ba-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.ba-head .scr { font-size: 14px; color: var(--k60); }
.ba-head h3 { margin: 6px 0 0; font-size: 30px; font-weight: 400; letter-spacing: -0.022em; line-height: 1.15; }
.ba-head h3 .arrow { color: var(--k50); font-weight: 200; margin: 0 8px; }
.ba-note { margin: 8px 0 0; font-size: 14px; color: var(--k66); }
.ba-ctl { display: flex; align-items: center; gap: 8px; }
/* one control row, one height: play · Before/After · Open */
.ba-ctl .icon-btn { width: 41px; height: 41px; }
.ba-ctl .lnk { height: 41px; padding: 0 16px; font-size: 14px; }
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
/* the frame: a glass tray holding the screen; it stays in view while the decisions scroll */
.ba-frame { position: sticky; top: 92px; padding: 8px; border-radius: 30px; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset), var(--lift); }
.ba-frame > .plate { position: relative; aspect-ratio: 2000 / 1092; border-radius: 22px; overflow: hidden; background: #e0e0e0; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity 360ms var(--ease-out); }
/* the after-frame is a camera: it lands on the whole screen, then pushes in on the answer (transform set by hub.js) */
.ba-img.after { opacity: 0; transform-origin: 0 0; will-change: transform; transition: opacity 360ms var(--ease-out), transform 1100ms var(--ease-drawer) 160ms; }
.ba-aspot { position: absolute; z-index: 1; border-radius: 16px; pointer-events: none; opacity: 0; transition: opacity 160ms ease;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.95), 0 0 0 2.5px rgba(0, 0, 0, 0.18), 0 0 0 100vmax rgba(0, 0, 0, 0.16); }
.ba-frame[data-mode="after"] .ba-aspot.on { opacity: 1; transition: opacity 420ms ease 1200ms; }
.ba-zoom { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 99px;
  font-size: 12px; font-weight: 500; color: #000; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--inset), 0 8px 20px -10px rgba(0, 0, 0, 0.24); }
.ba-zoom { top: 14px; right: 14px; padding: 0 13px 0 11px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 240ms ease, visibility 0s linear 240ms, background-color var(--t-fast) ease; }
.ba-zoom svg { width: 13px; height: 13px; }
.ba-zoom:hover { background: #fff; }
.ba-zoom:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ba-frame[data-mode="after"] .ba-zoom:not([hidden]) { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 240ms ease 400ms, visibility 0s linear 0s, background-color var(--t-fast) ease; }
.ba-zoom[hidden] { display: inline-flex; }
.ba-frame[data-mode="after"] .ba-img.after.ok { opacity: 1; }
.ba-frame[data-mode="after"] .ba-img.before { opacity: 0; }
.ba-frame[data-mode="after"] .ba-ph { opacity: 1; pointer-events: auto; }
.ba-frame[data-mode="after"] .ba-spot { opacity: 0; }
.ba-spot { position: absolute; border-radius: 12px; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 3px rgba(0, 0, 0, 0.30), 0 0 0 100vmax rgba(0, 0, 0, 0.26);
  transition: left 520ms var(--ease-drawer), top 520ms var(--ease-drawer), width 520ms var(--ease-drawer), height 520ms var(--ease-drawer), opacity 260ms ease; }
.ba-spot.on { opacity: 1; }
/* caption row under the picture (never over it): what is shown */
.ba-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 34px; padding: 6px 8px 0 12px; font-size: 12.5px; color: var(--k66); }
.ba-tag { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; flex: none; }
.ba-frame[data-mode="after"] .ba-tag { color: #000; }
/* after-mode: the frame is the picture — the zoom toggle appears on hover/focus only; click toggles detail ↔ whole screen */
.ba-frame[data-mode="after"] .plate { cursor: zoom-out; }
.ba-frame[data-mode="after"].is-whole .plate { cursor: zoom-in; }
.ba-frame[data-mode="after"].no-zoom .plate { cursor: default; }
.ba-frame[data-mode="after"]:not(:hover):not(:focus-within) .ba-zoom:not([hidden]) { opacity: 0; transition-delay: 0s; }
@media (hover: none) { .ba-frame[data-mode="after"]:not(:hover):not(:focus-within) .ba-zoom:not([hidden]) { opacity: 1; } }
.ba-ph { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 360ms var(--ease-out); }

.dl { list-style: none; margin: 0; padding: 0; position: relative; }
.dl::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--k10); }
.dc { position: relative; padding: 11px 0 11px 22px; cursor: pointer; }
.dc-bar { position: absolute; left: 0; top: 11px; bottom: 11px; width: 2px; margin-left: -0.5px; border-radius: 2px; background: #000; transform: scaleY(0); transform-origin: top; }
.dc.on .dc-bar { transform: scaleY(1); }
.dc-row { display: flex; align-items: baseline; gap: 10px; border-radius: 10px; outline: none; }
.dc-row:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.dc-n { flex: none; width: 20px; font-size: 12px; color: var(--k60); font-variant-numeric: tabular-nums; }
.dc h4 { flex: 1; min-width: 0; margin: 0; font-size: 16px; font-weight: 400; letter-spacing: -0.008em; line-height: 1.4; color: var(--k66); text-wrap: balance; transition: color var(--t-fast) ease; }
.dc:hover h4, .dc.on h4, .dc-row:focus-visible h4 { color: #000; }
.dc-el { flex: none; align-self: center; height: 22px; padding: 0 9px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 11.5px; color: var(--k60); background: var(--k05); white-space: nowrap; }
.dc.on .dc-el { color: #000; background: rgba(255, 255, 255, 0.7); }
.dc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.dc.on .dc-body { grid-template-rows: 1fr; }
/* the clipping box reaches 5 px past the content on the right and bottom, so focus rings of the right-aligned link are never cut */
.dc-body > div { overflow: hidden; padding: 0 5px 5px 30px; margin-right: -5px; }
.dc:not(.on) .dc-body > div { visibility: hidden; transition: visibility 0s linear 360ms; }   /* collapsed links are not focusable */
.dc-body p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--k72); text-wrap: pretty; }
.dc-body p.dc-why { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--k66); }
.dc-why .k { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-right: 7px; border-radius: 99px; border: 1px solid var(--k10); font-size: 11px; font-weight: 500; color: #000; vertical-align: 1px; }
.dc-body .srcs { margin-top: 6px; }
.dc-then { flex-basis: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: 12px; color: var(--k60); }
.dc-then .st { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; color: #000; background: var(--k05); white-space: nowrap; }
.dc-then code.st { font-size: 12px; }
.dc-then .ar { color: var(--k50); font-size: 14px; line-height: 1; margin-top: -1px; }
.dc-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ptag { display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; color: var(--k66); background: var(--k05); cursor: help; }
.dc-foot .lnk { margin-left: auto; }

@media (max-width: 1100px) { .ba-grid { grid-template-columns: 1fr; } .ba-frame { position: relative; top: 0; } }
@media (max-width: 720px) { .ba-head { flex-direction: column; align-items: flex-start; } .ba-cap { font-size: 11.5px; } }

/* ───────── 02b the same language through the flow ───────── */
.flow-head { max-width: 780px; margin-bottom: 28px; }
.flow-head .scr { font-size: 14px; color: var(--k60); }
.flow-head h3 { margin: 6px 0 0; font-size: 30px; font-weight: 400; letter-spacing: -0.022em; line-height: 1.15; }
.flow-head p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--k72); }
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fl { display: flex; flex-direction: column; padding: 8px; border-radius: 28px; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset); }
.fl-shot { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #e0e0e0; cursor: zoom-in; }
.fl-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.fl-shot:hover img { transform: scale(1.03); }
.fl-shot .fl-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--k50); }
.fl-body { display: flex; flex-direction: column; flex: 1; padding: 14px 12px 8px; }
.fl-k { font-size: 12px; color: var(--k60); }
.fl h4 { margin: 4px 0 0; font-size: 17px; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.fl p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--k72); flex: 1; }
.fl .dc-foot { margin-top: 14px; }
@media (max-width: 1100px) { .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .flow-grid { grid-template-columns: 1fr; } }

/* lightbox */
.lb { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lb::backdrop { background: rgba(224, 224, 224, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb img { display: block; max-width: min(92vw, 1600px); max-height: 84vh; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.32); cursor: zoom-out; }
.lb-cap { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--k72); }
.lb-x { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; font-size: 22px; line-height: 1; box-shadow: var(--inset), 0 8px 20px -8px rgba(0, 0, 0, 0.30); }

/* ───────── 03 Autonomy table ───────── */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-bottom: 24px; font-size: 13px; color: var(--k66); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.tbl-card .plate { padding: 8px 24px; overflow-x: auto; }
.at { width: 100%; border-collapse: collapse; min-width: 880px; }
.at th { text-align: left; vertical-align: bottom; padding: 18px 16px 12px 0; font-size: 13px; font-weight: 500; color: #000; border-bottom: 1px solid var(--k10); }
.at th .thn { font-weight: 400; color: var(--k60); }
.at td { vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--k08); font-size: 14px; line-height: 1.45; color: var(--k72); }
.at tr:first-child td { border-top: 0; }
.at td:first-child { width: 22%; }
.at td:last-child { width: 22%; padding-right: 0; }
.at .act { display: block; font-size: 15px; font-weight: 500; color: #000; letter-spacing: -0.005em; }
.at .sub { display: block; margin-top: 2px; font-size: 13px; color: var(--k60); }
.at td.cell { padding: 8px 8px 8px 0; height: 1px; }
.at .cl { display: block; height: 100%; min-height: 64px; padding: 10px 12px; border-radius: 16px; background: var(--k05); color: var(--k72); }
.at .cl.t1 { background: rgba(23, 54, 247, 0.07); }
.at .cl.t2 { background: rgba(174, 59, 240, 0.07); }
.at .cl.t3 { background: rgba(0, 0, 0, 0.08); }
.at .cl.t0 { background: transparent; border: 1px dashed var(--k15); }
.at .cl .ui-tier { margin: 0 0 6px; height: 20px; font-size: 10.5px; padding: 0 7px; }
.at .nil { color: var(--k60); }
.at .who { color: #000; font-weight: 500; }
.at .rel { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.at .who + .rel { margin-top: 6px; }
.at .rel i { flex: none; width: 64px; font-style: normal; font-size: 12px; line-height: 21px; color: var(--k60); }
.at .ex { display: block; margin-top: 6px; font-size: 12.5px; color: var(--k60); }
.at-foot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 24px; margin-top: 32px; }
.pull { margin: 0; font-size: clamp(24px, 2.1vw, 31px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.22; max-width: 30ch; }
@media (max-width: 900px) { .at-foot { grid-template-columns: 1fr; } }
.ui-tier { border-radius: 99px; font-weight: 500; }

/* ───────── 04 Material & contrast ───────── */
.gl-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
/* the specimen: the Desk's elements, compact, on the field. Tone variables switch between standard and accessibility mode. */
.spec { --k2: rgba(0, 0, 0, 0.40); --or: var(--or-std, #ee4d12); --rd: var(--rd-std, #ee1212); --bl: #1736f7; --ph: rgba(255, 255, 255, 0.40);
  position: relative; height: 540px; border-radius: 30px; overflow: hidden; isolation: isolate; font-size: 13px; color: #000;
  background: #e0e0e0;
  box-shadow: var(--inset), var(--lift); }
.spec[data-tone="access"] { --k2: rgba(0, 0, 0, 0.60); --or: #b03503; --rd: #c20e0e; --bl: #1230e6; --ph: rgba(255, 255, 255, 0.60); }
.spec .k2, .spec .or, .spec .rd, .spec .bl, .spec .ph { transition: color 260ms ease; }
.spec .k2 { color: var(--k2); }
.spec .or { color: var(--or); }
.spec .rd { color: var(--rd); }
.spec .bl { color: var(--bl); }
.spec .sep { color: rgba(0, 0, 0, 0.20); margin: 0 5px; }
.spec .sl { color: rgba(0, 0, 0, 0.15); margin: 0 5px; }
.spec svg { width: 13px; height: 13px; flex: none; }
.sp-nav { position: absolute; top: 14px; left: 50%; translate: -50% 0; display: inline-flex; gap: 2px; height: 36px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset); font-size: 13px; }
.sp-nav span { display: inline-flex; align-items: center; gap: 5px; padding: 0 13px 0 10px; border-radius: 99px; opacity: .5; }
.sp-nav span.on { background: #fff; opacity: 1; }
.sp-card { position: absolute; top: 66px; padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.40);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); box-shadow: var(--inset); overflow: hidden; }
.sp-pat { left: 16px; width: calc(44% - 24px); height: 300px; background: rgba(255, 255, 255, 0.40); }
.sp-inbox { right: 16px; width: calc(56% - 8px); height: 300px; padding-bottom: 0; display: flex; flex-direction: column; }
.sp-inbox > .sp-wz { flex: 1; align-content: flex-start; }
.sp-l1 { display: flex; align-items: center; font-size: 12.5px; }
.sp-l1 .r { margin-left: auto; }
.sp-name { margin-top: 20px; font-size: 21px; }
.sp-meta { margin-top: 4px; font-size: 12px; }
.sp-photo { position: absolute; right: 8px; top: 40px; width: 92px; height: 104px; }
.sp-photo.noimg::before { content: attr(data-ini); position: absolute; right: 14px; top: 18px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 18px; color: rgba(0, 0, 0, 0.6); }
.sp-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom right; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.sp-why { position: relative; margin-top: 2px; padding-left: 7px; font-size: 14px; line-height: 1.5; }
.sp-why:first-of-type { margin-top: 16px; }
.sp-why i { position: absolute; left: 0; top: 5px; width: 2px; height: 12px; border-radius: 2px; }
.sp-why i.b { background: #0d2be5; }
.sp-why i.o { background: #ee4d12; }
.sp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 7px; border-radius: 99px; border: 1px solid rgba(0, 0, 0, 0.10); font-size: 11.5px; white-space: nowrap; }
.pill svg { color: rgba(0, 0, 0, 0.4); }
.pill.warn { border-color: rgba(238, 78, 18, 0.40); }
.pill.warn svg { color: #ee4d12; }
.pill.red { border: 0; background: rgba(238, 18, 18, 0.08); }
.pill.red svg { color: #ee1212; }
.sp-row { display: flex; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 12.5px; white-space: nowrap; }
.sp-row .well { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; border-radius: 50%; background: rgba(0, 0, 0, 0.05); flex: none; }
.sp-row .well svg { width: 11px; height: 11px; color: rgba(0, 0, 0, 0.55); }
.sp-met { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin-top: 18px; }
.sp-met > div { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 6px; align-items: end; }
.sp-met b { grid-row: span 2; font-size: 32px; font-weight: 300; line-height: .9; }
.sp-met span { font-size: 11px; line-height: 1.3; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.sp-met svg { width: 11px; height: 11px; color: #ee1212; }
.sp-item { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 13px; }
.sp-item > div:first-child { font-size: 11.5px; }
.sp-item > div:nth-child(2) { grid-row: 2; }
.sp-item .pill { grid-row: span 2; grid-column: 2; }
.sp-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; height: 32px; padding: 0 12px 0 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.05); font-size: 12.5px; }
.sp-foot .k2 { display: inline-flex; align-items: center; gap: 5px; }
.sp-foot svg { color: rgba(0, 0, 0, 0.4); }
.sp-wz { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 14px -16px 0; padding: 12px 16px 14px; font-size: 12.5px;
  border-top: 1px solid rgba(0, 0, 0, 0.06); }
.sp-wz > span:first-child { margin-right: 6px; }
.sp-wz .av { display: flex; gap: 5px; width: 100%; margin-top: 8px; }
.sp-wz .av i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); font-style: normal; font-size: 11px; }
.sp-wz .av i.d { border-style: dashed; color: rgba(0, 0, 0, 0.55); }
.sp-wz .av i.n { background: #fff; border-color: transparent; }
.sp-line { position: absolute; left: 0; right: 0; top: 386px; text-align: center; font-size: 15px; }
.sp-chips { position: absolute; left: 0; right: 0; top: 428px; display: flex; justify-content: center; gap: 8px; }
.sp-chips span { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 13px 0 9px; border-radius: 99px; background: rgba(0, 0, 0, 0.05); font-size: 13px; font-weight: 500; color: var(--k2); transition: color 260ms ease; }
.sp-chips svg { color: var(--k2); }
.sp-cap { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; width: min(420px, 76%); height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 7px; border-radius: 99px; background: #000; box-shadow: 0 3px 21px rgba(0, 0, 0, 0.15); font-size: 14px; }
.sp-cap .orb { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, 0.35); }
.sp-cap .orb i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.sp-cap .ph { flex: 1; min-width: 0; color: var(--ph); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 260ms ease; }
.sp-cap .kb { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, 0.10); color: rgba(255, 255, 255, 0.6); font-size: 12px; }
.sp-cap .h { color: rgba(255, 255, 255, 0.6); font-size: 12.5px; padding-right: 8px; }
/* the key sits under the specimen, never on it — nothing can collide with the chips or the capsule at any width */
.spec-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 14px; padding-left: 4px; font-size: 12.5px; color: var(--k66); }
.spec-key span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.spec-key i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.30); }
.spec-key i.f { background: #e0e0e0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.10); }
.spec-key i.k { background: #000; box-shadow: none; }
.gl-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.gl-ctl .lbl { font-size: 14px; font-weight: 500; }
.gl-ctl .note { font-size: 13px; color: var(--k60); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.rules li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; }
.rules .ri { grid-row: span 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.45); box-shadow: var(--inset); color: #000; }
.rules .ri svg { width: 15px; height: 15px; }
.rules b { font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }
.rules p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--k72); }
.rules .srcs { margin-top: 4px; }

.proof-h { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 72px 0 0; }
.proof-h h3 { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: -0.015em; }
.proof-h p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--k66); max-width: 60ch; text-align: right; }
.bk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 20px 0 16px; }
.bk-l { font-size: 13px; font-weight: 500; }
.bk-i { display: inline-grid; grid-template-columns: 22px auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 12px; color: var(--k60); }
.bk-i i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.10); }
.bk-i b { font-weight: 500; color: #000; font-size: 12.5px; }
.bk-i code { font-size: 11.5px; color: var(--k66); }
.bk-i > span { grid-column: 2 / span 2; }
.proof .plate { padding: 8px 24px 10px; overflow-x: auto; }
.pr { --sw: 34px; display: grid; grid-template-columns: minmax(230px, 1.3fr) 196px 60px 92px 24px 196px 60px 92px; align-items: start; column-gap: 12px; min-width: 1000px; min-height: 58px; padding: 12px 0; border-top: 1px solid var(--k08); }
.pr:has(.sw.big) { --sw: 40px; }
/* every cell lines up with the swatch it measures: single-line cells are centred on the swatch, not on the row */
.pr:not(.pr-h) > .rt, .pr:not(.pr-h) > .bd, .pr:not(.pr-h) > .gap { margin-top: calc((var(--sw) - 24px) / 2); line-height: 24px; }
.pr:not(.pr-h) > .keep { margin-top: calc((var(--sw) - 20px) / 2); line-height: 20px; }
.pr:not(.pr-h) > .rl { padding-top: calc((var(--sw) - 20px) / 2 - 1px); }
.pr.pr-h { min-height: 44px; align-items: center; border-top: 0; font-size: 12.5px; font-weight: 500; color: #000; }
.pr.pr-h .c, .pr .rt { text-align: right; }
.pr .rl { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pr .rl b { font-size: 14px; font-weight: 500; line-height: 20px; }
.pr .rl span { font-size: 12.5px; color: var(--k60); line-height: 1.35; }
.pr .sp { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.pr .sp code { font-size: 11px; color: var(--k60); padding-left: 2px; }
.sw { display: inline-flex; align-items: center; max-width: 100%; height: 34px; padding: 0 12px; border-radius: 12px; font-size: 13px; white-space: nowrap; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
.sw i { font-style: normal; color: rgba(0, 0, 0, 0.15); }
.sw.big { height: 40px; font-size: 28px; font-weight: 200; letter-spacing: -0.02em; }
.sw-badge { display: inline-grid; place-items: center; min-width: 24px; height: 16px; padding: 0 5px; border-radius: 99px; font-size: 10px; font-weight: 500; }
.sw-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 99px; background: #fff; font-size: 12.5px; }
.pr .rt { font-size: 17px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pr .rt small { font-size: 11px; color: var(--k60); margin-left: 1px; }
.pr .bd { justify-self: start; display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 500; color: var(--k66); background: var(--k05); white-space: nowrap; }
.pr .bd.low { color: #000; background: transparent; box-shadow: inset 0 0 0 1px var(--k15); }
.pr .bd.deco { color: var(--k60); background: transparent; box-shadow: inset 0 0 0 1px var(--k15); }
.pr .gap { text-align: center; color: var(--k50); }
.pr .keep { grid-column: span 3; font-size: 13px; color: var(--k60); }
.refine { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 32px 48px; margin-top: 40px; align-items: start; }
.refine .pull { font-size: clamp(22px, 1.9vw, 28px); }
.rf { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: rf; }
.rf li { position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.55; color: var(--k72); }
.rf li::before { counter-increment: rf; content: counter(rf); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 11.5px; color: #000; }
.rf li b { color: #000; font-weight: 500; }
.rf li.minor { font-size: 13.5px; }
.rf code { font-size: 12.5px; color: #000; background: rgba(255, 255, 255, 0.55); padding: 1px 5px; border-radius: 6px; }
.rf .src { margin-left: 4px; white-space: nowrap; }
.foot-note { margin-top: 20px; font-size: 12.5px; line-height: 1.55; color: var(--k60); max-width: 110ch; }

@media (max-width: 1100px) { .gl-grid, .refine { grid-template-columns: 1fr; } .proof-h { flex-direction: column; } .proof-h p { text-align: left; } }
@media (max-width: 720px) { .spec { height: 760px; } .sp-card { position: relative; top: auto; left: auto; right: auto; width: auto; margin: 12px; } .sp-nav, .sp-line, .sp-chips { display: none; } .sp-cap { bottom: 16px; } }

/* ───────── 05 Austrian details ───────── */
.au-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* tiles of one row share the spec height (subgrid) — a longer spec grows its row instead of being clipped */
.au-grid { grid-auto-rows: auto auto; }
.au { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.au .plate { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 8px; }
.au-spec { min-height: 136px; border-radius: 20px; background: var(--k05); padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 13px; color: #000; }
.au-body { padding: 16px 10px 10px; display: flex; flex-direction: column; flex: 1; }
.au h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.008em; line-height: 1.3; }
.au p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--k72); flex: 1; text-wrap: pretty; }
.au .srcs { margin-top: 12px; }
.au .cat { display: flex; align-items: center; gap: 8px; height: 20px; margin-bottom: 8px; font-size: 12.5px; color: var(--k60); }   /* fixed: a tile with the pill keeps its heading on the same line as its neighbours */
.au .cat .fx { height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 99px; font-size: 11px; color: #000; border: 1px solid var(--k10); }
.au-line { display: flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; }
.au-line svg { width: 14px; height: 14px; color: var(--k60); flex: none; }
.au-line .m { color: var(--k60); }
.au-line .x { text-decoration: line-through; text-decoration-color: var(--k50); color: var(--k60); }
.au-arrow { color: var(--k50); }
.svn { display: flex; justify-content: center; gap: 3px; }
.svn span { display: grid; grid-template-rows: 28px 14px; justify-items: center; width: 20px; }
.svn b { display: grid; place-items: center; width: 20px; height: 28px; border-radius: 6px; background: rgba(255, 255, 255, 0.7); font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.svn span.ck b { background: #000; color: #fff; }
.svn span.gap { width: 6px; }
.svn i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--k60); }
.svn-sum { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--k72); }
.svn-sum.m { color: var(--k60); margin-top: -4px; }
.kz { display: flex; flex-wrap: wrap; gap: 4px; }
.kz span { height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--k66); background: rgba(255, 255, 255, 0.6); }
.kz span.act { color: #000; box-shadow: inset 0 0 0 1px var(--k15); font-weight: 600; }
.kz.car { gap: 6px; }
.kz.car span { height: 26px; padding: 0 10px; border-radius: 99px; font-family: var(--font-sans); font-size: 12px; }
.kz.car span.act { background: #000; color: #fff; box-shadow: none; font-weight: 500; }
.cmd { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); font-family: var(--font-mono); font-size: 13px; }
.cmd .caret { width: 1.5px; height: 16px; background: #000; animation: caret 1.1s steps(1) infinite; }
.cmd .hintk { margin-left: auto; font-family: var(--font-sans); font-size: 11px; color: var(--k60); }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 1100px) { .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .au-grid { grid-template-columns: 1fr; } }

/* ───────── 06 Regulatory lanes ───────── */
.lanes-card .plate { padding: 24px 24px 20px; }
.lanes-scroll { overflow-x: auto; }
.lanes { display: block; width: 100%; min-width: 980px; height: auto; font-family: var(--font-sans); }
.lanes .lane { stroke-width: 1; }
.lanes .l1 { fill: rgba(174, 59, 240, 0.05); stroke: rgba(174, 59, 240, 0.32); }
.lanes .l2 { fill: rgba(238, 77, 18, 0.05); stroke: rgba(238, 77, 18, 0.34); }
/* the SVG renders at ~0.93–0.95× (viewBox 1200 in a ~1130 px plate) → every label is sized so it lands at ≥ 12 px on screen */
.lanes .eb { font-size: 15px; font-weight: 500; }
.lanes .glab { font-size: 13px; font-weight: 500; fill: rgba(0, 0, 0, 0.6); }
.lanes .eb1 { fill: var(--violet-t); } .lanes .eb2 { fill: #b03503; }
.lanes .cls { font-size: 13px; fill: rgba(0, 0, 0, 0.66); }
.lanes .clsb { font-weight: 500; fill: #000; }
.lanes .node { fill: rgba(255, 255, 255, 0.62); stroke: rgba(0, 0, 0, 0.07); stroke-width: 1; }
.lanes .node.src { fill: #fff; }
.lanes .nt { font-size: 14.5px; font-weight: 500; fill: #000; }
.lanes .ns { font-size: 13.5px; fill: rgba(0, 0, 0, 0.6); }
.lanes .wire { fill: none; stroke: rgba(0, 0, 0, 0.35); stroke-width: 1.25; }
.lanes .wire.w1 { stroke: rgba(174, 59, 240, 0.65); }
.lanes .wire.w2 { stroke: rgba(238, 77, 18, 0.7); }
.lanes .ah { fill: rgba(0, 0, 0, 0.45); }
.lanes .gr { fill: rgba(0, 0, 0, 0.05); }
.lanes .grt { font-size: 13.5px; fill: rgba(0, 0, 0, 0.7); }
.lanes .doc { fill: #000; }
.lanes .doct { font-size: 13px; font-weight: 500; fill: #fff; }
.lanes .div { stroke: rgba(0, 0, 0, 0.18); stroke-dasharray: 3 5; }
.lanes .divbg { fill: rgba(255, 255, 255, 0.92); stroke: rgba(0, 0, 0, 0.06); }
.lanes .divt { font-size: 13px; font-weight: 500; fill: rgba(0, 0, 0, 0.66); }
.lanes .okc { fill: #fff; stroke: rgba(0, 0, 0, 0.18); }
.lanes .okt { stroke: #000; }
.lanes .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.lanes.in .draw { transition: stroke-dashoffset 900ms var(--ease-out); stroke-dashoffset: 0; }
.lanes.in .draw.d2 { transition-delay: 160ms; } .lanes.in .draw.d3 { transition-delay: 320ms; }
.tl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.tl-i { padding-top: 16px; border-top: 1px solid var(--k10); }
.tl-i .d { font-size: 12.5px; color: var(--k60); }
.tl-i b { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }
.tl-i p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--k72); }
.tl-i .srcs { margin-top: 8px; }
@media (max-width: 900px) { .tl { grid-template-columns: 1fr; } }

/* ───────── 07 Metrics ───────── */
.mx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* cards of one row share their rows (subgrid): the headings, "We expect", "Measured by", "Wrong if" and the sources line up across the row */
.mx { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.mx .plate { grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 24px 24px 20px; }
.mx dl { grid-row: span 3; grid-template-rows: subgrid; }
.mx dl > div { align-self: start; }
.mx .anchor { align-self: start; }
.mx .n { font-size: 13px; color: var(--k60); }
.mx h3 { margin: 12px 0 0; font-size: 22px; font-weight: 400; letter-spacing: -0.018em; line-height: 1.22; }
.mx dl { margin: 16px 0 0; display: grid; row-gap: 12px; }
.mx dt { font-size: 12.5px; font-weight: 500; color: #000; }
.mx dd { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--k72); }
.mx .wrong { align-self: stretch !important; padding-top: 12px; border-top: 1px dashed var(--k15); }
.mx .wrong dt { color: var(--red-t); }
.mx .wrong dd { color: #000; }
.mx .anchor { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--k08); font-size: 12.5px; line-height: 1.5; color: var(--k66); }
.mx .anchor a { color: var(--blue-t); text-decoration: none; }
.mx .anchor a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mx-setup { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
@media (max-width: 1100px) { .mx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mx-grid { grid-template-columns: 1fr; } }

/* ───────── 08 Appendix ───────── */
.acc { border-top: 1px solid var(--k10); }
.acc details { border-bottom: 1px solid var(--k10); }
.acc summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 36px; align-items: center; gap: 16px; min-height: 76px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { font-size: 13px; color: var(--k60); }
.acc summary h3 { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -0.015em; }
.acc summary .meta { font-size: 13px; color: var(--k60); white-space: nowrap; }
.acc summary .chev { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #000; background: rgba(255, 255, 255, 0.40); box-shadow: var(--inset); transition: transform var(--t-base) var(--ease-out); }
.acc summary .chev svg { width: 15px; height: 15px; }
.acc details[open] summary .chev { transform: rotate(180deg); }
.acc-body { padding: 8px 0 48px 56px; }
.acc-body .lead { margin-top: 0; font-size: 16px; }
@media (max-width: 720px) { .acc summary { grid-template-columns: 28px minmax(0, 1fr) 36px; } .acc summary .meta { display: none; } .acc-body { padding-left: 0; } }

.sev { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; margin: 20px 0 12px; max-width: 640px; }
.sev i { display: block; height: 100%; }
.sev i.s4, .sev-l i.s4 { background: #000; } .sev i.s3, .sev-l i.s3 { background: rgba(0, 0, 0, 0.55); } .sev i.s2, .sev-l i.s2 { background: rgba(0, 0, 0, 0.30); } .sev i.s1, .sev-l i.s1 { background: rgba(0, 0, 0, 0.14); }
.sev-l { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 12.5px; color: var(--k60); }
.sev-l span { display: inline-flex; align-items: center; gap: 6px; }
.sev-l i { width: 8px; height: 8px; border-radius: 50%; }
.top8 { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; counter-reset: t8; }
.top8 li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-top: 1px solid var(--k08); }
.top8 li::before { counter-increment: t8; content: counter(t8, decimal-leading-zero); grid-row: span 3; font-size: 12.5px; color: var(--k60); padding-top: 3px; }
.top8 b { font-size: 15.5px; font-weight: 500; }
.top8 p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--k72); }
.top8 .where { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--k60); }
@media (max-width: 900px) { .top8 { grid-template-columns: 1fr; } }

.srcgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.srcgrid h4 { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: #000; }
.srcgrid ol { margin: 0; padding: 0; list-style: none; }
.srcgrid li { padding: 7px 0; border-top: 1px solid var(--k08); font-size: 13.5px; line-height: 1.4; }
.srcgrid li a { color: var(--blue-t); text-decoration: none; }
.srcgrid li a:hover { text-decoration: underline; text-decoration-color: rgba(18, 48, 230, 0.4); text-underline-offset: 3px; }
.srcgrid li .h { display: block; font-size: 12px; color: var(--k60); margin-top: 1px; }
@media (max-width: 900px) { .srcgrid { grid-template-columns: 1fr; } }

.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.plist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--k08); font-size: 14.5px; line-height: 1.55; color: var(--k72); }
.plist li b { color: #000; font-weight: 500; }
.plist .k { font-size: 12.5px; color: var(--k60); padding-top: 2px; }
.plist-src { display: block; margin-top: 6px; }
@media (max-width: 900px) { .plist { grid-template-columns: 1fr; } }

/* ───────── Footer ───────── */
.foot { margin-top: var(--sec-gap); padding: 64px 0 48px; border-top: 1px solid var(--k10); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.foot .credit { margin: 0; font-size: clamp(30px, 2.8vw, 42px); font-weight: 400; letter-spacing: -0.028em; line-height: 1.08; }
.foot .fine { margin: 16px 0 0; max-width: 70ch; font-size: 12.5px; line-height: 1.55; color: var(--k60); }
.foot .fine.legal { margin-top: 8px; }
.foot-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ptag tooltip — the product's popover: white, soft shadow */
.tip { position: fixed; z-index: var(--z-toast); max-width: 320px; padding: 11px 13px; border-radius: 16px; font-size: 12.5px; line-height: 1.5; color: #000; background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(0, 0, 0, 0.04); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 160ms ease, transform 160ms var(--ease-out); }
.tip.on { opacity: 1; transform: none; }
.tip b { font-weight: 500; color: var(--k60); margin-right: 6px; }
