/* Structural framework shared by every tenant. Each master theme supplies its own palette, fonts, scale and
   decoration through scoped variables; the classes lay-*, nav-*, hdr-*, card-* and art-* pick the structure. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0}
img{max-width:100%;height:auto;display:block}
.site{--theme-base:#f7f8f7;--theme-surface:#fff;--theme-ink:#17212b;--theme-muted:#55615c;--theme-primary:#176b58;--theme-on-primary:#fff;--theme-accent:#b4541a;--theme-line:#dfe5e2;--theme-radius:.75rem;--theme-body-font:system-ui,-apple-system,"Segoe UI",sans-serif;--theme-heading-font:var(--theme-body-font);--theme-heading-weight:700;--theme-body-size:1.0625rem;--theme-container:72rem;--theme-gap:1.25rem;--theme-h1:clamp(2rem,4vw + 1rem,3.4rem);--theme-h2:clamp(1.35rem,2vw + .8rem,2.1rem);--theme-h3:1.2rem;
  min-height:100vh;display:flex;flex-direction:column;background:var(--theme-base);color:var(--theme-ink);font-family:var(--theme-body-font);font-size:var(--theme-body-size);line-height:1.7}
.site a{color:var(--theme-primary)}
.site a:focus-visible,.site button:focus-visible,.site summary:focus-visible{outline:3px solid var(--theme-accent);outline-offset:3px}
.site h1,.site h2,.site h3,.site h4{font-family:var(--theme-heading-font);font-weight:var(--theme-heading-weight);line-height:1.18;color:var(--theme-ink);margin:0 0 .5em;overflow-wrap:anywhere}
.site h1{font-size:var(--theme-h1)}
.site h2{font-size:var(--theme-h2)}
.site h3{font-size:var(--theme-h3)}
.skip-link{position:absolute;left:-999px;top:0;z-index:100;padding:.6rem 1rem;background:#000;color:#fff}
.skip-link:focus{left:.5rem}
.wrap,.site>main,.site-footer__inner,.site-header__inner{width:min(var(--theme-container),100% - 2rem);margin-inline:auto}
.site>main{flex:1;padding-block:clamp(1.25rem,3vw,2.5rem)}
.muted,.meta{color:var(--theme-muted)}
.meta{font-size:.85rem;display:flex;flex-wrap:wrap;gap:.35rem .75rem;align-items:center}
.kicker{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--theme-primary);text-decoration:none}
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:2.25rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--theme-line)}
.section-title h2{margin:0;font-size:var(--theme-h3)}

/* Header: six structural variants */
.site-header{background:var(--theme-surface);color:var(--theme-ink)}
.site-header__inner{display:flex;align-items:center;gap:1rem 2rem;padding-block:1rem;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--theme-heading-font);font-weight:var(--theme-heading-weight);font-size:1.35rem;line-height:1.1;color:var(--theme-ink)!important;text-decoration:none}
/* The logo SVG only has a viewBox, so it needs an explicit height or it collapses to zero inside the flex header. */
.brand svg,.brand img{display:block;height:2.4rem;width:auto;max-width:min(72vw,20rem);flex:none}
.hdr-1 .brand svg{height:3rem}
.brand-tagline{display:block;font-family:var(--theme-body-font);font-size:.8rem;font-weight:400;color:var(--theme-muted)}
.site-nav{min-width:0;flex:1}
.site-nav ul{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin:0;padding:0;list-style:none}
.site-nav summary{display:inline-block;white-space:nowrap;padding:.5rem .8rem;border-radius:var(--theme-radius);color:var(--theme-ink);font-size:.95rem;cursor:pointer;list-style:none}
.site-nav summary::-webkit-details-marker{display:none}
.site-nav summary::after{content:"";display:inline-block;width:.4em;height:.4em;margin-left:.45em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-.2em) rotate(45deg)}
.nav-extra{display:none}
.nav-more{position:relative}
.nav-more ul{position:absolute;right:0;top:calc(100% + .35rem);z-index:60;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;min-width:14rem;padding:.35rem;background:var(--theme-surface,#fff);border:1px solid var(--theme-line);border-radius:var(--theme-radius);box-shadow:0 12px 32px rgba(0,0,0,.14)}
.site-nav .nav-more ul a{display:block;color:var(--theme-ink);background:none;border:0;border-radius:calc(var(--theme-radius) / 2)}
.site-nav .nav-more ul a:hover{background:color-mix(in srgb,var(--theme-primary) 10%,transparent)}
.site-nav ul::-webkit-scrollbar{display:none}
.site-nav a{display:inline-block;white-space:nowrap;padding:.5rem .8rem;border-radius:var(--theme-radius);color:var(--theme-ink);text-decoration:none;font-size:.95rem}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--theme-primary)}
.hdr-0 .site-nav ul{justify-content:flex-end}
.hdr-1 .site-header__inner{flex-direction:column;text-align:center;gap:.5rem}
.hdr-1 .brand{font-size:clamp(1.6rem,3vw,2.4rem)}
.hdr-1 .site-nav{width:100%;border-top:1px solid var(--theme-line);padding-top:.5rem}
.hdr-1 .site-nav ul{justify-content:center}
.hdr-2 .site-header{background:var(--theme-base)}
.hdr-2 .site-nav{flex-basis:100%;background:var(--theme-primary);border-radius:var(--theme-radius)}
.hdr-2 .site-nav a,.hdr-2 .site-nav summary{color:var(--theme-on-primary)}
.hdr-2 .site-nav a:hover{color:var(--theme-on-primary);text-decoration:underline}
.hdr-3 .site-header{background:transparent;border-bottom:1px solid var(--theme-line)}
.hdr-3 .site-nav a{border-radius:0;border-bottom:2px solid transparent}
.hdr-3 .site-nav a:hover{border-bottom-color:var(--theme-primary)}
.hdr-4 .site-header{background:transparent;padding-top:.75rem}
.hdr-4 .site-header__inner{background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:calc(var(--theme-radius) + .5rem);padding:.6rem 1rem;box-shadow:0 6px 24px color-mix(in srgb,var(--theme-ink) 8%,transparent)}
.hdr-4 .site-nav ul{justify-content:flex-end}
.hdr-4 .site-nav a{background:color-mix(in srgb,var(--theme-primary) 10%,transparent);border-radius:999px}
.hdr-5 .site-header{border-top:6px solid var(--theme-primary)}
.hdr-5 .site-nav a,.hdr-5 .site-nav summary{text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700}
.hdr-5 .brand{font-size:1.15rem;text-transform:uppercase;letter-spacing:.12em}

