/* Hyper Logic SCS: site identity layer over V9's page and Admin contracts. */
/* First-paint design tokens. The site-settings API and the admin editor use
   these same roles. Stored owner choices replace the custom properties at runtime. */
:root {
  color-scheme: light;
  --hl-font: Inter, "Segoe UI", Arial, sans-serif;
  --hl-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --hl-width: 1320px;
  --hl-gutter: clamp(16px,4vw,62px);
  --sot-font: var(--hl-font);
  --sot-canvas: #f9fcfd;
  --sot-canvas-2: #ffffff;
  --sot-surface: #ffffff;
  --sot-surface-2: #f2f8fb;
  --sot-text: #081317;
  --sot-text-soft: #193b49;
  --sot-muted: #24556a;
  --sot-cyan-500: #d52197;
  --sot-magenta-500: #429bc0;
  --sot-line: #d2e7f0;
  --sot-line-strong: #347a98;
  --sot-theme-header: #ffffff;
  --sot-theme-footer: #0f222a;
  --sot-page-text: #081317;
  --sot-heading: #000000;
  --sot-link: #9e1870;
  --sot-card-text: #081317;
  --sot-card-muted: #24556a;
  --sot-nav-text: #081317;
  --sot-footer-text: #ffffff;
  --sot-button-text: #ffffff;
  --sot-button-secondary-text: #081317;
  --sot-input: #ffffff;
  --sot-input-text: #081317;
  --sot-home-panel: #ffffff;
  --sot-home-highlight: #f2f8fb;
  --sot-home-border: #d2e7f0;
  --sot-admin-panel: #ffffff;
  --sot-admin-text: #081317;
  --hl-primary: var(--sot-cyan-500);
  --hl-secondary: var(--sot-magenta-500);
  --hl-brand-magenta: var(--hl-primary);
  --hl-brand-blue: var(--hl-secondary);
  --hl-ink: var(--sot-text);
  --hl-action: var(--hl-primary);
  --hl-on-action: var(--sot-button-text);
  --hl-focus: var(--sot-link);
  --sot-cyan-300: var(--hl-primary);
  --sot-cyan-400: var(--hl-primary);
  --sot-magenta-400: var(--hl-secondary);
  --sot-violet-500: var(--hl-secondary);
  --sot-black: var(--sot-canvas);
  --sot-ink-950: var(--sot-canvas);
  --sot-ink-900: var(--sot-canvas-2);
  --sot-ink-850: var(--sot-surface);
  --sot-ink-800: var(--sot-surface-2);
  --sot-surface-1: var(--sot-surface);
  --sot-surface-3: var(--sot-surface-2);
  --sot-muted-light: var(--sot-text-soft);
  --gh-black: var(--sot-canvas);
  --gh-black-2: var(--sot-canvas-2);
  --gh-navy: var(--sot-surface);
  --gh-navy-2: var(--sot-surface-2);
  --gh-blue: var(--hl-secondary);
  --gh-blue-deep: var(--hl-secondary);
  --gh-orange: var(--hl-primary);
  --gh-orange-2: var(--sot-link);
  --gh-orange-soft: var(--sot-link);
  --gh-orange-bright: var(--sot-link);
  --gh-gold: var(--hl-primary);
  --gh-text: var(--sot-text);
  --gh-soft: var(--sot-text-soft);
  --gh-muted: var(--sot-muted);
  --gh-line: var(--sot-line);
  --gh-line-blue: var(--sot-line);
  --sot-v8-line: var(--sot-line);
  --sot-v8-panel: var(--sot-surface);
  --sot-v8-panel-soft: var(--sot-surface-2);
  --sot-success: #19643b;
  --sot-warning: #795400;
  --sot-danger: #a32035;
  --sot-brand-gradient: var(--hl-action);
}
body.site-shell-page{background:var(--sot-canvas)!important;color:var(--sot-page-text)!important}
body.site-shell-page .container{max-width:var(--hl-width);width:calc(100% - var(--hl-gutter)*2);margin-inline:auto;padding-inline:0}
body.site-shell-page :focus-visible{outline:3px solid var(--hl-focus)!important;outline-offset:4px}

