/* ==========================================================
   AB Home Solutions — shared site chrome (header, menu, footer)
   + blog category identity. Loaded by EVERY page.
   All selectors are prefixed .abh- so page-level CSS can't bleed in.
   Edit here, never per page.
   ========================================================== */
:root{
  --abh-navy:#0a1628; --abh-navy-2:#0d1d34; --abh-navy-3:#11243f; --abh-navy-4:#1a3457;
  --abh-gold:#e0a52e; --abh-gold-2:#f2c14e; --abh-cream:#f6f1e7;
  --abh-mist:rgba(246,241,231,.74); --abh-dim:rgba(246,241,231,.55);
  --abh-line:rgba(224,165,46,.28); --abh-line-soft:rgba(246,241,231,.12);
  --abh-display:'Archivo',-apple-system,system-ui,sans-serif;
  --abh-body:'Libre Franklin',-apple-system,system-ui,sans-serif;
  --abh-h:72px;
  /* blog category accents */
  --cat-anti-scam:#ef5a5f; --cat-hiring:#5aa2ff; --cat-roofing:#e08a4f;
  --cat-insurance:#43b883; --cat-maintenance:#2fb8b5;
}

/* ---------- skip link ---------- */
.abh-skip{position:absolute;left:-9999px;top:8px;z-index:200;background:var(--abh-gold);color:var(--abh-navy);padding:10px 16px;border-radius:8px;font:600 14px var(--abh-body)}
.abh-skip:focus{left:12px}

/* ---------- header ---------- */
.abh-header{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--abh-line);font-family:var(--abh-body)}
/* blur lives on a pseudo-layer: backdrop-filter on the header itself would trap the fixed mobile panel */
.abh-header::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(10,22,40,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.abh-header *,.abh-footer *{box-sizing:border-box}
.abh-bar{max-width:1180px;margin:0 auto;padding:0 24px;height:var(--abh-h);display:flex;align-items:center;gap:24px}
.abh-brand{display:inline-flex;align-items:center;gap:11px;color:var(--abh-cream)!important;text-decoration:none;flex-shrink:0}
.abh-brand::after{display:none!important}
.abh-shield{width:28px;height:32px;flex-shrink:0}
.abh-wordmark{font:800 1.06rem/1.05 var(--abh-display);letter-spacing:-.01em;display:flex;flex-direction:column}
.abh-wordmark small{font:700 .62rem/1.3 var(--abh-display);letter-spacing:.18em;text-transform:uppercase;color:var(--abh-gold);margin-top:3px}

.abh-nav{margin-left:auto;display:flex;align-items:center;gap:22px}
.abh-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.abh-menu>li{position:relative;margin:0;padding:0}
.abh-link{white-space:nowrap}
@media (min-width:1081px) and (max-width:1260px){.abh-nav{gap:14px}.abh-link{padding:10px 8px;font-size:.88rem}.abh-nav .abh-cta{padding:10px 14px;font-size:.82rem}}
.abh-link{display:inline-flex;align-items:center;gap:5px;padding:10px 12px;border-radius:8px;font:500 .92rem var(--abh-body);color:var(--abh-mist)!important;text-decoration:none;background:none;border:0;cursor:pointer;position:relative;transition:color .2s,background .2s}
.abh-link::after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:var(--abh-gold);transform:scaleX(0);transition:transform .25s;width:auto!important}
.abh-link svg{width:12px;height:12px;transition:transform .2s}
.abh-link:hover,.abh-link:focus-visible{color:var(--abh-cream)!important;background:rgba(246,241,231,.05)}
.abh-link.is-active{color:var(--abh-gold)!important}
.abh-link.is-active::after{transform:scaleX(1)}
.abh-link:focus-visible,.abh-cta:focus-visible,.abh-sub a:focus-visible,.abh-burger:focus-visible{outline:2px solid var(--abh-gold);outline-offset:2px}