/* Navigation styles */
.nav-sticky-top-navbar .site-header{position:sticky;top:0;z-index:40}
.nav-minimalist-top-bar .site-nav a{padding-inline:.5rem;font-size:.9rem}
.nav-mega-menu-dropdown .site-nav a{font-weight:600}
.nav-no-navigation-single-page .site-nav li:not(:first-child):not(:last-child){display:none}
.nav-hidden-hamburger-overlay .site-nav ul{justify-content:flex-end}
.nav-left-sidebar-collapsible .nav-extra{display:list-item}
.nav-left-sidebar-collapsible .nav-more{display:none}
.fab{display:none}
.nav-floating-action-button .fab{display:inline-flex;position:fixed;right:1rem;bottom:max(1rem,env(safe-area-inset-bottom));z-index:45;padding:.85rem 1.1rem;border-radius:999px;background:var(--theme-primary);color:var(--theme-on-primary)!important;text-decoration:none;font-weight:700;box-shadow:0 8px 24px color-mix(in srgb,var(--theme-ink) 25%,transparent)}
@media (max-width:48rem){
  .nav-bottom-navigation-mobile .site-nav{position:fixed;inset:auto 0 0;z-index:45;background:var(--theme-surface);border-top:1px solid var(--theme-line);padding:.3rem .5rem calc(.3rem + env(safe-area-inset-bottom))}
  .nav-bottom-navigation-mobile .site-footer{padding-bottom:4.5rem}
}
@media (min-width:70rem){
  .nav-left-sidebar-collapsible{display:grid;grid-template-columns:15rem minmax(0,1fr);grid-template-rows:auto 1fr auto}
  .nav-left-sidebar-collapsible .site-header{grid-row:1/-1;position:sticky;top:0;height:100vh;overflow-y:auto;border-right:1px solid var(--theme-line)}
  .nav-left-sidebar-collapsible .site-header__inner{flex-direction:column;align-items:stretch;width:auto;padding:1.5rem 1rem}
  .nav-left-sidebar-collapsible .site-nav ul{flex-direction:column;overflow:visible}
  .nav-left-sidebar-collapsible .site-nav{flex:0;background:none;border:0}
  .nav-left-sidebar-collapsible .site-nav a{color:var(--theme-ink)}
  .nav-left-sidebar-collapsible>main,.nav-left-sidebar-collapsible>.site-footer,.nav-left-sidebar-collapsible>.trending-bar{grid-column:2}
}