body.site-shell-page .hl-home{padding:0!important;margin:0;max-width:none;background:var(--sot-canvas)!important}
.hl-home :is(#editions,#pro-edition,#resources){scroll-margin-top:20px}
.hl-hero{background:var(--sot-theme-footer);color:var(--sot-footer-text);border-bottom:4px solid color-mix(in srgb, var(--hl-secondary) 25%, var(--sot-theme-footer))}
.hl-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr);gap:clamp(26px,4.5vw,70px);min-height:480px;align-items:center;padding-block:clamp(28px,4vw,64px)}
body.site-shell-page .hl-home .hl-hero-copy.home-feature{display:block;min-width:0;padding:0;border:0!important;border-radius:0;box-shadow:none;background:transparent!important;overflow:visible}
.hl-kicker{font-family:var(--hl-mono);font-size:11px;font-weight:760;letter-spacing:.13em;line-height:1.45;margin:0 0 17px;color:var(--sot-link)!important}
.hl-hero .hl-kicker{color:color-mix(in srgb, var(--hl-secondary) 60%, var(--sot-footer-text))!important;display:flex;align-items:center;gap:9px}
.hl-hero .hl-kicker::before{content:"";width:11px;height:11px;background:var(--hl-primary);flex:none}
body.site-shell-page .hl-home .hl-hero h1{font-size:clamp(40px,5.05vw,76px)!important;font-weight:790;letter-spacing:-.056em;line-height:1.025;margin:0;color:var(--sot-footer-text)!important;overflow-wrap:anywhere}
body.site-shell-page .hl-home .hl-hero h1.hl-custom-title{font-size:clamp(22px,9vw,var(--home-title-size,56px))!important;letter-spacing:-.04em}
body.site-shell-page .hl-home .hl-hero h1 em{display:block;color:color-mix(in srgb, var(--hl-primary) 53%, var(--sot-footer-text));font-style:normal}
body.site-shell-page .hl-home .hl-hero #homeIntroduction{margin:23px 0 27px;color:var(--sot-footer-text)!important;font-size:clamp(16px,1.49vw,21px);max-width:32ch;line-height:1.52}
body.site-shell-page .hl-home .hl-hero-actions{margin:0;display:flex;flex-wrap:wrap;gap:10px}
body.site-shell-page .hl-home .hl-hero-actions .button{padding:0 15px;min-height:48px;justify-content:space-between;gap:11px;font-size:14px!important;font-weight:750;letter-spacing:0;border-radius:0!important;box-shadow:none!important;transform:none}
body.site-shell-page .hl-home .hl-hero-actions .button--primary{background:var(--sot-cyan-500)!important;color:var(--sot-button-text)!important;border:1px solid var(--sot-cyan-500)!important}
body.site-shell-page .hl-home .hl-hero-actions .button--primary:hover{filter:brightness(1.15)}
body.site-shell-page .hl-home .hl-hero-actions .button--secondary{background:transparent!important;color:var(--sot-footer-text)!important;border:1px solid var(--hl-secondary)!important}
body.site-shell-page .hl-home .hl-hero-actions .button--secondary:hover{background:color-mix(in srgb, var(--hl-secondary) 25%, var(--sot-theme-footer))!important}
.hl-hero :focus-visible{outline-color:color-mix(in srgb, var(--hl-secondary) 60%, var(--sot-footer-text))!important}
.hl-hero-rule{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:34px;font:650 10px/1.5 var(--hl-mono);letter-spacing:.12em;color:var(--sot-footer-text)}
body.site-shell-page .hl-home .hl-hero-gallery.home-gallery{max-width:none;width:100%;margin:0;min-width:0;border:1px solid var(--sot-line-strong)!important;border-radius:0!important;box-shadow:none!important;background:var(--sot-theme-footer)!important}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-stage{min-height:0;aspect-ratio:790/555;background:var(--sot-theme-footer)!important}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-stage img{object-fit:contain;max-height:none}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-bar{min-height:49px;gap:12px;padding:6px 13px;border-top:1px solid var(--sot-line-strong);background:var(--sot-theme-footer)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-caption{font:600 11px/1.4 var(--hl-mono);color:var(--sot-footer-text)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-count{color:var(--sot-footer-text)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-controls>button{width:30px;height:31px;color:var(--sot-footer-text);border-color:var(--hl-secondary);border-radius:0;background:var(--sot-theme-footer)}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-controls>button:disabled{opacity:.45;cursor:default}
body.site-shell-page .hl-home .hl-hero-gallery .home-gallery-dots button[aria-current="true"]{background:color-mix(in srgb, var(--hl-primary) 53%, var(--sot-footer-text))}
.hl-jump-band{background:var(--sot-surface);border-bottom:1px solid var(--sot-line)}
.hl-jump{display:flex;flex-wrap:wrap;gap:8px clamp(15px,4vw,46px);align-items:center;min-height:60px;padding-block:8px}
.hl-jump>span{font:700 11px/1.35 var(--hl-mono);letter-spacing:.13em;color:var(--sot-muted)}
.hl-jump a{font-size:13px;font-weight:690;color:var(--sot-nav-text);text-decoration:none}.hl-jump a:hover{text-decoration:underline}
body.site-shell-page.home-shell-page .hl-home>.hl-editions.container{width:calc(100% - var(--hl-gutter)*2)!important}
.hl-editions{padding-block:clamp(35px,5.4vw,76px)}
.hl-section-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);align-items:end;gap:12px 44px;margin:0 0 25px}
.hl-section-head .hl-kicker{margin:0 0 8px}.hl-section-head h2{font-size:clamp(29px,4.2vw,51px);line-height:1.05;letter-spacing:-.05em;margin:0}
body.site-shell-page .hl-home .hl-section-head>p{margin:0;font-size:15px;line-height:1.57;max-width:42ch;color:var(--sot-text-soft)}
.hl-edition-grid{display:grid;grid-template-columns:minmax(0,1.23fr) minmax(0,1fr);gap:16px}
.hl-edition{padding:25px clamp(19px,3vw,37px) 29px;border:1px solid var(--sot-line);min-width:0}
.hl-edition-student{background:var(--sot-surface);border-top:3px solid var(--hl-primary)}
.hl-edition-pro{background:var(--sot-surface-2);border-top:3px solid var(--hl-secondary)}
.hl-edition-top{display:flex;min-height:31px;justify-content:space-between;align-items:center;gap:10px;color:var(--sot-muted);font:650 11px/1.35 var(--hl-mono);letter-spacing:.09em}
.hl-tag{display:inline-block;max-width:100%;padding:5px 8px;background:color-mix(in srgb, var(--hl-primary) 10%, var(--sot-surface));color:var(--sot-link)}.hl-edition-pro .hl-tag{background:var(--sot-surface-2);color:var(--sot-muted)}
.hl-edition h3{font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;line-height:1.05;margin:16px 0 8px}
body.site-shell-page .hl-home .hl-edition p{margin:0 0 19px;max-width:55ch;color:var(--sot-text-soft)}
.hl-link-arrow{color:var(--sot-link);font-size:14px;font-weight:750;text-decoration:none}.hl-link-arrow:hover{text-decoration:underline}.hl-link-arrow span{padding-inline-start:5px}
.hl-resources{padding-block:clamp(35px,5vw,65px);background:var(--sot-surface-2);border-top:1px solid var(--sot-line)}
.hl-resource-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 23px}
.hl-resource-index a{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;min-height:63px;padding:12px;background:var(--sot-surface);border:1px solid var(--sot-line);color:var(--sot-heading);text-decoration:none;font-size:14px}
.hl-resource-index a strong{min-width:0;overflow-wrap:anywhere}.hl-resource-index a span{color:var(--sot-link);font:700 12px/1.4 var(--hl-mono)}.hl-resource-index a:hover{border-color:var(--sot-link)}
body.site-shell-page .hl-home .home-layout__grid{max-width:var(--hl-width);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,2fr);align-items:start;gap:14px;margin-block:0 14px;padding:0}
body.site-shell-page .hl-home .home-center{display:grid;grid-template-columns:1fr;width:100%;min-width:0;gap:14px;padding:0;margin:0}
body.site-shell-page .hl-home :is(.home-column,.home-story,.home-center-extras>div:not(:empty),.home-flex-card,.home-promo,.home-updates){background:var(--sot-home-panel)!important;border:1px solid var(--sot-home-border)!important;border-radius:0!important;padding:18px;box-shadow:none!important;min-width:0}
body.site-shell-page .hl-home .home-center-extras{display:grid;gap:14px;margin:0}
body.site-shell-page .hl-home .home-center-extras>:empty{display:none}
body.site-shell-page .hl-home .home-story-article{padding:0;border:0;background:transparent}
body.site-shell-page .hl-home .home-story-article p{margin:8px 0 0;line-height:1.65}