/* dropdown */
.abh-sub{list-style:none;margin:0;padding:8px;position:absolute;top:calc(100% + 8px);left:-8px;min-width:292px;background:var(--abh-navy-2);border:1px solid var(--abh-line);border-radius:14px;box-shadow:0 24px 60px -20px rgba(0,0,0,.65);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}
.abh-sub li{margin:0}
.abh-sub a{display:block;padding:11px 13px;border-radius:9px;text-decoration:none;color:var(--abh-cream)!important}
.abh-sub a::after{display:none!important}
.abh-sub a strong{display:block;font:700 .92rem var(--abh-display)}
.abh-sub a span{display:block;font:400 .8rem/1.35 var(--abh-body);color:var(--abh-dim);margin-top:2px}
.abh-sub a:hover,.abh-sub a.is-active{background:rgba(224,165,46,.1)}
.abh-sub a.is-active strong{color:var(--abh-gold)!important}
.abh-has-sub.is-open>.abh-sub{opacity:1;visibility:visible;transform:none}
.abh-has-sub.is-open>.abh-link svg{transform:rotate(180deg)}
@media (hover:hover) and (min-width:981px){
  .abh-has-sub:hover>.abh-sub{opacity:1;visibility:visible;transform:none}
  .abh-has-sub:hover>.abh-link svg{transform:rotate(180deg)}
}

/* CTA */
.abh-cta{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:11px 18px;border-radius:999px;background:var(--abh-gold);color:var(--abh-navy)!important;font:700 .86rem var(--abh-display);letter-spacing:.01em;text-decoration:none;box-shadow:0 10px 26px -12px rgba(224,165,46,.7);transition:transform .2s,background .2s}
.abh-cta::after{display:none!important}
.abh-cta:hover{background:var(--abh-gold-2);transform:translateY(-1px)}

/* burger */
.abh-burger{display:none;margin-left:auto;width:44px;height:44px;border-radius:10px;border:1px solid var(--abh-line);background:transparent;cursor:pointer;position:relative;padding:0}
.abh-burger span{position:absolute;left:12px;right:12px;height:2px;border-radius:2px;background:var(--abh-cream);transition:transform .25s,opacity .2s,top .25s}
.abh-burger span:nth-child(1){top:15px}.abh-burger span:nth-child(2){top:21px}.abh-burger span:nth-child(3){top:27px}
.abh-open .abh-burger span:nth-child(1){top:21px;transform:rotate(45deg)}
.abh-open .abh-burger span:nth-child(2){opacity:0}
.abh-open .abh-burger span:nth-child(3){top:21px;transform:rotate(-45deg)}

@media (max-width:1080px){
  .abh-burger{display:block}
  .abh-nav{position:fixed;left:0;right:0;top:var(--abh-h);bottom:0;margin:0;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 32px;background:var(--abh-navy);border-top:1px solid var(--abh-line);overflow-y:auto;transform:translateX(100%);visibility:hidden;transition:transform .28s ease,visibility .28s}
  .abh-open .abh-nav{transform:none;visibility:visible}
  .abh-menu{flex-direction:column;align-items:stretch;gap:0}
  .abh-menu>li{border-bottom:1px solid var(--abh-line-soft)}
  .abh-link{width:100%;justify-content:space-between;padding:16px 4px;font-size:1.05rem;border-radius:0}
  .abh-link::after{display:none}
  .abh-link.is-active{background:none}
  .abh-sub{position:static;min-width:0;opacity:1;visibility:visible;transform:none;display:none;border:0;box-shadow:none;background:transparent;padding:0 0 10px}
  .abh-has-sub.is-open>.abh-sub{display:block}
  .abh-sub a{padding:10px 12px}
  .abh-cta{margin-top:22px;padding:15px 20px;font-size:.95rem}
  body.abh-lock{overflow:hidden}
}
@media (max-width:420px){.abh-bar{padding:0 16px}.abh-wordmark{font-size:.98rem}}