.trending-bar{width:min(var(--theme-container),100% - 2rem);margin:1rem auto 0;display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none;align-items:center}
.trending-bar::-webkit-scrollbar{display:none}
.trending-bar span{font-size:.8rem;font-weight:700;color:var(--theme-muted);white-space:nowrap}
.trending-bar a{white-space:nowrap;font-size:.85rem;padding:.3rem .75rem;border:1px solid var(--theme-line);border-radius:999px;text-decoration:none;color:var(--theme-ink)}

/* Cards: six structural variants */
.card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--theme-surface);color:var(--theme-ink);border-radius:var(--theme-radius);overflow:hidden}
.card .media{display:block;aspect-ratio:16/9;background:color-mix(in srgb,var(--theme-primary) 14%,var(--theme-surface))}
.card .media img{width:100%;height:100%;object-fit:cover}
.card .body{display:flex;flex-direction:column;gap:.35rem;padding:1rem 1.1rem 1.15rem;flex:1}
.card h3{font-size:1.12rem;margin:0}
.card h3 a{color:inherit;text-decoration:none}
.card h3 a::after{content:"";position:absolute;inset:0}
.card p{margin:0;color:var(--theme-muted);font-size:.95rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card .more{margin-top:auto;font-weight:600;font-size:.88rem;color:var(--theme-primary)}
.card .kicker,.card .meta a{position:relative;z-index:1}
.card.is-lead h3{font-size:var(--theme-h2)}
.card-1 .card{border:0;box-shadow:0 10px 30px color-mix(in srgb,var(--theme-ink) 9%,transparent)}
.card-2 .card-grid .card{flex-direction:row}
.card-2 .card-grid .card .media{flex:0 0 38%;aspect-ratio:auto;min-height:9rem}
.card-3 .card{min-height:17rem;justify-content:flex-end;background:#111}
.card-3 .card .media{position:absolute;inset:0;aspect-ratio:auto}
.card-3 .card .body{position:relative;background:linear-gradient(transparent,rgba(0,0,0,.82) 40%);color:#fff;padding-top:4rem}
.card-3 .card h3,.card-3 .card p,.card-3 .card .meta,.card-3 .card .more,.card-3 .card .kicker{color:#fff}
.card-4 .card{background:transparent;border-inline-start:4px solid var(--theme-primary);border-radius:0;box-shadow:none}
.card-4 .card-grid .card .media{display:none}
.card-4 .card .body{padding-block:.4rem}
.card-5 .card .body{counter-increment:card;padding-top:1.25rem}
.card-5 .card-grid{counter-reset:card}
.card-5 .card-grid .card .body::before{content:counter(card,decimal-leading-zero);font-family:var(--theme-heading-font);font-size:1.6rem;line-height:1;color:var(--theme-accent);font-weight:var(--theme-heading-weight)}
@media (max-width:40rem){.card-2 .card-grid .card{flex-direction:column}.card-2 .card-grid .card .media{aspect-ratio:16/9;min-height:0}}

.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:var(--theme-gap)}
.home-intro{margin-bottom:1.5rem}
.home-intro h1{margin-bottom:.25rem}
.home-intro p{margin:0;color:var(--theme-muted);max-width:42rem}

/* Home layouts */
.lay-asymmetrical-bento-grid .bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--theme-gap)}
.lay-asymmetrical-bento-grid .bento .is-lead{grid-column:span 2;grid-row:span 2}
.lay-asymmetrical-bento-grid .bento .is-lead .media{aspect-ratio:4/3}
.lay-single-column-minimalist>main{max-width:46rem}
.lay-single-column-minimalist .home-intro{text-align:center;padding-block:1.5rem;border-bottom:1px solid var(--theme-line)}
.lay-single-column-minimalist .home-intro p{margin-inline:auto}
.entry-list{list-style:none;margin:0;padding:0}
.entry-list li{padding:1.25rem 0;border-bottom:1px solid var(--theme-line)}
.entry-list h2,.entry-list h3{font-size:var(--theme-h3);margin:.25rem 0}
.entry-list h2 a,.entry-list h3 a{color:var(--theme-ink);text-decoration:none}
.entry-list p{margin:.25rem 0 0;color:var(--theme-muted)}
.compare-table{width:100%;border-collapse:collapse;background:var(--theme-surface);border-radius:var(--theme-radius);overflow:hidden;font-size:.95rem}
.compare-table th,.compare-table td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid var(--theme-line);vertical-align:top}
.compare-table th{background:var(--theme-primary);color:var(--theme-on-primary);font-weight:600}
.compare-table td a{color:var(--theme-ink);font-weight:600;text-decoration:none}
.table-scroll{overflow-x:auto}
.landing-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:2rem;align-items:center;padding:clamp(1.5rem,4vw,3rem);background:var(--theme-surface);border-radius:calc(var(--theme-radius) + .5rem)}
.landing-hero .media{border-radius:var(--theme-radius);overflow:hidden;aspect-ratio:4/3}
.landing-hero .media img{width:100%;height:100%;object-fit:cover}
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--theme-gap);list-style:none;padding:0;margin:0}
.steps li{counter-increment:step;padding:1.25rem;border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface)}
.steps li::before{content:counter(step);display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--theme-primary);color:var(--theme-on-primary);font-weight:700;margin-bottom:.6rem}
.steps a{color:var(--theme-ink);font-weight:600;text-decoration:none}
.cta-band{margin-top:2.5rem;padding:1.5rem;border-radius:var(--theme-radius);background:var(--theme-primary);color:var(--theme-on-primary);display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center}
.cta-band strong{margin-right:auto}
.cta-band a{color:var(--theme-on-primary);border:1px solid currentColor;border-radius:999px;padding:.3rem .85rem;text-decoration:none;font-size:.9rem}
.immersive-hero{position:relative;min-height:min(70vh,36rem);display:grid;align-items:end;border-radius:calc(var(--theme-radius) + .25rem);overflow:hidden;background:#111;color:#fff}
.lay-fullscreen-immersive>main{width:min(calc(var(--theme-container) + 8rem),100% - 1rem)}
.immersive-hero .media{position:absolute;inset:0}
.immersive-hero .media img{width:100%;height:100%;object-fit:cover}
.immersive-hero .copy{position:relative;padding:clamp(1.5rem,5vw,4rem);background:linear-gradient(transparent,rgba(0,0,0,.85));}
.immersive-hero h1,.immersive-hero h2,.immersive-hero p,.immersive-hero a{color:#fff}
.immersive-hero h2 a{text-decoration:none}
.zigzag{display:grid;gap:2.5rem;margin-top:2.5rem}
.zigzag article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:center}
.zigzag article:nth-child(even) .media{order:2}
.zigzag .media{aspect-ratio:3/2;border-radius:var(--theme-radius);overflow:hidden}
.zigzag .media img{width:100%;height:100%;object-fit:cover}
.zigzag h3 a{color:var(--theme-ink);text-decoration:none}
.stack{display:grid;gap:var(--theme-gap);max-width:52rem;margin-inline:auto}
.stack .card{flex-direction:row}
.stack .card .media{flex:0 0 34%;aspect-ratio:auto;min-height:10rem}
.stack .card.is-lead{flex-direction:column}
.stack .card.is-lead .media{aspect-ratio:21/9}
.masthead{text-align:center;padding-block:1rem 1.25rem;margin-bottom:1.5rem;border-block:4px double var(--theme-ink)}
.masthead h1{margin:0;letter-spacing:-.01em}
.masthead .meta{justify-content:center}
.edition{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--theme-gap)}
.edition .side{display:grid;gap:1rem;align-content:start}
.edition .side article{padding-bottom:1rem;border-bottom:1px solid var(--theme-line)}
.edition .side h3{font-size:1.05rem;margin:.2rem 0}
.edition .side h3 a{color:var(--theme-ink);text-decoration:none}
.workspace{display:grid;grid-template-columns:15rem minmax(0,1fr) 16rem;gap:var(--theme-gap);align-items:start}
.rail,.insights{position:sticky;top:1rem;padding:1rem;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}
.rail h2,.insights h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:var(--theme-muted)}
.rail ul,.insights ol{list-style:none;margin:0;padding:0;display:grid;gap:.25rem}
.rail a{display:block;padding:.45rem .6rem;border-radius:calc(var(--theme-radius) - .2rem);text-decoration:none;color:var(--theme-ink)}
.rail a:hover{background:color-mix(in srgb,var(--theme-primary) 12%,transparent)}
.insights li{padding:.5rem 0;border-bottom:1px solid var(--theme-line);font-size:.9rem}
.insights a{color:var(--theme-ink);text-decoration:none}
.masonry{columns:3 15rem;column-gap:var(--theme-gap)}
.masonry .card{break-inside:avoid;margin-bottom:var(--theme-gap)}
.masonry .card:nth-child(3n+1) .media{aspect-ratio:3/4}
.masonry .card:nth-child(3n+2) .media{aspect-ratio:1/1}
.card-rail{display:grid;grid-auto-flow:column;grid-auto-columns:min(80%,26rem);gap:var(--theme-gap);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:1rem;scrollbar-color:var(--theme-primary) transparent}
.card-rail .card{scroll-snap-align:start}
.card-rail .card .media{aspect-ratio:4/3}
.docs{display:grid;grid-template-columns:14rem minmax(0,1fr) 13rem;gap:2rem;align-items:start}
.docs .index{position:sticky;top:1rem;font-size:.9rem}
.docs .index ul{list-style:none;padding:0;margin:0;border-left:2px solid var(--theme-line)}
.docs .index a{display:block;padding:.3rem .8rem;margin-left:-2px;border-left:2px solid transparent;text-decoration:none;color:var(--theme-ink)}
.docs .index a:hover{border-left-color:var(--theme-primary);color:var(--theme-primary)}
.docs code,.docs .meta{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}
.wiki-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:var(--theme-gap)}
.wiki-topic{padding:1.25rem;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}
.wiki-topic h2{font-size:1.1rem;display:flex;justify-content:space-between;gap:.5rem}
.wiki-topic h2 a{color:var(--theme-ink);text-decoration:none}
.wiki-topic ul{margin:0;padding-left:1.1rem;font-size:.92rem}
.wiki-topic li{margin:.3rem 0}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);align-items:start}
.split .pane{position:sticky;top:1rem}
.split .pane .card .media{aspect-ratio:4/5}