body.site-shell-page .hl-home .home-panel-head{margin:0 0 13px;padding:0 0 11px}
body.site-shell-page .hl-home .home-lower{max-width:var(--hl-width);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-block:0;padding:0}
body.site-shell-page .hl-home .home-lower:empty{display:none}
body.site-shell-page .hl-home :is(.home-product-list .commerce-product-card,.home-link-list a,.home-article-list .commerce-article-card){border-radius:0!important;box-shadow:none!important;background:var(--sot-home-highlight)!important}
body.site-shell-page .hl-home :is(.home-product-list .commerce-product-card__image img,.home-mini-card img){border-radius:0}
body.site-shell-page .hl-home .home-mini-card h3 a{color:var(--sot-card-text)}
/* Interior views use the same palette, retaining Admin typography and card shape settings. */
body.site-shell-page :is(.page-intro-band,.prompt-page-top,.cart-hero){background:var(--sot-surface-2)!important;border-color:var(--sot-line)!important;box-shadow:none!important}
body.site-shell-page :where(.commerce-product-card,.product-card,.commerce-article-card,.article-card,.surface-card,.cart-panel,.account-user-card,.account-stat-panel,.auth-panel,.auth-visual){background:var(--sot-surface)!important;color:var(--sot-card-text)!important;border-color:var(--sot-line)!important;box-shadow:none!important}
body.site-shell-page :where(.product-card__media,.commerce-product-card__image,.article-card-cover-wrap)::after{opacity:0!important}
body.site-shell-page :where(.product-card__media,.article-card-cover-wrap){background:var(--sot-surface-2)!important}
body.site-shell-page :where(.button,.btn,.auth-btn,.checkout-btn,.product-button):not(.hl-hero-actions .button){box-shadow:none!important}
body.site-shell-page :where(.product-availability-note,.hl-local-note){padding:13px 15px;margin:12px 0;border-left:3px solid var(--hl-brand-blue);background:var(--sot-surface-2);color:var(--sot-text)}
body.site-shell-page [hidden]{display:none!important}
html[data-typo-main-heading="on"] body.site-shell-page .hl-home .hl-hero h1{font-size:var(--sot-type-main-heading-size)!important;color:var(--sot-type-main-heading-color)!important;letter-spacing:var(--sot-type-main-heading-tracking)!important}
@media(max-width:1050px){

 .hl-hero-grid{min-height:390px}
}
@media(max-width:759px){
 .hl-hero-grid{grid-template-columns:minmax(0,1fr);gap:26px;padding-block:30px}.hl-hero-rule{margin-top:24px}
 .hl-edition-grid,.hl-section-head{grid-template-columns:minmax(0,1fr)}
 .hl-resource-index{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-jump-band .hl-jump{gap:8px 15px}
 body.site-shell-page .hl-home .home-layout__grid:not(.home-grid-managed),body.site-shell-page .hl-home .home-lower{grid-template-columns:minmax(0,1fr)}

}
@media(max-width:540px){

 body.site-shell-page .hl-home .hl-hero h1:not(.hl-custom-title){font-size:clamp(38px,11vw,60px)!important}
 .hl-jump>span{width:100%}.hl-jump a{font-size:12px}.hl-resource-index a{font-size:12px;padding:8px;gap:6px}

}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.hl-home *{animation-duration:.001ms!important;transition-duration:.001ms!important}}

