/* Reacheffect page templates v1 — layered on Option A (base.css + style.css).
   Adds: review bar, breadcrumbs, page hero, article layout, TOC, byline, key facts, evidence,
   sources, contextual CTA, hub/archive grids, review/comparison blocks, docs layout, legal, 404. */

/* ---------- review bar (design review only, removed in production) ---------- */
.review-bar{position:sticky;top:0;z-index:60;background:#111827;color:#E5E7EB;font:500 12px/1.4 var(--font-body);border-bottom:1px solid rgba(255,255,255,.08)}
.review-bar .container{display:flex;align-items:center;gap:18px;min-height:40px;flex-wrap:wrap;padding-block:6px}
.review-bar .rb-id{font-family:var(--font-display);font-weight:700;color:#FFD166;letter-spacing:.02em}
.review-bar .rb-url{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#93C5FD}
.review-bar .rb-key{color:#A7F3D0}
.review-bar .rb-key b{color:#fff;font-weight:600}
.review-bar .rb-meta{color:#9CA3AF}
.review-bar .rb-nav{margin-left:auto;display:flex;gap:6px}
.review-bar .rb-nav a{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:6px;border:1px solid rgba(255,255,255,.14);color:#E5E7EB}
.review-bar .rb-nav a:hover{background:rgba(255,255,255,.08)}
body.has-review .site-header{top:40px}
@media(max-width:760px){.review-bar .rb-meta,.review-bar .rb-key{display:none}body.has-review .site-header{top:auto;position:static}.review-bar{position:static}}

/* ---------- breadcrumbs ---------- */
.crumbs{display:flex;flex-wrap:wrap;gap:6px 8px;font-size:var(--text-sm);color:var(--muted);margin-bottom:var(--s5)}
.crumbs li{display:inline-flex;align-items:center;gap:8px}
.crumbs li+li::before{content:"/";color:var(--border-strong)}
.crumbs a:hover{color:var(--accent)}
.crumbs [aria-current]{color:var(--ink);font-weight:500}

/* ---------- page hero (all non-home templates) ---------- */
.page-hero{position:relative;padding-block:clamp(36px,4vw,56px) clamp(32px,4vw,48px);overflow:hidden;border-bottom:1px solid var(--border);background:var(--surface)}
.page-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(50% 60% at 90% 0%,color-mix(in srgb,var(--tint) 40%,transparent),transparent 70%);pointer-events:none}
.page-hero>.container{position:relative}
.page-hero .kicker{margin-bottom:var(--s3)}
.page-title{font-family:var(--font-display);font-weight:700;font-size:clamp(1.9rem,1.2rem + 2.2vw,3rem);line-height:1.08;letter-spacing:-.02em;text-wrap:balance;max-width:24ch}
.page-title.wide{max-width:30ch}
.lede{margin-top:var(--s4);font-size:var(--text-lg);line-height:1.55;color:var(--ink);max-width:62ch;text-wrap:pretty}
.lede strong{font-weight:600}
.hero-2col{display:grid;gap:40px;align-items:start}
@media(min-width:1024px){.hero-2col{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}
.hero-money{background:var(--bg)}
.hero-money::after{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(60% 70% at 70% 20%,#000 20%,transparent 80%);opacity:.5;pointer-events:none}
.hero-money .cta-row{margin-top:var(--s6)}
.hero-note{margin-top:var(--s4);font-size:var(--text-sm);color:var(--muted)}

/* ---------- byline / provenance (T-2) ---------- */
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:var(--s5);font-size:var(--text-sm);color:var(--muted)}
.byline .who{display:inline-flex;align-items:center;gap:10px;color:var(--ink)}
.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--tint-soft);color:var(--tint-ink);font-family:var(--font-display);font-weight:700;font-size:13px;flex:none}
.byline .who a{font-weight:600}
.byline .who a:hover{color:var(--accent)}
.byline .role{color:var(--muted)}
.byline .dates{display:inline-flex;gap:14px}
.byline .rev{display:inline-flex;align-items:center;gap:0}
.byline .rev svg{margin-right:6px}
.byline .rev a{margin-left:4px;font-weight:600;color:var(--ink)}
.byline .rev svg{width:14px;height:14px;color:var(--accent)}

/* ---------- key facts table (T-3, T-8) ---------- */
.keyfacts{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-md);overflow:hidden}
.keyfacts .kf-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border);background:var(--surface-2)}
.keyfacts h2,.keyfacts h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-base);letter-spacing:-.01em}
.keyfacts .kf-date{font-size:var(--text-xs);color:var(--muted);white-space:nowrap}
.keyfacts table{width:100%}
.keyfacts th,.keyfacts td{padding:11px 20px;text-align:left;font-size:var(--text-sm);vertical-align:top;border-top:1px solid var(--border)}
.keyfacts tr:first-child th,.keyfacts tr:first-child td{border-top:0}
.keyfacts th{color:var(--muted);font-weight:500;width:42%}
.keyfacts td{color:var(--ink);font-weight:500}
.keyfacts .kf-foot{padding:12px 20px;font-size:var(--text-xs);color:var(--muted);border-top:1px solid var(--border)}
.keyfacts .kf-foot a{color:var(--accent)}

/* ---------- article layout ---------- */
.article{padding-block:clamp(40px,5vw,72px)}
.article-grid{display:grid;gap:48px;align-items:start;grid-template-columns:minmax(0,1fr)}
.article-grid>*{min-width:0}
.trust-band{overflow:hidden}
.trust-inner{min-width:0}
.trust-inner .marquee{width:100%}
@media(min-width:1024px){.article-grid{grid-template-columns:minmax(0,1fr) 300px}.article-grid.aside-left{grid-template-columns:260px minmax(0,1fr)}.article-grid.aside-left .article-aside{order:-1}}
.article-aside{position:sticky;top:96px;display:grid;gap:20px}
body.has-review .article-aside{top:132px}
@media(max-width:1023.98px){.article-aside{position:static}}
.toc{padding:18px 20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card)}
.toc h2{font-family:var(--font-body);font-size:var(--text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.toc ol{display:grid;gap:2px;counter-reset:toc}
.toc li a{display:block;padding:6px 0;font-size:var(--text-sm);color:var(--muted);border-left:2px solid transparent;padding-left:12px;margin-left:-2px}
.toc li a:hover,.toc li a.active{color:var(--ink);border-left-color:var(--accent)}
.toc li.sub a{padding-left:24px;font-size:var(--text-xs)}
.aside-cta{padding:20px;border-radius:var(--radius-card);background:var(--band-bg);color:var(--band-ink)}
.aside-cta h2{font-family:var(--font-display);font-weight:700;font-size:var(--text-lg);letter-spacing:-.01em}
.aside-cta p{margin-top:8px;font-size:var(--text-sm);color:var(--band-muted)}
.aside-cta .btn{margin-top:14px;width:100%}
.aside-cta .btn-primary{background:#fff;color:#0B1A33;border-color:#fff}
.aside-cta .btn-primary:hover{background:#E3EDFB}
.aside-cta .link-arrow{color:var(--band-accent);margin-top:10px;display:inline-flex}

/* prose */
.prose{max-width:72ch;min-width:0;overflow-wrap:break-word;font-size:1.0625rem;line-height:1.7}
.prose>*+*{margin-top:1.1em}
.prose h2{font-family:var(--font-display);font-weight:700;font-size:var(--text-2xl);line-height:1.15;letter-spacing:-.015em;margin-top:2.2em;scroll-margin-top:110px}
.prose h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-xl);line-height:1.25;letter-spacing:-.01em;margin-top:1.8em;scroll-margin-top:110px}
.prose h2+*,.prose h3+*{margin-top:.7em}
.prose p{color:var(--ink)}
.prose a{color:var(--accent);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 35%,transparent);text-underline-offset:3px}
/* 1.3.0 contextual inline links (autolink.py) — same look as .prose a wherever they land: steps, FAQ answers, callouts, lists */
main a.il{color:var(--accent);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 35%,transparent);text-underline-offset:3px;font-weight:inherit}
main a.il:hover{text-decoration-color:var(--accent)}
.prose a:hover{text-decoration-color:var(--accent)}
.prose ul,.prose ol{padding-left:1.3em;display:grid;gap:.45em}
.prose ul{list-style:disc}.prose ol{list-style:decimal}
.prose li::marker{color:var(--accent)}
.prose strong{font-weight:600}
.prose .table-wrap{margin-top:1.4em}
.prose .data-table caption{text-align:left;font-size:var(--text-sm);color:var(--muted);padding-bottom:10px;caption-side:top}
.prose .data-table th,.prose .data-table td{font-size:var(--text-sm)}
.prose figure{margin-top:1.6em}
.prose figcaption{font-size:var(--text-sm);color:var(--muted);margin-top:8px}
.prose .small{font-size:var(--text-sm);color:var(--muted)}
.updated{display:block;position:relative;padding-left:16px;font-size:var(--text-sm);color:var(--muted);line-height:1.5}
.updated::before{content:"";position:absolute;left:0;top:.5em;width:8px;height:8px;border-radius:50%;background:var(--accent)}