/* Article layouts: four variants */
.breadcrumb{font-size:.85rem;color:var(--theme-muted);margin-bottom:1rem}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0}
.breadcrumb li+li::before{content:"/";margin-right:.35rem;opacity:.6}
.breadcrumb a{color:var(--theme-muted)}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:clamp(1.5rem,4vw,3rem);align-items:start}
.article-main{min-width:0}
.article-header h1{margin:.35rem 0 .75rem}
.article-header .lede{font-size:1.15rem;color:var(--theme-muted);margin:0 0 1rem}
.article-hero{margin:1.25rem 0;border-radius:var(--theme-radius);overflow:hidden;aspect-ratio:16/9;background:color-mix(in srgb,var(--theme-primary) 12%,var(--theme-surface))}
.article-hero img{width:100%;height:100%;object-fit:cover}
.article-content{font-size:calc(var(--theme-body-size) * 1.04);max-width:44rem}
.article-content h2{margin-top:2em}
.article-content a{color:var(--theme-primary);text-underline-offset:.2em}
.article-content blockquote{margin:1.5rem 0;padding:.2rem 1rem;border-left:4px solid var(--theme-primary);color:var(--theme-muted)}
.article-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}
.article-content th,.article-content td{border:1px solid var(--theme-line);padding:.5rem .7rem}
.takeaways,.faq,.aeo-summary{padding:1.1rem 1.25rem;margin:1.5rem 0;background:color-mix(in srgb,var(--theme-primary) 8%,var(--theme-surface));border-radius:var(--theme-radius)}
.takeaways h2,.faq h2{font-size:var(--theme-h3)}
.faq details{padding:.75rem 0;border-top:1px solid var(--theme-line)}
.faq summary{cursor:pointer;font-weight:600}
.article-aside{position:sticky;top:1rem;display:grid;gap:1.25rem}
.aside-box{padding:1.1rem;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}
.aside-box h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:var(--theme-muted);margin-bottom:.75rem}
.aside-box ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem;font-size:.92rem}
.aside-box a{color:var(--theme-ink);text-decoration:none}
.aside-box a:hover{color:var(--theme-primary)}
.related{margin-top:2.5rem}
.art-1 .article-layout{grid-template-columns:18rem minmax(0,1fr)}
.art-1 .article-aside{order:-1}
.art-2 .article-layout{grid-template-columns:minmax(0,1fr)}
.art-2 .article-main{max-width:46rem;margin-inline:auto;width:100%}
.art-2 .article-header{text-align:center}
.art-2 .article-header .meta{justify-content:center}
.art-2 .article-aside{position:static;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));max-width:46rem;margin-inline:auto;width:100%}
.art-3 .article-header{padding:clamp(1.25rem,4vw,2.5rem);margin-bottom:1rem;background:var(--theme-primary);border-radius:var(--theme-radius)}
.art-3 .article-header h1,.art-3 .article-header .lede,.art-3 .article-header .meta,.art-3 .article-header a,.art-3 .article-header .kicker{color:var(--theme-on-primary)}