body.site-shell-page .hl-home .hl-hero #homeEyebrow{font-size:11px!important;color:color-mix(in srgb, var(--hl-secondary) 60%, var(--sot-footer-text))!important;margin:0 0 17px}
body.site-shell-page .hl-home .hl-hero #marketplaceTitle{font-size:clamp(40px,4.25vw,64px)!important;line-height:1.03}
body.site-shell-page .hl-home .hl-hero #marketplaceTitle.hl-custom-title{font-size:clamp(22px,9vw,var(--home-title-size,56px))!important;line-height:1.16}
body.site-shell-page .hl-home .hl-hero #homeIntroduction{font-size:clamp(16px,1.49vw,21px)!important}
body.site-shell-page .hl-home .hl-section-head .hl-kicker{font-size:11px!important;color:var(--sot-link)!important}
body.site-shell-page .hl-home :is(#hlEditionsTitle,#hlResourcesTitle){font-size:clamp(28px,3.35vw,48px)!important;line-height:1.05}
body.site-shell-page .hl-home .hl-edition h3{font-size:clamp(22px,2.33vw,34px)!important;line-height:1.05}
body.site-shell-page .hl-home .hl-link-arrow{color:var(--sot-link)!important}
.hl-arrow{display:inline-block;width:12px;height:12px;vertical-align:-1px;flex:none}
body.site-shell-page .hl-home [data-single-slide="true"] .home-gallery-controls{display:none}
body.site-shell-page .hl-home [data-single-slide="true"] .home-gallery-bar{flex-direction:row;align-items:center}
html[data-typo-main-heading="on"] body.site-shell-page .hl-home .hl-hero #marketplaceTitle{font-family:var(--sot-type-main-heading-family)!important;font-size:var(--sot-type-main-heading-size)!important;color:var(--sot-type-main-heading-color)!important;font-weight:var(--sot-type-main-heading-weight)!important;line-height:var(--sot-type-main-heading-line)!important;letter-spacing:var(--sot-type-main-heading-tracking)!important;font-style:var(--sot-type-main-heading-style)!important}
body.product-shell-page #site-main :is(.product-gallery-card,.product-summary-card,.product-content-block,.product-feedback-card){background:var(--sot-surface)!important;border:1px solid var(--sot-line)!important;border-radius:0!important;box-shadow:none!important}
body.product-shell-page #site-main :is(.product-gallery-card,.product-summary-card,.product-content-block)::before,body.product-shell-page #site-main .product-summary-card::after{display:none!important}
body.product-shell-page #site-main .product-main-image-wrap{background:var(--sot-theme-footer);border-radius:0;min-height:0}
body.product-shell-page #site-main #productMainImage{max-height:none;aspect-ratio:790/555;object-fit:contain}
body.product-shell-page #site-main #productTitle{max-width:25ch;margin:13px 0;line-height:1.08;font-size:clamp(26px,3.1vw,43px)!important;letter-spacing:-.04em}
body.product-shell-page #site-main .product-summary-text{font-size:16px!important;line-height:1.6}
body.product-shell-page #site-main :is(.product-price-block,.product-quick-facts>div,.product-assurance-rail article){background:var(--sot-surface-2)!important;border:1px solid var(--sot-line)!important;border-radius:0!important;box-shadow:none!important}
body.product-shell-page #site-main .product-quick-facts :is(dt,dd){text-align:left}
body.product-shell-page #site-main .product-quick-facts dd{margin-inline:0}
body.site-shell-page #site-main :is(.breadcrumbs,.breadcrumbs a,.product-breadcrumbs,.product-breadcrumbs a,.product-section-tabs a){color:var(--sot-text-soft)!important}
body.site-shell-page #site-main .product-section-tabs a.active{color:var(--sot-link)!important}
body.product-shell-page #site-main .product-buy-panel__actions button{border-radius:0!important;min-height:48px;box-shadow:none!important}
body.product-shell-page #site-main #addToCartBtn{background:var(--sot-cyan-500)!important;color:var(--sot-button-text)!important}
body.product-shell-page #site-main #buyNowBtn{background:transparent!important;color:var(--sot-button-secondary-text)!important;border:1px solid var(--sot-line-strong)!important}
body.site-shell-page #site-main :is(.primary-btn,.prompt-primary-btn,.summary-btn--primary,.account-btn-accent,.state-btn){box-shadow:none!important;color:var(--sot-button-text)!important;background:var(--sot-cyan-500)!important}
body.site-shell-page :is(.page-intro-band,.prompt-page-top)::after{display:none!important}
html[data-typo-product-title="on"] body.site-shell-page.product-shell-page:not(.admin-shell-page) #site-main #productTitle{font-size:var(--sot-type-product-title-size)!important;line-height:var(--sot-type-product-title-line)!important;letter-spacing:var(--sot-type-product-title-tracking)!important}
@media(max-width:540px){

 body.site-shell-page .hl-home .hl-hero #marketplaceTitle:not(.hl-custom-title){font-size:clamp(34px,9.1vw,46px)!important}
 html[data-typo-main-heading="on"] body.site-shell-page .hl-home .hl-hero #marketplaceTitle:not(.hl-custom-title){font-size:var(--sot-type-main-heading-size)!important}
}

/* Form and account surfaces share the editable public design settings. */
body.site-shell-page #site-main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),select,textarea) {
  color: var(--sot-input-text);
  background-color: var(--sot-input);
}
body.site-shell-page #site-main :where(input,textarea)::placeholder { color: var(--sot-muted); opacity:1; }
body.auth-shell-page .auth-brand-lockup .hl-auth-logo {
  width:64px!important; height:auto!important; max-width:100%; object-fit:contain;
  padding:3px; background:white; border-radius:3px; box-sizing:content-box;
}
body.account-shell-page .account-layout > *,
body.account-shell-page .account-library-controls > * { min-width:0; }
@media (max-width:840px) {
  body.account-shell-page #site-main .account-layout { grid-template-columns:minmax(0,1fr); }
  body.account-shell-page .account-library-controls { grid-template-columns:minmax(0,1fr); }
  body.account-shell-page .account-library-controls :where(input,select,button) { width:100%; max-width:100%; }
}