/* evidence block (T-3) */
.evidence{display:grid;gap:6px;padding:18px 20px 16px 22px;border-left:3px solid var(--accent);background:var(--surface);border-radius:0 var(--radius-card) var(--radius-card) 0;border-top:1px solid var(--border);border-right:1px solid var(--border);border-bottom:1px solid var(--border)}
.evidence .ev-label{font-size:var(--text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.evidence .ev-fig{font-family:var(--font-display);font-weight:700;font-size:var(--text-2xl);letter-spacing:-.02em;line-height:1.1}
.evidence .ev-text{font-size:var(--text-base);color:var(--ink)}
.evidence .ev-src{font-size:var(--text-sm);color:var(--muted)}
.evidence .ev-src a{color:var(--accent)}
.stat-row{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:1.4em}
.stat{padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px}
.stat b{display:block;font-family:var(--font-display);font-size:var(--text-2xl);font-weight:700;letter-spacing:-.02em;line-height:1.1}
.stat span{display:block;margin-top:4px;font-size:var(--text-sm);color:var(--muted)}

/* callouts */
.callout{padding:16px 20px;border-radius:14px;background:var(--tint-soft);color:var(--tint-ink);font-size:var(--text-base)}
.callout.warn{background:#FFF4E0;color:#7A4A00}
[data-theme="dark"] .callout.warn{background:rgba(255,196,83,.14);color:#FFD98A}
.callout b{font-weight:600}
.disclaimer{padding:14px 18px;border:1px dashed var(--border-strong);border-radius:12px;font-size:var(--text-sm);color:var(--muted)}

/* contextual CTA (T-7) */
.cta-inline{display:grid;gap:14px;padding:22px 24px;border-radius:var(--radius-card);background:linear-gradient(135deg,var(--tint-soft),var(--surface) 70%);border:1px solid color-mix(in srgb,var(--accent) 25%,var(--border));margin-top:2em}
@media(min-width:720px){.cta-inline{grid-template-columns:1fr auto;align-items:center}}
.cta-inline h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-lg);letter-spacing:-.01em;margin:0}
.cta-inline p{margin-top:6px;font-size:var(--text-sm);color:var(--muted)}
.cta-inline .btn{white-space:nowrap}
/* buttons inside long-form copy must not inherit the .prose link colour/underline */
.prose .btn,.prose .btn:hover,.prose .btn:focus-visible{text-decoration:none}
.prose .btn-primary,.prose .btn-primary:hover{color:#fff}
.prose .btn-secondary,.prose .btn-ghost{color:var(--ink)}

/* sources (T-8) */

/* author card */
.author-card{display:grid;grid-template-columns:56px 1fr;gap:16px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);margin-top:2.4em}
.author-card .avatar{width:56px;height:56px;font-size:18px}
.author-card h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-lg);margin:0!important}
.author-card p{font-size:var(--text-sm);color:var(--muted);margin-top:6px}
.author-card .links{display:flex;gap:14px;margin-top:10px;font-size:var(--text-sm)}
.author-card .links a{color:var(--accent);font-weight:600}