/* Ads: reserved space prevents layout shift when a unit loads */
.ad-slot{margin:1.75rem auto;text-align:center;min-height:280px;max-width:100%;overflow:hidden}
.ad-slot::before{content:attr(data-label);display:block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--theme-muted);margin-bottom:.35rem}
@media (max-width:48rem){.ad-slot{min-height:250px}}

/* Pagination, category, legal, author */
.pagination{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:2rem 0}
.pagination a,.pagination span{padding:.45rem .85rem;border:1px solid var(--theme-line);border-radius:var(--theme-radius);text-decoration:none}
.category-page .article-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:var(--theme-gap)}
.legal-page,.author-page{max-width:48rem}
.legal-page form{display:grid;gap:.8rem;margin-top:1.5rem}
.legal-page label{display:grid;gap:.3rem}
.legal-page input,.legal-page textarea{padding:.7rem;border:1px solid var(--theme-line);border-radius:.45rem;font:inherit;background:var(--theme-surface);color:var(--theme-ink)}
.legal-page textarea{min-height:9rem}
.legal-page button,.adult-age-gate button{padding:.75rem 1rem;border:0;border-radius:.45rem;background:var(--theme-primary);color:var(--theme-on-primary);font:inherit;cursor:pointer}
.author-profile{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1.25rem;padding:1.5rem;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}
.author-profile h1{margin:.2rem 0}
.author-avatar{width:clamp(88px,18vw,150px);aspect-ratio:1;border-radius:50%;overflow:hidden;background:var(--theme-line)}
.author-avatar img,.author-avatar svg{display:block;width:100%;height:100%;object-fit:cover}
.author-page section{margin:1.5rem 0;padding:1.25rem;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}
.author-articles li{padding:.6rem 0;border-bottom:1px solid var(--theme-line)}
.adult-age-gate{width:min(40rem,100% - 2rem);margin:2rem auto;padding:1.5rem;background:var(--theme-surface);border:1px solid var(--theme-line);border-radius:var(--theme-radius)}