/* ---------- footer ---------- */
.abh-footer{background:#06101e;border-top:1px solid var(--abh-line);color:var(--abh-mist);font-family:var(--abh-body);margin:0;padding:0}
.abh-fwrap{max-width:1180px;margin:0 auto;padding:64px 24px 40px;display:grid;grid-template-columns:1.1fr 2fr;gap:48px}
.abh-fbrand p{margin:16px 0 22px;font-size:.93rem;line-height:1.6;max-width:34ch;color:var(--abh-mist)}
.abh-fcols{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.abh-footer h2{font:700 .72rem var(--abh-display)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--abh-gold)!important;margin:0 0 16px!important}
.abh-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.abh-footer li{margin:0;font-size:.92rem}
.abh-footer ul a{color:var(--abh-mist)!important;text-decoration:none;transition:color .2s}
.abh-footer ul a::after{display:none!important}
.abh-footer ul a:hover{color:var(--abh-gold)!important}
.abh-fbase{border-top:1px solid var(--abh-line-soft);max-width:1180px;margin:0 auto;padding:20px 24px 30px}
.abh-fbase p{margin:0;font-size:.8rem;line-height:1.5;color:var(--abh-dim)}
.abh-fbase a{color:var(--abh-mist);text-decoration:underline;text-underline-offset:2px}
.abh-fbase a:hover{color:var(--abh-gold)}
@media (max-width:880px){.abh-fwrap{grid-template-columns:1fr;gap:36px}}
@media (max-width:560px){.abh-fcols{grid-template-columns:1fr 1fr}.abh-fcols>div:last-child{grid-column:1/-1}}

/* ==========================================================
   Blog category identity — each topic gets its own color,
   icon and cover, so posts no longer look like the same page.
   Driven by data-cat on <body> (posts) or .ccard (blog index).
   ========================================================== */
[data-cat="anti-scam"]{--cat:var(--cat-anti-scam)}
[data-cat="hiring"]{--cat:var(--cat-hiring)}
[data-cat="roofing"]{--cat:var(--cat-roofing)}
[data-cat="insurance"]{--cat:var(--cat-insurance)}
[data-cat="maintenance"]{--cat:var(--cat-maintenance)}

/* post hero */
body[data-cat] .hero{position:relative;overflow:hidden;background:
  radial-gradient(90% 120% at 100% 0%,color-mix(in srgb,var(--cat) 26%,transparent),transparent 60%),
  linear-gradient(180deg,#0a1628 0%,#0d1d34 100%)!important;border-bottom:3px solid var(--cat)}
body[data-cat] .hero .tax{background:color-mix(in srgb,var(--cat) 18%,transparent)!important;color:var(--cat)!important;border-color:color-mix(in srgb,var(--cat) 55%,transparent)!important}
body[data-cat] .hero .wrap{max-width:1080px!important}
body[data-cat] .hero .tax{display:inline-block;padding:6px 12px;border-radius:999px;border:1px solid;margin-bottom:16px}
.abh-cover{display:block;width:100%;height:auto;aspect-ratio:1200/630;border-radius:16px;margin-top:28px!important;border:1px solid color-mix(in srgb,var(--cat) 45%,transparent);box-shadow:0 30px 70px -30px rgba(0,0,0,.7);margin-top:8px;background:#0d1d34}
body[data-cat] .article a:not(.btn):not(.abh-cta){text-decoration-color:var(--cat)}
body[data-cat] .article h2::before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--cat);margin-right:10px;vertical-align:middle}

/* blog index cards */
.ccard[data-cat]{border-top:3px solid var(--cat)!important}
.ccard[data-cat] .tax{color:var(--cat)!important}
.ccard .cc-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:72% 45%}
.ccard[data-cat] .tdot{background:var(--cat)!important}

/* ---------- mobile safety net (fixes pre-existing sideways scroll on /start, /homeguard, /guide-download) ---------- */
@media (max-width:560px){
  .btn{white-space:normal;text-align:center;max-width:100%}
  .card,.formcard,.reveal{min-width:0;max-width:100%}
  .formcard{padding:28px 20px}
  h1,h2,h3{overflow-wrap:break-word}
}

/* ==========================================================
   Post colour themes — body[data-theme] = navy | light | burgundy
   Navy is the default look. Light = white page with navy type.
   Burgundy = deep wine + gold, matching Contractor Clarity™.
   ========================================================== */
:root{--burg:#5a1527; --burg-800:#44101d; --burg-700:#330c16; --burg-600:#7a2236}

/* LIGHT */
body[data-cat][data-theme="light"] .hero{background:
  radial-gradient(80% 120% at 100% 0%,color-mix(in srgb,var(--cat) 16%,transparent),transparent 60%),
  linear-gradient(180deg,#ffffff 0%,#f3eee3 100%)!important;color:#0a1628}
body[data-theme="light"] .hero h1{color:#0a1628}
body[data-theme="light"] .hero .postmeta{color:#41506a}
body[data-theme="light"] .hero .crumb,body[data-theme="light"] .hero .crumb a{color:#8a5d0a}
body[data-cat][data-theme="light"] .hero .tax{color:color-mix(in srgb,var(--cat) 45%,#0a1628)!important;background:color-mix(in srgb,var(--cat) 14%,#fff)!important}
body[data-theme="light"] .article{background:#fff}
body[data-theme="light"] .why{background:var(--cream-soft)}
body[data-theme="light"] .abh-cover{box-shadow:0 24px 50px -28px rgba(10,22,40,.45)}

/* BURGUNDY */
body[data-cat][data-theme="burgundy"] .hero{background:
  radial-gradient(90% 130% at 100% 0%,rgba(224,165,46,.20),transparent 58%),
  linear-gradient(180deg,var(--burg) 0%,var(--burg-700) 100%)!important;border-bottom-color:var(--gold)}
body[data-cat][data-theme="burgundy"] .hero .tax{color:var(--gold-bright)!important;background:rgba(224,165,46,.14)!important;border-color:rgba(224,165,46,.5)!important}
body[data-theme="burgundy"] .hero .crumb,body[data-theme="burgundy"] .hero .crumb a{color:var(--gold-bright)}
body[data-theme="burgundy"] .article{--navy:var(--burg);--navy-800:var(--burg-800);background:var(--cream-soft)}
body[data-theme="burgundy"] .article .why{border-left-color:var(--gold)}
body[data-theme="light"] .article em,body[data-theme="light"] .article .hook em{color:#8a5d0a}

/* ==========================================================
   Readability — posts read like articles, not posters
   ========================================================== */
body[data-cat] .hero h1{text-transform:none!important;letter-spacing:-.015em!important;line-height:1.1!important}
body[data-cat] .article h2{text-transform:none;letter-spacing:-.01em;line-height:1.2;margin-top:8px}
body[data-cat] .article h3{line-height:1.25}
body[data-cat] .article .prose p,body[data-cat] .bottomline p,body[data-cat] .why p{color:#26323f}
body[data-cat] .article .prose p{font-size:1.08rem;line-height:1.75}
body[data-cat] .flag{margin-bottom:42px}
@media (max-width:620px){body[data-cat] .article .prose p{font-size:1.04rem}}

/* "At a glance" jump box */
.abh-toc{background:#fff;border:1px solid rgba(10,22,40,.1);border-radius:14px;padding:22px 24px;margin:0 0 44px;box-shadow:0 14px 34px -26px rgba(10,22,40,.5)}
.abh-toc-lbl{font-family:var(--font-display);font-weight:700;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:14px}
.abh-toc ol{list-style:none;counter-reset:s;display:grid;gap:11px;margin:0;padding:0}
.abh-toc li{counter-increment:s;display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start}
.abh-toc li::before{content:counter(s);width:26px;height:26px;border-radius:8px;background:var(--navy);color:var(--gold-bright);font:800 .82rem/26px var(--font-display);text-align:center}
.abh-toc a{color:var(--navy);font-weight:600;text-decoration:none;line-height:1.4;font-size:1rem}
.abh-toc a:hover{text-decoration:underline}
.abh-toc .abh-toc-jump{display:inline-block;margin-top:16px;font-size:.92rem;font-weight:700;color:var(--gold-deep)}
body[data-theme="light"] .abh-toc{background:var(--cream-soft)}
body[data-theme="burgundy"] .abh-cover{border-color:rgba(224,165,46,.45);background:#330c16}
body[data-theme="light"] .abh-cover{background:#fff}

/* ==========================================================
   UI polish pass (Oct 2026) — page-by-page audit fixes
   ========================================================== */
/* icons inside pills/buttons never size themselves */
.tag svg{width:15px;height:15px;flex:none}
.hero .tag{max-width:100%;line-height:1.35}
.btn svg{width:18px;height:18px;flex:none}
.hero h1{text-wrap:balance}
h3,h4{line-height:1.2}
.section{padding:clamp(56px,7vw,96px) 0}
/* gold labels readable on cream/white */
.section--light .eyebrow,.section--cream-soft .eyebrow{color:#8a5d0a}
.section--light .eyebrow::before,.section--cream-soft .eyebrow::before{background:#8a5d0a}
.section--light .flag strong{color:var(--ink)}
@media (max-width:620px){
  .g4{grid-template-columns:1fr!important}
  .step{grid-template-columns:1fr!important;gap:14px!important;padding:22px 20px!important}
  .step .num{width:44px;height:44px;font-size:1.2rem}
}
@media (max-width:560px){
  .cta-row .btn{width:100%;justify-content:center;text-align:center}
}

/* ---- Home ---- */
body[data-page="index"]{--gold:#e0a52e;--gold-bright:#f2c14e;--cream:#f6f1e7;--line:rgba(224,165,46,.28);font-family:var(--font-body,'Libre Franklin'),system-ui,sans-serif}
body[data-page="index"] .post h3,body[data-page="index"] .mission .big{font-family:'Archivo',system-ui,sans-serif}
body[data-page="index"] .signup h2 em{font-family:inherit;font-weight:inherit}
body[data-page="index"] .btn{border-radius:10px}
body[data-page="index"] .btn-ghost{color:var(--cream);border-color:rgba(246,241,231,.35)}
body[data-page="index"] .btn-ghost:hover{background:rgba(246,241,231,.08);color:var(--cream);border-color:var(--cream)}
body[data-page="index"] .hero-card h3{line-height:1.15;text-wrap:balance}
body[data-page="index"] .signup .box{text-align:center}
body[data-page="index"] .signup .box .btn{display:inline-flex!important;justify-content:center}
body[data-page="index"] .signup h2{margin-top:14px}
@media (min-width:901px){
  body[data-page="index"] .services{grid-template-columns:repeat(6,1fr)}
  body[data-page="index"] .services>*{grid-column:span 2}
  body[data-page="index"] .services>*:nth-last-child(-n+2){grid-column:span 3}
}
@media (min-width:521px) and (max-width:900px){body[data-page="index"] .services>*:last-child{grid-column:span 2}}
@media (max-width:520px){
  body[data-page="index"] .trust .wrap{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:16px 20px}
  body[data-page="index"] .trust .item{font-size:11.5px}
  body[data-page="index"] .hg-tiles{grid-template-columns:1fr}
}

/* ---- About ---- */
.section--light .value{background:#fff;border-color:rgba(10,22,40,.08)}
.section--light .value h4{color:var(--navy)}
.section--light .value p{color:var(--ink-soft)}
.compare h4 svg{width:20px;height:20px;flex:none}

/* ---- Blog index ---- */
body[data-page="blog"] .feature-wrap .meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.88rem;color:var(--mist-dim)}
body[data-page="blog"] .meta .dot{display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor}
body[data-page="blog"] .feature-art img{object-position:left top}
body[data-page="blog"] .feature-badge{left:auto;right:18px}
body[data-page="blog"] .sit .sit-tag,body[data-page="blog"] .feature-badge,body[data-page="blog"] .route .r-badge{font-size:.72rem}
body[data-page="blog"] .tax{font-size:.72rem}
body[data-page="blog"] .a11y-btn{font-size:.78rem}
body[data-page="blog"] .ccard .meta,body[data-page="blog"] .post .meta{font-size:.85rem}
body[data-page="blog"] .answer:not(.open){margin-top:-14px}
body[data-page="blog"] .triage-sec{padding-bottom:clamp(40px,6vw,64px)}
body[data-page="blog"] .carousel{-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent);mask-image:linear-gradient(90deg,#000 92%,transparent)}

/* ---- Resources ---- */
body[data-page="resources"] .res .soon,body[data-page="resources"] .res .get{justify-self:start}
body[data-page="resources"] .res .get{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
body[data-page="resources"] .ico{background:rgba(224,165,46,.18);border:1px solid rgba(224,165,46,.25)}

/* ---- References ---- */
body[data-page="references"] .ref-block h3{display:flex;align-items:center;gap:10px}
body[data-page="references"] .ref-block h3 svg{width:22px;height:22px;flex:none;color:#8a5d0a}
body[data-page="references"] .ref-block ul{max-width:80ch}

/* ---- Start ---- */
body[data-page="start"] .benefits h4{line-height:1.25;margin-bottom:2px}
@media (max-width:620px){body[data-page="start"] .formcard .btn{font-size:.82rem;letter-spacing:.04em;padding-inline:16px}}

/* ---- Confirmation pages (thank-you, guide-download, pro-welcome) ---- */
.ty h1{font-size:clamp(2rem,4.4vw,3.2rem)!important;max-width:22ch;margin-inline:auto}
.ty .check{width:64px!important;height:64px!important;margin-bottom:20px!important}
.ty .check svg{width:32px!important;height:32px!important}
.ty .cta-row .btn{width:100%;max-width:340px;justify-content:center}
body[data-page="thank-you"] .hero,body[data-page="guide-download"] .hero,body[data-page="pro-welcome"] .hero{padding-top:clamp(40px,6vw,72px)!important}

/* ---- Pro ---- */
body[data-page="pro"] .pricing-head,body[data-page="pro"] #join .sec-head{text-align:center}
body[data-page="pro"] #join .eyebrow{justify-content:center}

/* ---- Roof cost checker ---- */
body[data-page="roof-cost"] .hero .fine{color:var(--mist);font-size:.92rem}
body[data-page="roof-cost"] .range{font-size:clamp(1.7rem,8vw,3.1rem)}
@media (min-width:901px){body[data-page="roof-cost"] .tool>*:last-child{position:sticky;top:96px}}

/* ---- Blog posts ---- */
body[data-cat] .related h2{margin-top:48px}
body[data-cat] .article h2{margin-top:44px}
body[data-theme="burgundy"] .article h2::before{background:var(--gold)}
body[data-cat] .hero .crumb{margin-bottom:14px}
@media (min-width:900px){.abh-cover{aspect-ratio:1200/420;object-fit:cover;object-position:70% 0%}}
body[data-cat] .article .why .lbl,body[data-cat] .abh-toc-lbl,body[data-cat] .abh-toc .abh-toc-jump,body[data-cat] .rcard .tax{color:#8a5d0a}
body[data-cat] .mistakes li::after{left:0;top:7px;width:15px;height:15px;line-height:15px;text-align:center;font-size:.6rem}
body[data-theme="light"] .rcard{background:var(--cream-soft);border-color:rgba(10,22,40,.12)}
body[data-page="blog"] .ccard .meta{flex-wrap:wrap;row-gap:4px}
body[data-page="blog"] .ccard .meta>*{white-space:nowrap}
body[data-page="homeguard"] .bundle-strip .btn-navy-solid{background:transparent;border:1px solid rgba(246,241,231,.5);color:var(--cream)}
body[data-page="homeguard"] .bundle-strip .btn-navy-solid:hover{background:rgba(246,241,231,.1)}
@media (min-width:881px){body[data-page="homeguard"] .price-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-inline:auto}}

/* Images keep their real shape: width/height attributes only reserve space, CSS width never stretches them */
:where(img){max-width:100%;height:auto}

/* ---------- gentle CTA card (site.js) ---------- */
.abh-pop{position:fixed;right:20px;bottom:20px;z-index:95;width:min(370px,calc(100vw - 24px));display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;background:#fff;color:#0a1628;border:1px solid #e7e0d1;border-radius:18px;padding:18px 18px 16px;box-shadow:0 30px 60px -22px rgba(10,22,40,.45);font-family:'Libre Franklin',system-ui,sans-serif;opacity:0;transform:translateY(22px);transition:opacity .45s cubic-bezier(.2,.8,.2,1),transform .45s cubic-bezier(.2,.8,.2,1)}
.abh-pop.show{opacity:1;transform:none}
.abh-pop::before{content:"";position:absolute;left:18px;right:18px;top:-1px;height:3px;border-radius:0 0 3px 3px;background:#e0a52e}
.abh-pop-ic{width:44px;height:44px;border-radius:12px;background:#f6f1e7;color:#a8730f;display:grid;place-items:center}
.abh-pop-ic svg{width:22px;height:22px}
.abh-pop-t{margin:2px 28px 4px 0;font:800 1.02rem/1.25 'Archivo',system-ui,sans-serif;letter-spacing:-.01em;color:#0a1628}
.abh-pop-p{margin:0;font-size:.88rem;line-height:1.5;color:#4b5870}
.abh-pop-a{display:flex;align-items:center;gap:14px;margin-top:12px;flex-wrap:wrap}
.abh-pop-go{display:inline-flex;align-items:center;background:#0a1628;color:#fff!important;text-decoration:none;font:700 .86rem 'Archivo',system-ui,sans-serif;padding:10px 15px;border-radius:10px;transition:background .2s,transform .15s}
.abh-pop-go:hover{background:#11243f;transform:translateY(-1px)}
.abh-pop-no{appearance:none;border:0;background:none;padding:6px 2px;font:600 .84rem 'Libre Franklin',system-ui,sans-serif;color:#4b5870;cursor:pointer}
.abh-pop-no:hover{color:#0a1628;text-decoration:underline}
.abh-pop-x{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;border:0;background:transparent;color:#4b5870;font:400 1.4rem/1 system-ui,sans-serif;cursor:pointer}
.abh-pop-x:hover{background:#f6f1e7;color:#0a1628}
.abh-pop button:focus-visible,.abh-pop a:focus-visible{outline:3px solid #e0a52e;outline-offset:2px}
@media(max-width:600px){
 .abh-pop{left:12px;right:12px;bottom:12px;width:auto;grid-template-columns:38px 1fr;gap:12px;padding:15px 14px 13px}
 .abh-pop-ic{width:38px;height:38px;border-radius:10px}.abh-pop-ic svg{width:19px;height:19px}
 .abh-pop-p{font-size:.85rem}
}
@media (prefers-reduced-motion:reduce){.abh-pop{transition:none}}
@media print{.abh-pop{display:none}}

/* ---------- blog cards on the selling pages (site.js) ---------- */
.abh-pop--blog{grid-template-columns:1fr;width:min(380px,calc(100vw - 24px))}
.abh-pop-body{min-width:0}
.abh-pop-eb{display:flex;align-items:center;gap:8px;margin:0 30px 8px 0;font:700 .72rem 'Archivo',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#a8730f}
.abh-pop-eb i{width:8px;height:8px;border-radius:50%;background:#e0a52e;transition:background .3s}
.abh-sub{margin:-2px 0 10px!important}
/* 1 · "Did you know?" flip card */
.abh-flip{perspective:900px}
.abh-flip-in{display:grid;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.3,1.3,.5,1)}
.abh-flip-in.flipped{transform:rotateY(180deg)}
.abh-face{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;min-width:0}
.abh-back{transform:rotateY(180deg)}
.abh-front .abh-pop-t{font-size:1.18rem;margin-right:0}
.abh-fact{font-size:.95rem!important;color:#0a1628!important;line-height:1.5}
.abh-from{margin:8px 0 0;font-size:.78rem;color:#4b5870;font-style:italic}
.abh-flip-btn{border:0;cursor:pointer}
/* 2 · quick-reads stack */
.abh-stack{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:2px -4px 0;padding:4px 4px 6px;scrollbar-width:none}
.abh-stack::-webkit-scrollbar{display:none}
.abh-mini{flex:none;width:78%;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:#0a1628!important;background:#fbf9f4;border:1px solid #e7e0d1;border-radius:14px;padding:13px 14px;position:relative;overflow:hidden;transition:transform .25s,border-color .25s;animation:abhmini .6s cubic-bezier(.2,.9,.3,1.1) both;animation-delay:calc(.25s + var(--k)*.09s)}
.abh-mini::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--c)}
.abh-mini:hover{transform:translateY(-2px);border-color:var(--c)}
.abh-mini-c{display:inline-flex;align-items:center;gap:6px;font:700 .7rem 'Archivo',system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#4b5870}
.abh-mini-c svg{width:15px;height:15px;color:var(--c)}
.abh-mini b{font:800 .95rem/1.3 'Archivo',system-ui,sans-serif;letter-spacing:-.01em}
.abh-mini-r{margin-top:auto;font:600 .78rem 'Libre Franklin',system-ui,sans-serif;color:#a8730f}
.abh-stack-foot{justify-content:space-between;margin-top:8px}
.abh-dots{display:inline-flex;gap:6px}
.abh-dots i{width:7px;height:7px;border-radius:50%;background:#e2dac6;cursor:pointer;transition:background .25s,width .25s}
.abh-dots i.on{background:#0a1628;width:18px;border-radius:4px}
@keyframes abhmini{from{opacity:0;transform:translateX(30px) rotate(2deg)}}
/* 3 · "What's on your mind?" picker */
.abh-chips{display:flex;flex-wrap:wrap;gap:7px}
.abh-chip{appearance:none;border:1.5px solid #e7e0d1;background:#fff;border-radius:100px;padding:7px 12px;font:600 .82rem 'Libre Franklin',system-ui,sans-serif;color:#0a1628;cursor:pointer;transition:border-color .2s,background .2s,transform .15s}
.abh-chip:hover{border-color:#e0a52e;transform:translateY(-1px)}
.abh-chip.on{background:#0a1628;border-color:#0a1628;color:#fff}
.abh-pick:empty{display:none}
.abh-pick-card{display:grid;grid-template-columns:38px 1fr;gap:12px;margin-top:12px;text-decoration:none;color:#0a1628!important;background:#fbf9f4;border:1px solid #e7e0d1;border-left:4px solid var(--c);border-radius:12px;padding:12px;animation:abhpick .45s cubic-bezier(.2,.9,.3,1.1)}
.abh-pick-card:hover{border-color:var(--c)}
.abh-pick-ic{width:38px;height:38px;border-radius:10px;background:#fff;color:var(--c);display:grid;place-items:center;border:1px solid #e7e0d1}
.abh-pick-ic svg{width:20px;height:20px}
.abh-pick-card b{display:block;font:800 .93rem/1.3 'Archivo',system-ui,sans-serif}
.abh-pick-x{display:block;margin:4px 0 6px;font-size:.82rem;line-height:1.45;color:#4b5870}
@keyframes abhpick{from{opacity:0;transform:translateY(8px) scale(.98)}}
/* keep clear of HomeGuard's sticky buy bar */
body:has(.g-bar.show) .abh-pop{bottom:86px}
@media(max-width:600px){.abh-pop--blog{width:auto}.abh-mini{width:84%}body:has(.g-bar.show) .abh-pop{bottom:80px}}
@media (prefers-reduced-motion:reduce){.abh-flip-in{transition:none}.abh-mini,.abh-pick-card{animation:none}}

/* ---------- game prompts (site.js) ---------- */
.abh-gm-row{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:center}
.abh-gm-row .abh-pop-t{margin-right:0}
.abh-gm-grid{display:grid;grid-template-columns:repeat(3,22px);gap:3px}
.abh-gm-grid i{width:22px;height:22px;border:1.5px solid #e0a52e;border-radius:4px;background:#fdf3dc;font:800 .72rem/19px 'Archivo',system-ui,sans-serif;font-style:normal;text-align:center;color:transparent;animation:abhtype 4.8s steps(1) infinite;animation-delay:calc(var(--k)*.32s)}
@keyframes abhtype{0%{color:transparent;background:#fdf3dc}12%,82%{color:#0a1628;background:#fff}100%{color:transparent}}
.abh-gm-flags{position:relative;height:60px}
.abh-gm-flags i{position:absolute;bottom:0;width:3px;height:44px;background:#0a1628;border-radius:2px;transform-origin:bottom;animation:abhflag 2.4s ease-in-out infinite}
.abh-gm-flags i::after{content:"";position:absolute;left:3px;top:0;width:22px;height:14px;background:#d64545;clip-path:polygon(0 0,100% 0,78% 50%,100% 100%,0 100%)}
.abh-gm-flags i:nth-child(1){left:8px;height:36px;animation-delay:.2s}.abh-gm-flags i:nth-child(2){left:30px;height:50px}.abh-gm-flags i:nth-child(3){left:52px;height:30px;animation-delay:.5s}
@keyframes abhflag{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
.abh-gm-opts{display:grid;gap:7px;margin-top:10px}
.abh-gm-opt{appearance:none;text-align:left;font:600 .88rem 'Libre Franklin',system-ui,sans-serif;color:#0a1628;background:#fbf9f4;border:1.5px solid #e7e0d1;border-radius:10px;padding:9px 12px;cursor:pointer;transition:border-color .2s,transform .15s}
.abh-gm-opt:hover:not(:disabled){border-color:#e0a52e;transform:translateX(3px)}
.abh-gm-opt:disabled{cursor:default}
.abh-gm-opt.r{background:#e2f4ea;border-color:#2e9e6a}
.abh-gm-opt.w{background:#fde3e3;border-color:#d64545}
.abh-gm-why:empty{display:none}
.abh-gm-why{margin-top:10px;font-size:.86rem;line-height:1.45;color:#4b5870;border-left:3px solid #e0a52e;padding:2px 0 2px 10px}
.abh-gm-why b{color:#0a1628}
@media (prefers-reduced-motion:reduce){.abh-gm-grid i{animation:none;color:#0a1628;background:#fff}.abh-gm-flags i{animation:none}}

/* In-page jumps (see the last block of site.js): land below the sticky
   header, and dip to the section's color on long jumps instead of racing. */
html{scroll-padding-top:var(--abh-hdr,88px);scroll-behavior:auto}
.abh-veil{position:fixed;inset:0;z-index:99;pointer-events:none;opacity:0;transition:opacity .32s ease}
.abh-veil.on{opacity:1;transition:opacity .16s ease-out}
.abh-landed:focus{outline:none}
