/* Authenticité page: one full-screen section per step, each with a small
   animation that plays when the section comes into view (.in, site.js). */
.authsec { min-height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: center; padding: 64px 0; position: relative; }
.authsec:nth-child(even) { background: var(--soft); }
.authgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.authgrid .intro { margin: 26px 0 0; }
.hero-a .giant { text-align: left; }
.step-no { font: 600 14px/1 var(--font); letter-spacing: .12em; color: var(--ink-3); margin-bottom: 18px; }
.art { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; }
.scroll-hint { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--ink-3); animation: hint 2s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(6px); opacity: .5; } }
@media (max-width: 860px) { .authgrid { grid-template-columns: 1fr; gap: 36px; } .authsec { min-height: auto; padding: 88px 0; } }

/* 1. key + scan */
.key-hero { width: 100%; max-width: 360px; }
.k-body { fill: #f1f1f3; stroke: var(--ink); stroke-width: 2.5; }
.k-plug { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.k-ring { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.k-serial { font: 600 14px/1 ui-monospace, Consolas, monospace; fill: var(--ink); letter-spacing: .04em; opacity: 0; }
.k-scan { fill: var(--ok); opacity: 0; }
.in .k-serial { animation: fadein .6s 1.6s forwards; }
.in .k-scan { animation: scan 1.6s .2s ease-in-out forwards; }
@keyframes scan { 0% { opacity: .8; transform: translateX(0); } 90% { opacity: .8; } 100% { opacity: 0; transform: translateX(194px); } }
@keyframes fadein { to { opacity: 1; } }

/* 2. fingerprint list */
.fp { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 380px; display: grid; gap: 10px; }
.fp li { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 15px; opacity: 0; transform: translateY(10px); }
.fp b { color: var(--ok); font-weight: 600; }
.fp b::before { content: "✓ "; }
.fp code { font: 600 15px ui-monospace, Consolas, monospace; }
.fp .fp-hash { background: var(--ink); color: #fff; border-color: var(--ink); }
.in .fp li { animation: up .5s forwards; }
.in .fp li:nth-child(2) { animation-delay: .35s; } .in .fp li:nth-child(3) { animation-delay: .7s; } .in .fp li:nth-child(4) { animation-delay: 1.2s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* 3. certificate + seal */
.cert { position: relative; width: 100%; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px 34px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .35); }
.cert-t { font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.cert-l { font: 500 14px ui-monospace, Consolas, monospace; color: var(--ink-2); margin-top: 6px; }
.cert i { display: block; height: 8px; border-radius: 4px; background: var(--line); margin-top: 14px; }
.cert i.short { width: 55%; }
.seal { position: absolute; right: -14px; bottom: -18px; width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--font); letter-spacing: .14em; transform: scale(2.2) rotate(-18deg); opacity: 0; box-shadow: 0 0 0 6px var(--soft); }
.in .seal { animation: stamp .45s .7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes stamp { to { transform: scale(1) rotate(-12deg); opacity: 1; } }

/* 4. timeline */
.timeline { width: 100%; max-width: 360px; display: grid; gap: 0; }
.tl-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-left: 2px solid var(--line); margin-left: 10px; padding-left: 20px; position: relative; opacity: .25; }
.tl-row .dot { position: absolute; left: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-3); }
.tl-row b { font-weight: 600; }
.tl-row em { font-style: normal; font-size: 14px; color: var(--ok); }
.in .tl-row { animation: lit .4s forwards; }
.in .tl-row:nth-child(2) { animation-delay: .9s; } .in .tl-row:nth-child(3) { animation-delay: 1.8s; }
.in .tl-row .dot { animation: pulse 1.4s .2s ease-out; }
@keyframes lit { to { opacity: 1; } }
.in .tl-row .dot { background: var(--ok); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 127, 55, .45); } 100% { box-shadow: 0 0 0 14px rgba(26, 127, 55, 0); } }

/* 5. copy refused */
.copy { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 440px; justify-content: space-between; }
.ck { display: grid; justify-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ck svg { width: 120px; fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.ck b { font-size: 26px; line-height: 1; opacity: 0; }
.ck.ok b { color: var(--ok); } .ck.bad b { color: var(--bad); }
.ck.bad svg { stroke: var(--ink-3); }
.flow { flex: 1; height: 2px; position: relative; overflow: hidden; }
.flow i { position: absolute; top: -3px; left: -10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: 0; }
.refuse { margin-top: 26px; font: 500 13px/1.5 ui-monospace, Consolas, monospace; color: var(--bad); text-align: center; max-width: 380px; opacity: 0; }
.in .flow i { animation: flow 1.1s ease-in 3 forwards; }
.in .flow i:nth-child(2) { animation-delay: .25s; } .in .flow i:nth-child(3) { animation-delay: .5s; }
@keyframes flow { 0% { left: -10px; opacity: 1; } 100% { left: 100%; opacity: 1; } }
.in .ck.ok b { animation: fadein .4s .2s forwards; }
.in .ck.bad b { animation: pop .4s 3.9s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.in .ck.bad svg { animation: shake .5s 3.9s; }
.in .refuse { animation: fadein .5s 4.3s forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* 6. broken signature */
.sig { width: 100%; max-width: 340px; display: grid; gap: 22px; justify-items: center; }
.sig-card { position: relative; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .35); }
.sig-card .d { position: relative; display: inline-block; }
.sig-card .d b { font-weight: 700; }
.sig-card .d .n { position: absolute; left: 0; top: 0; color: var(--bad); opacity: 0; }
.crack { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--bad); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; }
.sig-msg { font-weight: 600; color: var(--bad); text-align: center; opacity: 0; }
.in .sig-card .d .o { animation: fadeout .3s 1s forwards; }
.in .sig-card .d .n { animation: fadein .3s 1s forwards; }
.in .crack { animation: draw .7s 1.6s ease-out forwards; }
.in .sig-card { animation: tilt .5s 2.2s forwards; }
.in .sig-msg { animation: fadein .5s 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tilt { to { transform: rotate(-2.5deg); border-color: #f3c4c7; } }
@keyframes fadeout { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .k-serial, .fp li, .seal, .tl-row, .ck b, .refuse, .sig-msg, .sig-card .d .n { opacity: 1 !important; transform: none !important; animation: none !important; }
  .sig-card .d .o, .k-scan, .flow i { display: none; }
  .crack { stroke-dashoffset: 0 !important; animation: none !important; }
}

.hero-a .giant { font-size: clamp(52px, 6.4vw, 96px); }

/* 02. layers probed down to the controller */
.layers { position: relative; width: 100%; max-width: 340px; display: grid; gap: 8px; }
.layers div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 15px; transition: border-color .3s, background .3s; }
.layers .core { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; opacity: .25; }
.probe { position: absolute; right: 18px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); opacity: 0; }
.in .probe { animation: probe 2s .3s ease-in-out forwards; }
.in .layers .core { animation: lit .4s 2.2s forwards; }
@keyframes probe { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; } 100% { opacity: 1; transform: translateY(232px); } }

/* 03. hashes */
.hashbox { width: 100%; max-width: 380px; display: grid; gap: 8px; }
.hb-l { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.hb { display: block; font: 600 14px/1.55 ui-monospace, Consolas, monospace; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; letter-spacing: .04em; }
.hb.bad { color: var(--bad); }

/* 05. big number */
.bignum { font: 700 clamp(22px, 3.3vw, 44px)/1.15 var(--font); letter-spacing: -.02em; margin: 34px auto 10px; max-width: 900px; font-variant-numeric: tabular-nums; }

/* 06. pipeline */
.pipe { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: grid; gap: 10px; counter-reset: p; }
.pipe li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; opacity: .3; }
.pipe li::before { content: counter(p); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pipe li b { font-weight: 600; font-size: 15px; }
.pipe li span { font-size: 13px; color: var(--ink-2); }
.in .pipe li { animation: litstep .45s forwards; }
.in .pipe li:nth-child(2) { animation-delay: .5s; } .in .pipe li:nth-child(3) { animation-delay: 1s; } .in .pipe li:nth-child(4) { animation-delay: 1.5s; } .in .pipe li:nth-child(5) { animation-delay: 2s; }
@keyframes litstep { to { opacity: 1; border-color: var(--ink); } }


/* 07. extra timeline row */
.tl-row.end em { color: var(--ink-2); }
.in .tl-row.end { animation-delay: 2.7s; }
.in .tl-row.end .dot { background: var(--ink); }

/* 09. clone: sector grids */
.clone { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; width: 100%; max-width: 420px; }
.grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.grid i { border-radius: 2px; background: var(--line); }
.g1 i { background: var(--ink); }
.arrow { font-size: 26px; color: var(--ink-3); }
.clone-msg { grid-column: 1 / -1; text-align: center; font-size: 14px; font-weight: 600; color: var(--bad); opacity: 0; margin-top: 10px; }
.in .g2 i { animation: fill .2s forwards; }
.in .g2 { animation: shake .5s 2.6s; }
.in .clone-msg { animation: fadein .5s 2.9s forwards; }
@keyframes fill { to { background: var(--ink); } }

/* 11. signed update */
.pkg { width: 100%; max-width: 340px; display: grid; gap: 8px; }
.pkg-row { display: flex; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 15px; opacity: 0; transform: translateY(8px); }
.pkg-row.ok b { color: var(--ok); } .pkg-row.tamper b { color: var(--bad); }
.pkg-row.tamper { border-color: #f3c4c7; }
.pkg-msg { text-align: center; font-weight: 600; color: var(--bad); opacity: 0; margin-top: 6px; }
.in .pkg-row { animation: up .4s forwards; }
.in .pkg-row:nth-child(2) { animation-delay: .35s; } .in .pkg-row:nth-child(3) { animation-delay: .7s; } .in .pkg-row:nth-child(4) { animation-delay: 1.2s; }
.in .pkg-msg { animation: fadein .5s 1.8s forwards; }

/* summary stack */
.stack { width: 100%; max-width: 340px; display: grid; gap: 6px; }
.stack div { background: var(--ink); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 500; opacity: 0; transform: translateX(24px); }
.stack div:nth-child(odd) { background: #26262a; }
.in .stack div { animation: slidein .4s forwards; }
.in .stack div:nth-child(2) { animation-delay: .15s; } .in .stack div:nth-child(3) { animation-delay: .3s; } .in .stack div:nth-child(4) { animation-delay: .45s; }
.in .stack div:nth-child(5) { animation-delay: .6s; } .in .stack div:nth-child(6) { animation-delay: .75s; } .in .stack div:nth-child(7) { animation-delay: .9s; } .in .stack div:nth-child(8) { animation-delay: 1.05s; }
@keyframes slidein { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .pipe li, .layers .core, .pkg-row, .pkg-msg, .stack div, .clone-msg { opacity: 1 !important; transform: none !important; animation: none !important; }
  .g2 i { background: var(--ink) !important; animation: none !important; }
  .probe { display: none; }
}

/* 05. signing keys */
.keyring { width: 100%; max-width: 340px; display: grid; gap: 10px; }
.kr { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; opacity: 0; transform: translateY(8px); }
.kr-id { font-weight: 600; } .kr-id::before { content: "🔑 "; }
.kr-st { font-size: 13px; color: var(--ink-2); } .kr-st.ok { color: var(--ok); } .kr-st.bad { color: var(--bad); }
.kr.off { position: relative; }
.kr.off .kr-id { color: var(--ink-3); }
.kr-note { text-align: center; font-size: 13px; color: var(--ink-3); opacity: 0; margin-top: 4px; }
.in .kr { animation: up .4s forwards; } .in .kr:nth-child(2) { animation-delay: .35s; } .in .kr:nth-child(3) { animation-delay: .7s; }
.in .kr.off .kr-id { animation: strike .4s 1.5s forwards; }
.in .kr-note { animation: fadein .5s 1.9s forwards; }
@keyframes strike { to { text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 2px; } }

/* 08. candidate keys */
.cands { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; display: grid; gap: 10px; }
.cands li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; opacity: 0; transform: translateX(-16px); }
.cands code { font: 600 14px ui-monospace, Consolas, monospace; }
.cands b { font-size: 13px; opacity: 0; } .cands .x { color: var(--bad); } .cands .v { color: var(--ok); }
.cands .x::before { content: "✕ "; } .cands .v::before { content: "✓ "; }
.in .cands li { animation: slidein .4s forwards; }
.in .cands li:nth-child(2) { animation-delay: .6s; } .in .cands li:nth-child(3) { animation-delay: 1.2s; } .in .cands li:nth-child(4) { animation-delay: 1.8s; }
.in .cands li b { animation: fadein .3s .35s forwards; }
.in .cands li:nth-child(2) b { animation-delay: .95s; } .in .cands li:nth-child(3) b { animation-delay: 1.55s; } .in .cands li:nth-child(4) b { animation-delay: 2.2s; }
.in .cands li:nth-child(4) { animation: slidein .4s 1.8s forwards, okglow .6s 2.2s forwards; }
@keyframes okglow { to { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(26, 127, 55, .12); } }

/* 13. model integrity */
.mcheck { width: 100%; max-width: 360px; display: grid; gap: 12px; }
.mc { display: grid; grid-template-columns: 1fr 110px 20px; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 14px; }
.mc i { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.mc em { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 3px; }
.mc b { opacity: 0; font-size: 16px; } .mc .v { color: var(--ok); } .mc .x { color: var(--bad); }
.mc.bad em { background: var(--bad); }
.in .mc em { animation: bar 1.1s ease-in-out forwards; }
.in .mc:nth-child(2) em { animation-delay: .5s; } .in .mc:nth-child(3) em { animation-delay: 1s; }
.in .mc b { animation: pop .35s 1.1s forwards; } .in .mc:nth-child(2) b { animation-delay: 1.6s; } .in .mc:nth-child(3) b { animation-delay: 2.1s; }
.in .mc.bad { animation: shake .5s 2.1s, badbd .1s 2.1s forwards; }
@keyframes bar { to { width: 100%; } }
@keyframes badbd { to { border-color: #f3c4c7; } }

/* 15. revocation register */
.reg { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 340px; display: grid; gap: 8px; }
.reg li { display: flex; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.reg code { font: 600 14px ui-monospace, Consolas, monospace; }
.reg span { color: var(--ok); font-size: 13px; }
.reg .rv span { color: var(--ink-3); }
.in .reg .rv { animation: revoke .5s 1.2s forwards; }
.in .reg .rv code { animation: strike .3s 1.3s forwards; }
.in .reg .rv span { animation: revtxt .3s 1.4s forwards; }
@keyframes revoke { to { background: #fdecee; border-color: #f3c4c7; } }
@keyframes revtxt { to { color: var(--bad); font-weight: 600; } }

/* 16. dev edition refused */
.term { width: 100%; max-width: 400px; background: #111; color: #e8e8ea; border-radius: 16px; padding: 22px 22px 26px; font: 500 13.5px/1.7 ui-monospace, Consolas, monospace; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6); }
.term .pr { color: #8a8a8f; } .term em { color: #8a8a8f; font-style: normal; }
.term p { opacity: 0; white-space: nowrap; overflow: hidden; }
.term .t2 { color: #d7b36a; } .term .t3 { color: #ff6b6b; white-space: normal; }
.in .term p { animation: fadein .01s forwards, typing .8s steps(30) forwards; }
.in .term .t2 { animation-delay: .9s, .9s; } .in .term .t3 { animation: fadein .3s 1.9s forwards; }
@keyframes typing { from { max-width: 0; } to { max-width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .kr, .kr-note, .cands li, .cands b, .mc b, .term p { opacity: 1 !important; transform: none !important; animation: none !important; }
  .mc em { width: 100% !important; animation: none !important; }
}
.in .stack div:nth-child(9) { animation-delay: 1.2s; } .in .stack div:nth-child(10) { animation-delay: 1.35s; } .in .stack div:nth-child(11) { animation-delay: 1.5s; }

/* Sections always fit the visible screen (under the 60 px header): type and
   illustrations scale with the screen height too, so nothing ends up below
   the fold on laptops or zoomed displays. */
.authsec { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); padding: clamp(24px, 5vh, 64px) 0; }
html.snap .authsec.snap-pt { scroll-margin-top: 60px; }
.authsec .big { font-size: clamp(32px, min(5.4vw, 7.6vh), 76px); }
.authsec .intro { font-size: clamp(16px, min(1.7vw, 2.5vh), 21px); margin-top: clamp(12px, 2.4vh, 26px); }
.authsec .step-no { margin-bottom: clamp(8px, 1.6vh, 18px); }
.authgrid { gap: clamp(28px, 4vw, 56px); }
.art { min-height: 0; max-height: calc(100vh - 140px); }
.art > * { max-height: 100%; }
@media (max-height: 760px) {
  .fp li, .cands li, .kr, .pkg-row, .tm, .reg li, .mc, .layers div, .pipe li { padding-top: 9px; padding-bottom: 9px; }
  .pipe li::before { width: 24px; height: 24px; }
  .caps { height: 170px; }
  .timeline .tl-row { padding-top: 10px; padding-bottom: 10px; }
  .cmp-row > * { padding-top: 9px; padding-bottom: 9px; }
  .chip { transform: scale(.8); }
  .swrow span { width: 70px; height: 70px; }
  .scroll-hint { bottom: 12px; }
}

/* ---- Scroll-driven opening (uses the .scrolly driver of cle.css/cle.js):
   giant word → the real key rises → a scan checks it → a copy slides out
   and is refused → title. ---- */
.ah { --kw: min(30vw, 380px, 46vh); }
.ah .glow { background: radial-gradient(closest-side, rgba(26, 127, 55, calc(.08 * var(--s) * (1 - var(--l)))), transparent 70%), radial-gradient(closest-side, rgba(160, 165, 172, calc(.2 * var(--k))), transparent 60%); }
.ah-word { position: absolute; left: 50%; top: 50%; margin: 0; font: 700 clamp(80px, 19vw, 300px)/1 var(--font); letter-spacing: -.055em; white-space: nowrap; color: var(--ink);
  transform: translate(-50%, -50%) translateY(calc(var(--a) * -36vh)) scale(calc(1 - var(--a) * .8)); opacity: calc(1 - var(--t)); will-change: transform; }
.ah .keywrap { width: var(--kw); top: calc(49% - var(--t) * 17%);
  transform: translate(-50%, -50%) translateX(calc(var(--l) * -57%)) translateY(calc((1 - var(--k)) * 75vh)) rotate(calc(-18deg + var(--k) * 18deg)) scale(calc(.7 + var(--k) * .3)); }
.ah .pk-cover { transform: none; }
.ah .photokey { transform: scale(calc(1 - var(--t) * .36)); }
.ah .keywrap > .photokey { filter: drop-shadow(0 0 calc(var(--s) * 16px) rgba(26, 127, 55, calc(var(--s) * .45))); }
.ah-scan { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 40%, rgba(26, 200, 90, .85) 50%, transparent 60%) no-repeat; background-size: 50% 100%; background-position: calc(-50% + var(--s) * 200%) 0;
  -webkit-mask: url(cle-silhouette.webp) center / contain no-repeat; mask: url(cle-silhouette.webp) center / contain no-repeat;
  opacity: min(1, calc(var(--s) * (1 - var(--s)) * 8)); mix-blend-mode: screen; }
.ah-copy { position: absolute; left: 0; top: 0; width: 100%; transform: translateX(calc(var(--l) * 115%)); opacity: min(1, calc(var(--l) * 3)); }
.ah-copy .photokey { filter: grayscale(1) contrast(.8); opacity: .5; }
.ah-x { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--bad); color: #fff; display: grid; place-items: center; font-size: 26px;
  transform: scale(clamp(0, calc((var(--l) - .55) * 5), 1)); box-shadow: 0 6px 20px rgba(207, 34, 46, .35); }
.ah-under { position: absolute; left: 0; right: 0; top: calc(49% - var(--t) * 17% + var(--kw) * .4 * (1 - var(--t) * .36) + 18px); height: 60px; opacity: calc(1 - var(--t)); }
.ah-checks { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; opacity: clamp(0, calc(1 - var(--l) * 4), 1); }
.ah-checks li { font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: #e8f5ec; color: var(--ok); }
.ah-checks li::before { content: "✓ "; }
.ah-checks li:nth-child(1) { opacity: clamp(0, calc((var(--s) - .25) * 6), 1); }
.ah-checks li:nth-child(2) { opacity: clamp(0, calc((var(--s) - .5) * 6), 1); }
.ah-checks li:nth-child(3) { opacity: clamp(0, calc((var(--s) - .75) * 6), 1); }
.ah-v { position: absolute; top: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translateX(-50%); font-size: 15px; font-weight: 600; white-space: nowrap; }
.ah-v code { font: 600 13px ui-monospace, Consolas, monospace; color: var(--ink-2); letter-spacing: .04em; }
.ah-v.ok { left: calc(50% - var(--kw) * .57); color: var(--ok); opacity: clamp(0, calc((var(--l) - .35) * 5), 1); }
.ah-v.bad { left: calc(50% + var(--kw) * .58); color: var(--bad); opacity: clamp(0, calc((var(--l) - .6) * 5), 1); }
.ah .scrolly-text .kicker { margin: 0 0 10px; }
@media (max-width: 720px) { .ah { --kw: min(40vw, 40vh); } .ah .keywrap { width: var(--kw); } .ah-checks li { font-size: 12px; padding: 6px 10px; } .ah-v { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .ah-copy, .ah-under { display: none; } }
.ah .scrolly-text { opacity: clamp(0, calc((var(--t) - .45) * 1.9), 1); }