/* ---------- money page blocks ---------- */
.block{padding-block:clamp(40px,5vw,72px)}
.block-alt{background:var(--surface);border-block:1px solid var(--border)}
.grid-3{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.grid-2{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.step-list{counter-reset:step;display:grid;gap:14px}
.step-list li{display:grid;grid-template-columns:36px 1fr;gap:14px;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px}
.step-list li::before{counter-increment:step;content:counter(step);width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--tint-soft);color:var(--tint-ink);font-family:var(--font-display);font-weight:700}
.step-list b{display:block;font-family:var(--font-display);font-weight:700;font-size:var(--text-base)}
.step-list span{display:block;font-size:var(--text-sm);color:var(--muted);margin-top:4px;line-height:1.55}
.prose .step-list b a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.prose .step-list b a svg{width:14px;height:14px;color:var(--accent);transition:transform var(--dur) var(--ease)}
.prose .step-list b a:hover,.prose .step-list b a:focus-visible{color:var(--accent);outline:none}
.prose .step-list b a:hover svg{transform:translateX(3px)}
.steps-cta{margin-top:14px;display:grid;gap:14px;padding:18px 20px;border-radius:14px;background:linear-gradient(135deg,var(--tint-soft),var(--surface) 70%);border:1px solid color-mix(in srgb,var(--accent) 28%,transparent)}
@media(min-width:720px){.steps-cta{grid-template-columns:1fr auto;align-items:center}}
.prose .steps-cta p{margin:0;font-size:var(--text-sm);color:var(--muted);line-height:1.5}
.steps-cta b{display:block;font-family:var(--font-display);font-weight:700;font-size:var(--text-base);color:var(--ink);margin-bottom:4px}
.steps-cta .actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.steps-cta .btn{white-space:nowrap}
/* verticals table with first-party figures (v1.1.6) */
.prose .vert-table th[scope=row]{width:48%;font-weight:600}
.prose .vert-table-2 th[scope=row]{width:64%}
.prose .vert-table th[scope=row] a{font-weight:600}
.vert-table .vt-why{display:block;font-size:var(--text-xs);color:var(--muted);margin-top:4px;line-height:1.45;font-weight:400}
.vert-table .vt-fig{font-family:var(--font-display);font-weight:700;font-size:var(--text-base);color:var(--ink);font-variant-numeric:tabular-nums lining-nums}
.vert-table .vt-share{display:inline-block;margin-left:8px;font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums}
.vert-table .vt-other th[scope=row]{color:var(--muted);font-weight:600}
.vert-table .vt-other .bar i{background:var(--muted);opacity:.45}
.vert-table .bar{display:block;height:6px;border-radius:3px;background:var(--tint-soft);margin-top:7px;position:relative;overflow:hidden;min-width:72px}
.vert-table .bar i{position:absolute;inset:0 auto 0 0;width:var(--w);background:var(--accent);border-radius:3px}
.vert-table tfoot th,.vert-table tfoot td{border-top:2px solid var(--border-strong);background:var(--surface-2)}
.vert-table tfoot .vt-why{display:inline;margin:0}
@media(max-width:479.98px){.prose .vert-table th,.prose .vert-table td{padding:10px 10px}.prose .vert-table th[scope=row]{width:44%}.vert-table .vt-fig{font-size:var(--text-sm)}.vert-table tfoot .vt-why{display:block;margin-top:2px}}
.limits li{list-style:none;padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px;font-size:var(--text-sm);color:var(--muted)}
.limits li b{color:var(--ink);display:block;margin-bottom:4px;font-weight:600}
.limits{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.limits .card h3{font-size:var(--text-base)}
.vert-strip{display:flex;flex-wrap:wrap;gap:8px}
.vert-strip a{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border-strong);font-size:var(--text-sm);font-weight:500;background:var(--surface)}
.vert-strip a:hover{border-color:var(--accent);color:var(--accent)}
.vert-strip .vm-ico{width:18px;height:18px}
.faq-grid.one{grid-template-columns:1fr;max-width:72ch}
.section-title.sm{font-size:var(--text-xl)}

/* ---------- data page ---------- */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.filters-bar{align-items:center;gap:12px 16px;padding:14px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px;margin-bottom:20px}
.filters-title{font-weight:600;font-size:var(--text-sm);color:var(--ink);margin-right:4px}
.filters-bar input[type=search]{width:170px}
.filters-bar .count{margin-left:auto;font-size:var(--text-sm);color:var(--muted)}
.hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;background:color-mix(in srgb,var(--surface) 70%,transparent);border:1px solid var(--border);border-radius:18px;backdrop-filter:blur(6px)}
.hero-stats .stat{background:var(--bg)}
.hero-stats-note{grid-column:1/-1;margin:2px 4px 0;font-size:var(--text-xs);color:var(--muted)}
@media(max-width:1023px){.hero-stats{max-width:560px}}
.filters label{display:inline-flex;align-items:center;gap:8px;font-size:var(--text-sm);color:var(--muted)}
.filters select,.filters input{height:38px;padding:0 12px;border-radius:10px;border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--text-sm)}
.data-table.wide th,.data-table.wide td{white-space:nowrap}
.data-table .num{text-align:right;font-variant-numeric:tabular-nums lining-nums}
.flag{display:inline-block;width:20px;height:15px;border-radius:2px;box-shadow:0 0 0 1px var(--border);margin-right:8px;vertical-align:-2px;object-fit:cover;flex:none}
.table-note{margin-top:12px;font-size:var(--text-sm);color:var(--muted)}
.geo-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.geo-grid a{display:flex;align-items:center;gap:6px;min-width:0;padding:10px 14px;border-radius:10px;border:1px solid var(--border);background:var(--surface);font-size:var(--text-sm)}
.geo-grid a:hover{border-color:var(--accent)}
.geo-grid span{color:var(--muted);font-variant-numeric:tabular-nums}