/* Footer */
.site-footer{margin-top:3rem;background:var(--theme-surface);border-top:1px solid var(--theme-line);font-size:.92rem}
.site-footer__inner{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:1.5rem 2rem;padding-block:2.25rem}
.site-footer h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--theme-muted)}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.site-footer a{color:var(--theme-ink);text-decoration:none}
.site-footer a:hover{color:var(--theme-primary)}
.site-footer .copyright{grid-column:1/-1;padding-top:1rem;border-top:1px solid var(--theme-line);color:var(--theme-muted);font-size:.82rem}
.sponsored-links a{margin-right:.75rem}

@media (max-width:64rem){
  .workspace{grid-template-columns:13rem minmax(0,1fr)}
  .workspace .insights{display:none}
  .docs{grid-template-columns:12rem minmax(0,1fr)}
  .docs .aside{display:none}
}
@media (max-width:48rem){
  .lay-asymmetrical-bento-grid .bento,.edition,.workspace,.docs,.split,.landing-hero,.zigzag article,.article-layout,.art-1 .article-layout{grid-template-columns:minmax(0,1fr)}
  .lay-asymmetrical-bento-grid .bento .is-lead{grid-column:auto;grid-row:auto}
  .steps{grid-template-columns:minmax(0,1fr)}
  .zigzag article:nth-child(even) .media{order:0}
  .rail,.insights,.split .pane,.docs .index,.article-aside{position:static}
  .art-1 .article-aside{order:2}
  .stack .card{flex-direction:column}
  .stack .card .media{aspect-ratio:16/9;min-height:0}
  .site-footer__inner{grid-template-columns:minmax(0,1fr)}
  .hdr-0 .site-nav ul,.hdr-4 .site-nav ul,.nav-hidden-hamburger-overlay .site-nav ul{justify-content:flex-start}
  .site-nav{flex-basis:100%}
  .site-nav ul{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent);padding-right:2rem}
  .site-nav ul::-webkit-scrollbar{display:none}
  .nav-extra{display:list-item}
  .nav-more{display:none}
  .immersive-hero{min-height:24rem}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pagination ul{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;list-style:none;margin:0;padding:0}
.pagination span[aria-current]{background:var(--theme-primary);color:var(--theme-on-primary);border-color:var(--theme-primary)}
.card-3 .card .body{flex:0 0 auto;background:linear-gradient(transparent,rgba(0,0,0,.86) 3.5rem)}
.card-3 .masonry .card:nth-child(3n+1){min-height:24rem}
.card-3 .masonry .card:nth-child(3n+2){min-height:20rem}
.lay-asymmetrical-bento-grid .bento .is-lead .media{flex:1;aspect-ratio:auto;min-height:16rem}
@media (min-width:70rem){
  .nav-left-sidebar-collapsible .workspace{grid-template-columns:minmax(0,1fr) 16rem}
  .nav-left-sidebar-collapsible .workspace .rail,.nav-left-sidebar-collapsible .docs .index{display:none}
  .nav-left-sidebar-collapsible .docs{grid-template-columns:minmax(0,1fr) 13rem}
}
.site.site .related .card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));columns:auto}
.site.site .related .card-grid>*{grid-row:auto;grid-column:auto}
.card-2 .related .card-grid .card{flex-direction:column}
.card-2 .related .card-grid .card .media{aspect-ratio:16/9;min-height:0;flex:none}

