/* ---------- cover: what this is, the answer, what to do ---------- */
.cover{ background: var(--b-red); color: var(--on-light); padding: 22px 0 32px; }
.cover-in{ display: grid; gap: clamp(14px, 2vw, 24px); }
.v4 .cover-k{ font: 800 clamp(1.15rem, 1rem + .7vw, 1.6rem)/1.1 var(--ui); font-stretch: 75%; letter-spacing: 0; }
.cover-h{ font-family: var(--display); font-size: clamp(3.9rem, 11vw, 10.4rem); font-weight: 900; font-stretch: 62%; line-height: .8; letter-spacing: -0.035em; text-transform: uppercase; }
.cover-h em{ font-style: normal; color: var(--on-dark); } .cover-h .cv-nw{ white-space: nowrap; }
.cover-low{ display: grid; gap: 22px; align-items: end; }
@media (min-width: 1000px){ .cover-low{ grid-template-columns: 1fr 1.15fr; gap: 64px; } .cover-what{ order: -1; } }
.cover-what{ display: grid; gap: 18px; }
.cover .dek{ max-width: 15em; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); }
.cover-go{ display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 800; font-size: 1rem; }
.cover-go a{ display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: 2px solid currentColor; padding: 6px 0; }
.byline{ font-size: .86rem; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.byline span{ font-weight: 500; }

/* ---------- chapters ---------- */
.chap{ padding: var(--sec) 0; border-top: 2px solid var(--ink); scroll-margin-top: var(--stick); }

/* scrollytelling: sticky figure + steps */
.scrolly{ display: grid; gap: 0; margin-top: 40px; }
.fig{ margin: 0; position: sticky; top: var(--stick); height: 54svh; z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--paper); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.fig{ --t0: clamp(0, calc((var(--p) + .5) * 2.2), 1); --t1: clamp(0, calc((var(--p) - .25) * 2), 1); --t2: clamp(0, calc((var(--p) - 1.25) * 2), 1); --t3: clamp(0, calc((var(--p) - 2.25) * 2), 1); }
.fig-t{ display: grid; } .fig-t p{ grid-area: 1 / 1; }
.fig-t p{ font: 400 .86rem/1.35 var(--ui); color: var(--ink-2); max-width: 28em; }
.fig-t b{ display: block; font-weight: 800; font-size: 1.02rem; color: var(--ink); margin-bottom: 2px; }
.fig-body{ position: relative; display: grid; gap: 10px; }
.fig .src{ font-size: .74rem; line-height: 1.35; }
.steps{ position: relative; z-index: 2; }
.step{ min-height: 64svh; display: grid; align-content: start; gap: 10px; max-width: 520px; padding-top: 28px; }
.step-n{ font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.step p{ font-size: 1.12rem; } .step b{ font-family: var(--ui); }
.step .big{ font: 900 clamp(2.8rem, 1.8rem + 5vw, 7rem)/.9 var(--display); font-stretch: 62%; letter-spacing: -0.03em; color: var(--red-ink); }
html:not(.js) .step{ min-height: 0; padding: 28px 0; } html:not(.js) .fig{ position: static; height: auto; } html:not(.js) .fig-t{ display: block; }
@media (min-width: 1000px){
  .scrolly{ grid-template-columns: 1.15fr 1fr; gap: 64px; margin-top: 48px; }
  .fig{ top: calc(var(--stick) + 16px); height: calc(100svh - var(--stick) - 48px); border-bottom: 0; gap: 16px; }
  .fig-t p{ font-size: .95rem; } .fig-t b{ font-size: 1.2rem; } .fig .src{ font-size: .8rem; }
  .step{ min-height: 78svh; align-content: center; padding-top: 0; } .step p{ font-size: 1.2rem; }
}

/* ---------- chapter 2: tick your reasons ---------- */
.ch2{ background: var(--lime); color: var(--on-light); border-top-color: var(--on-light); }
.ch2 .sec-k{ color: var(--on-light); }
.how{ margin-top: 20px; max-width: 31em; font-size: 1.08rem; line-height: 1.5; }
.how-n{ display: inline-block; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--on-light); color: var(--lime); padding: 4px 7px; margin-right: 8px; vertical-align: 2px; }
.words{ display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; margin: 28px 0 12px; max-width: 1180px; }
.word{ display: flex; align-items: center; gap: 12px; text-align: left; min-height: 60px; padding: 10px 16px; font: 800 1.12rem/1.15 var(--ui); font-stretch: 75%; background: oklch(1 0 0 / .28); border: 2px solid var(--on-light); color: var(--on-light); cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 140ms var(--ease-out); }
.word i{ flex: none; width: 24px; height: 24px; border: 2px solid currentColor; display: grid; place-items: center; background: oklch(1 0 0 / .6); }
.word i svg{ width: 16px; height: 16px; stroke-width: 3.5; opacity: 0; }
.word:active{ transform: scale(.98); }
.word[aria-pressed="true"]{ color: var(--lime); background: var(--on-light); }
.word[aria-pressed="true"] i{ background: none; } .word[aria-pressed="true"] i svg{ opacity: 1; }
@media (hover: hover) and (pointer: fine){ .word:hover{ background: oklch(1 0 0 / .6); } .word[aria-pressed="true"]:hover{ background: var(--on-light); } }
.ws-t{ font-weight: 800; }
.words-s{ font-size: 1rem; font-weight: 600; margin-bottom: 36px; display: flex; gap: 16px; align-items: center; min-height: 28px; }
.clear{ background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 800; color: inherit; text-decoration: underline; cursor: pointer; }
.verdict{ background: var(--b-ink); color: var(--on-dark); padding: clamp(22px, 3.4vw, 44px); max-width: 980px; }
.verdict .kicker{ color: var(--lime); }
.verdict-h{ font: 900 clamp(2.2rem, 1.3rem + 3.2vw, 4.2rem)/.95 var(--display); font-stretch: 62%; text-transform: uppercase; margin: 10px 0 16px; }
.verdict-l{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1.08rem; max-width: 31em; }
.verdict-l b{ font-family: var(--ui); color: var(--lime); }
.verdict-stay, .verdict-more{ margin-top: 16px; padding-top: 14px; border-top: 1px solid oklch(1 0 0 / .25); max-width: 31em; }
.verdict-stay b{ font-family: var(--ui); color: var(--lime); }
.verdict-more a{ color: var(--lime); }
.verdict .v-go{ margin-top: 22px; background: var(--lime); border-color: var(--lime); color: var(--on-light); }
html:not(.js) .words, html:not(.js) .words-s, html:not(.js) .how{ display: none; }

/* ---------- chapter 3: spreads ---------- */
.ch3{ padding-bottom: 0; }
.spreads{ margin-top: 48px; }
.spread{ border-top: 2px solid var(--on-light); padding: clamp(48px, 6.5vw, 100px) 0; color: var(--on-light); position: relative; overflow: hidden; }
.b-lime{ background: var(--lime); } .b-cream{ background: var(--b-cream); } .b-red{ background: var(--b-red); }
.b-cobalt{ background: var(--b-cobalt); color: var(--on-dark); } .b-forest{ background: var(--b-forest); color: var(--on-dark); }
.spread-in{ display: grid; gap: 28px; position: relative; }
.rank{ font: 900 clamp(9rem, 28vw, 24rem)/.75 var(--display); font-stretch: 62%; color: transparent; -webkit-text-stroke: 2px currentColor; position: absolute; right: -1vw; top: -2vw; opacity: .22; pointer-events: none; }
.sp-head{ position: relative; max-width: 900px; }
.v4 .sp-name{ font-size: clamp(3rem, 1.4rem + 7vw, 8.5rem); font-weight: 900; font-stretch: 62%; line-height: .86; letter-spacing: -0.03em; text-transform: uppercase; margin: 10px 0 14px; }
.sp-head .dek{ max-width: 15em; }
.stamp{ display: inline-block; margin-top: 16px; font: 500 .9rem/1.3 var(--ui); padding: 8px 12px; border: 2px solid currentColor; max-width: 22em; }
.stamp b{ display: block; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .84rem; }
.stamp.fit{ background: var(--b-ink); color: var(--lime); border-color: var(--b-ink); }
.sp-fit{ position: relative; display: grid; gap: 12px; max-width: 1180px; padding: 16px 0; border-block: 2px solid currentColor; font-size: 1.05rem; line-height: 1.45; }
@media (min-width: 1000px){ .sp-fit{ grid-template-columns: 1fr 1fr; gap: 48px; } }
.sp-fit b{ display: block; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.sorted{ margin-top: 20px; padding: 12px 14px; border: 2px solid var(--ink); background: var(--lime); color: var(--on-light); font-size: .98rem; line-height: 1.45; max-width: 40em; } .sorted a{ font-weight: 700; white-space: nowrap; }
.sp-body{ display: grid; gap: 24px; max-width: 1180px; position: relative; }
@media (min-width: 1000px){ .sp-body{ grid-template-columns: minmax(0, 31em) 1fr; gap: 48px; } }
.sp-pitch{ font-size: 1.18rem; line-height: 1.55; max-width: 31em; }
.sp-tr{ display: grid; gap: 20px; grid-template-columns: 1fr 1fr; align-content: start; }
.sp-tr ul{ margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 1.02rem; line-height: 1.4; }
.sp-tr li{ padding-left: 1.1em; position: relative; } .sp-tr li::before{ content: "+"; position: absolute; left: 0; font-family: var(--ui); font-weight: 800; }
.sp-tr .give li::before{ content: "−"; }
.sp-check{ grid-column: 1 / -1; font-size: .92rem; line-height: 1.45; padding-top: 12px; border-top: 1px solid currentColor; } .sp-check b{ font-weight: 800; }
@media (max-width: 560px){ .sp-tr{ grid-template-columns: 1fr; } }
.sp-price{ display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; border-top: 2px solid currentColor; padding-top: 16px; max-width: 760px; position: relative; }
.sp-price .kicker{ grid-column: 1 / -1; margin-bottom: 4px; }
.pv{ font: 900 clamp(4rem, 2rem + 7vw, 7.5rem)/.8 var(--display); font-stretch: 62%; }
.pu{ font-weight: 700; font-size: 1.1rem; padding-bottom: 6px; }
.pfull, .sp-price a{ grid-column: 1 / -1; font-size: .92rem; margin-top: 8px; } .sp-price a{ display: inline-flex; gap: 4px; align-items: center; font-weight: 700; width: max-content; padding: 4px 0; } .sp-price svg{ width: 15px; height: 15px; }
.sp-meta{ display: grid; gap: 14px; font-size: .92rem; position: relative; max-width: 1100px; margin: 0; }
@media (min-width: 900px){ .sp-meta{ grid-template-columns: 1fr 1fr; align-items: start; } }
.sp-meta dt{ font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; } .sp-meta dd{ margin: 2px 0 0; }
.sp-act{ display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.spread .btn.ghost{ border-color: currentColor; color: inherit; background: transparent; }
.spread .btn:not(.ghost){ background: var(--b-ink); border-color: var(--b-ink); color: var(--on-dark); }
.b-cobalt .btn:not(.ghost), .b-forest .btn:not(.ghost){ background: var(--on-dark); color: var(--on-light); border-color: var(--on-dark); }
@media (hover: hover) and (pointer: fine){ .spread .btn:hover{ background: var(--b-ink); border-color: var(--b-ink); color: var(--lime); } }
.spread.dim{ filter: saturate(.3); }
/* pick card: content left, price and actions right on wide screens; no sticky (.spread clips overflow) */
.sp-main, .sp-side{ display: contents; }
@media (min-width: 1100px){
  .spread-in{ grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .sp-main{ display: grid; gap: 28px; grid-column: 1; }
  .sp-side{ display: grid; gap: 20px; grid-column: 2; grid-row: 1; padding-top: 34px; }
  .sp-side .sp-price{ max-width: none; }
  .spread .rank{ display: none; }
}
/* below 1400 the main column is too narrow for the pitch beside the trade-offs */
@media (min-width: 1100px) and (max-width: 1399px){ .sp-main .sp-body{ grid-template-columns: minmax(0, 1fr); } }
.sponsor{ background: var(--paper-2); border-top: 2px solid var(--ink); padding: 44px 0; }
/* own product: a hairline box on the page background, never the sponsor fill; it leads straight into pick 1 */
.maker{ padding: 32px 0 0; }
.maker + .spreads{ margin-top: 24px; }
.sponsor-in{ display: grid; gap: 10px; max-width: 31em; justify-items: start; }
.sponsor-a{ display: inline-flex; align-items: center; gap: 6px; font-weight: 800; padding: 6px 0; }

/* ---------- chapter 4: ladder ---------- */
.rung{ display: grid; grid-template-columns: 8.5em 1fr 6em; gap: 12px; align-items: center; font: 600 .95rem var(--ui); }
.lb{ height: 30px; position: relative; }
/* each bar steps in as the chart scrolls into place, then rescales between the four views with the scroll */
.rung{ --g0: clamp(0, calc(var(--t0) * 2.2 - var(--i) * .2), 1); }
.lb i{ position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(calc((var(--a) + (var(--b) - var(--a)) * var(--t1) + (var(--c) - var(--b)) * var(--t2) + (var(--d) - var(--c)) * var(--t3)) * var(--g0))); }
.ln, .lv{ opacity: var(--g0); }
.rung.self .lb i{ background: var(--red); }
.rung.na .lb{ background: repeating-linear-gradient(135deg, transparent 0 6px, oklch(from var(--ink) l c h / .14) 6px 8px); }
.lv{ font-weight: 800; font-size: 1.2rem; text-align: right; line-height: 1.1; }
/* a billing term ("$37.99, annual plan") wraps under its price instead of running into the next column */
.rung{ grid-template-columns: 8.5em 1fr 10em; }
.rung.na .lv{ font-size: .95rem; }
@media (max-width: 999px){ .rung{ grid-template-columns: 6.4em 1fr 4.8em; gap: 8px; font-size: .8rem; } .lb{ height: 18px; } .lv{ font-size: .98rem; } .rung.na .lv{ font-size: .78rem; } .ladder .fig-body{ gap: 7px; } }

/* ---------- chapter 5: diverging ---------- */
.div-chart{ margin-top: 40px; display: grid; gap: 14px; }
.div-row{ display: grid; grid-template-columns: 1fr; gap: 6px; }
.div-head{ display: none; font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px){ .div-row{ grid-template-columns: 1fr 9em 1fr; align-items: center; gap: 0; } .div-head{ display: grid; } .div-head p:first-child{ text-align: right; padding-right: 8px; color: var(--loss); } .div-head p:last-child{ padding-left: 8px; color: var(--gain); } .dl{ order: -1; } }
.dl, .dr{ display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.dl{ justify-content: flex-end; }
.dl li, .dr li{ font: 600 .84rem/1.25 var(--ui); padding: 8px 10px; max-width: 270px; color: oklch(0.99 0 0); }
.div-row > *{ min-width: 0; }
.dl li{ background: var(--loss-b); transform-origin: right; } .dl li::before{ content: "− "; font-weight: 800; }
.dr li{ background: var(--gain-b); transform-origin: left; } .dr li::before{ content: "+ "; font-weight: 800; }
.dn{ text-align: center; font-weight: 900; font-size: 1.05rem; font-stretch: 75%; text-transform: uppercase; border-inline: 2px solid var(--ink); padding: 6px 4px; }
@media (max-width: 899px){ .dn{ text-align: left; border: 0; padding: 10px 0 0; } .dl{ justify-content: flex-start; } .dl li{ transform-origin: left; } }

/* ---------- chapter 6: feature grid (fixed ink block; every cell carries a word, not only colour) ---------- */
.ch6{ background: var(--b-ink); color: var(--on-dark); }
.ch6 .sec-k{ color: var(--lime); } .ch6 .shows{ color: oklch(0.88 0.012 85); } .ch6 .shows b{ color: var(--on-dark); }
.vgrid{ margin-top: 20px; display: grid; gap: 6px; max-width: 1180px; }
.vg-r{ display: grid; grid-template-columns: minmax(7em, 1.6fr) repeat(var(--cols, 6), minmax(0, 1fr)); gap: 6px; align-items: center; }
.vg-l{ display: none; }
.vg-head span{ font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: oklch(0.88 0.012 85); text-align: center; line-height: 1.15; align-self: end; padding-bottom: 4px; }
.vg-n{ font: 800 1.05rem var(--ui); font-stretch: 75%; text-transform: uppercase; }
.c{ display: grid; place-items: center; height: 46px; width: 100%; border: 2px solid oklch(0.97 0.01 85 / .55); font: 800 .82rem/1 var(--ui); color: var(--on-dark); }
.c1{ background: var(--lime); border-color: var(--lime); color: var(--on-light); } .cp{ border-color: var(--lime); color: var(--lime); }
.cn{ border-style: dashed; }
.js .vgrid .c{ opacity: 0; }
.js .vgrid.in .c{ opacity: 1; transition: opacity 300ms var(--ease-out); transition-delay: calc(var(--i) * 12ms); }
.vgrid.rv{ animation: none !important; opacity: 1 !important; transform: none !important; }
.legend{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 28px; font-size: .88rem; }
.legend > span{ display: inline-flex; align-items: center; gap: 8px; }
.legend .c{ width: auto; height: 28px; padding: 0 9px; display: inline-grid; font-size: .74rem; }
.v4 .ch6-src{ margin-top: 20px; max-width: 40em; color: oklch(0.82 0.012 85); }
/* phones: one card per tool, each cell carries its own column label */
@media (max-width: 999px){ .vg-head{ display: none; } .vg-r{ grid-template-columns: 1fr 1fr; gap: 6px 10px; padding-bottom: 14px; border-bottom: 1px solid oklch(0.97 0.01 85 / .2); } .vg-n{ grid-column: 1 / -1; margin-top: 10px; font-size: .95rem; }
  .vg-c{ display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; } .vg-l{ display: block; font-size: .78rem; line-height: 1.2; color: oklch(0.88 0.012 85); } .c{ height: 34px; width: 4.2em; font-size: .74rem; border-width: 1.5px; } }

/* ---------- chapter 7: compare two ---------- */
.ch7{ padding-bottom: 0; }
.hh-pick{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 32px; font-weight: 700; }
.hh-pick label{ display: inline-flex; align-items: center; gap: 10px; }
.hh-pick select{ height: 48px; padding: 0 12px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 1rem var(--ui); border-radius: 0; max-width: 62vw; }
.hh{ display: grid; }
@media (min-width: 900px){ .hh{ grid-template-columns: 1fr 1fr; } }
.hh-side{ padding: clamp(28px, 4vw, 64px) var(--g); }
.hh-a{ background: var(--b-red); color: var(--on-light); } .hh-b{ background: var(--b-cobalt); color: var(--on-dark); }
.v4 .hh-name{ font: 900 clamp(2.6rem, 1.4rem + 4vw, 5.6rem)/.88 var(--display); font-stretch: 62%; text-transform: uppercase; margin: 8px 0 24px; min-height: 1.76em; }
.hh dl{ margin: 0; display: grid; } .hh dl > div{ padding: 14px 0; border-top: 2px solid currentColor; min-height: 96px; }
.hh dt{ font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; } .hh dd{ margin: 4px 0 0; font-size: 1.05rem; max-width: 28em; }
.hh .diff dt::after{ content: "differs"; margin-left: 8px; padding: 1px 6px; background: var(--b-ink); color: var(--lime); letter-spacing: .08em; }

html:not(.js) .hh-pick{ display: none; }

/* ---------- chapter 8: how to switch ---------- */
.route ol{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 900px; }
.rs{ display: grid; grid-template-columns: clamp(2.6rem, 6vw, 5rem) 1fr; gap: 16px; align-items: baseline; padding: 16px 0 16px 18px; border-bottom: 1px solid var(--rule); position: relative; }
.rs::before{ content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 4px; background: var(--ink); transform-origin: top; }
.rs-keep::before{ background: var(--gain); } .rs-lose::before{ background: var(--red); }
.rn{ font: 900 clamp(2.4rem, 1.6rem + 2.6vw, 4.4rem)/.8 var(--display); font-stretch: 62%; color: var(--ink-3); }
.rs p{ font-size: 1.12rem; max-width: 31em; } .rs b{ display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; color: var(--ink-2); }
.rs-keep b{ color: var(--gain); } .rs-lose b{ color: var(--red-ink); }

/* ---------- full list ---------- */
.idx-grid{ display: grid; gap: 48px; }
.idx-rail{ display: none; }
@media (min-width: 1440px){ .idx-grid{ grid-template-columns: minmax(0, 1fr) 300px; gap: 112px; } .idx-rail{ display: block; } .idx-rail .ad{ position: sticky; top: calc(var(--stick) + 24px); } }
.itop{ font-weight: 800; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); white-space: nowrap; }

/* ---------- FAQ, method ---------- */
.m-grid{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.owner .btn{ white-space: normal; height: auto; min-height: 48px; text-align: left; }
@media (min-width: 1000px){ .m-grid{ grid-template-columns: 1.3fr 1fr 1fr; } }
.m-p{ margin-top: 20px; font-size: 1.1rem; max-width: 23em; }
.srcs{ list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; } .srcs a{ display: inline-block; padding: 3px 0; }
.owner{ background: var(--b-red); padding: 28px; display: grid; gap: 14px; align-content: start; color: var(--on-light); }
.owner-h{ font: 900 2rem/.95 var(--display); font-stretch: 62%; text-transform: uppercase; }
.owner .btn{ width: max-content; max-width: 100%; background: var(--b-ink); border-color: var(--b-ink); color: var(--on-dark); }
::view-transition-group(.sp){ animation-duration: 450ms; animation-timing-function: var(--ease-io); }

/* ---------- scroll-driven motion: every build is tied to scroll position and reverses on scroll-up ---------- */
@keyframes sp-d{ from{ --p: -1; } to{ --p: 3; } }
@keyframes sp-m{ from{ --p: -.5; } to{ --p: 3; } }
@keyframes alt-wipe-r{ from{ clip-path: inset(0 100% 0 0); } }
@keyframes alt-wipe-l{ from{ clip-path: inset(0 0 0 100%); } }
@keyframes cover-out{ to{ transform: translateY(-12%) scale(.95); opacity: .3; } }
@keyframes rank-drift{ from{ transform: translateY(16%); } to{ transform: translateY(-16%); } }
@supports (animation-timeline: view()) and (timeline-scope: --x){ @media (prefers-reduced-motion: no-preference){
  /* the sticky figure reads the scroll position of its own steps. Ranges put p = 0 at step 1 and p = 3 at step 4. */
  .js .scrolly{ timeline-scope: --steps; } .js .steps{ view-timeline: --steps block; }
  .js .fig{ animation: sp-m linear both; animation-timeline: --steps; animation-range: cover 0% cover 62.92%; }
  @media (min-width: 1000px){ .js .fig{ animation-name: sp-d; animation-range: cover 2.67% cover 78.4%; } }
} }
@supports (animation-timeline: view()){ @media (prefers-reduced-motion: no-preference){
  .cover-h{ animation: cover-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .rank{ animation: rank-drift linear both; animation-timeline: view(); }
  .sp-name, .sp-fit, .sp-tr li, .sp-price{ animation: sd-rise linear both; animation-timeline: view(); animation-range: entry 0% contain 8%; }
  /* gain and give-up blocks extend from the centre line as their row scrolls in */
  .js .div-row.rv{ animation: none; }
  /* a clip wipe, not scaleX(0): the block colour stays behind its text at every step, so contrast holds mid-animation */
  .js .div-row li{ animation: alt-wipe-r linear both; animation-timeline: view(); animation-range: entry calc(var(--i) * 30%) cover calc(20% + var(--i) * 6%); }
  .js .div-row .dl li{ animation-name: alt-wipe-l; }
  /* feature cells appear left to right, row by row */
  .js .vgrid .c, .js .vgrid.in .c{ opacity: 1; transition: none; animation: sd-pop linear both; animation-timeline: view(); animation-range: entry calc(var(--k) * 14%) cover calc(12% + var(--k) * 3%); }
  /* switching steps draw in order: the rule draws down, then the step appears */
  .js .route .rs{ animation: sd-rise linear both; animation-timeline: view(); animation-range: entry 0% contain 8%; }
  .rs::before{ animation: sd-draw linear both; animation-timeline: view(); animation-range: entry 20% cover 30%; }
  .hh dl > div{ animation: sd-fade linear both; animation-timeline: view(); animation-range: entry 0% contain 8%; }
} }
@media (prefers-reduced-motion: reduce){ .fig{ animation: none !important; } }

.ch2 .shows, .ch2 .shows b{ color: var(--on-light); }
@media (max-width: 560px){ .cover-go{ flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- production additions (data-driven template) ---------- */
.cover .crumbs{ font-size: .86rem; font-weight: 600; display: flex; gap: 8px; } .cover .crumbs a{ color: inherit; }
.v4 .tool-avatar[data-logo-failed] img{ display: none; }
.v4 .sp-name{ display: flex; align-items: flex-start; flex-wrap: nowrap; } .sp-name a{ color: inherit; text-decoration: none; min-width: 0; overflow-wrap: anywhere; } .sp-name .tool-avatar{ margin-top: .08em; margin-right: .14em; }
.sp-links{ display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .9rem; font-weight: 700; position: relative; } .sp-links a{ padding: 6px 0; }
.lede{ font-size: 1.2rem; line-height: 1.55; max-width: 33em; }
.why-body{ display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 1000px){ .why-body{ grid-template-columns: minmax(0, 33em) minmax(0, 1fr); gap: 64px; align-items: start; } }
.before{ border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 10px; }
.facts{ list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; line-height: 1.45; } .facts b{ font-weight: 800; }
.before a{ font-weight: 700; display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.v4 svg.i{ width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.choose{ display: grid; gap: 12px; max-width: 40em; margin-top: 24px; font-size: 1.08rem; } .take b{ font-weight: 800; }
.ch2 .verdict-stay{ color: var(--on-dark); }
.sponsor:empty{ display: none; }
.sponsored-box, .maker-main, .maker-side, .sponsor .campaign-unit{ display: grid; gap: 10px; justify-items: start; max-width: 40em; }
.sponsored-identity, .maker-id{ display: flex; gap: 12px; align-items: center; } .sponsored-identity h3, .maker-id h3{ font-size: var(--t-h3); }
.sponsored-note, .sponsored-box .meta, .maker-note, .maker-box .meta{ font-size: .86rem; color: var(--ink-2); }
/* maker box: identity and pitch left, facts and the button right; one column on phones */
.maker-box{ display: grid; gap: 24px; border: 1px solid var(--rule); padding: 24px; }
.maker-box .btn.ghost{ border-color: currentColor; color: inherit; background: transparent; }
.maker-id img{ border: 1px solid var(--ink-3); border-radius: 8px; }
.maker-box dl{ margin: 0; display: grid; gap: 8px; } .maker-box dt{ font-weight: 800; color: var(--ink); } .maker-box dd{ margin: 0; }
@media (min-width: 900px){ .maker-box{ grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; align-items: start; } .maker-side{ border-left: 1px solid var(--rule); padding-left: 32px; } }
/* injected sponsor creative (sponsored-slots.js): v4 type and colours instead of the legacy card */
.v4 .campaign-unit{ margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--ui); }
.v4 .campaign-unit .sponsor-disclosure{ display: inline-block; font: 800 .72rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; border: 2px solid var(--ink); padding: 4px 6px; color: var(--ink); margin-bottom: 8px; }
.v4 .campaign-unit h3{ font: 900 clamp(1.9rem, 1.3rem + 2vw, 3rem)/.95 var(--display); font-stretch: 62%; text-transform: uppercase; color: var(--ink); }
.v4 .campaign-unit p, .v4 .campaign-unit small{ color: var(--ink-2); font-size: 1rem; }
.v4 .campaign-unit .board-link{ display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--ink); color: var(--paper); font: 800 1rem var(--ui); text-decoration: none; border-radius: 0; }
.v4 .campaign-layout{ display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.v4 .campaign-monogram{ display: grid; place-items: center; width: 52px; height: 52px; background: #fff; padding: 6px; }
/* full list: the ranked table in list-row form */
.edition-table{ margin-top: 20px; overflow-x: auto; }
.edition-table table{ width: 100%; border-collapse: collapse; font: 500 .95rem/1.4 var(--ui); }
.edition-table thead th{ text-align: left; font: 700 .72rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 12px 12px 8px 0; border-bottom: 2px solid var(--ink); }
.edition-table tbody :is(th, td){ text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.edition-table tbody th{ min-width: 13em; }
.matrix-product{ display: flex; gap: 10px; align-items: flex-start; } .matrix-product .tool-avatar{ width: 28px; height: 28px; margin: 0; }
.matrix-product a{ font: 800 1.1rem/1.15 var(--display); font-stretch: 75%; text-decoration: none; } .matrix-product a:hover{ text-decoration: underline; }
.matrix-product small{ display: block; margin-top: 4px; }
.matrix-price{ font-weight: 700; } .row-d{ display: block; margin-top: 6px; color: var(--ink-2); font: italic 400 .95rem/1.45 var(--read); }
.matrix-hint{ font-size: .88rem; color: var(--ink-2); margin-top: 12px; max-width: 46em; }
@media (max-width: 760px){ .edition-table table, .edition-table tbody, .edition-table tr, .edition-table th, .edition-table td{ display: block; } .edition-table thead{ display: none; }
  .edition-table tbody tr{ padding: 14px 0; border-bottom: 1px solid var(--rule); } .edition-table tbody :is(th, td){ border: 0; padding: 2px 0; } .edition-table tbody th{ min-width: 0; } }
.paid-review-row{ background: var(--paper-2); }
.paid-review-label{ display: inline-flex; margin-left: 8px; vertical-align: 2px; }
.paid-review-badge{ font: 800 .68rem/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid currentColor; background: none; color: var(--ink); padding: 4px 6px; min-height: 24px; cursor: pointer; }
.paid-review-note{ max-width: 22em; padding: 14px 16px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 500 .92rem/1.45 var(--ui); }
.idx .ad{ margin-top: 0; }
/* related, method, end note */
.rel-grid{ display: grid; gap: 32px; margin-top: 28px; } @media (min-width: 900px){ .rel-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rel-grid h3{ margin-bottom: 10px; }
.links{ list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .95rem; } .links a{ display: inline-block; padding: 5px 0; }
.owner{ justify-items: start; } .owner > a.ui{ font-weight: 700; padding: 6px 0; }
.end-note{ padding: 24px 0 56px; display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.end-note p{ max-width: 46em; }
.related{ background: var(--paper-2); }
.lark-preview, [data-lark-preview]{ max-width: 1180px; margin-inline: auto; }
.v4 .tldr li:has(.ans-pick) .tl-l{ display: block; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.v4 .ans-pick{ display: block; font: 900 clamp(2.6rem, 1.8rem + 3vw, 4.4rem)/.9 var(--display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -0.02em; color: var(--lime); margin: 4px 0 8px; overflow-wrap: anywhere; }
.v4 .tldr b .tool-avatar{ margin-right: 8px; vertical-align: -0.12em; } .v4 .ans-pick:has(.tool-avatar){ display: flex; align-items: center; gap: 12px; } .v4 .ans-pick .tool-avatar{ margin: 0; }
/* the cover headline is a div, outside the W1-A heading scale list; inline-block + overflow:hidden puts the
   plate's baseline at its bottom edge, so it sits on the cap baseline (an inline-grid takes the img's baseline) */
.v4 .cover-h .tool-avatar.tool-avatar{ --s: .72em; display: inline-block; position: relative; margin-right: .14em; vertical-align: baseline; }
.v4 .cover-h .tool-avatar img{ position: absolute; inset: 0; margin: auto; }
.v4 .ans-why{ display: block; font-size: 1rem; line-height: 1.42; max-width: 27em; }
.cover .crumbs, .cover .crumbs a{ color: var(--on-light); }
.rs{ grid-template-columns: clamp(2.6rem, 6vw, 5rem) minmax(0, 1fr); } .rs p{ overflow-wrap: anywhere; }
.rung.na .lb i{ display: none; }
.why-side{ display: grid; gap: 20px; align-content: start; }
@media (prefers-reduced-motion: reduce){ .js .vgrid .c{ opacity: 1; transition: none; } }

/* ---------- /alternatives hub and category collections ---------- */
.atl-h{ padding: 32px 0 24px; border-bottom: 2px solid var(--ink); }
.atl-h .kicker{ color: var(--red-ink); }
.v4 .atl-t{ font: 900 clamp(3.4rem, 17.4vw, 17rem)/.8 var(--display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -0.04em; margin: 8px 0 18px; overflow-wrap: anywhere; }
.atl-sub{ display: grid; gap: 20px; align-items: end; } @media (min-width: 900px){ .atl-sub{ grid-template-columns: 1fr 1fr; } }
.atl-sub .dek{ max-width: 20em; }
.tl{ font: 700 .68rem/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); flex: none; align-self: center; padding-right: 4px; }
.tools{ position: sticky; top: var(--mast); z-index: 20; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 12px 0; }
.tools-in{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.asearch{ display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); max-width: 560px; }
.asearch:focus-within{ border-color: var(--red); } .asearch input:focus-visible{ outline: 0; box-shadow: none; }
.asearch input{ flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 800 1.4rem/1.6 var(--display); font-stretch: 75%; }
.asearch svg.i{ width: 22px; height: 22px; }
.secs, .az{ display: flex; gap: 2px 16px; overflow-x: auto; scrollbar-width: none; font: 700 .86rem var(--ui); }
@media (min-width: 1000px){ .secs{ flex-wrap: wrap; overflow: visible; row-gap: 2px; } }
.secs button{ flex: none; background: none; border: 0; padding: 8px 0; color: var(--ink-2); cursor: pointer; border-bottom: 3px solid transparent; font: inherit; }
.secs button .n{ color: var(--ink-3); font-weight: 600; }
.secs button[aria-pressed="true"]{ color: var(--ink); border-color: var(--red); }
.az a{ flex: none; text-decoration: none; color: var(--ink-2); min-width: 1.6em; line-height: 32px; text-align: center; font: 800 1rem/32px var(--display); }
.az a:hover{ color: var(--red-ink); }
.acount{ font-size: .82rem; color: var(--ink-3); }
.atlas{ padding: 24px 0 80px; }
.lg{ display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 200px; }
@media (min-width: 900px){ .lg{ grid-template-columns: 180px 1fr; gap: 32px; } }
.v4 .lt{ font: 900 clamp(4rem, 2rem + 6vw, 8rem)/.8 var(--display); font-stretch: 62%; color: var(--red); }
.lg ul{ list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
@media (min-width: 1200px){ .lg ul{ columns: 3; } }
@media (max-width: 639px){ .et{ font-size: 1rem; } .ep{ font-size: .82rem; } .v4 .lt{ font-size: 3.4rem; } }
.lg li{ break-inside: avoid; content-visibility: auto; contain-intrinsic-size: auto 54px; }
.lg li a{ display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 6px 0; text-decoration: none; border-bottom: 1px dotted var(--rule); }
.lg li :is(.et, .ep){ grid-column: 2; } .lg li a > .tool-avatar{ grid-row: 1 / span 2; }
.et{ font: 800 1.15rem/1.15 var(--display); font-stretch: 75%; }
.ep{ display: block; font: italic 400 .95rem var(--read); color: var(--ink-3); }
.lg li a:hover .et{ color: var(--red-ink); }
.none{ padding: 40px 0; font: italic 1.3rem var(--read); }
.none button{ font: 700 1rem var(--ui); background: none; border: 0; text-decoration: underline; cursor: pointer; color: inherit; padding: 8px 0; }
.atlas .ad{ padding-inline: 0; }
.listing-featured{ display: grid; gap: 10px; justify-items: start; padding: 24px 0; border-bottom: 2px solid var(--ink); }
.listing-featured-body{ display: flex; gap: 12px; align-items: center; } .listing-featured-body strong{ display: block; font: 800 1.4rem var(--display); font-stretch: 75%; }
.listing-featured-body span span, .listing-featured-body small, .listing-featured .note{ display: block; color: var(--ink-2); font: 500 .92rem/1.4 var(--ui); }
.listing-featured > a{ font: 800 1rem var(--ui); padding: 6px 0; }
.hub-more{ background: var(--paper-2); }
.cat-list{ list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0 48px; } @media (min-width: 900px){ .cat-list{ grid-template-columns: 1fr 1fr; } }
.cat-list li{ border-bottom: 1px solid var(--rule); padding: 14px 0; } .cat-list a{ display: inline-flex; align-items: center; gap: 12px; text-decoration: none; } .cat-list .note .logo-stack{ vertical-align: middle; margin-right: 6px; } .cat-list a:hover .et{ color: var(--red-ink); }
.cat-list p{ font-size: .98rem; color: var(--ink-2); margin-top: 4px; } .cat-list .note{ font: 500 .82rem var(--ui); color: var(--ink-3); } .cat-list .note .nw{ white-space: nowrap; }
.flags{ border: 2px solid var(--ink); padding: 20px; max-width: 46em; margin-top: 32px; } .flags ul{ margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font: 500 .95rem/1.45 var(--ui); }
.v4 .cat-t{ font: 900 clamp(2.6rem, 1.4rem + 6vw, 7rem)/.88 var(--display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -0.03em; margin: 14px 0 18px; max-width: 14em; }
.atl-h .crumbs{ font-size: .86rem; font-weight: 600; display: flex; gap: 8px; }
.rel-grid .tool-links{ display: grid; gap: 2px; font: 500 .95rem var(--ui); } .rel-grid .tool-links a{ padding: 5px 0; }
@media (max-width: 999px){ .rung{ grid-template-columns: 6.4em minmax(0, 1fr) 6.8em; } .rung .lv{ font-size: .86rem; } .rung.na .lv{ font-size: .74rem; } }
.owner{ grid-template-columns: minmax(0, 1fr); }
.vg-head span{ overflow-wrap: anywhere; hyphens: auto; }
/* long tool names (MillionVerifier) and long URLs must wrap instead of widening the page */
.cover-in, .cover-low{ grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px){ .cover-low{ grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.cover-h{ overflow-wrap: anywhere; } @media (max-width: 560px){ .cover-h{ font-size: clamp(2.6rem, 13vw, 3.9rem); } }
.colophon .note{ overflow-wrap: anywhere; }
/* answer sentence first in the DOM (speakable), the TL;DR box first on phones */
.cover-what{ order: 1; } @media (min-width: 1000px){ .cover-what{ order: -1; } }
/* sponsored surfaces: sponsored-slots.js replaces the container children, so the gutter lives on the container */
.v4 [data-sponsored-surface] > .campaign-unit{ width: min(100% - 2 * var(--g), var(--page)); margin: 0 auto; padding: 32px 0; }
.v4 [data-sponsored-surface="alternatives-top"]:not(:empty){ background: var(--paper-2); border-top: 2px solid var(--ink); }
.v4 .sponsor{ padding: 44px 0; }
/* unsold slot: one line; :has() keeps the full padding once sponsored-slots.js swaps a campaign in */
.v4 .sponsor.sponsor-open:has(.sponsor-in){ padding: 14px 0; }
.sponsor-open .sponsor-in{ display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; max-width: none; }
/* paid review row (port of 1f1cc2f5): the label wraps under the name instead of squeezing it mid-word */
.paid-review-row .matrix-product > span{ display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 4px; } .paid-review-row .matrix-product a{ overflow-wrap: normal; } .paid-review-row .paid-review-label{ margin-left: 8px; }
@media (max-width: 760px){ .paid-review-row .paid-review-label{ flex-basis: 100%; margin-left: 0; } }
/* .v4 :is(ul,ol) li (0,1,2) would otherwise reset the block text to ink */
.v4 :is(.dl, .dr) li{ color: oklch(0.99 0 0); }
/* motion pass: reason tick pops in, stamps settle after the re-rank (--stamp-d set by v4-alternatives.js) */
.et{ transition: color var(--dur-2); }
.word i svg{ transform: scale(.5); transition: opacity var(--dur-1), transform 240ms var(--ease-pop); } .word[aria-pressed="true"] i svg{ transform: none; }
@media (prefers-reduced-motion: no-preference){ .stamp{ transition: opacity var(--dur-2) ease-out var(--stamp-d, 0ms), transform 240ms var(--ease-pop) var(--stamp-d, 0ms); } @starting-style{ .stamp{ opacity: 0; transform: scale(.9) rotate(-2deg); } } }