/* ---------- hub / archive ---------- */
.hub-hero{padding-block:clamp(36px,4vw,56px)}
.start-here{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.start-here a{display:grid;gap:6px;padding:18px 20px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}
.start-here a:hover{border-color:var(--accent);box-shadow:var(--shadow-md)}
.start-here b{font-family:var(--font-display);font-weight:700}
.start-here span{font-size:var(--text-sm);color:var(--muted)}
.start-here small{font-size:var(--text-xs);color:var(--accent);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.group{margin-top:clamp(36px,4vw,56px)}
.group-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px;flex-wrap:wrap}
.group-head h2{font-family:var(--font-display);font-weight:700;font-size:var(--text-xl);letter-spacing:-.01em}
.group-head p{font-size:var(--text-sm);color:var(--muted);max-width:60ch}
.card .meta{display:flex;gap:10px;font-size:var(--text-xs);color:var(--muted);flex-wrap:wrap}
.card .meta b{color:var(--ink);font-weight:600}
.post-list{display:grid;gap:14px}
.post-row{display:grid;gap:10px 22px;grid-template-columns:96px 1fr;padding:18px 0;border-top:1px solid var(--border);align-items:start}
@media(min-width:720px){.post-row{grid-template-columns:184px 1fr auto;align-items:start}}
.post-row .thumb{display:block;border-radius:10px;overflow:hidden;background:var(--surface-2);aspect-ratio:16/9}
.post-row .thumb img{display:block;width:100%;height:100%;object-fit:cover}
.post-row .cat{display:block;margin-bottom:4px}
.post-row .when{grid-column:2}
@media(min-width:720px){.post-row .when{grid-column:auto;padding-top:2px}}
.post-row:last-child{border-bottom:1px solid var(--border)}
.post-row .cat{font-size:var(--text-xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.post-row h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-lg);letter-spacing:-.01em;line-height:1.25}
.post-row h3 a:hover{color:var(--accent)}
.post-row p{font-size:var(--text-sm);color:var(--muted);margin-top:4px}
.post-row .when{font-size:var(--text-sm);color:var(--muted);white-space:nowrap}
.featured{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.featured .card{padding:26px}
.featured .card.has-img{padding:0;overflow:hidden;display:flex;flex-direction:column}
.featured .card-img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-bottom:1px solid var(--border)}
.featured .card-body{padding:22px 24px 26px}
.post-cover{margin:clamp(24px,3vw,40px) 0 -12px;border-radius:16px;overflow:hidden;border:1px solid var(--border);background:var(--surface-2);aspect-ratio:16/9;max-height:520px}
.post-cover img{display:block;width:100%;height:100%;object-fit:cover}
.featured .card h3{font-size:var(--text-xl)}
.cat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.cat-tabs a{height:34px;padding:0 14px;display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--border-strong);font-size:var(--text-sm);font-weight:500}
.cat-tabs a[aria-current]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.cat-tabs a:hover{border-color:var(--accent)}
.pager{display:flex;justify-content:center;gap:6px;margin-top:32px}
.pager a{min-width:38px;height:38px;display:inline-grid;place-items:center;border-radius:10px;border:1px solid var(--border);font-size:var(--text-sm);padding:0 10px}
.pager a[aria-current]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.term-index{display:grid;gap:8px 24px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.term-index a{display:block;padding:8px 0;border-bottom:1px solid var(--border);font-size:var(--text-sm)}
.term-index a:hover{color:var(--accent)}
.alpha{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}
.alpha a{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--border);font-size:var(--text-sm);font-weight:600}
.alpha a:hover{border-color:var(--accent);color:var(--accent)}