/* Layout sub-variants */
.bento-1 .is-lead{grid-column:1/-1!important;grid-row:auto!important;flex-direction:row}
.bento-1 .is-lead .media{flex:0 0 55%;aspect-ratio:16/9!important;min-height:0!important}
.bento-1{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.bento-2 .is-lead{grid-column:3/span 2!important;grid-row:1/span 2!important}
.entry-list.numbered{counter-reset:entry}
.entry-list.numbered li{counter-increment:entry;display:grid;grid-template-columns:3rem minmax(0,1fr);gap:1rem}
.entry-list.numbered li::before{content:counter(entry,decimal-leading-zero);font-family:var(--theme-heading-font);font-size:1.5rem;color:var(--theme-accent);line-height:1.2}
.entry-list.with-thumbs li{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1.1rem;align-items:start}
.entry-list.with-thumbs .media{display:block;border-radius:var(--theme-radius);overflow:hidden;aspect-ratio:1}
.entry-list.with-thumbs .media img{width:100%;height:100%;object-fit:cover}
.entry-list.compact li{padding:.7rem 0}
.entry-list.compact h3{font-size:1.02rem}
.lead-essay{padding:1.5rem 0;border-bottom:3px solid var(--theme-ink);margin-bottom:1.5rem}
.lead-essay h2 a{color:var(--theme-ink);text-decoration:none}
.dropcap::first-letter{float:left;font-family:var(--theme-heading-font);font-size:3.4em;line-height:.85;margin:.08em .12em 0 0;color:var(--theme-primary)}
.entry-columns{columns:2 18rem;column-gap:2.5rem;list-style:none;margin:0;padding:0}
.entry-columns li{break-inside:avoid;padding:.6rem 0;border-bottom:1px dotted var(--theme-line);display:flex;flex-direction:column}
.entry-columns a{color:var(--theme-ink);font-weight:600;text-decoration:none}
.entry-columns time{font-size:.8rem;color:var(--theme-muted)}
.top-pick{padding:1.5rem;margin-bottom:1rem;border-radius:var(--theme-radius);background:color-mix(in srgb,var(--theme-accent) 14%,var(--theme-surface));border:2px solid var(--theme-accent)}
.top-pick h2 a{color:var(--theme-ink);text-decoration:none}
.compare-table td.thumb{width:4.5rem;padding:.5rem}
.compare-table td.thumb .media{display:block;width:3.5rem;aspect-ratio:1;border-radius:.4rem;overflow:hidden}
.compare-table td.thumb img{width:100%;height:100%;object-fit:cover}
.landing-1 .media{order:-1}
.landing-2{grid-template-columns:minmax(0,1fr);text-align:center}
.landing-2 .hero-copy{max-width:44rem;margin-inline:auto}
.landing-2 .media{aspect-ratio:21/9!important}
.steps-timeline{grid-template-columns:minmax(0,1fr);border-left:3px solid var(--theme-primary);margin-left:1rem;gap:.5rem}
.steps-timeline li{border:0;background:transparent;margin-left:-1.15rem;display:grid;grid-template-columns:2.2rem minmax(0,1fr);column-gap:1rem;padding:.75rem 0}
.steps-timeline li::before{margin:0}
.steps-timeline li p{grid-column:2}
.chapters{list-style:none;margin:2.5rem auto 0;padding:0;max-width:46rem;counter-reset:chapter}
.chapters li{counter-increment:chapter;padding:2rem 0;border-bottom:1px solid var(--theme-line)}
.chapter-label{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--theme-muted)}
.chapter-label::after{content:" " counter(chapter,upper-roman)}
.chapters h3{font-size:var(--theme-h2);margin-top:.35rem}
.chapters h3 a{color:var(--theme-ink);text-decoration:none}
.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--theme-gap);margin-top:2rem}
.stack-1{max-width:44rem}
.stack-1 .card{flex-direction:column;box-shadow:0 1px 0 var(--theme-line),0 10px 0 -5px var(--theme-surface),0 10px 0 -4px var(--theme-line)}
.stack-1 .card:nth-child(even){margin-left:2rem}
.stack-1 .card .media{aspect-ratio:21/9!important;min-height:0!important}
.stack-2{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
.stack-2 .card.is-lead{grid-column:1/-1}
.broadsheet{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
.broadsheet .side:first-child{border-right:1px solid var(--theme-line);padding-right:1rem}
.broadsheet .side:last-child{border-left:1px solid var(--theme-line);padding-left:1rem}
.wide-cover{grid-template-columns:minmax(0,1fr)}
.wide-cover>.card{flex-direction:row}
.wide-cover>.card .media{flex:0 0 60%;aspect-ratio:16/9}
.headline-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--theme-gap);border-top:3px solid var(--theme-ink);padding-top:1rem}
.headline-row h3{font-size:1.02rem}
.headline-row h3 a{color:var(--theme-ink);text-decoration:none}
.stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:var(--theme-gap);margin-bottom:1.5rem}
.stat-tile{display:flex;flex-direction:column;padding:1rem 1.2rem;border-radius:var(--theme-radius);background:var(--theme-surface);border:1px solid var(--theme-line);text-decoration:none;color:var(--theme-ink)!important}
.stat-tile strong{font-family:var(--theme-heading-font);font-size:2rem;line-height:1;color:var(--theme-primary)}
.ws-right{grid-template-columns:minmax(0,1fr) 16rem}
.chip-row ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0 0 1rem;padding:0}
.chip-row a{display:inline-block;padding:.4rem .9rem;border-radius:999px;background:var(--theme-primary);color:var(--theme-on-primary);text-decoration:none;font-size:.9rem}
.masonry-1{columns:4 12rem;column-gap:.75rem}
.masonry-1 .card{margin-bottom:.75rem}
.masonry-1 .card p,.masonry-1 .card .more{display:none}
.masonry-2{columns:2 22rem}
.masonry-2 .card.is-lead .media{aspect-ratio:3/4!important}
.rail-large{grid-auto-columns:min(92%,46rem)}
.rail-large .card .media{aspect-ratio:16/9}
.docs-right{grid-template-columns:minmax(0,1fr) 15rem}
.changelog{list-style:none;margin:0;padding:0;border-left:2px solid var(--theme-line)}
.changelog li{position:relative;display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1rem;padding:1rem 0 1rem 1.25rem}
.changelog li::before{content:"";position:absolute;left:-.45rem;top:1.45rem;width:.8rem;height:.8rem;border-radius:50%;background:var(--theme-primary)}
.changelog code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;color:var(--theme-muted);padding-top:.2rem}
.changelog h3 a{color:var(--theme-ink);text-decoration:none}
.az-letters{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:1rem}
.az-letters a{display:inline-grid;place-items:center;min-width:2.2rem;height:2.2rem;border:1px solid var(--theme-line);border-radius:var(--theme-radius);text-decoration:none;font-weight:700}
.az-index{columns:2 20rem;column-gap:2rem}
.az-index section{break-inside:avoid;margin-bottom:1.25rem}
.az-index h2{font-size:1.4rem;color:var(--theme-primary);border-bottom:1px solid var(--theme-line)}
.az-index ul{list-style:none;padding:0;margin:0}
.az-index li{padding:.3rem 0}
.wiki-split{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:var(--theme-gap);align-items:start}
.wiki-fold{border:1px solid var(--theme-line);border-radius:var(--theme-radius);background:var(--theme-surface);padding:.9rem 1.1rem;margin-bottom:.75rem}
.wiki-fold summary{cursor:pointer;font-family:var(--theme-heading-font);font-weight:var(--theme-heading-weight);font-size:1.1rem}
.wiki-fold ul{margin:.75rem 0;padding-left:1.1rem}
.split-narrow{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.about-strip{margin-top:2.5rem;padding:1.5rem;border-radius:var(--theme-radius);border:1px dashed var(--theme-line);background:var(--theme-surface)}
.about-strip h2{font-size:var(--theme-h3)}
@media (max-width:48rem){
  .bento-1 .is-lead,.wide-cover>.card{flex-direction:column}
  .bento-1 .is-lead .media,.wide-cover>.card .media{flex:none}
  .bento-1,.broadsheet,.story-grid,.stack-2,.headline-row,.ws-right,.docs-right,.wiki-split,.split-narrow,.changelog li{grid-template-columns:minmax(0,1fr)!important}
  .bento-2 .is-lead{grid-column:auto!important;grid-row:auto!important}
  .broadsheet .side{border:0!important;padding:0!important}
  .stack-1 .card:nth-child(even){margin-left:0}
  .landing-1 .media{order:0}
}
