/* Genuine vector lettering + locally hosted OFL outline fonts. */
@font-face{font-family:'Sugar Rounded Text';src:url('/assets/fonts/nunito.ttf') format('truetype');font-weight:200 1000;font-display:swap}
@font-face{font-family:'Sugar Rounded Display';src:url('/assets/fonts/fredoka.ttf') format('truetype');font-weight:300 700;font-display:swap}
:root{--sugar-ui-font:'Sugar Rounded Text',Nunito,'Arial Rounded MT Bold',Arial,sans-serif;--sugar-display:'Sugar Rounded Display','Sugar Rounded Text',sans-serif;--sans:var(--sugar-ui-font);--serif:var(--sugar-display)}
body,body.sa-playground{font-family:var(--sugar-ui-font)}
.sa-home{--sa-sans:var(--sugar-ui-font);--sa-serif:var(--sugar-display)}
.bc-commerce{--display:var(--sugar-display)}
body :is(h1,h2,h3,h4),body :is(h1,h2,h3,h4) em,
body .sa-home :is(h1,h2,h3),body .ec-page h1 em,body .sa-foot-intro i,
body .bc-commerce .bc-card-copy h2,body .ba-page .ba-page-intro h1,
body.sa-playground :is(.pg-hero-copy h1,.library-hero h1,.editor-heading h1){font-family:var(--sugar-display);font-weight:600;letter-spacing:-.025em;line-height:1.13}
/* Match the component selectors in soft-ui so unpictured headings keep the same display family. */
body :is(.sa-home,.bc-commerce,.se,.ec-page,.bs-studio,.si-page,.ba-page,.sa-service) :is(h1,h2,h3,h4),
body :is(.sa-home,.bc-commerce,.se,.ec-page,.bs-studio,.si-page,.ba-page,.sa-service) :is(h1,h2,h3,h4) em,
body .ba-page .ba-page-intro h1,body .bs-studio .bs-intro h1,
body .se .se-glass-heading h2,body .bc-commerce .bc-card-copy h2{font-family:var(--sugar-display);font-weight:600;font-style:normal}
button,input,select,textarea{font-family:var(--sugar-ui-font)}
/* Custom inline elements avoid component rules intended only for ordinary spans. */
.sa-art-text{position:relative;overflow:visible!important;min-width:0;max-width:100%;text-wrap:pretty;letter-spacing:normal!important}
.sa-art-readable{position:absolute!important;inset:0 auto auto 0!important;display:block!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}
sugar-type-visual.sa-art-visual{display:inline;position:static;margin:0;padding:0;border:0;letter-spacing:normal;font-size:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;line-height:inherit;word-spacing:.12em;white-space:normal;overflow-wrap:normal;color:inherit;visibility:inherit;filter:none;transform:none}
sugar-type-word.sa-art-word{display:inline-block;position:relative;margin:0;padding:0;border:0;max-width:100%;color:inherit;white-space:nowrap;font:inherit;line-height:1;letter-spacing:0;overflow:visible;visibility:inherit;filter:none;transform:none;text-indent:0}
.sa-art-word>svg{display:block;position:static;width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;overflow:visible;fill:currentColor;filter:none;transform:none;shape-rendering:geometricPrecision}
.sa-art-word>svg path{fill:currentColor;stroke:none}
body :is(h1,h2,h3,h4).sa-art-text{line-height:1.14;letter-spacing:normal}
body p.sa-art-text{line-height:1.65}
body :is(a,button,summary).sa-art-text{line-height:1.45}
.sa-home .sa-home-hero-copy{min-width:0}
.sa-home .sa-home-hero-copy h1{font-size:clamp(58px,6.7vw,108px)}
.sa-home .sa-home-hero-sub{font-size:clamp(18px,1.7vw,26px)}
body .sa-home-about h2{max-width:1000px;margin-inline:auto}
body .sa-home h2,body .ec-page h2{font-size:clamp(32px,4.3vw,66px)}
body .sa-home-tools-copy h2{font-size:clamp(34px,4.4vw,67px)}
body .sa-primary a,body .sa-tools a{font-size:13px}
body .sa-primary a .sa-art-visual{word-spacing:.03em}
.sa-home .sa-home-line.sa-art-text{display:inline-block}
.sa-home .sa-home-solid.sa-art-text{display:inline-flex}
body .sa-foot-intro h2{font-family:var(--sugar-display);font-weight:600;font-size:clamp(36px,4.2vw,62px);line-height:1.12}
body :is(.sa-home-piece-copy,.bc-card-copy,.bc-product-info,.ec-lead,.si-intro-copy,.pg-hero-copy){min-width:0}
body .sa-art-text .sa-art-word{background:none;border:0;border-radius:0;box-shadow:none}
@media(min-width:651px) and (max-width:980px){body .sa-home-hero-copy h1{font-size:clamp(46px,6.7vw,65px)}body .ec-community-hero h1{font-size:clamp(38px,5.1vw,50px)}}
@media(max-width:650px){body .sa-home-hero-copy h1{font-size:clamp(44px,10.7vw,68px)}body :is(.ec-page,.bc-commerce,.si-page,.ba-page,.sa-service,.bs-studio) h1{font-size:clamp(36px,9.4vw,52px)}body .sa-home h2,body .ec-page h2{font-size:clamp(30px,8.3vw,44px)}body .sa-primary a,body .sa-tools a{font-size:12px}body.sa-playground :is(.pg-hero-copy h1,.library-hero h1,.editor-heading h1){font-size:clamp(38px,10vw,56px)}body .sa-home-hero-copy{width:100%}body .sa-art-text{max-width:100%}}
@media(forced-colors:active){.sa-art-visual{display:none}.sa-art-readable{position:static!important;clip-path:none!important;width:auto!important;height:auto!important;white-space:normal!important;margin:0!important}}
/* Explicit component families must not fall back to the previous Nimbus UI. */
body :is(.bc-commerce,.ec-page,.se,.si-page,.ba-page,.bs-studio,.sa-service,.sa-mast,.sa-footer,.sa-dialog,.pg-shell,.pg-footer){font-family:var(--sugar-ui-font)}
body :is(.bc-commerce,.ec-page,.se,.si-page,.ba-page,.bs-studio,.sa-service) :is(button,input,select,textarea,.bc-button,.bc-inline-link){font-family:var(--sugar-ui-font)}
body :is(.se em,.ec-layer blockquote,.si-receipt h2),
body .se :is(.se-glass-caption,.se-glass-dialog-head) h3{font-family:var(--sugar-display);font-weight:600;font-style:normal}
body .sa-foot-word img{filter:none;width:100%;height:auto;image-rendering:auto}
@media print{.sa-art-word>svg{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
/* Community tabs scroll as one row instead of compressing lettering into pills. */
.sa-play-nav>div:first-child{min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.sa-play-nav>div:first-child>a{flex:0 0 auto;white-space:nowrap}
.sa-play-nav .sa-art-visual{white-space:nowrap;flex-shrink:0}
/* Underlines are drawn below the complete label, never through image glyphs. */
a.sa-art-text{text-decoration:none}
a.sa-art-text:hover .sa-art-visual{text-decoration:none;opacity:.76}
a.sa-art-text:focus-visible{outline:2px solid currentColor;outline-offset:5px;border-radius:3px}
@media(max-width:650px){body .sa-home .sa-home-hero-copy h1{font-size:clamp(34px,10.7vw,48px)}body .sa-home .sa-home-hero-sub{font-size:clamp(16px,4.5vw,19px)}}
@media(min-width:651px) and (max-width:980px){body .sa-home .sa-home-hero-copy h1{font-size:clamp(46px,6.7vw,65px)}}
/* Direction indicators use outlines because rounded fonts may omit arrow glyphs. */
body span.sa-vector-arrow{display:inline-flex;position:relative;align-items:center;justify-content:center;flex:0 0 auto;width:1em;height:1em;line-height:1;font-size:1em!important;vertical-align:-.12em;white-space:nowrap;color:inherit;text-indent:0}
body span.sa-vector-arrow::before,body span.sa-vector-arrow::after{content:none!important}
body .sa-vector-arrow>svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;shape-rendering:geometricPrecision}
body .sa-vector-arrow>svg path{fill:none;stroke:currentColor}

/* Small interface labels follow the same rounded text family. */
body :is(.ec-kicker,.bs-studio .bs-next .eyebrow){font-family:var(--sugar-ui-font)}

/* One text system: reliable outline fonts, no traced phrase substitutions. */
body :is(h1,h2,h3,h4),body :is(h1,h2,h3,h4) :is(em,i){font-family:var(--sugar-display);font-weight:600;font-style:normal;letter-spacing:-.025em}
body :is(.sa-home,.bc-commerce,.se,.ec-page,.bs-studio,.si-page,.ba-page,.sa-service) :is(h1,h2,h3,h4){font-weight:600}
body :is(.sa-primary,.sa-mobile-source,.sa-menu-grid h2,.sa-foot-grid h3,.sa-foot-intro h2){font-family:var(--sugar-display);font-weight:600}
body :is(.sa-primary a,.sa-mobile-source){font-weight:600;letter-spacing:0}
body :is(.sa-home-hero-sub,.sa-home-hero-kicker,.bc-kicker,.ec-kicker){font-family:var(--sugar-ui-font);font-weight:700}
body .sa-foot-intro i{font-weight:600}
/* Detail galleries show the entire item, including cords and hardware. */
body .bc-product-page .bc-main-photo img{object-fit:contain;object-position:center;padding:0;mix-blend-mode:normal}
body .bc-product-page .bc-main-photo{background:#eeece7}

/* Component-specific display styles take precedence over editorial serif rules. */
body.sa-playground :is(h1,h2,h3,h4),
body .se :is(.se-glass-caption,.se-glass-dialog-head) h3{font-family:var(--sugar-display);font-weight:600;font-style:normal;letter-spacing:-.025em}