/* ---------- review / comparison ---------- */
.verdict{display:grid;gap:10px;padding:22px 24px;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md)}
.verdict .v-label{font-size:var(--text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.verdict p{font-size:var(--text-base)}
.verdict .v-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:var(--text-sm);color:var(--muted)}
.score{display:inline-flex;align-items:baseline;gap:6px;font-family:var(--font-display);font-weight:700;font-size:var(--text-2xl);letter-spacing:-.02em}
.score small{font-size:var(--text-sm);color:var(--muted);font-family:var(--font-body);font-weight:500}
.pros-cons{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:1.4em}
.pros-cons div{padding:18px 20px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}
.pros-cons h3{font-size:var(--text-base)!important;margin:0 0 10px!important}
.pros-cons ul{list-style:none;padding:0;display:grid;gap:8px;font-size:var(--text-sm)}
.pros-cons li{display:grid;grid-template-columns:18px 1fr;gap:10px}
.pros-cons li::before{content:"+";font-weight:700;color:#1F8A4C;text-align:center}
.pros-cons .cons li::before{content:"–";color:#B54708}
.method{display:grid;gap:8px;padding:16px 20px;border-radius:14px;background:var(--surface-2);font-size:var(--text-sm);color:var(--muted)}
.method b{color:var(--ink)}
.rank-list{display:grid;gap:14px;counter-reset:rank}
.rank-item{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:20px 22px;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border)}
.rank-item::before{counter-increment:rank;content:counter(rank);width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--ink);color:var(--bg);font-family:var(--font-display);font-weight:700;font-size:var(--text-lg)}
.rank-item.self{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));background:linear-gradient(135deg,var(--tint-soft),var(--surface) 60%)}
.rank-item.self::before{background:var(--accent);color:var(--on-accent)}
.rank-item h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-xl);letter-spacing:-.01em;margin:0!important;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.rank-item .best-for{font-size:var(--text-xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.rank-item .facts{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:var(--text-sm);color:var(--muted);margin-top:8px}
.rank-item .facts b{color:var(--ink);font-weight:600}
.rank-item p{font-size:var(--text-base);margin-top:10px}
.rank-item .links{display:flex;gap:16px;margin-top:10px;font-size:var(--text-sm)}
.rank-item .links a{color:var(--accent);font-weight:600}
.vs-head{display:grid;gap:18px;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:var(--s6)}
.vs-head .side{padding:20px 22px;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);text-align:center}
.vs-head .side b{display:block;font-family:var(--font-display);font-weight:700;font-size:var(--text-xl)}
.vs-head .side span{font-size:var(--text-sm);color:var(--muted)}
.vs-head .vs{font-family:var(--font-display);font-weight:700;color:var(--muted);font-size:var(--text-lg)}
@media(max-width:600px){.vs-head{grid-template-columns:1fr}.vs-head .vs{text-align:center}}
.compare-table th:first-child{width:28%}
.compare-table td{vertical-align:top}
.compare-table .win{position:relative;font-weight:600}
.compare-table .win::after{content:"✓";margin-left:8px;color:#1F8A4C;font-weight:700}
.compare-table thead th.self{color:var(--accent)}

/* ---------- docs ---------- */
.docs-nav{display:grid;gap:18px}
.docs-nav h2{font-family:var(--font-body);font-size:var(--text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.docs-nav ul{display:grid;gap:2px}
.docs-nav a{display:block;padding:7px 10px;border-radius:8px;font-size:var(--text-sm);color:var(--muted)}
.docs-nav a:hover{background:var(--surface-2);color:var(--ink)}
.docs-nav a[aria-current]{background:var(--tint-soft);color:var(--tint-ink);font-weight:600}
.docs-search{display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--border-strong);background:var(--surface);color:var(--muted);font-size:var(--text-sm);max-width:560px}
.docs-search kbd{margin-left:auto;font:600 11px ui-monospace,monospace;padding:2px 6px;border-radius:5px;border:1px solid var(--border-strong)}
.docs-cards{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:28px}
.docs-cards .card h3{font-size:var(--text-base)}
.docs-cards .card ul{display:grid;gap:4px;font-size:var(--text-sm)}
.docs-cards .card ul a{color:var(--muted)}
.docs-cards .card ul a:hover{color:var(--accent)}
.doc-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:2.4em;padding-top:1.2em;border-top:1px solid var(--border);font-size:var(--text-sm);color:var(--muted)}
.doc-foot a{color:var(--accent);font-weight:600}
.helpful{display:inline-flex;gap:8px;align-items:center}
.helpful button{height:30px;padding:0 12px;border-radius:8px;border:1px solid var(--border-strong);font-size:var(--text-sm)}
.helpful button:hover{border-color:var(--accent);color:var(--accent)}
.prose pre{padding:16px 18px;border-radius:12px;background:#0B1A33;color:#EAF0FA;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}
.prose code{font:.92em ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--surface-2);padding:1px 6px;border-radius:5px}
.prose pre code{background:none;padding:0}
.macro-table td:first-child{font-family:ui-monospace,monospace;font-size:13px}

/* ---------- company ---------- */
.fact-strip{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-top:var(--s6)}
.office-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.office{padding:16px 18px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}
.office b{font-family:var(--font-display);font-weight:700}
.office span{display:block;font-size:var(--text-sm);color:var(--muted);margin-top:4px}
.team-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.person{display:grid;grid-template-rows:auto 1fr auto;align-content:start;gap:14px;padding:22px 20px 18px;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);transition:transform .2s,box-shadow .2s}
.person:hover{transform:translateY(-2px);box-shadow:0 10px 30px -14px rgba(11,26,51,.35)}
.person .avatar{width:96px;height:96px;font-size:28px}
.person-body{display:grid;gap:2px;align-content:start}
.person b{font-family:var(--font-display);font-weight:700;font-size:var(--text-lg);line-height:1.2}
.person-body span{font-size:var(--text-sm);color:var(--muted)}
.person-links{display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px solid var(--border)}
.person-links .prof{font-size:var(--text-sm);color:var(--accent);font-weight:600;margin-left:auto}
.social{display:inline-flex;align-items:center;gap:8px}
.soc{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:4px;background:#0A66C2;color:#fff;transition:background .15s,transform .15s;text-decoration:none}
.soc svg{width:32px;height:32px;display:block}
.soc-tg{background:none;border-radius:50%;color:#0A66C2}.soc-tg svg{width:32px;height:32px}
.soc:hover{background:#2246D6;color:#fff;transform:translateY(-1px)}.soc-tg:hover{background:none;color:#2246D6}
/* 1.4.12: glyph colours pinned on the SVG paths themselves so no inherited link colour can recolour them */
a.soc.soc-li svg,a.soc.soc-li svg path{fill:#fff!important;color:#fff!important}
a.soc.soc-tg svg,a.soc.soc-tg svg path{fill:#0A66C2!important;color:#0A66C2!important}
a.soc.soc-tg:hover svg,a.soc.soc-tg:hover svg path{fill:#2246D6!important;color:#2246D6!important}
img.avatar{object-fit:cover;object-position:top;background:#fff;border:1px solid var(--border)}
.author-hero{display:grid;gap:24px;grid-template-columns:96px 1fr;align-items:center}
.author-hero .avatar{width:96px;height:96px;font-size:30px}
.author-hero .facts .soc{width:30px;height:30px}.author-hero .facts .soc svg{width:30px;height:30px}.author-hero .facts .soc-tg svg{width:30px;height:30px}
.author-card .links{align-items:center}
.author-card .links a.soc,.author-hero .facts a.soc{color:#fff}.author-card .links a.soc-tg,.author-hero .facts a.soc-tg{color:#0A66C2}.author-card .links a.soc-tg:hover,.author-hero .facts a.soc-tg:hover{color:#2246D6}.author-card .links .soc{width:26px;height:26px;border-radius:3px}.author-card .links .soc svg{width:26px;height:26px}.author-card .links .soc-tg svg{width:26px;height:26px}
.author-hero .page-title{font-size:clamp(1.7rem,1.2rem+1.5vw,2.4rem)}
.author-hero .facts{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:var(--text-sm);color:var(--muted);margin-top:8px}
.author-hero .facts a{color:var(--accent);font-weight:600}
@media(max-width:600px){.author-hero{grid-template-columns:1fr}}
.timeline{display:grid;gap:0;border-left:2px solid var(--border);margin-left:8px;list-style:none;padding-left:0}
.prose .timeline,.timeline{list-style:none;padding-left:0}
.timeline li{position:relative;padding:0 0 22px 24px;list-style:none}
.timeline li::marker{content:none}
.timeline li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--bg)}
.timeline b{font-family:var(--font-display);font-weight:700}
.timeline span{display:block;font-size:var(--text-sm);color:var(--muted)}

/* ---------- legal ---------- */
.legal .prose{font-size:1rem}
.legal .prose h2{font-size:var(--text-xl)}
.legal-meta{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:var(--text-sm);color:var(--muted);margin-top:var(--s4)}
.legal-meta b{color:var(--ink);font-weight:600}

/* ---------- 404 ---------- */
.notfound{min-height:60vh;display:grid;place-items:center;text-align:center;padding-block:clamp(56px,8vw,120px)}
.notfound .code{font-family:var(--font-display);font-weight:700;font-size:clamp(4rem,10vw,8rem);line-height:1;letter-spacing:-.04em;color:var(--tint);}
.notfound h1{font-family:var(--font-display);font-weight:700;font-size:var(--text-2xl);margin-top:8px}
.notfound p{color:var(--muted);margin-top:12px;max-width:52ch}
.notfound .links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}
.notfound .links a{height:38px;padding:0 14px;display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--border-strong);font-size:var(--text-sm);font-weight:500}
.notfound .links a:hover{border-color:var(--accent);color:var(--accent)}
.notfound .search{margin:22px auto 0;max-width:420px}

/* ---------- cookie banner ---------- */
.cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:70;margin:0 auto;max-width:720px;display:grid;gap:14px;padding:18px 20px;border-radius:16px;background:var(--surface);color:var(--ink);border:1px solid var(--border);box-shadow:var(--shadow-lg)}
@media(min-width:720px){.cookie{grid-template-columns:1fr auto;align-items:center}}
.cookie p{font-size:var(--text-sm);color:var(--muted)}
.cookie p a{color:var(--accent);text-decoration:underline}
.cookie .btns{display:flex;gap:8px;flex-wrap:wrap}
.cookie .btn{height:38px}
.cookie[hidden]{display:none}

/* ---------- template index page ---------- */
.tindex-hero{padding-block:clamp(48px,6vw,88px)}
.tindex-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.tcard{display:grid;gap:10px;padding:22px;border-radius:var(--radius-card);background:var(--surface);border:1px solid var(--border);transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.tcard:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.tcard .tn{font-family:var(--font-display);font-weight:700;color:var(--accent);font-size:var(--text-sm);letter-spacing:.04em}
.tcard h2{font-family:var(--font-display);font-weight:700;font-size:var(--text-xl);letter-spacing:-.01em;line-height:1.2}
.tcard .count{font-size:var(--text-sm);color:var(--muted)}
.tcard .count b{color:var(--ink);font-weight:600}
.tcard .urls{display:grid;gap:4px;font-size:var(--text-xs);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted)}
.tcard .urls a{color:var(--muted)}
.tcard .urls a:hover{color:var(--accent)}
.tcard .variants{font-size:var(--text-xs);color:var(--muted)}
.rules{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.rule{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--border);font-size:var(--text-sm)}
.rule b{font-family:var(--font-display);color:var(--accent);font-weight:700}

/* ---------- additions v1 ---------- */
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:var(--s6)}
.vicon{display:inline-grid;place-items:center;width:22px;height:22px;vertical-align:-6px;margin-right:4px;color:var(--accent)}
.vicon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6}
.vicon .fill{fill:currentColor;stroke:none}
.geo-grid b{font-weight:500;flex:1;min-width:0;font-size:var(--text-sm);color:var(--ink);line-height:1.25}
/* v1.2.9: full country names — name on the first line, volume on the second (no ellipsis) */
.geo-grid.tv-geo{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.geo-grid.tv-geo a{flex-wrap:wrap;gap:2px 0;align-items:center}
.geo-grid.tv-geo .v{flex-basis:100%;padding-left:28px;color:var(--muted);text-align:left;line-height:1.3;font-size:var(--text-sm)}
.geo-grid.tv-geo .v small{font-size:var(--text-xs)}.geo-grid.tv-geo .v small::before{content:" · "}
kbd{font:inherit;font-size:.85em;padding:1px 6px;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:6px;background:var(--surface)}

/* tables inside articles wrap instead of forcing width */
.prose .data-table th,.prose .data-table td{white-space:normal;text-align:left;padding:12px 14px;font-size:var(--text-sm)}
.prose .data-table.wide th,.prose .data-table.wide td{white-space:nowrap}
.prose .data-table .tag{white-space:nowrap}
.prose .table-wrap{margin:1.2em 0}
.prose .keyfacts{margin:1.4em 0}
.prose .kf-head h2,.prose .kf-head h3{font-size:var(--text-base);margin:0;line-height:1.3}
.prose .data-table .num,.prose .data-table td.num{text-align:right}

/* v1.0.4 format illustrations (shared with homepage .pu-illo rules in style.css) */
.format-figure{margin:0 0 1.6em;padding:22px 22px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.format-figure .pu-illo{display:block;max-width:560px;margin:0 auto}
.format-figure .pu-caption{margin-top:14px}
.illo-grid{display:grid;gap:24px}
@media(min-width:900px){.illo-grid{grid-template-columns:1fr 1fr}}
.illo-card{padding:22px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.illo-card .format-figure{border:0;padding:0;margin:0;background:transparent}
.illo-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
.illo-head h2{font-size:1.15rem;margin:0}
.illo-head a{font-size:.85rem;color:var(--muted)}
/* the reveal hook: templates use .format-figure as the trigger instead of .card-featured */
.format-figure .pu-illo:not(.illo-popunder) .pu-back{transform:translate(0,16px)}
.format-figure.in .pu-illo .pu-back,.format-figure:not(.reveal) .pu-illo .pu-back{transform:none;opacity:1}
.format-figure .pu-illo svg{max-height:none}
@media(prefers-reduced-motion:reduce){.format-figure .pu-back{transform:none;opacity:1}}

/* v1.0.5: format illustration in the money-page hero; key facts as a band under it */
.hero-illo{align-self:center}
.hero-illo .pu-illo{display:block;margin:0}
.hero-illo .pu-illo svg{max-height:none;overflow:visible}
.hero-illo .pu-caption{margin-top:12px}
.hero-illo .pu-illo .pu-back{animation:hero-illo-in .9s var(--ease) .45s both}
@keyframes hero-illo-in{from{transform:translate(-40px,26px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.hero-illo .pu-illo .pu-back{animation:none;transform:none;opacity:1}}
@media(max-width:1023px){.hero-illo{max-width:560px}}
.kf-band-wrap{padding:0;background:var(--surface);border-bottom:1px solid var(--border)}
.kf-band-wrap .container{transform:translateY(-1px)}
.keyfacts-band{border-radius:0;border:0;border-top:1px solid var(--border);box-shadow:none;background:transparent}
.keyfacts-band .kf-head{background:transparent;border-bottom:0;padding:18px 0 6px}
.keyfacts-band dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0;margin:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.keyfacts-band .kf-cell{padding:14px 18px 14px 0;border-left:1px solid var(--border);padding-left:18px;min-width:0}
.keyfacts-band .kf-cell:first-child{border-left:0;padding-left:0}
.keyfacts-band dt{font-size:var(--text-xs);color:var(--muted);font-weight:500;margin-bottom:4px}
.keyfacts-band dd{margin:0;font-size:var(--text-sm);color:var(--ink);font-weight:500;line-height:1.4}
.keyfacts-band .kf-foot{padding:10px 0 16px;border-top:0}
@media(max-width:767px){.keyfacts-band dl{grid-template-columns:1fr 1fr}.keyfacts-band .kf-cell{border-left:0;padding-left:0;border-top:1px solid var(--border)}.keyfacts-band .kf-cell:nth-child(-n+2){border-top:0}}

/* v1.0.6: key-facts "Best for" vertical chips */
.kf-best{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.kf-best li{margin:0}
.kf-vert{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-weight:500;text-decoration:none;white-space:nowrap}
.kf-vert .vm-ico{width:16px;height:16px;flex:0 0 auto;color:var(--accent)}
.kf-vert:hover span{text-decoration:underline;text-underline-offset:3px}

/* v1.0.7 — T01 nine-format link chips on the index */
.fmt-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fmt-links a{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-decoration:none;color:var(--ink)}
.fmt-links a b{font:600 15px/1.3 var(--font-body)}
.fmt-links a span{font:500 12.5px/1.4 var(--font-mono,ui-monospace,monospace);color:var(--muted)}
.fmt-links a:hover{border-color:var(--accent);box-shadow:0 4px 16px rgba(47,91,255,.10)}
@media (max-width:760px){.fmt-links{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.fmt-links{grid-template-columns:1fr}}
.section-head .section-lede{margin:8px 0 0;color:var(--muted);font-size:16px;line-height:1.55;max-width:62ch}

/* v1.1.0 — /ad-formats/ hub cards */
.fmt-grid{display:grid;gap:18px;grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.fmt-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.fmt-grid{grid-template-columns:1fr}}
.fmt-compare th[scope=row] small{font-weight:400;color:var(--muted)}
.fmt-compare td,.fmt-compare th{text-align:left}
.fmt-card{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none}
.fmt-card:hover{border-color:var(--accent);box-shadow:var(--shadow-md)}
.fmt-card .fmt-card-illo{width:100%;height:auto;border-radius:10px;background:var(--tint-soft,#E3EDFB);padding:10px;box-sizing:border-box}
.fmt-card .fmt-card-illo svg{width:100%;height:auto;display:block}
/* v1.4.14: hub cards have no reveal trigger, so the creatives inside .pu-back stayed invisible; show them statically */
.fmt-card .pu-illo .pu-back{transform:none;opacity:1;transition:none}
.fmt-card h3{font-family:var(--font-display);font-weight:700;font-size:var(--text-lg);margin:4px 0 0}
.fmt-card p{font-size:var(--text-sm);color:var(--muted);margin:0}
.fmt-card .meta{display:flex;gap:10px;flex-wrap:wrap;font-size:var(--text-xs);color:var(--muted);margin-top:auto;padding-top:6px}
.fmt-card .meta b{color:var(--ink);font-weight:600}
.tcard.deferred{opacity:.72;border-style:dashed}
.tcard .tn .tag{font-style:normal;margin-left:8px;vertical-align:middle}

/* T03 v1.2.0 / v1.2.1 — simple traffic-volume table with format, device and OS selectors */
.tv-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.tv-tab{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 16px;border-radius:12px;border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);font:600 var(--text-sm)/1.2 var(--font-body);cursor:pointer}
.tv-tab small{font-weight:500;font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums}
.tv-tab.active{background:var(--accent);border-color:var(--accent);color:#fff}
.tv-tab.active small{color:rgba(255,255,255,.8)}
.tv-controls{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 24px;margin-bottom:14px}
.tv-controls .tv-tabs{margin-bottom:0}
.tv-segs{display:flex;flex-wrap:wrap;gap:10px}
.tv-seggroup{display:inline-flex;padding:3px;border-radius:12px;border:1px solid var(--border-strong);background:var(--surface)}
.tv-seg{padding:8px 14px;border-radius:9px;border:0;background:transparent;color:var(--muted);font:600 var(--text-sm)/1.2 var(--font-body);cursor:pointer}
.tv-seg.active{background:var(--ink);color:var(--bg)}
.tv-seg[hidden]{display:none}.tv-seg[data-device="All devices"]{order:-1}.tv-volscope{display:none;font:500 11px/1 var(--font-body);color:var(--muted);text-transform:none;letter-spacing:0;margin-left:6px;white-space:nowrap}.tv-table.vol-alldev .tv-volscope{display:inline}
.tv-seggroup.single .tv-seg.active{background:transparent;color:var(--ink);cursor:default}
.tv-table.is-loading tbody{opacity:.4;transition:opacity .15s}
.tv-bar .tv-legend{font-size:var(--text-sm);color:var(--muted)}
.tv-bar .tv-legend b{color:var(--ink);font-weight:600}
.tv-table th.sortable{cursor:pointer;user-select:none}
.tv-table th.sortable:hover{color:var(--ink)}
.tv-table th.sortable[aria-sort=ascending]::after{content:" ▲";font-size:9px}
.tv-table th.sortable[aria-sort=descending]::after{content:" ▼";font-size:9px}
.tv-table tbody th a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.tv-table tbody th a:hover{color:var(--accent)}
.tv-table tbody th .cc{display:inline;min-width:0;height:auto;padding:0;margin:0;border-radius:0;background:none;font-size:11px;font-weight:500;letter-spacing:.06em;color:var(--muted);opacity:.85;vertical-align:baseline}
.tv-table tbody th a:hover .cc{color:var(--accent)}
.tv-table.no-min thead th.sortable[data-col="2"],.tv-table.no-avg thead th.sortable[data-col="3"],.tv-table.no-top thead th.sortable[data-col="4"]{display:none}
.tv-seggroup[hidden]{display:none}
.tv-table .bid-ask{text-align:center;color:var(--muted);font-weight:500}
.tv-table .bid-ask a{color:var(--muted);text-decoration:underline dotted}
.tv-table .tv-cta{text-align:right;width:1%}
.tv-table .tv-cta a{font-weight:600;font-size:var(--text-sm);color:var(--accent);text-decoration:none;white-space:nowrap;opacity:0;transition:opacity .15s}
.tv-table tbody tr:hover .tv-cta a,.tv-table tbody tr:focus-within .tv-cta a{opacity:1}
.tv-table tr[hidden]{display:none}
.tv-empty{padding:28px 18px;text-align:center;color:var(--muted)}
@media(max-width:900px){.tv-table .tv-cta{display:none}.tv-bar .tv-legend{order:3;flex-basis:100%}.tv-controls{flex-direction:column}}
@media(hover:none){.tv-table .tv-cta a{opacity:1}}
@media(max-width:600px){.tv-table .bid-ask{white-space:normal;font-size:11px;line-height:1.25}.tv-table th,.tv-table td{padding:10px 4px;font-size:11.5px}.data-table.wide.tv-table tbody th,.data-table.wide.tv-table thead th{white-space:normal}.tv-table tbody th{min-width:78px}.tv-table .flag{display:none}.tv-table th:first-child,.tv-table td:first-child{padding-left:12px}.tv-table td:nth-child(5){padding-right:6px}.tv-table thead th{letter-spacing:0;font-size:11px}.data-table.wide.tv-table.volume-only thead th{white-space:nowrap}.tv-table caption{padding:12px}}

/* v1.2.10: inline contextual links under the T03 table (Sentry-style body links) */
.tv-links{margin-top:18px;max-width:72ch}.tv-links p{margin:0;font-size:var(--text-base);color:var(--ink)}
.group-head p.prose{margin:0}

/* v1.3.4: ad-formats hub — hero mosaic and the pop vs push vs native explainer */
.hero-illo-hub{max-width:400px;width:100%;justify-self:end}
.hero-illo-hub .hub-mosaic{display:block;width:100%;height:auto;overflow:visible}
.hero-illo-hub .tile{animation:hub-tile-in .6s var(--ease) both}
@keyframes hub-tile-in{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
.hero-illo-hub .tile-1{animation-delay:.08s}.hero-illo-hub .tile-2{animation-delay:.16s}.hero-illo-hub .tile-3{animation-delay:.12s}.hero-illo-hub .tile-4{animation-delay:.2s}.hero-illo-hub .tile-5{animation-delay:.28s}.hero-illo-hub .tile-6{animation-delay:.24s}.hero-illo-hub .tile-7{animation-delay:.32s}.hero-illo-hub .tile-8{animation-delay:.4s}
@media(prefers-reduced-motion:reduce){.hero-illo-hub .tile{animation:none}}
@media(max-width:1023px){.hero-illo-hub{max-width:360px;justify-self:start}}
.cmp-3{display:grid;gap:20px;margin-bottom:var(--s6)}
@media(min-width:900px){.cmp-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cmp-col{padding:22px 22px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,16px)}
.cmp-col h3{font-size:var(--text-lg);line-height:1.3;margin:0 0 10px}
.cmp-col h3 a{color:var(--accent);text-decoration:none}
.cmp-col p{margin:0;color:var(--muted);font-size:var(--text-base)}
.cmp-all{margin:0 0 12px;font-size:var(--text-lg)}
.fmt-compare th,.fmt-compare td{white-space:normal;vertical-align:top}
.fmt-compare th[scope=row] small{white-space:nowrap}
.fmt-compare td:nth-child(4),.fmt-compare td:nth-child(5),.fmt-compare th:nth-child(4),.fmt-compare th:nth-child(5){white-space:nowrap}
@media(min-width:1024px){.fmt-compare th,.fmt-compare td{padding-left:14px;padding-right:14px}}
.fmt-compare .kf-best{gap:4px}
.fmt-compare .kf-vert{font-weight:500;font-size:var(--text-sm)}
.fmt-compare th[scope=row] a,.fmt-compare td:first-child a{color:var(--ink);text-decoration:none}
.fmt-compare th[scope=row] a:hover,.fmt-compare td:first-child a:hover{text-decoration:underline;text-underline-offset:3px}
/* v1.3.7 — one award inside a hero (iGaming: SBC Awards), under the CTA note */
.hero-award{margin-top:34px;padding-top:22px;border-top:1px solid var(--border)}
.hero-award .award{display:flex;align-items:center;gap:16px}
.hero-award .award-mark{height:36px;opacity:1}
.hero-award .award-text{font-size:var(--text-base);font-weight:500;color:var(--ink);white-space:normal}
@media(max-width:760px){.hero-award{margin-top:26px;padding-top:18px}.hero-award .award-mark{height:30px}}
/* v1.3.9 — publisher chips inside an evidence block (iGaming) */
.ev-pubs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 6px}
.ev-pubs-label{font-size:var(--text-xs);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.ev-pub{display:inline-block;padding:5px 11px;border:1px solid var(--border);border-radius:999px;font-size:var(--text-sm);font-weight:500;color:var(--ink);background:var(--surface,transparent)}

/* wave1: photographic hero on /buy-adult-traffic/ */
.hero-illo.hero-photo img{display:block;width:100%;height:auto;max-width:520px;margin:0 auto}
