/* ==========================================================================
   AIMBIGTECH platform styles — original magazine design system
   Bricolage Grotesque (headlines) · Inter (body) · IBM Plex Mono (labels & meta)
   Every rule is scoped to platform classes so the hand-tuned legacy page
   templates keep their own styling untouched.
   ========================================================================== */
:root{
  --ab-ink:#0A0E1A;--ab-ink-2:#141B33;--ab-paper:#F3F5F8;--ab-card:#FFFFFF;--ab-line:#DDE2EA;--ab-line-soft:#EEF1F5;
  --ab-slate:#5B6472;--ab-text:#2A3140;--ab-accent:#2563EB;--ab-accent-dark:#1D4ED8;--ab-accent-soft:#E8EFFE;
  --ab-green:#1F9D6E;--ab-amber:#D98E2C;
  --ab-display:'Bricolage Grotesque',system-ui,-apple-system,'Segoe UI',sans-serif;--ab-body:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;--ab-mono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  --ab-maxw:1240px;--ab-radius:14px;
}

/* ---------- Base (only on platform pages) ---------- */
body.ab-site{margin:0;background:var(--ab-paper);color:var(--ab-ink);font-family:var(--ab-body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(body.ab-site) *,:where(body.ab-site) *::before,:where(body.ab-site) *::after{box-sizing:border-box}
:where(body.ab-site) img{max-width:100%;height:auto}
:where(body.ab-site) a{color:inherit;text-decoration:none}
:where(body.ab-site) :focus-visible{outline:2px solid var(--ab-accent);outline-offset:2px;border-radius:4px}
.hm-wrap,.ab-container{width:100%;max-width:var(--ab-maxw);margin:0 auto;padding:0 24px}
.hm-eyebrow,.ab-eyebrow{display:inline-block;font-family:var(--ab-mono);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ab-accent)}
.hm-tag{display:inline-block;font-family:var(--ab-mono);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:5px;background:var(--ab-accent-soft);color:var(--ab-accent-dark);line-height:1.4}
.hm-tag.is-review{background:#E6F5EE;color:#137351}.hm-tag.is-comparison{background:#FDF1E1;color:#9A5B12}.hm-tag.is-opinion{background:#EEEEEA;color:#4A4A40}.hm-tag.is-deal{background:#FDE8EC;color:#A11D3A}
.hm-meta{display:block;font-family:var(--ab-mono);font-size:12px;line-height:1.5;color:var(--ab-slate)}
.hm-button,.ab-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ab-accent);color:#fff!important;font-family:var(--ab-body);font-weight:600;font-size:15px;line-height:1.2;padding:12px 20px;border:0;border-radius:9px;cursor:pointer;white-space:nowrap;text-decoration:none;transition:background .15s}
.hm-button:hover,.ab-button:hover{background:var(--ab-accent-dark)}
.hm-more{font-family:var(--ab-mono);font-size:13px;color:var(--ab-accent);white-space:nowrap}
.hm-more:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- Header (shared by every page, legacy included) ---------- */
.hm-header{position:sticky;top:0;z-index:90;background:#fff;border-bottom:1px solid var(--ab-line);font-family:var(--ab-body);color:var(--ab-ink);line-height:1.4}
.hm-header *{box-sizing:border-box}
.hm-header a{color:inherit;text-decoration:none}
.hm-head-top{max-width:var(--ab-maxw);margin:0 auto;padding:0 24px;height:72px;display:flex;align-items:center;gap:20px}
.hm-brand{display:flex;align-items:center;flex-shrink:0;min-width:0}
.hm-header .hm-brand img{display:block;height:44px;width:auto;max-width:260px;object-fit:contain;object-position:left center}
.hm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hm-head-search{position:relative;flex:1 1 auto;max-width:560px;margin:0 auto;display:flex;align-items:center;background:var(--ab-paper);border:1px solid var(--ab-line);border-radius:999px;transition:border-color .15s,box-shadow .15s}
.hm-head-search:focus-within{border-color:var(--ab-accent);box-shadow:0 0 0 3px var(--ab-accent-soft);background:#fff}
.hm-head-search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:14.5px;color:var(--ab-ink);padding:11px 6px 11px 20px;outline:0}
.hm-head-search input::-webkit-search-cancel-button{display:none}
.hm-head-search button{border:0;background:var(--ab-accent);color:#fff;width:36px;height:36px;margin:3px;border-radius:50%;font-size:18px;line-height:1;cursor:pointer;flex-shrink:0}
.hm-head-search button:hover{background:var(--ab-accent-dark)}
.hm-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--ab-line);border-radius:14px;box-shadow:0 18px 40px rgba(10,14,26,.14);padding:6px;z-index:120;max-height:420px;overflow:auto}
.hm-suggest a{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:9px 12px;border-radius:9px;font-size:14px;line-height:1.35;color:var(--ab-ink)}
.hm-suggest a:hover,.hm-suggest a.on{background:var(--ab-accent-soft)}
.hm-suggest small{font-family:var(--ab-mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-accent);white-space:nowrap}
.hm-suggest .hm-suggest-all{justify-content:flex-start;font-family:var(--ab-mono);font-size:12px;color:var(--ab-accent);border-top:1px solid var(--ab-line-soft);border-radius:0 0 9px 9px;margin-top:4px}
.hm-subscribe{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:var(--ab-accent);color:#fff!important;font-weight:600;font-size:14px;padding:10px 16px;border-radius:8px;flex-shrink:0}
.hm-subscribe:hover{background:var(--ab-accent-dark)}
.hm-icon-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--ab-line);border-radius:10px;background:#fff;color:var(--ab-ink);font-size:19px;cursor:pointer;flex-shrink:0;padding:0}
.hm-burger{flex-direction:column;gap:4px}
.hm-burger span{display:block;width:18px;height:2px;background:var(--ab-ink);border-radius:2px;transition:transform .2s,opacity .2s}
.hm-header.is-open .hm-burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.hm-header.is-open .hm-burger span:nth-child(2){opacity:0}
.hm-header.is-open .hm-burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.hm-nav-cta{display:none!important}
.hm-nav{border-top:1px solid var(--ab-line-soft)}
.hm-nav-inner{max-width:var(--ab-maxw);margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:2px;min-height:48px}
.hm-nav-inner>a,.hm-mega summary{display:flex;align-items:center;height:48px;padding:0 11px;font-size:14px;font-weight:600;color:var(--ab-text);white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}
.hm-nav-inner>a:hover,.hm-mega summary:hover{color:var(--ab-accent)}
.hm-nav-inner>a.on{color:var(--ab-accent);border-bottom-color:var(--ab-accent)}
.hm-mega{flex-shrink:0}
.hm-mega summary{list-style:none;cursor:pointer;padding-left:0;user-select:none}
.hm-mega summary::-webkit-details-marker{display:none}
.hm-mega summary span{display:inline-block;margin-left:6px;color:var(--ab-accent);transition:transform .2s}
.hm-mega[open] summary span{transform:rotate(180deg)}
.hm-mega-panel{display:none}
.hm-mega[open]>.hm-mega-panel{display:grid;position:absolute;left:0;right:0;top:100%;z-index:95;background:#fff;border-top:1px solid var(--ab-line);box-shadow:0 24px 48px rgba(10,14,26,.14);padding:28px max(24px,calc((100vw - var(--ab-maxw))/2 + 24px));grid-template-columns:230px minmax(0,1fr);gap:32px;max-height:calc(100vh - 130px);overflow:auto}
.hm-mega-intro h2{font-family:var(--ab-display);font-weight:600;font-size:26px;line-height:1.15;letter-spacing:-.01em;margin:10px 0 14px}
.hm-mega-intro>a{font-family:var(--ab-mono);font-size:12px;color:var(--ab-accent)}
.hm-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 24px}
.hm-mega-grid>a{font-weight:600;font-size:14px;padding:6px 0}
.hm-menu-section{border-top:2px solid var(--ab-ink);padding-top:10px;min-width:0}
.hm-menu-title{display:flex;justify-content:space-between;gap:8px;font-family:var(--ab-display);font-weight:600;font-size:17px;color:var(--ab-ink)}
.hm-menu-title span{color:var(--ab-accent)}
.hm-menu-section p{font-size:12px;line-height:1.5;color:var(--ab-slate);margin:6px 0 8px}
.hm-menu-section>div{display:flex;flex-direction:column;gap:5px}
.hm-menu-section>div a{font-size:13px;color:#3A4352}
.hm-menu-section>div a:hover,.hm-menu-feature:hover,.hm-menu-title:hover{color:var(--ab-accent)}
.hm-menu-feature{display:block;margin-top:10px;font-size:12px;line-height:1.4;color:var(--ab-accent);font-weight:600}
.hm-search-link{margin-left:auto;color:var(--ab-accent)!important}

/* ---------- Ticker ---------- */
.hm-ticker{background:var(--ab-ink);color:#C9D1DE;font-family:var(--ab-mono);font-size:13px;overflow:hidden;white-space:nowrap}
.hm-ticker-track{display:inline-flex;gap:44px;padding:10px 0 10px 24px;animation:hm-tick 60s linear infinite}
.hm-ticker a{color:#C9D1DE}
.hm-ticker a:hover{color:#fff}
.hm-ticker b{color:#34D399;font-weight:600;margin-right:8px;text-transform:uppercase}
.hm-ticker:hover .hm-ticker-track{animation-play-state:paused}
@keyframes hm-tick{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.hm-ticker{overflow-x:auto}.hm-ticker-track{animation:none}}

/* ---------- Homepage hero ---------- */
.hm-hero{padding:28px 0 36px}
.hm-hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:stretch}
.hm-hero-main{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:480px;border-radius:18px;overflow:hidden;color:#fff;background:var(--ab-ink-2) center/cover no-repeat;padding:44px}
.hm-hero-main::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,14,26,.35) 0%,rgba(10,14,26,.72) 42%,rgba(10,14,26,.96) 100%)}
.hm-hero-main>*{position:relative}
.hm-hero-main h1{font-family:var(--ab-display);font-weight:600;font-size:clamp(30px,4.1vw,50px);line-height:1.08;letter-spacing:-.015em;margin:16px 0 14px;max-width:20ch}
.hm-hero-main p{font-size:16px;line-height:1.65;color:#D6DCE8;max-width:56ch;margin:0 0 20px}
.hm-hero-main .hm-meta{color:#AEB7C7}
.hm-hero-main:hover h1{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.hm-side-stack{display:flex;flex-direction:column;gap:14px;min-width:0}
.hm-mini{display:block;background:var(--ab-card);border:1px solid var(--ab-line);border-radius:12px;padding:18px 20px;transition:border-color .15s,box-shadow .15s}
.hm-hero .hm-side-stack .hm-mini{flex:1}
.hm-block-grid .hm-side-stack{justify-content:flex-start}
.hm-mini:hover{border-color:var(--ab-accent);box-shadow:0 8px 24px rgba(10,14,26,.06)}
.hm-mini h3{font-family:var(--ab-display);font-weight:600;font-size:17px;line-height:1.32;margin:10px 0 8px;color:var(--ab-ink)}
.hm-mini:hover h3{color:var(--ab-accent)}

/* ---------- Section pills ---------- */
.hm-pills-bar{background:#fff;border-top:1px solid var(--ab-line);border-bottom:1px solid var(--ab-line)}
.hm-pills{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:14px 24px;max-width:var(--ab-maxw);margin:0 auto}
.hm-pills::-webkit-scrollbar{display:none}
.hm-pill{flex-shrink:0;padding:8px 16px;border:1px solid var(--ab-line);border-radius:999px;font-size:14px;font-weight:500;background:#fff;color:var(--ab-ink);transition:all .15s}
.hm-pill:hover,.hm-pill.on{border-color:var(--ab-ink);background:var(--ab-ink);color:#fff}

/* ---------- Homepage blocks ---------- */
.hm-block{padding:48px 0 4px}
.hm-block-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.hm-block-head h2{font-family:var(--ab-display);font-weight:600;font-size:clamp(24px,2.6vw,30px);letter-spacing:-.01em;line-height:1.15;margin:4px 0 0;color:var(--ab-ink)}
.hm-block-head p{margin:6px 0 0;color:var(--ab-slate);font-size:15px;max-width:60ch}
.hm-block-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px}
.hm-feature{display:flex;flex-direction:column;background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.hm-feature:hover{border-color:var(--ab-accent);box-shadow:0 10px 28px rgba(10,14,26,.07)}
.hm-thumb{display:block;background:var(--ab-ink-2) center/cover no-repeat}
.hm-feature .hm-thumb{aspect-ratio:16/8}
.hm-feature-copy{padding:22px 24px 24px}
.hm-feature h3{font-family:var(--ab-display);font-weight:600;font-size:23px;line-height:1.25;margin:12px 0 10px;color:var(--ab-ink)}
.hm-feature:hover h3,.hm-card:hover h3{color:var(--ab-accent)}
.hm-feature p{color:var(--ab-slate);font-size:15px;margin:0 0 14px}
.hm-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hm-card{display:flex;flex-direction:column;background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.hm-card:hover{border-color:var(--ab-accent);box-shadow:0 10px 28px rgba(10,14,26,.07)}
.hm-card .hm-thumb{aspect-ratio:16/9}
.hm-card-copy{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.hm-card h3{font-family:var(--ab-display);font-weight:600;font-size:19px;line-height:1.3;margin:10px 0 8px;color:var(--ab-ink)}
.hm-card p{color:var(--ab-slate);font-size:14px;line-height:1.55;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hm-card .hm-meta{margin-top:auto}
.hm-card-copy>.hm-tag{align-self:flex-start}

/* ---------- Numbers band ---------- */
.hm-numbers{margin-top:52px;background:var(--ab-ink);color:#fff;border-radius:18px;padding:40px}
.hm-numbers .hm-eyebrow{color:#60A5FA}
.hm-numbers h2{font-family:var(--ab-display);font-weight:600;font-size:28px;line-height:1.2;margin:6px 0 28px}
.hm-numbers-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.hm-num b{display:block;font-family:var(--ab-display);font-size:42px;font-weight:600;line-height:1}
.hm-num span{display:block;margin-top:12px;font-family:var(--ab-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#9AA4B5;line-height:1.5}

/* ---------- Section boxes ---------- */
.hm-cat-boxes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hm-cat-box{background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:20px;min-width:0;display:flex;flex-direction:column}
.hm-cat-box h3{font-family:var(--ab-display);font-weight:600;font-size:20px;line-height:1.2;margin:0;display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.hm-cat-box h3 a:hover{color:var(--ab-accent)}
.hm-cat-box h3 small{font-family:var(--ab-mono);font-size:11px;color:var(--ab-slate);font-weight:500;white-space:nowrap}
.hm-cat-box p{font-size:13px;color:var(--ab-slate);margin:8px 0 12px;line-height:1.5}
.hm-cat-box ul{list-style:none;margin:0 0 14px;padding:0}
.hm-cat-box li a{display:block;padding:7px 0;border-top:1px solid var(--ab-line-soft);font-size:14px;color:var(--ab-text)}
.hm-cat-box li a:hover{color:var(--ab-accent)}
.hm-cat-box .hm-more{margin-top:auto}

/* ---------- Newsletter ---------- */
.hm-newsletter{margin:56px 0;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:40px;border-radius:18px;background:linear-gradient(120deg,var(--ab-ink-2),#1E3A8A);color:#fff}
.hm-newsletter .hm-eyebrow{color:#93C5FD}
.hm-newsletter h2{font-family:var(--ab-display);font-weight:600;font-size:30px;line-height:1.2;margin:6px 0 8px}
.hm-newsletter p{margin:0;color:#C9D3E6;max-width:52ch}
.hm-newsletter .hm-button{background:#fff;color:var(--ab-ink)!important}
.hm-newsletter .hm-button:hover{background:#E8EFFE}

/* ---------- Footer (shared by every page, legacy included) ---------- */
.hm-footer{background:var(--ab-ink);color:#AEB7C7;font-family:var(--ab-body);font-size:14px;line-height:1.6;padding:56px 0 28px}
.hm-footer *{box-sizing:border-box}
.hm-footer a{color:#E3E8F0;text-decoration:none}
.hm-footer a:hover{color:#fff}
.hm-footer-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,2fr) minmax(0,1fr);gap:40px}
.hm-footer-brand{font-family:var(--ab-display);font-size:26px;font-weight:600;color:#fff!important;letter-spacing:-.01em}
.hm-footer-description{margin:12px 0 0;max-width:34ch}
.hm-footer h4{font-family:var(--ab-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7D8798;margin:0 0 14px;font-weight:600}
.hm-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 24px}
.hm-footer-legal{display:flex;flex-direction:column;gap:9px}
.hm-footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid #222A3A;display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;font-family:var(--ab-mono);font-size:12px;color:#7D8798}

/* ---------- Section / topic pages (hub layout) ---------- */
.ab-hub-hero{position:relative;overflow:hidden;color:#fff;padding:52px 0 48px;background:radial-gradient(circle at 22% 0%,rgba(59,130,246,.38),transparent 52%),linear-gradient(155deg,var(--ab-ink),#16224A 82%)}
.ab-hub-hero::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:22px 22px;pointer-events:none}
.ab-hub-hero>*{position:relative;z-index:1}
.ab-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-family:var(--ab-mono);font-size:12px;color:var(--ab-slate);margin:0 0 18px}
.ab-crumbs a:hover{color:var(--ab-accent)}
.ab-hub-hero .ab-crumbs{color:#9AA4B5}
.ab-hub-hero .ab-crumbs a{color:#E3E8F0}
.ab-hub-hero .ab-eyebrow{color:#93C5FD}
.ab-page-title{font-family:var(--ab-display);font-weight:600;font-size:clamp(32px,4.6vw,52px);line-height:1.08;letter-spacing:-.015em;margin:10px 0 14px;max-width:22ch}
.ab-lede{font-size:17px;line-height:1.6;max-width:62ch;margin:0;color:var(--ab-slate)}
.ab-hub-hero .ab-lede{color:#C9D3E6}
.ab-hub-stats{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:22px;font-family:var(--ab-mono);font-size:12px;color:#AEB7C7}
.ab-hub-stats b{color:#fff;font-weight:600}
.ab-tabs{background:#fff;border-bottom:1px solid var(--ab-line)}
.ab-tabs-inner{max-width:var(--ab-maxw);margin:0 auto;padding:0 24px;display:flex;overflow-x:auto;scrollbar-width:none}
.ab-tabs-inner::-webkit-scrollbar{display:none}
.ab-tabs a{flex-shrink:0;padding:15px 14px;font-size:14px;font-weight:600;color:#4A5262;border-bottom:2px solid transparent;white-space:nowrap}
.ab-tabs a:hover{color:var(--ab-accent)}
.ab-tabs a.on{color:var(--ab-accent);border-bottom-color:var(--ab-accent)}
.ab-main{padding:36px 0 64px}
.ab-archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;align-items:start}
.ab-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap;margin-bottom:18px}
.ab-section-title h2{font-family:var(--ab-display);font-weight:600;font-size:26px;line-height:1.2;margin:0;color:var(--ab-ink)}
.ab-lead{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);overflow:hidden;margin-bottom:20px;transition:border-color .15s,box-shadow .15s}
.ab-lead:hover{border-color:var(--ab-accent);box-shadow:0 10px 28px rgba(10,14,26,.07)}
.ab-lead .ab-card-image{aspect-ratio:auto;min-height:260px;height:100%}
.ab-lead .ab-card-copy{padding:28px;align-self:center}
.ab-lead h2{font-family:var(--ab-display);font-weight:600;font-size:26px;line-height:1.25;margin:12px 0 10px;color:var(--ab-ink)}
.ab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ab-card{display:flex;flex-direction:column;background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);overflow:hidden;transition:border-color .15s,box-shadow .15s;min-width:0}
.ab-card:hover{border-color:var(--ab-accent);box-shadow:0 10px 28px rgba(10,14,26,.07)}
.ab-card>a{display:block}
.ab-card-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--ab-ink-2) center/cover no-repeat}
.ab-card-copy{padding:18px 20px 20px}
.ab-card-meta{display:block;font-family:var(--ab-mono);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-accent)}
.ab-card h2,.ab-card h3{font-family:var(--ab-display);font-weight:600;font-size:20px;line-height:1.3;margin:10px 0 8px;color:var(--ab-ink)}
.ab-card:hover h2,.ab-card:hover h3,.ab-lead:hover h2{color:var(--ab-accent)}
.ab-card p,.ab-lead p{color:var(--ab-slate);font-size:14px;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ab-side-rail{display:flex;flex-direction:column;gap:20px;position:sticky;top:140px;min-width:0}
.ab-rail-box{background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:20px}
.ab-rail-box h3,.ab-side-rail>h2,.ab-side-rail>h3{font-family:var(--ab-mono);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin:0 0 12px;color:var(--ab-ink)}
.ab-side-rail>a{display:block;padding:10px 0;border-top:1px solid var(--ab-line-soft);font-size:14px;font-weight:600;line-height:1.4}
.ab-rank{list-style:none;margin:0;padding:0;counter-reset:abr}
.ab-rank li{counter-increment:abr;display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;padding:10px 0;border-top:1px solid var(--ab-line-soft)}
.ab-rank li:first-child{border-top:0;padding-top:0}
.ab-rank li::before{content:counter(abr,decimal-leading-zero);font-family:var(--ab-mono);font-size:13px;font-weight:600;color:var(--ab-accent);line-height:1.5}
.ab-rank a{font-size:14px;font-weight:600;line-height:1.4;color:var(--ab-ink)}
.ab-rank a:hover,.ab-side-rail>a:hover{color:var(--ab-accent)}
.ab-topic-links{display:flex;flex-wrap:wrap;gap:8px}
.ab-topic-links a{padding:6px 12px;border:1px solid var(--ab-line);border-radius:999px;font-size:13px;background:#fff;color:var(--ab-text)}
.ab-topic-links a:hover{border-color:var(--ab-ink);background:var(--ab-ink);color:#fff}
.ab-rail-promo{background:var(--ab-ink);color:#C9D3E6;border:0}
.ab-rail-promo h3{color:#93C5FD}
.ab-rail-promo p{margin:0 0 16px;font-size:14px;line-height:1.55}
.ab-rail-promo strong{display:block;font-family:var(--ab-display);font-size:20px;font-weight:600;color:#fff;margin-bottom:8px;line-height:1.25}
.ab-browse{margin-top:52px}
.ab-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ab-topic-card{background:var(--ab-card);border:1px solid var(--ab-line);border-radius:12px;padding:18px;min-width:0;display:flex;flex-direction:column}
.ab-topic-card h3{font-family:var(--ab-display);font-weight:600;font-size:18px;line-height:1.25;margin:0 0 6px}
.ab-topic-card h3 a{display:flex;justify-content:space-between;gap:8px}
.ab-topic-card h3 span,.ab-topic-link{color:var(--ab-accent)}
.ab-topic-card p{font-size:13px;color:var(--ab-slate);line-height:1.5;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ab-topic-story{display:block;font-size:13.5px;font-weight:500;line-height:1.4;padding:8px 0;border-top:1px solid var(--ab-line-soft);color:var(--ab-text)}
.ab-topic-story:hover,.ab-topic-card h3 a:hover{color:var(--ab-accent)}
.ab-topic-link{font-family:var(--ab-mono);font-size:12px;margin-top:auto;padding-top:8px}
.ab-pagination,.hm-results-pager{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:28px}
.ab-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.ab-pagination a,.ab-pagination span,.ab-pagination .page-numbers,.hm-results-pager a,.hm-results-pager span{min-width:40px;text-align:center;padding:8px 12px;border:1px solid var(--ab-line);border-radius:8px;background:#fff;font-family:var(--ab-mono);font-size:13px;color:var(--ab-ink)}
.ab-pagination a:hover,.hm-results-pager a:hover{border-color:var(--ab-ink)}
.ab-pagination .current,.hm-results-pager [aria-current]{background:var(--ab-ink);color:#fff;border-color:var(--ab-ink)}
.ab-pagination .nav-links span.dots{border:0;background:none}
.ab-empty-state,.hm-empty{background:#fff;border:1px dashed #C5CCD8;border-radius:var(--ab-radius);padding:36px;text-align:center;color:var(--ab-slate)}
.ab-empty-state h2{font-family:var(--ab-display);font-weight:600;color:var(--ab-ink);margin:0 0 8px}
.ab-archive-head{margin-bottom:24px}

/* ---------- Answer blocks (AEO) ---------- */
.ab-answer,.ab-tldr{background:#fff;border:1px solid var(--ab-line);border-left:4px solid var(--ab-accent);border-radius:var(--ab-radius);padding:20px 22px;margin:0 0 28px}
.ab-answer h2{font-family:var(--ab-display);font-weight:600;font-size:21px;line-height:1.3;margin:6px 0 8px;color:var(--ab-ink)}
.ab-answer p,.ab-tldr p{margin:0;font-size:15.5px;line-height:1.6;color:var(--ab-text)}
.ab-answer .ab-answer-start{margin-top:10px;font-size:14px}
.ab-answer-start a{color:var(--ab-accent);font-weight:600}
.ab-tldr{max-width:820px;margin:0 auto 28px}
.ab-tldr p{margin-top:6px;font-size:16.5px}
.ab-toc h2{font-family:var(--ab-mono)!important;font-size:11px!important;letter-spacing:.14em;text-transform:uppercase;margin:0 0 8px!important;color:var(--ab-ink)}
.ab-prose h2[id]{scroll-margin-top:140px}

/* ---------- Article pages ---------- */
.ab-article-main{padding-top:32px}
.ab-story-header{max-width:820px;margin:0 auto 28px}
.ab-story-title{font-family:var(--ab-display);font-weight:600;font-size:clamp(30px,4.4vw,50px);line-height:1.1;letter-spacing:-.015em;margin:14px 0 16px;color:var(--ab-ink)}
.ab-story-excerpt{font-size:19px;line-height:1.6;color:#3A4352;margin:0 0 18px}
.ab-byline{display:flex;flex-wrap:wrap;gap:6px 18px;font-family:var(--ab-mono);font-size:12px;color:var(--ab-slate);padding:14px 0;border-top:1px solid var(--ab-line);border-bottom:1px solid var(--ab-line)}
.ab-byline strong{color:var(--ab-ink)}
.ab-feature{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;margin:26px 0 0}
.ab-story-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;max-width:1140px;margin:0 auto;align-items:start}
.ab-story-body{min-width:0}
.ab-prose{font-size:18px;line-height:1.75;color:#1F2633;overflow-wrap:break-word}
.ab-prose>h1:first-child{display:none}
.ab-prose h1{font-family:var(--ab-display);font-weight:600;font-size:34px;line-height:1.15;margin:0 0 18px}
.ab-prose h2{font-family:var(--ab-display);font-weight:600;font-size:28px;line-height:1.25;margin:42px 0 14px;color:var(--ab-ink)}
.ab-prose h3{font-family:var(--ab-display);font-weight:600;font-size:22px;line-height:1.3;margin:32px 0 10px;color:var(--ab-ink)}
.ab-prose h4{font-size:18px;margin:26px 0 8px}
.ab-prose p{margin:0 0 20px}
.ab-prose a{color:var(--ab-accent);text-decoration:underline;text-underline-offset:3px}
.ab-prose ul,.ab-prose ol{padding-left:22px;margin:0 0 20px}
.ab-prose li{margin-bottom:8px}
.ab-prose blockquote{margin:28px 0;padding:6px 0 6px 22px;border-left:3px solid var(--ab-accent);font-family:var(--ab-display);font-size:22px;line-height:1.45;color:var(--ab-ink)}
.ab-prose img{border-radius:12px;height:auto}
.ab-prose table{width:100%;border-collapse:collapse;font-size:15px;margin:0 0 24px;display:block;overflow-x:auto}
.ab-prose th,.ab-prose td{border:1px solid var(--ab-line);padding:10px 12px;text-align:left;vertical-align:top}
.ab-prose th{background:#F7F8FA;font-weight:600}
.ab-prose code{font-family:var(--ab-mono);font-size:.88em;background:var(--ab-line-soft);padding:2px 6px;border-radius:4px}
.ab-prose pre{overflow-x:auto;background:var(--ab-ink);color:#E3E8F0;padding:18px;border-radius:12px;font-size:14px}
.ab-prose pre code{background:none;padding:0;color:inherit}
.ab-verdict{max-width:820px;margin:0 auto 32px;background:#fff;border:1px solid var(--ab-line);border-left:4px solid var(--ab-green);border-radius:var(--ab-radius);padding:24px 26px}
.ab-verdict h2{font-family:var(--ab-display);font-weight:600;font-size:30px;margin:6px 0 8px}
.ab-verdict p{margin:0 0 10px}
.ab-disclosure{font-size:12px;color:var(--ab-slate);margin:14px 0 0!important}
.ab-toc{border:1px solid var(--ab-line);background:#fff;padding:18px 20px;border-radius:var(--ab-radius);margin:22px 0}
.ab-toc h2{font-family:var(--ab-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 8px}
.ab-toc a{display:block;padding:5px 0;font-size:14px;color:var(--ab-accent)}
.ab-author-box{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:22px;margin:40px 0}
.ab-author-box img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex-shrink:0}
.ab-author-box h3{font-family:var(--ab-display);font-weight:600;font-size:20px;margin:4px 0}
.ab-author-box p{font-size:14px;color:var(--ab-slate);margin:4px 0}
.ab-author-box a{color:var(--ab-accent)}
.ab-related{margin-top:48px}
.ab-related>h2{font-family:var(--ab-display);font-weight:600;font-size:26px;margin:6px 0 18px}

/* ---------- Search ---------- */
.hm-search-page{padding:40px 0 64px}
.hm-search-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.hm-search-head h1{font-family:var(--ab-display);font-weight:600;font-size:clamp(30px,4vw,42px);line-height:1.1;margin:6px 0 0}
.hm-search-head p{margin:0;font-family:var(--ab-mono);font-size:13px;color:var(--ab-slate)}
.hm-search-form{background:#fff;border:1px solid var(--ab-line);border-radius:16px;padding:24px}
.hm-search-query{display:block}
.hm-search-query span{display:block;font-family:var(--ab-mono);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ab-slate);margin-bottom:8px}
.hm-search-query input{width:100%;font-family:var(--ab-body);font-size:18px;padding:14px 16px;border:1px solid #C5CCD8;border-radius:10px;color:var(--ab-ink);background:#fff}
.hm-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.hm-filters label{display:flex;flex-direction:column;gap:6px;font-family:var(--ab-mono);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-slate);min-width:0}
.hm-filters select,.hm-filters input{width:100%;height:42px;border:1px solid #C5CCD8;border-radius:8px;padding:0 10px;background:#fff;font-family:var(--ab-body);font-size:14px;color:var(--ab-ink);text-transform:none;letter-spacing:0}
.hm-search-query input:focus,.hm-filters select:focus,.hm-filters input:focus{outline:2px solid var(--ab-accent);outline-offset:1px;border-color:var(--ab-accent)}
.hm-filters .hm-button{align-self:end;height:42px}
.hm-results{margin-top:24px}


/* ---------- Directories (tools, companies, models) ---------- */
.ab-dir-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ab-dir-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:18px;min-width:0;transition:border-color .15s,box-shadow .15s}
.ab-dir-card:hover{border-color:var(--ab-accent);box-shadow:0 10px 28px rgba(10,14,26,.07)}
.ab-dir-card:hover h3{color:var(--ab-accent)}
.ab-dir-copy{min-width:0}
.ab-dir-card h3{font-family:var(--ab-display);font-weight:600;font-size:18px;line-height:1.25;margin:4px 0 6px;color:var(--ab-ink)}
.ab-dir-card p{margin:0;font-size:13.5px;line-height:1.5;color:var(--ab-slate);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ab-dir-mark{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--ab-ink);color:#fff;font-family:var(--ab-mono);font-weight:600;font-size:15px;letter-spacing:.04em}
.ab-dir-mark.sm{width:32px;height:32px;border-radius:8px;font-size:11px}
.ab-dir-mark.lg{width:72px;height:72px;border-radius:18px;font-size:24px;background:var(--ab-accent)}
.ab-dir-head{display:flex;gap:20px;align-items:center}
.ab-dir-head .ab-page-title{margin:6px 0 8px}
.ab-dir-search{display:flex;gap:12px;align-items:flex-end;background:#fff;border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:18px;margin-bottom:16px}
.ab-dir-search label{flex:1;display:flex;flex-direction:column;gap:8px}
.ab-dir-search input{width:100%;height:46px;border:1px solid #C5CCD8;border-radius:9px;padding:0 14px;font:inherit;font-size:16px;color:var(--ab-ink)}
.ab-dir-search input:focus{outline:2px solid var(--ab-accent);outline-offset:1px}
.ab-dir-search .hm-button{height:46px}
.ab-dir-filters{margin-bottom:24px}
.ab-dir-filters a.on{border-color:var(--ab-ink);background:var(--ab-ink);color:#fff}
.ab-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0 0 28px}
.ab-fact{background:#fff;border:1px solid var(--ab-line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.ab-fact span{font-family:var(--ab-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ab-slate)}
.ab-fact strong{font-size:16px;color:var(--ab-ink)}
.ab-fact .ab-verify{color:var(--ab-amber)}
.ab-fact small{font-size:12px;color:var(--ab-slate)}
.ab-dir-section{margin:0 0 32px}
.ab-dir-section>h2{font-family:var(--ab-display);font-weight:600;font-size:24px;margin:0 0 14px;color:var(--ab-ink)}
.ab-dir-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.ab-dir-list li{position:relative;padding:12px 14px 12px 38px;background:#fff;border:1px solid var(--ab-line);border-radius:10px;font-size:15px;line-height:1.5}
.ab-dir-list li::before{content:"→";position:absolute;left:14px;top:12px;color:var(--ab-accent);font-weight:600}
.ab-dir-list.is-pro li::before{content:"+";color:var(--ab-green)}
.ab-dir-list.is-con li::before{content:"–";color:#C2410C}
.ab-procon{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ab-dir-mini{display:flex;flex-direction:column;gap:8px}
.ab-dir-mini a{display:flex;gap:10px;align-items:center;padding:6px 0}
.ab-dir-mini strong{display:block;font-size:14px;color:var(--ab-ink)}
.ab-dir-mini small{display:block;font-family:var(--ab-mono);font-size:11px;color:var(--ab-slate);text-transform:uppercase;letter-spacing:.08em}
.ab-dir-mini a:hover strong{color:var(--ab-accent)}
.ab-deal{border-color:var(--ab-accent)}
.ab-deal strong{display:block;font-family:var(--ab-display);font-size:20px;margin:0 0 6px}
.ab-deal p{font-size:13px;color:var(--ab-slate);margin:0 0 12px}
.ab-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-mega-dirs{display:flex;flex-direction:column;gap:6px;margin-top:22px;padding-top:16px;border-top:1px solid var(--ab-line-soft)}
.hm-mega-dirs a{font-weight:600;font-size:14px}
.hm-mega-dirs a:hover{color:var(--ab-accent)}
.hm-spot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hm-spot{background:#fff;border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:22px;display:flex;flex-direction:column}
.hm-spot-item{display:block;padding:12px 0;border-top:1px solid var(--ab-line-soft)}
.hm-spot-item:first-of-type{margin-top:10px}
.hm-spot-item strong{display:block;font-family:var(--ab-display);font-size:18px;font-weight:600;color:var(--ab-ink)}
.hm-spot-item span{display:block;font-size:13.5px;color:var(--ab-slate);line-height:1.5}
.hm-spot-item:hover strong{color:var(--ab-accent)}
.hm-spot .hm-more{margin-top:auto;padding-top:12px}
@media (max-width:960px){.ab-dir-grid,.hm-spot-grid,.ab-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.ab-dir-grid,.hm-spot-grid,.ab-grid-3,.ab-procon{grid-template-columns:1fr}.ab-dir-search{flex-direction:column;align-items:stretch}.ab-dir-head{flex-direction:column;align-items:flex-start;gap:12px}.ab-dir-mark.lg{width:56px;height:56px;font-size:19px}}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .hm-nav-inner{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .hm-nav-inner::-webkit-scrollbar{display:none}
  .hm-mega[open]>.hm-mega-panel{position:fixed;top:121px;bottom:0;max-height:none;grid-template-columns:1fr;gap:20px;padding:24px}
  .hm-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-cat-boxes{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:960px){
  .hm-hero-grid,.hm-block-grid{grid-template-columns:1fr}
  .hm-side-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-hero-main{min-height:420px}
  .hm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-numbers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-cat-boxes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-newsletter{flex-direction:column;align-items:flex-start}
  .ab-archive-layout,.ab-story-layout{grid-template-columns:1fr}
  .ab-side-rail{position:static}
  .ab-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-footer-grid{grid-template-columns:1fr 1fr}
  .hm-footer-grid>div:first-child{grid-column:1/-1}
  .hm-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .hm-subscribe{padding:9px 13px;font-size:13.5px}
  .hm-head-top{gap:14px}
}
@media (max-width:760px){
  .hm-head-top{height:60px;padding:0 16px;gap:8px}
  .hm-header .hm-brand{margin-right:auto}
  .hm-header .hm-brand img{height:34px;max-width:200px}
  .hm-head-search,.hm-subscribe{display:none}
  .hm-icon-btn{display:inline-flex}
  .hm-nav{display:none;border-top:1px solid var(--ab-line)}
  .hm-header.is-open .hm-nav{display:block;max-height:calc(100vh - 60px);overflow:auto;background:#fff}
  .hm-nav-inner{flex-direction:column;align-items:stretch;padding:8px 16px 20px;overflow:visible}
  .hm-nav-inner>a,.hm-mega summary{height:46px;font-size:15px;padding:0 4px;border-bottom:1px solid var(--ab-line-soft);margin:0}
  .hm-nav-inner>a.on{border-bottom-color:var(--ab-line-soft)}
  .hm-nav-cta{display:flex!important;justify-content:center;margin-top:14px!important;background:var(--ab-accent);color:#fff!important;border-radius:9px;border:0!important}
  .hm-mega[open]>.hm-mega-panel{position:static;display:block;box-shadow:none;border:0;padding:12px 0 16px;max-height:none}
  .hm-mega-intro{display:none}
  .hm-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
  .hm-menu-section p,.hm-menu-feature{display:none}
  .hm-wrap,.ab-container,.ab-tabs-inner{padding-left:16px;padding-right:16px}
  .hm-pills{padding:12px 16px}
  .hm-ticker-track{padding-left:16px}
  .ab-lead{grid-template-columns:1fr}
  .ab-lead .ab-card-image{min-height:0;aspect-ratio:16/9}
  .ab-lead .ab-card-copy{padding:20px}
  .ab-lead h2{font-size:22px}
}
@media (max-width:640px){
  .hm-hero{padding:16px 0 28px}
  .hm-hero-main{min-height:400px;padding:24px;border-radius:14px}
  .hm-hero-main p{font-size:15px}
  .hm-side-stack{grid-template-columns:1fr}
  .hm-block{padding-top:36px}
  .hm-block-head{flex-direction:column;align-items:flex-start;gap:8px}
  .hm-feature-copy{padding:18px}
  .hm-feature h3{font-size:21px}
  .hm-card-grid,.hm-cat-boxes,.ab-grid,.ab-topic-grid{grid-template-columns:1fr}
  .hm-numbers{padding:28px 22px;margin-top:40px}
  .hm-num b{font-size:34px}
  .hm-newsletter{padding:28px 22px;margin:40px 0}
  .hm-newsletter h2{font-size:25px}
  .hm-newsletter .hm-button{width:100%}
  .hm-footer{padding-top:44px}
  .hm-footer-grid{grid-template-columns:1fr;gap:28px}
  .ab-hub-hero{padding:36px 0 34px}
  .ab-lede{font-size:16px}
  .ab-main{padding:28px 0 48px}
  .ab-story-excerpt{font-size:17px}
  .ab-prose{font-size:17px}
  .ab-prose h2{font-size:24px}
  .ab-verdict{padding:20px}
  .ab-author-box{flex-direction:column}
  .hm-search-form{padding:18px}
  .hm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-filters .hm-button{grid-column:1/-1;width:100%}
}
@media (max-width:360px){
  .hm-mega-grid{grid-template-columns:1fr}
  .hm-numbers-grid{grid-template-columns:1fr 1fr;gap:20px}
}

/* ---------- Hub topic directory, FAQ and affiliate actions ---------- */
.ab-topic-card>strong{font-family:var(--ab-display);font-weight:600;font-size:18px;line-height:1.25;color:var(--ab-ink);margin-bottom:6px}
.ab-topic-card>span{font-size:13px;color:var(--ab-slate);line-height:1.5;margin-bottom:10px}
.ab-topic-card>small{margin-top:auto;font-family:var(--ab-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-accent)}
a.ab-topic-card:hover strong{color:var(--ab-accent)}
.ab-faq h3{font-family:var(--ab-display);font-size:19px;margin:18px 0 6px}
.ab-faq p{color:var(--ab-text);margin:0}
.ab-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 6px}
.ab-cta-alt{display:inline-flex;align-items:center;padding:11px 16px;border:1px solid var(--ab-line);border-radius:9px;background:#fff;color:var(--ab-ink)!important;font-weight:600;font-size:14px;text-decoration:none}
.ab-cta-alt:hover{border-color:var(--ab-accent);color:var(--ab-accent)!important}

/* ---------- Premium typography scale (Bricolage Grotesque headlines · Figtree body) ---------- */
body.ab-site :is(h1,h2,h3,h4){font-family:var(--ab-display);letter-spacing:-.02em}
.hm-hero-main h1{font-weight:700;font-size:clamp(34px,4.8vw,64px);line-height:1.04;letter-spacing:-.03em}
.ab-page-title{font-weight:700;font-size:clamp(32px,4vw,48px);line-height:1.06;letter-spacing:-.025em}
.ab-story-title{font-weight:700;font-size:clamp(28px,3.2vw,36px);line-height:1.14;letter-spacing:-.02em;max-width:26ch}
.hm-block-head h2,.ab-section-title h2{font-weight:700;font-size:clamp(24px,2.4vw,32px);letter-spacing:-.02em}
.ab-prose{font-size:18px;line-height:1.75}
.ab-prose :is(h2){font-weight:700;font-size:clamp(24px,2.4vw,30px);line-height:1.2}
.hm-nav-inner>a,.hm-mega summary{font-weight:500}
.hm-button,.ab-button,.hm-subscribe{font-weight:600}
.hm-meta,.ab-card-meta{font-size:13px}
@media(max-width:760px){.ab-prose{font-size:17px}.hm-hero-main h1{font-size:clamp(30px,8.4vw,40px)}}

/* ---------- Editorial system v2: hero, type-coded cards, rank lists, tools ---------- */
.hm-hero-grid{align-items:stretch}
.hm-hero-main.is-split{padding:0;justify-content:flex-start;min-height:0;background:var(--ab-ink);display:flex;flex-direction:column}
.hm-hero-main.is-split::before{display:none}
.hm-hero-media{position:relative;display:block;aspect-ratio:16/8;background:var(--ab-ink-2) center/cover no-repeat}
.hm-hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:28px 36px 32px;flex:1}
.hm-hero-copy .hm-eyebrow{color:#93B4F7;margin-bottom:12px}
.hm-hero-main.is-split h1{font-size:clamp(28px,3.2vw,44px);line-height:1.08;margin:14px 0 12px;max-width:24ch}
.hm-hero-main.is-split p{margin:0 0 18px;max-width:60ch}
.hm-hero-main.is-split .hm-meta{margin-top:auto;color:#AEB6C6}
.hm-hero .hm-side-stack{gap:12px}
.hm-hero .hm-side-stack>.hm-eyebrow{padding:2px 0 2px}
.hm-mini-thumb{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:16px;align-items:center}
.hm-mini-thumb .hm-thumb{width:112px;height:84px;border-radius:10px}
.hm-mini-thumb h3{font-size:16.5px;margin:8px 0 6px}
.hm-mini-copy{min-width:0}
/* Type badges and type-coded cards */
.hm-thumb{position:relative}
.hm-type{position:absolute;left:14px;top:14px;display:inline-flex;align-items:center;gap:6px;font-family:var(--ab-mono);font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:5px 9px;border-radius:6px;background:rgba(10,14,26,.82);color:#fff;backdrop-filter:blur(6px)}
.hm-type::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ab-accent)}
.hm-type.is-review::before{background:#34D399}.hm-type.is-comparison::before{background:#F5B04C}.hm-type.is-news::before{background:#F87171}.hm-type.is-opinion::before{background:#C4B5FD}.hm-type.is-guide::before{background:#60A5FA}
.hm-card,.ab-card,.ab-lead{border-top-width:3px}
.is-t-review{border-top-color:#1F9D6E}.is-t-comparison{border-top-color:#D98E2C}.is-t-guide{border-top-color:var(--ab-accent)}.is-t-news{border-top-color:#DC2626}.is-t-opinion{border-top-color:#7C3AED}
.hm-card.is-t-opinion,.ab-card.is-t-opinion{background:var(--ab-ink);border-color:var(--ab-ink)}
.hm-card.is-t-opinion h3,.ab-card.is-t-opinion h3{color:#fff}
.hm-card.is-t-opinion p,.ab-card.is-t-opinion p{color:#C3CAD6}
.hm-card.is-t-opinion .hm-meta{color:#9AA3B2}
.hm-card.is-t-guide h3::before{content:"→ ";color:var(--ab-accent)}
.ab-card .ab-card-copy,.ab-lead .ab-card-copy{display:flex;flex-direction:column}
.ab-card{height:100%}
/* Ranked list (Trending) */
.hm-rank{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;min-width:0}
.hm-rank li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:stretch;flex:1}
.hm-rank-n{font-family:var(--ab-display);font-weight:700;font-size:30px;line-height:1;color:var(--ab-accent);padding-top:18px}
.hm-rank .hm-mini{height:100%}
/* Tools grid */
.hm-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hm-tool{display:flex;gap:14px;align-items:flex-start;background:var(--ab-card);border:1px solid var(--ab-line);border-radius:var(--ab-radius);padding:18px;transition:border-color .15s,box-shadow .15s;min-width:0}
.hm-tool:hover{border-color:var(--ab-accent);box-shadow:0 8px 24px rgba(10,14,26,.06)}
.hm-tool-mark{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--ab-ink);color:#fff;font-family:var(--ab-mono);font-weight:600;font-size:14px}
.hm-tool strong{display:block;font-family:var(--ab-display);font-size:17px;color:var(--ab-ink)}
.hm-tool span span{display:block;font-size:14px;color:var(--ab-slate);line-height:1.5;margin-top:2px}
.hm-tool em{display:inline-block;margin-top:8px;font-style:normal;font-family:var(--ab-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ab-accent)}
/* Consistent rhythm */
.hm-block{padding:44px 0}
.hm-block+.hm-block{padding-top:12px}
.hm-block-head{margin-bottom:22px}
.hm-head-search{max-width:640px}
.hm-head-search input{padding-top:12px;padding-bottom:12px}
.hm-head-top{align-items:center}
@media(max-width:1000px){.hm-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hm-hero-copy{padding:20px 20px 24px}.hm-mini-thumb{grid-template-columns:minmax(0,1fr) 88px}.hm-mini-thumb .hm-thumb{width:88px;height:66px}.hm-tool-grid{grid-template-columns:1fr}.hm-rank li{grid-template-columns:34px minmax(0,1fr)}.hm-rank-n{font-size:24px}.hm-block{padding:32px 0}}
.hm-type{top:auto;bottom:14px}

/* Photo credits + product screenshots */
.ab-feature-fig{margin:0}
.ab-feature-fig figcaption,.ab-dir-figure figcaption{font-family:var(--ab-mono);font-size:11.5px;line-height:1.5;color:var(--ab-slate);margin-top:8px}
.ab-feature-fig figcaption a,.ab-dir-figure figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ab-dir-figure{margin:0 0 28px}
.ab-dir-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:top;border-radius:14px;border:1px solid var(--ab-line)}
.ab-dir-card.has-shot{flex-wrap:wrap;padding-top:0;overflow:hidden}
.ab-dir-card .ab-dir-shot{display:block;flex:0 0 calc(100% + 36px);margin:0 -18px 4px;aspect-ratio:16/9;background-size:cover;background-position:top center;border-bottom:1px solid var(--ab-line)}
.ab-dir-card.has-shot .ab-dir-copy{flex:1;min-width:0}

/* Type labels + coloured top edges on every story card (section, topic, author, related) */
.ab-card-image,.sx-card .img{position:relative}
.sx-card[class*="is-t-"]{border-top-width:3px;border-top-style:solid;border-top-color:var(--ab-line)}
.sx-card.is-t-review,.ab-card.is-t-review,.ab-lead.is-t-review{border-top-color:#1F9D6E}
.sx-card.is-t-comparison,.ab-card.is-t-comparison,.ab-lead.is-t-comparison{border-top-color:#D98E2C}
.sx-card.is-t-guide,.ab-card.is-t-guide,.ab-lead.is-t-guide{border-top-color:var(--ab-accent)}
.sx-card.is-t-news,.ab-card.is-t-news,.ab-lead.is-t-news{border-top-color:#DC2626}
.sx-card.is-t-opinion,.ab-card.is-t-opinion,.ab-lead.is-t-opinion{border-top-color:#7C3AED}
.sx-card.is-t-deal,.ab-card.is-t-deal,.ab-lead.is-t-deal{border-top-color:#DB2777}
.hm-type.is-deal::before{background:#F472B6}
.ab-grid+.ab-lead{margin-top:20px}
.hm-footer-disclaimer{margin:28px 0 0;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.12);font-size:13px;line-height:1.6;color:#94A3B8;max-width:90ch}
.hm-footer-disclaimer a{color:#fff;text-decoration:underline}

/* ---------- Homepage v14: one-screen hero, visual tools and section boxes ---------- */
.hm-hero{padding:20px 0 24px}
@media(min-width:961px){
  .hm-hero-grid{height:clamp(440px,calc(100vh - 205px),600px);grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px}
  .hm-hero-main.is-split{height:100%;min-height:0}
  .hm-hero-main.is-split .hm-hero-media{flex:1 1 auto;aspect-ratio:auto;min-height:150px}
  .hm-hero-main.is-split .hm-hero-copy{flex:0 0 auto;padding:18px 28px 20px}
  .hm-hero .hm-side-stack{height:100%;display:grid;grid-template-rows:auto repeat(3,minmax(0,1fr));gap:10px}
  .hm-hero .hm-side-stack .hm-mini{min-height:0;overflow:hidden}
}
.hm-hero-copy .hm-eyebrow{margin-bottom:8px}
.hm-hero-main.is-split h1{font-size:clamp(24px,2.35vw,34px);line-height:1.1;margin:10px 0 8px;max-width:30ch}
.hm-hero-main.is-split p{font-size:15px;line-height:1.55;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-hero .hm-mini-thumb{padding:12px 14px;grid-template-columns:minmax(0,1fr) 120px;gap:14px;border-radius:12px}
.hm-hero .hm-mini-thumb .hm-thumb{width:120px;height:100%;min-height:72px;max-height:104px;border-radius:9px}
.hm-hero .hm-mini-thumb h3{font-size:15.5px;line-height:1.3;margin:6px 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-hero .hm-mini-thumb .hm-tag{font-size:10px;padding:3px 7px}
@media(max-width:960px){.hm-hero-main.is-split .hm-hero-media{aspect-ratio:16/8}.hm-hero .hm-side-stack>.hm-eyebrow{grid-column:1/-1}}

/* Tools to know: screenshot cards */
.hm-tool-grid{gap:18px}
.hm-tool.is-visual{flex-direction:column;gap:0;padding:0;overflow:hidden;border-radius:16px}
.hm-tool.is-visual:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(10,14,26,.10)}
.hm-tool.is-visual{transition:border-color .15s,box-shadow .2s,transform .2s}
.hm-tool-shot{position:relative;display:block;width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,var(--ab-ink-2),var(--ab-accent)) center/cover no-repeat;border-bottom:1px solid var(--ab-line)}
.hm-tool-shot.no-shot{display:flex;align-items:center;justify-content:center;font-family:var(--ab-display);font-weight:700;font-size:44px;color:rgba(255,255,255,.9);letter-spacing:-.02em}
.hm-tool.is-visual .hm-tool-mark{position:absolute;left:16px;bottom:-22px;width:46px;height:46px;border:3px solid var(--ab-card);box-shadow:0 6px 16px rgba(10,14,26,.18);background:var(--ab-accent)}
.hm-tool-body{display:flex;flex-direction:column;padding:30px 18px 18px;min-width:0;flex:1}
.hm-tool.is-visual strong{font-size:18px}
.hm-tool.is-visual .hm-tool-body>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;color:var(--ab-slate);line-height:1.5;margin-top:4px}
.hm-tool.is-visual em{align-self:flex-start;margin-top:auto;padding:4px 9px;border-radius:5px;background:var(--ab-accent-soft);color:var(--ab-accent-dark)}
.hm-tool-body em{margin-top:12px}

/* Explore every section: photo-led boxes */
.hm-cat-box.is-visual{padding:0;overflow:hidden;border-radius:16px;transition:box-shadow .2s,transform .2s,border-color .15s}
.hm-cat-box.is-visual:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(10,14,26,.10);border-color:var(--ab-accent)}
.hm-cat-cover{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:16/10;padding:16px 18px;background:var(--ab-ink-2) center/cover no-repeat;color:#fff}
.hm-cat-cover::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,14,26,0) 30%,rgba(10,14,26,.85) 100%)}
.hm-cat-cover>*{position:relative}
.hm-cat-cover h3{color:#fff;font-size:21px;margin:0}
.hm-cat-cover small{font-family:var(--ab-mono);font-size:11px;letter-spacing:.06em;color:#D6DCE8}
.hm-cat-count{align-self:flex-start;margin-bottom:auto;font-family:var(--ab-mono);font-size:11px;font-weight:600;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--ab-ink)}
.hm-cat-inner{display:flex;flex-direction:column;flex:1;padding:14px 18px 18px}
.hm-cat-box.is-visual p{margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-cat-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px;padding:0;list-style:none}
.hm-cat-box .hm-cat-chips a{display:inline-block;padding:5px 10px;border-radius:999px;border:1px solid var(--ab-line);font-size:12.5px;color:var(--ab-text);background:var(--ab-paper)}
.hm-cat-box .hm-cat-chips a:hover{border-color:var(--ab-accent);color:var(--ab-accent)}
.hm-tool.is-visual .hm-tool-mark{display:inline-flex;color:#fff;font-size:14px;line-height:1;margin:0}
/* Tablets and small laptops keep the hero side-by-side so it fits on one screen. */
@media(min-width:761px) and (max-width:960px){
  .hm-hero-grid{height:clamp(420px,calc(100vh - 200px),560px);grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px}
  .hm-hero-main.is-split{height:100%;min-height:0}
  .hm-hero-main.is-split .hm-hero-media{flex:1 1 auto;aspect-ratio:auto;min-height:120px}
  .hm-hero-main.is-split .hm-hero-copy{flex:0 0 auto;padding:14px 18px 16px}
  .hm-hero-main.is-split h1{font-size:clamp(20px,2.7vw,26px)}
  .hm-hero-main.is-split p{-webkit-line-clamp:2;font-size:14px}
  .hm-hero .hm-side-stack{height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto repeat(3,minmax(0,1fr));gap:8px}
  .hm-hero .hm-side-stack>.hm-eyebrow{grid-column:auto}
  .hm-hero .hm-side-stack .hm-mini{min-height:0;overflow:hidden}
  .hm-hero .hm-mini-thumb{grid-template-columns:minmax(0,1fr) 84px;gap:10px;padding:10px 12px}
  .hm-hero .hm-mini-thumb .hm-thumb{width:84px;min-height:60px;max-height:80px}
  .hm-hero .hm-mini-thumb h3{font-size:14px}
  .hm-hero .hm-mini-thumb .hm-meta{font-size:11px}
}