/* Compact storefront defaults, in typographic points (10pt = 13.33 CSS pixels).
   Explicit typography sizes set in Admin can still override their respective role. */
:root {
  --hl-width: 1840px;
  --hl-gutter: clamp(12px,2.2vw,40px);
  --hl-reading-size: 10pt;
  --hl-heading-size: 14pt;
  --hl-subheading-size: 12pt;
  --hl-legal-footer-size: 7pt;
}
@layer hl-compact-default {
  html:not([data-typo-page-body="on"]) body.site-shell-page:not(.admin-shell-page)
    :is(#site-main, #site-main p, #site-main li, #site-main td, #site-main th, #site-main label,
        #site-main summary, #site-main input, #site-main select, #site-main textarea, #site-main button,
        #site-main .button, #site-main .btn) {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-main-heading="on"]) body.site-shell-page:not(.admin-shell-page) #site-main h1:not(.hl-custom-title):not(.article-title):not(#productTitle) {
    font-size:var(--hl-heading-size)!important;
  }
  html:not([data-typo-sub-heading="on"]) body.site-shell-page:not(.admin-shell-page) #site-main :is(h2,h3,h4,h5,h6) {
    font-size:var(--hl-subheading-size)!important;
  }
  html:not([data-typo-article-title="on"]) body.article-shell-page #site-main .article-title,
  html:not([data-typo-product-title="on"]) body.product-shell-page #site-main #productTitle {
    font-size:var(--hl-heading-size)!important;
  }
  html:not([data-typo-article-body="on"]) body.article-shell-page #site-main .article-body,
  html:not([data-typo-product-description="on"]) body.product-shell-page #site-main .product-description-content {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-header-nav="on"]) #site-header :is(.sh-nav-link,.sh-layer a,.sh-signin) {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-footer-body="on"]) #site-footer :is(.sh-footer-links a,.sh-footer-brand p) {
    font-size:var(--hl-reading-size)!important;
  }
  html:not([data-typo-footer-heading="on"]) #site-footer .sh-footer-toggle {
    font-size:var(--hl-subheading-size)!important;
  }
  body.site-shell-page #site-footer .sh-footer-base,
  body.site-shell-page #site-footer .sh-footer-base :is(a,span) {
    font-size:var(--hl-legal-footer-size)!important;
  }
}
@layer hl-compact-default {
  html[data-typo-article-body="on"] body.article-shell-page #site-main .article-body :is(p,li,td,th),
  html[data-typo-product-description="on"] body.product-shell-page #site-main .product-description-content :is(p,li,td,th) {
    font-size:inherit!important;
  }
  html[data-typo-article-heading="on"] body.article-shell-page #site-main .article-body :is(h2,h3,h4,h5,h6) {
    font-size:var(--sot-type-article-heading-size)!important;
  }
  html[data-typo-product-heading="on"] body.product-shell-page #site-main .product-description-content :is(h2,h3,h4,h5,h6) {
    font-size:var(--sot-type-product-heading-size)!important;
  }
}
#site-footer .sh-footer-base a { display:inline-flex; min-block-size:28px; align-items:center; }
body.site-shell-page:not(.admin-shell-page) :is(.pro-container, .legal-main) {
  width:calc(100% - var(--hl-gutter)*2);
  max-width:var(--hl-width);
  margin-inline:auto;
}
body.site-shell-page .legal-main article { max-inline-size:96ch; }
body.site-shell-page .hl-home .hl-hero #marketplaceTitle:not(.hl-custom-title) {max-inline-size:none;}
body.site-shell-page .hl-company {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(12px,2vw,32px);
  padding-block:clamp(18px,2.3vw,36px);
  border-block-end:1px solid var(--sot-line);
}
.hl-company h2, .hl-company p { margin:0; }
.hl-company h2 { margin-block-end:.4em; color:var(--sot-heading); }
.hl-company p { max-inline-size:72ch; line-height:1.65; color:var(--sot-text-soft); }
.hl-company nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px 20px; }
.hl-company nav a { display:inline-flex; align-items:center; min-block-size:40px; }
@media(max-width:700px){
  body.site-shell-page .hl-company {grid-template-columns:minmax(0,1fr);}
  .hl-company nav {justify-content:flex-start;}
}

/* 4.3 rhythm for utility and catalog pages; account and editorial use their own grids. */
body.site-shell-page:not(.admin-shell-page) .legal-main {
  margin-block:clamp(15px,2.2vw,28px);padding:clamp(14px,2.3vw,28px);
  border-radius:10px;
}
body.site-shell-page .legal-main :is(.lead,article) {max-inline-size:100ch;}
body.site-shell-page .legal-main article :is(h2,h3) {margin-block:1.15em .4em;}
body.site-shell-page .legal-main article :is(p,ul,ol) {margin-block:.4em .85em;line-height:1.65;}
body.site-shell-page .products-page .page-head {padding-block:16px!important;}
body.site-shell-page .products-page .products-section {padding-block:14px 23px!important;}
body.site-shell-page .cart-main {padding-block:clamp(16px,2.5vw,29px)!important;}
