/*! Heropost Blog v2 — styles.
 * Part 1 is generated from the owner-approved blog mock-ups (hero/blog/index.html + the article page, Sep 29 2026;
 * mock index.html md5 b89c63f763a76e87bc23bb5983c41cb1) by blog-theme/_build/extract-css.mjs: only the rules the theme's templates use,
 * in the mock's order, with the mock's own comments. Part 2 = theme additions (WordPress content, accessibility,
 * phone menu, admin bar). Fonts: Inter + Rubik (Google Fonts, enqueued in functions.php). */

/* Tokens copied from webfrontend src/pages/Home/Home.css (.hpai-home dark) — do not approximate. */
:root{
  --text:#FFFFFF; --text-2:rgba(255,255,255,.78); --a-link:#38BDF8;
}
*{box-sizing:border-box} html,body{margin:0;background:#000;color:var(--text);font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;-webkit-font-smoothing:antialiased}
button{font-family:inherit}

/* ── Site nav (website, not app) ── */
.nav{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:50;width:min(1120px,calc(100% - 28px));height:54px;display:flex;align-items:center;gap:26px;padding:0 10px 0 18px;border-radius:14px;background:rgba(14,14,16,.55);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);border:1px solid rgba(255,255,255,.07)}
.nav img{height:24px;display:block}
.nav .links{display:flex;gap:22px;font-size:14px;font-weight:500;color:var(--text-2)}
.nav .links span{cursor:default}
.nav .right{margin-left:auto;display:flex;align-items:center;gap:14px;font-size:14px;font-weight:500}
.nav .login{color:var(--text-2)}
.btn-solid{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:9px;background:#fff;color:#0B0B0F;font-weight:600;font-size:13.5px;border:none;cursor:pointer}
/* from the sign-up sheet (email-code step): these generic .links rules also match the nav's .links — a 4px drop; their link colour is overridden in the mega-menu block */
.links{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;font-size:12.5px;margin-top:4px}.links a{color:var(--a-link);cursor:pointer}

/* phones: the nav drops its menu links (the theme adds a menu button, see the additions) */

@media (max-width:768px){
  .nav .links{display:none} .nav{gap:12px}
}

/* ===================== HOMEPAGE SECTIONS (dark-first) ===================== */
.ic{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.cont{max-width:1200px;margin:0 auto;padding:0 24px}
.sec{position:relative;padding:120px 0;background:#000}
.head{max-width:760px;margin-bottom:52px}
.head p{font-size:17.5px;line-height:1.55;color:rgba(255,255,255,.7);margin:0}
.tlink{color:#00FFC2;font-size:14.5px;font-weight:500;text-decoration:none}
.btn-solid{text-decoration:none}
/* global figure / figcaption rules (from the Hero_Photo chapter) */
figure{margin:0}
figcaption{font-size:12px;color:rgba(255,255,255,.55);margin-top:8px}

/* 13 footer */
.foot{background:#000;border-top:1px solid rgba(255,255,255,.07);padding:64px 0 28px}
.fgrid{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:24px}
.fcol{display:flex;flex-direction:column;gap:9px}.fcol b{font-size:13px;margin-bottom:4px}
.fcol a{font-size:13.5px;color:rgba(255,255,255,.6);cursor:pointer}
.fcol.brand img{height:26px;align-self:flex-start}.fcol.brand p{font-size:13.5px;color:rgba(255,255,255,.6);margin:8px 0 0;max-width:260px}.fcol .fm{font-size:12px!important;color:rgba(255,255,255,.45)!important}
.hpx{display:inline-flex;align-items:center;gap:8px}.hpx img{width:18px;height:18px}
.fbot{display:flex;justify-content:space-between;margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.06);font-size:12.5px;color:rgba(255,255,255,.45)}
.fbot a{color:rgba(255,255,255,.55)}

/* mega-menu — Shaun's reference 3 (Strand) */
.navdd{position:relative}
.mega{position:absolute;top:36px;left:-30px;width:760px;display:none;grid-template-columns:1.15fr .85fr;gap:10px;padding:10px;border-radius:16px;background:rgba(18,18,21,.96);border:1px solid rgba(255,255,255,.09);box-shadow:0 30px 70px rgba(0,0,0,.6)}
.navdd:hover .mega{display:grid}
.mg-l{display:grid;grid-template-rows:repeat(3,1fr);gap:6px}
.mg-card{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:12px;border-radius:12px;color:#fff;text-decoration:none}
.mg-card:hover{background:rgba(255,255,255,.06)}
.mg-card .gi{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center}
.mg-card .gi video,.mg-card .gi img{width:30px;height:30px;object-fit:cover}
.mg-card b{font-size:14.5px;display:block}.mg-card em{font-style:normal;font-size:12.5px;color:rgba(255,255,255,.55)}
.mg-r{border-left:1px solid rgba(255,255,255,.07);padding:6px 6px 6px 14px}
.mg-r .mh{font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:rgba(255,255,255,.45);margin:4px 0 8px}
.mg-r a{display:flex;align-items:center;gap:10px;padding:7px 6px;border-radius:8px;font-size:13.5px;color:rgba(255,255,255,.82);text-decoration:none}
.mg-r a:hover{background:rgba(255,255,255,.05)}.mg-r a .ic{width:16px;height:16px;color:#00FFC2}
.mg-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.04);font-size:13px;color:rgba(255,255,255,.7)}
.mg-foot a{color:#00FFC2;text-decoration:none;font-weight:500}

@media (max-width:900px){.fgrid{grid-template-columns:1fr 1fr}
}
.navdd.open .mega{display:grid}
.navdd::after{content:'';position:absolute;left:-20px;right:-20px;top:100%;height:18px}
/* one-colour AI-tool logos (Cursor) turn white */
img.mono{filter:invert(1)}
/* mega-menu links beat the sheet's global .links a colour */
.nav .links .mega a.mg-card{color:#fff}.nav .links .mega a.mg-card b{color:#fff}
.nav .links .mega .mg-r a{color:rgba(255,255,255,.82)}.nav .links .mega .mg-foot a{color:#00FFC2}
.mg-l{grid-template-rows:none;align-content:space-evenly}

/* ===================== TITLE SYSTEM (Lumyn / Verity / Vantiss pattern) ===================== */
.eyebrow2{display:inline-flex;align-items:center;gap:8px;font:500 11.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.14);border-radius:7px;padding:6px 10px;background:rgba(255,255,255,.03)}
.eyebrow2 i{width:6px;height:6px;border-radius:50%;background:#00FFC2;box-shadow:0 0 8px #00FFC2}
.head.split{display:flex;justify-content:space-between;align-items:flex-end;gap:56px;max-width:none}
.head.split>div{max-width:760px}
@media (max-width:900px){.head.split{flex-direction:column;align-items:flex-start;gap:16px}}
/* review tweaks */
.head.split>div{flex:1 1 auto;min-width:0}

/* ===================== FILM GRAIN — site-wide (Verity reference) =====================
   A fixed noise layer over the whole page. mix-blend-mode:screen makes it show on the black sections
   and all but vanish on the light pricing/FAQ bands. Stepped jitter = film flicker; off for reduced motion. */
.filmgrain{position:fixed;inset:-50%;width:200%;height:200%;pointer-events:none;z-index:70;opacity:.12;mix-blend-mode:screen;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size:240px 240px;animation:filmjit .8s steps(5) infinite}
@keyframes filmjit{0%{transform:translate(0,0)}20%{transform:translate(-3%,-5%)}40%{transform:translate(-7%,2%)}60%{transform:translate(4%,-6%)}80%{transform:translate(-2%,7%)}100%{transform:translate(5%,1%)}}
@media (prefers-reduced-motion:reduce){.filmgrain{animation:none}}

/* black-space treatments (?bg=a|b|c|d) — subtle, monochrome, no coloured glows */
body[class*="bg-"] .sec:not(.light)::before,body[class*="bg-"] .foot::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:0}
.sec:not(.light)>*,.foot>*{position:relative;z-index:1}
.sec:not(.light),.foot{position:relative}
/* B · dot grid, fading out at the edges */
body.bg-b .sec:not(.light)::before,body.bg-b .foot::before{background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.3px);background-size:26px 26px;-webkit-mask-image:radial-gradient(ellipse 75% 65% at 50% 45%,#000 15%,transparent 80%);mask-image:radial-gradient(ellipse 75% 65% at 50% 45%,#000 15%,transparent 80%)}
/* dot grid, final strength (Sep 29) */
body.bg-b .sec:not(.light)::before,body.bg-b .foot::before{background-image:radial-gradient(rgba(255,255,255,.24) 1px,transparent 1.4px)}
/* Hero_Agent entity bigger inside its tiles */
.mg-card .gi{overflow:hidden}
.mg-card .gi video{width:44px;height:44px;object-fit:cover;transform:scale(1.7)}
.mg-card .gi video{transform:translateY(-12%) scale(1.2)}
/* Sep 29 · the footer is plain black with the film grain (Shaun: "the footer still needs film grain") — no dots */
body[class*="bg-"] .foot::before{display:none}
/* footer links that go somewhere (e.g. the Claude set-up guide) look like the rest of the footer */
.fcol a[href]{text-decoration:none}
.fcol a[href]:hover{color:#fff}
/* ── Sep 29 (Shaun) nav: logo +17% and links home; Log in / Start free one weight heavier and clickable; Resources opens ── */
.nav .nav-logo{display:flex;align-items:center;flex:none}
.nav .nav-logo img{height:28px}
.nav .right .login{font-weight:600;text-decoration:none}
.nav .right .login:hover{color:#fff}
.nav .right .btn-solid{font-weight:700;text-decoration:none}
.navdd.res .mega.res{width:520px;left:-24px;grid-template-columns:1fr 1fr}
.mega.res .mg-r:first-child{border-left:none;padding-left:6px}
.mega.res .mg-r a img.ai{width:16px;height:16px;flex:none}
.mega.res .mg-r a i{margin-left:auto;font-style:normal;color:rgba(255,255,255,.4)}
.mg-foot>span a{margin-left:6px}
.mg-foot .mg-life{display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.82)!important;font-weight:500}
.mg-foot .mg-life .ic{width:15px;height:15px;color:#00FFC2}
.mg-foot .mg-life:hover{color:#fff!important}
.mega.res .mg-r a img.ai.mono{filter:invert(1)}
/* footer: the long Heropost logo, as supplied (Shaun, Sep 29) */
.fcol.brand img{height:34px;width:auto}
/* footer: the company address (Shaun, Sep 30) — same look as the old stat line */
address.fm{font-style:normal;line-height:1.55;margin-top:14px!important}
/* from the set-up guides (docs.css): breadcrumb, lead paragraph, aside boxes */
.crumbs{display:flex;gap:10px;align-items:center;font:500 13px 'Inter',sans-serif;color:rgba(255,255,255,.5);margin:0 0 30px}
.crumbs a{color:rgba(255,255,255,.62);text-decoration:none}.crumbs a:hover{color:#fff}
.crumbs b{color:#fff;font-weight:600}
.docs-lead p{font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.66);margin:0 0 16px}
.da-box{background:#0B0B0D;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px}
.da-box>b{display:block;font:600 11px 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5);margin:0 0 10px}
.da-toc a{display:block;font-size:14px;color:rgba(255,255,255,.62);text-decoration:none;padding:5px 0 5px 12px;border-left:2px solid transparent;margin-left:-2px}
.da-toc a:hover{color:#fff}
.da-toc a.on{color:#fff;border-left-color:#00FFC2}
@media (max-width:980px){
  .da-toc{display:none}
  .docs-lead{flex:none}
}
/* ===================== Blog (heropost.io/blog) — the site's system: black + dots + grain, Rubik/Inter, cream Swiss-grid thumbnails ===================== */
.blog-hero{padding:150px 0 70px}
.blog-hero .head.split{align-items:flex-end;gap:56px;margin-bottom:46px}
.blog-hero .head.split>div:first-child{flex:1 1 0;max-width:none;min-width:0}
.blog-hero .head.split>.docs-lead{flex:0 0 360px;max-width:360px}
.bh1{font-family:'Rubik',sans-serif;font-size:64px;font-weight:600;letter-spacing:-.03em;line-height:1;margin:16px 0 0}
.bh1 .mute{color:rgba(255,255,255,.42)}
.bsearch{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:0 14px;height:44px;margin-top:16px}
.bsearch svg{width:17px;height:17px;flex:none;color:rgba(255,255,255,.55)}
.bsearch input{flex:1;background:none;border:0;outline:0;color:#fff;font:500 14.5px 'Inter',sans-serif}
.bsearch input::placeholder{color:rgba(255,255,255,.5)}
.bsearch:focus-within{border-color:rgba(255,255,255,.28)}
/* featured post */
.bfeat{display:grid;grid-template-columns:1.25fr 1fr;gap:0;border-radius:24px;overflow:hidden;background:#0B0B0D;border:1px solid rgba(255,255,255,.08);color:#fff;text-decoration:none;transition:border-color .25s,transform .25s}
.bfeat:hover{border-color:rgba(255,255,255,.2);transform:translateY(-2px)}
.bf-media{background:#EDEDEE;aspect-ratio:16/10}
.bf-media img{width:100%;height:100%;object-fit:cover;display:block}
.bf-copy{padding:40px 40px 34px;display:flex;flex-direction:column;justify-content:center}
.bf-copy h2{font-family:'Rubik',sans-serif;font-size:32px;font-weight:600;letter-spacing:-.02em;line-height:1.14;margin:12px 0 14px}
.bf-copy p{font-size:15.5px;line-height:1.6;color:rgba(255,255,255,.66);margin:0 0 22px}
.bcat{font:700 11px 'Inter',sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#00FFC2}
.bmeta{display:flex;align-items:center;gap:8px;font:500 13px 'Inter',sans-serif;color:rgba(255,255,255,.55)}
.bmeta .av{width:26px;height:26px;border-radius:8px;background:#141417;display:grid;place-items:center;flex:none}
.bmeta .av img{height:12px}
.bmeta i{font-style:normal;color:rgba(255,255,255,.3)}
.bflag{display:inline-flex;align-self:flex-start;gap:7px;align-items:center;font:600 11px 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 11px;margin-bottom:18px}
.bflag::before{content:'';width:6px;height:6px;border-radius:50%;background:#00FFC2}
/* list */
.blog-body{background:#000;padding:30px 0 100px}
.bcats{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;margin:0 0 30px;scrollbar-width:none}
.bcats::-webkit-scrollbar{display:none}
.bcats a{flex:none;font:500 13.5px 'Inter',sans-serif;color:rgba(255,255,255,.72);text-decoration:none;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:8px 14px;transition:background .2s,color .2s}
.bcats a:hover{background:rgba(255,255,255,.09);color:#fff}
.bcats a.on{background:#fff;color:#0B0B0F;border-color:#fff;font-weight:600}
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 22px}
.bcard{display:flex;flex-direction:column;color:#fff;text-decoration:none}
.bc-media{border-radius:16px;overflow:hidden;background:#EDEDEE;aspect-ratio:16/10;margin-bottom:16px;border:1px solid rgba(255,255,255,.06);transition:transform .3s}
.bc-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.bcard:hover .bc-media img{transform:scale(1.035)}
.bcard h3{font-family:'Rubik',sans-serif;font-size:19px;font-weight:600;letter-spacing:-.01em;line-height:1.3;margin:9px 0 10px}
.bcard:hover h3{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:4px}
.bpager{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:56px;font:500 14px 'Inter',sans-serif}
.bpager a,.bpager span{min-width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:rgba(255,255,255,.7);text-decoration:none;padding:0 10px}
.bpager a:hover{background:rgba(255,255,255,.07);color:#fff}
.bpager .on{background:#fff;color:#0B0B0F;font-weight:600}
.bpager .next{margin-left:10px;border:1px solid rgba(255,255,255,.14)}
/* CTA band (the product, in the site's own words) */
.bcta{padding:110px 0}
.bcta .inner{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;background:#0B0B0D;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:30px 34px}
.bcta .ent{width:64px;height:64px;border-radius:16px;overflow:hidden;background:#141417;display:grid;place-items:center}
.bcta .ent video{width:64px;height:64px;object-fit:cover;transform:translateY(-10%) scale(1.25)}
.bcta h2{font-family:'Rubik',sans-serif;font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin:0}
.bcta h2 .mute{color:rgba(255,255,255,.45)}
.bcta .acts{display:flex;align-items:center;gap:16px}
.bcta .acts .tlink{color:rgba(255,255,255,.72);text-decoration:none;font:500 14px 'Inter',sans-serif}
.bcta .acts .tlink:hover{color:#fff}
/* article */
.art-hero{padding:140px 0 40px}
.art-head{max-width:880px}
.art-h1{font-family:'Rubik',sans-serif;font-size:50px;font-weight:600;letter-spacing:-.025em;line-height:1.08;margin:18px 0 22px}
.art-cover{margin:40px 0 0;max-width:880px;border-radius:24px;overflow:hidden;background:#EDEDEE;aspect-ratio:16/10;border:1px solid rgba(255,255,255,.06)}
.art-cover img{width:100%;height:100%;object-fit:cover;display:block}
.art-body{background:#000;padding:30px 0 40px}
.art-grid{display:grid;grid-template-columns:minmax(0,700px) 280px;justify-content:space-between;gap:70px;align-items:start}
.post-body{font:400 18px/1.78 'Inter',sans-serif;color:rgba(255,255,255,.8)}
.post-body p{margin:0 0 22px}
.post-body strong{color:#fff;font-weight:600}
.post-body h3{font-family:'Rubik',sans-serif;font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.2;color:#fff;margin:52px 0 18px;scroll-margin-top:110px}
.post-body h3:first-child{margin-top:0}
.post-body hr{border:0;border-top:1px solid rgba(255,255,255,.08);margin:40px 0}
.post-body a{color:#A5DCFF;text-underline-offset:3px}
.post-body ul,.post-body ol{padding-left:22px;margin:0 0 22px}
.post-body li{margin:0 0 8px}
.post-body blockquote{margin:28px 0;padding:6px 0 6px 20px;border-left:2px solid #00FFC2;color:#fff;font-size:20px}
/* in-article product card */
.art-cta{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;margin:40px 0;padding:20px 22px;border-radius:18px;background:#0B0B0D;border:1px solid rgba(255,255,255,.1)}
.art-cta .ent{width:48px;height:48px;border-radius:13px;overflow:hidden;background:#141417;display:grid;place-items:center}
.art-cta .ent video{width:48px;height:48px;object-fit:cover;transform:translateY(-10%) scale(1.25)}
.art-cta b{display:block;font:600 16px 'Inter',sans-serif;color:#fff;margin-bottom:3px}
.art-cta span{font-size:14px;line-height:1.5;color:rgba(255,255,255,.62)}
.art-cta div>span{display:block}
.art-aside{position:sticky;top:104px;display:flex;flex-direction:column;gap:14px}
.art-aside .da-box{background:#0B0B0D;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px}
.art-aside .da-box>b{display:block;font:600 11px 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5);margin:0 0 10px}
.art-aside .da-toc a{display:block;font-size:14px;line-height:1.35;color:rgba(255,255,255,.62);text-decoration:none;padding:6px 0 6px 12px;border-left:2px solid transparent;margin-left:-2px}
.art-aside .da-toc a:hover{color:#fff}
.art-aside .da-toc a.on{color:#fff;border-left-color:#00FFC2}
.rmode{display:flex;gap:4px;padding:3px;background:rgba(255,255,255,.06);border-radius:10px}
.rmode button{flex:1;border:0;background:transparent;color:rgba(255,255,255,.62);font:600 12.5px 'Inter',sans-serif;padding:7px 10px;border-radius:8px;cursor:pointer}
.rmode button.on{background:#fff;color:#0B0B0F}
.art-more{padding:80px 0 20px}
.art-more h2{font-family:'Rubik',sans-serif;font-size:30px;font-weight:600;letter-spacing:-.02em;margin:0 0 26px}
/* reading mode: light (the live blog's light/dark switch, kept) */
body.read-light .art-body,body.read-light .art-hero{background:#F6F5F1}
body.read-light .art-hero .art-h1,body.read-light .post-body h3,body.read-light .post-body strong{color:#141414}
body.read-light .post-body{color:rgba(20,20,20,.84)}
body.read-light .post-body hr{border-top-color:rgba(0,0,0,.1)}
body.read-light .post-body a{color:#0F6FFF}
body.read-light .art-hero .bmeta,body.read-light .art-hero .crumbs{color:rgba(20,20,20,.6)}
body.read-light .art-hero .crumbs a{color:rgba(20,20,20,.6)}body.read-light .art-hero .crumbs b{color:#141414}
body.read-light .art-hero .bmeta .av{background:#141414}
body.read-light .art-hero::before{display:none}
body.read-light .art-cta,body.read-light .art-aside .da-box{background:#fff;border-color:rgba(0,0,0,.08)}
body.read-light .art-cta b{color:#141414}body.read-light .art-cta span{color:rgba(20,20,20,.62)}
body.read-light .art-aside .da-box>b{color:rgba(20,20,20,.5)}
body.read-light .art-aside .da-toc a{color:rgba(20,20,20,.62)}body.read-light .art-aside .da-toc a:hover,body.read-light .art-aside .da-toc a.on{color:#141414}
body.read-light .rmode{background:rgba(0,0,0,.05)}body.read-light .rmode button{color:rgba(20,20,20,.6)}body.read-light .rmode button.on{background:#141414;color:#fff}
@media (max-width:980px){
  .blog-hero .head.split{flex-direction:column;align-items:flex-start;gap:20px}
  .blog-hero .head.split>.docs-lead{flex:none;max-width:none;width:100%}
  .bh1{font-size:44px}
  .bfeat{grid-template-columns:1fr}.bf-copy{padding:24px 22px 26px}.bf-copy h2{font-size:24px}
  .bgrid{grid-template-columns:1fr;gap:30px}
  .bcta .inner{grid-template-columns:1fr;text-align:left}.bcta h2{font-size:24px}
  .art-h1{font-size:34px}
  .art-grid{grid-template-columns:1fr;gap:28px}
  .art-aside{position:static;order:-1}.art-aside .da-toc{display:none}
  .post-body{font-size:17px}
  .art-cta{grid-template-columns:auto 1fr}.art-cta .btn-solid{grid-column:1/-1;justify-self:start}
}
@media (min-width:981px) and (max-width:1180px){.bgrid{grid-template-columns:repeat(2,1fr)}}
.post-body .art-cta .btn-solid{color:#0B0B0F;text-decoration:none}

/* =====================================================================================================
   THEME ADDITIONS — not in the mock-ups. WordPress content the mock article doesn't contain, accessibility,
   the phone menu, the admin bar. Everything here reuses the mock's own sizes, inks and surfaces.
   ===================================================================================================== */

/* Accessibility: skip link, keyboard focus, menu triggers as real buttons (same look as the mock's labels) */
.skip-link{position:absolute;left:14px;top:-100px;z-index:100;display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:9px;background:#fff;color:#0B0B0F;font:600 13.5px 'Inter',sans-serif;text-decoration:none}
.skip-link:focus{top:14px}
:focus-visible{outline:2px solid #00FFC2;outline-offset:2px}
body.read-light .art-hero :focus-visible,body.read-light .art-body :focus-visible{outline-color:#0F6FFF}
main:focus{outline:0}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.navdd-btn{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;letter-spacing:inherit;cursor:pointer}
.nav .links>.nav-top{color:inherit;text-decoration:none}
.fbot a{text-decoration:none}
.fbot a:hover{color:#fff}

/* "Latest" card: keep the 1.25 : 1 split and let the image fill the card when the copy is taller. With the mock's
   rules alone the copy is clipped between 981 and ~1200px wide and whenever title + excerpt run past 400px. */
@media (min-width:981px){.bfeat{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.bf-media{align-self:stretch;aspect-ratio:auto}.bf-media img{aspect-ratio:16/10}}

/* Listings: pages without the "Latest" card, previous-page link, empty state, long search terms */
.blog-hero.no-feat .head.split{margin-bottom:0}
.bpager .prev{margin-right:10px;border:1px solid rgba(255,255,255,.14)}
.bempty{font-size:16.5px;line-height:1.6;color:rgba(255,255,255,.66);margin:0}
.bh1{overflow-wrap:anywhere}

/* Article content beyond the mock's sample: h2 sections (h3 under an h2 = sub-head), h4, images, captions,
   tables, code, embeds, alignment classes */
.post-body{overflow-wrap:anywhere}
.post-body>hr:last-child{display:none}
.post-body h2{font-family:'Rubik',sans-serif;font-size:28px;font-weight:600;letter-spacing:-.02em;line-height:1.2;color:#fff;margin:52px 0 18px;scroll-margin-top:110px}
.post-body h2:first-child{margin-top:0}
.post-body h2~h3{font-size:21px;margin:36px 0 12px}
.post-body h4{font-family:'Rubik',sans-serif;font-size:18px;font-weight:600;line-height:1.3;color:#fff;margin:30px 0 10px}
.post-body blockquote p:last-child{margin-bottom:0}
.post-body img{max-width:100%;height:auto;border-radius:16px}
.post-body figure,.post-body .wp-caption{max-width:100%;margin:32px 0}
.post-body figcaption,.post-body .wp-caption-text{font:500 13px/1.5 'Inter',sans-serif;color:rgba(255,255,255,.5);margin:10px 0 0}
.post-body .aligncenter{display:block;margin-left:auto;margin-right:auto}
.post-body .alignleft{float:left;margin:6px 24px 16px 0}
.post-body .alignright{float:right;margin:6px 0 16px 24px}
.post-body iframe,.post-body video,.post-body embed,.post-body object{max-width:100%}
.post-body table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:16px;line-height:1.5}
.post-body th,.post-body td{text-align:left;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.post-body th{color:#fff;font-weight:600}
.post-body code{font:500 .88em ui-monospace,SFMono-Regular,Menlo,monospace;background:rgba(255,255,255,.08);border-radius:6px;padding:1px 6px;color:#fff}
.post-body pre{margin:0 0 22px;padding:14px 16px;border-radius:12px;background:#0B0B0D;border:1px solid rgba(255,255,255,.1);overflow-x:auto}
.post-body pre code{font:500 14px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;background:none;padding:0;white-space:pre}
body.read-light .post-body h2,body.read-light .post-body h4,body.read-light .post-body blockquote,body.read-light .post-body th,body.read-light .post-body code{color:#141414}
body.read-light .post-body blockquote{border-left-color:#0F6FFF}
body.read-light .post-body code{background:rgba(0,0,0,.06)}
body.read-light .post-body pre{background:#fff;border-color:rgba(0,0,0,.1)}
body.read-light .post-body th,body.read-light .post-body td{border-bottom-color:rgba(0,0,0,.1)}
body.read-light .post-body figcaption,body.read-light .post-body .wp-caption-text{color:rgba(20,20,20,.55)}
@media (max-width:980px){.art-grid{grid-template-columns:minmax(0,1fr)}.post-body table{display:block;overflow-x:auto}} /* the mock's 1fr column grows to fit a WordPress caption's inline width:1600px */

/* Phone menu (≤768px, where the mock hides the menu links): Product / Pricing / Resources in the mega menu's panel */
.mnav{display:none}
@media (max-width:768px){
  .mnav{display:block}
  .mnav>summary{list-style:none;width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.08);display:grid;place-items:center;cursor:pointer}
  .mnav>summary::-webkit-details-marker,.mnav-panel summary::-webkit-details-marker{display:none}
  .mnav>summary span,.mnav>summary span::before,.mnav>summary span::after{display:block;width:16px;height:1.5px;border-radius:1px;background:#fff;position:relative;transition:transform .2s,background .2s}
  .mnav>summary span::before,.mnav>summary span::after{content:'';position:absolute;left:0}
  .mnav>summary span::before{top:-5px}
  .mnav>summary span::after{top:5px}
  .mnav[open]>summary span{background:transparent}
  .mnav[open]>summary span::before{top:0;transform:rotate(45deg)}
  .mnav[open]>summary span::after{top:0;transform:rotate(-45deg)}
  .mnav-panel{position:absolute;top:62px;left:0;right:0;max-height:calc(100vh - 90px);overflow-y:auto;overscroll-behavior:contain;padding:8px;border-radius:16px;background:#121215;border:1px solid rgba(255,255,255,.09);box-shadow:0 30px 70px rgba(0,0,0,.6)}
  .mnav-panel summary,.mnav-panel .mtop{display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:10px;font-size:15px;font-weight:600;color:#fff;text-decoration:none;cursor:pointer;list-style:none}
  .mnav-panel summary::after{content:'▾';font-size:12px;color:rgba(255,255,255,.55)}
  .mnav-panel details[open]>summary::after{transform:rotate(180deg)}
  .mnav-panel details a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;font-size:14px;color:rgba(255,255,255,.82);text-decoration:none}
  .mnav-panel details a .ic{width:16px;height:16px;color:#00FFC2}
  .mnav-panel details a img.ai{width:16px;height:16px;flex:none}
  .mnav-panel details a img.ai.mono{filter:invert(1)}
  .mnav-panel .mh{font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:rgba(255,255,255,.45);margin:12px 12px 4px}
}

/* Logged-in editors: keep the fixed nav and the sticky aside clear of the WordPress admin bar */
.admin-bar .nav{top:46px}
.admin-bar .art-aside{top:136px}
@media screen and (max-width:782px){.admin-bar .nav{top:60px}}
