/* ==========================================================================
   Yardline Power layer: brand chrome, home sections, product-page components.
   Loads last. Tokens live in core.css (:root).
   ========================================================================== */

body { background: var(--sb-paper); }
::selection { background: var(--sb-volt-soft); }

/* ---------------------------------------------------------------- chrome */
.sb-announce { background: var(--sb-wine); color: #E4F1EA; }
.sb-announce strong { color: #CDEEDD; font-weight: 650; }
.sb-announce__aux { color: #E2C6BE; }

.sb-header { background: rgba(14, 27, 36, .96); border-bottom: 0; color: var(--sb-paper); }
.sb-header .sb-logo { color: var(--sb-paper); }
.sb-header .sb-nav__link, .sb-header .sb-nav__more, .sb-header .sb-icon-btn, .sb-header .sb-track { color: var(--sb-paper); }
.sb-header .sb-nav__link:hover, .sb-header .sb-nav__link[aria-expanded="true"] { color: #CDEEDD; }
.sb-header .sb-search { background: rgba(246, 248, 247, .08); border-color: rgba(246, 248, 247, .14); color: var(--sb-paper); }
.sb-header .sb-search input { color: var(--sb-paper); }
.sb-header .sb-search input::placeholder { color: #BDB2A3; }
.sb-cart-count { background: var(--sb-volt); color: var(--sb-graphite); }

.sb-logo { gap: 9px; font-size: 1.32rem; font-weight: 500; letter-spacing: -0.02em; font-stretch: var(--sb-wide); }
.sb-logo b { font-weight: 800; }
.sb-mark { display: inline-block; width: 30px; height: 30px; padding: 0; background: none; color: var(--sb-volt); }
.sb-mark svg { width: 100%; height: 100%; display: block; }
.sb-logo .sb-mark { width: 30px; height: 30px; padding: 0; }
.sb-footer .sb-logo .sb-mark, .sb-askcard .sb-mark, .sb-mega__promo .sb-mark { background: none; }

.sb-footer { background: var(--sb-walnut); color: #D9E3E1; }
.sb-footer__top { border-bottom-color: rgba(239, 227, 210, .18); }
.sb-footer h2 { color: var(--sb-paper); font-stretch: var(--sb-wide); }
.sb-footer__bottom { color: #CDBBA2; }
.sb-footer a:hover { color: #fff; }

/* ---------------------------------------------------------------- buttons, badges, sections */
.sb-btn { font-weight: 650; letter-spacing: 0; }
.sb-btn--volt { --fg: var(--sb-graphite); }
.sb-btn--glass { --bg: rgba(246, 248, 247, .12); --fg: var(--sb-paper); --bd: rgba(246, 248, 247, .55); backdrop-filter: blur(6px); }
.sb-btn--glass:hover { --bg: rgba(246, 248, 247, .22); --bd: var(--sb-paper); }
.sb-badge--sale { background: var(--sb-wine); color: #FFF3EC; }
.sb-badge--soft { background: var(--sb-sage); color: var(--sb-graphite); }
.sb-section--sand { background: var(--sb-sand); }
.sb-section--ink { background: var(--sb-graphite); color: var(--sb-paper); }
.sb-section--mist { background: var(--sb-mist); }
.sb-h2 { font-weight: 760; }
.sb-link { color: var(--sb-ink); font-weight: 650; text-decoration-color: var(--sb-volt); text-decoration-thickness: 2px; }
.sb-textlink { display: inline-block; margin-top: 14px; font-weight: 650; text-decoration-color: var(--sb-volt); text-decoration-thickness: 2px; }

/* ---------------------------------------------------------------- cards */
.sb-card__media { background: #fff; border-radius: var(--sb-r-media); box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-card__brand { color: var(--sb-walnut); font-weight: 650; }
.sb-card__title { font-stretch: 100%; font-weight: 620; letter-spacing: -0.01em; }
.sb-card__line { margin: 6px 0 0; font-size: var(--sb-t-13); color: var(--sb-slate); line-height: 1.4; }
.sb-price ins { color: var(--sb-ink); }
.sb-price del { color: var(--sb-slate); }

/* ---------------------------------------------------------------- home: hero */
.sb-hhero { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: var(--sb-paper); background: var(--sb-graphite); overflow: hidden; }
.sb-hhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 62%; z-index: -2; }
.sb-hhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 27, 36, .82) 0%, rgba(14, 27, 36, .55) 42%, rgba(14, 27, 36, .05) 75%), linear-gradient(0deg, rgba(14, 27, 36, .55), transparent 45%); }
.sb-hhero--plain { background: radial-gradient(120% 90% at 85% 10%, #5a3a1d 0%, var(--sb-walnut) 30%, var(--sb-graphite) 75%); }
.sb-hhero__inner { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(40px, 6vw, 72px); }
.sb-hhero h1 { font-size: var(--sb-t-display); font-weight: 800; line-height: .98; letter-spacing: -0.035em; max-width: 13ch; font-stretch: 112%; }
.sb-hhero__sale { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: var(--sb-r-pill); background: var(--sb-wine); color: #FFF3EC; font-size: var(--sb-t-14); font-weight: 650; }
.sb-hhero__lede { max-width: 54ch; margin: 22px 0 30px; font-size: var(--sb-t-18); color: #E6ECEA; }
.sb-hhero__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.sb-hhero__facts { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; border-top: 1px solid rgba(239, 227, 210, .22); font-size: var(--sb-t-14); color: #D9E3E1; }
.sb-hhero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.sb-hhero__facts svg { width: 18px; height: 18px; color: var(--sb-volt); }

/* ---------------------------------------------------------------- home: category tiles */
.sb-hcats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sb-hcat { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--sb-r-panel); background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); overflow: hidden; transition: box-shadow .2s var(--sb-ease); }
.sb-hcat:hover { box-shadow: inset 0 0 0 1.5px var(--sb-walnut); }
.sb-hcat__img { aspect-ratio: 1; display: block; padding: 10px; }
.sb-hcat__img img { width: 100%; height: 100%; object-fit: contain; }
.sb-hcat__txt { display: grid; gap: 2px; padding: 12px 16px 16px; border-top: 1px solid var(--sb-line); background: var(--sb-paper); }
.sb-hcat__txt b { font-size: var(--sb-t-16); font-stretch: var(--sb-wide); }
.sb-hcat__txt small { color: var(--sb-slate); font-size: var(--sb-t-13); }

/* ---------------------------------------------------------------- home + product: sizing (the signature) */
.sb-hsize { background: linear-gradient(180deg, var(--sb-sand), var(--sb-mist)); }
.sb-hsize__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sb-hsize__form, .sb-fit__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.sb-hsize__form .sb-field, .sb-fit__in .sb-field { display: grid; gap: 6px; font-size: var(--sb-t-13); font-weight: 600; color: var(--sb-slate); }
.sb-hsize__form input[type="number"], .sb-fit__in input { min-height: 48px; padding: 0 14px; border-radius: var(--sb-r-field); border: 1.5px solid var(--sb-line); background: #fff; font-size: var(--sb-t-18); font-weight: 650; font-variant-numeric: tabular-nums; color: var(--sb-ink); }
.sb-hsize__form input:focus, .sb-fit__in input:focus { outline: none; border-color: var(--sb-walnut); }
.sb-hsize__heat { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 4px 0 0; }
.sb-hsize__heat legend { width: 100%; margin-bottom: 6px; font-size: var(--sb-t-13); font-weight: 600; color: var(--sb-slate); }
.sb-hsize__heat label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--sb-r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--sb-line); font-weight: 600; cursor: pointer; }
.sb-hsize__heat label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--sb-graphite); }
.sb-hsize__heat input { accent-color: var(--sb-graphite); }
.sb-hsize__vol, .sb-fit__vol { margin: 22px 0 0; font-size: var(--sb-t-18); }
.sb-hsize__vol b, .sb-fit__vol b { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.sb-hsize__list { display: grid; gap: 10px; }
.sb-hfit { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-hfit:hover { box-shadow: inset 0 0 0 1.5px var(--sb-walnut); }
.sb-hfit img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--sb-paper); }
.sb-hfit__t { display: grid; gap: 2px; min-width: 0; }
.sb-hfit__t small { color: var(--sb-walnut); font-weight: 650; font-size: var(--sb-t-12); }
.sb-hfit__t b { font-size: var(--sb-t-16); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-hfit__t > span { font-size: var(--sb-t-13); color: var(--sb-slate); }
.sb-hfit__p { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-hsize__empty { padding: 28px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-hsize__more { font-size: var(--sb-t-14); color: var(--sb-slate); margin: 6px 0 0; }

.sb-fitsec { background: var(--sb-mist); }
.sb-fit { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sb-fit__in { margin-top: 0; }
.sb-fit__vol { margin-top: 0; }
.sb-fit__bars { display: grid; gap: 14px; margin-top: 18px; }
.sb-fitbar { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-fitbar__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.sb-fitbar__top b { font-size: var(--sb-t-18); font-weight: 750; }
.sb-fitbar__top span { color: var(--sb-slate); font-size: var(--sb-t-14); font-variant-numeric: tabular-nums; }
.sb-fitbar__top em { margin-left: auto; font-style: normal; font-size: var(--sb-t-13); font-weight: 650; padding: 4px 10px; border-radius: var(--sb-r-pill); background: var(--sb-mist); color: var(--sb-slate); }
.sb-fitbar.is-fit .sb-fitbar__top em { background: #E3EFE7; color: var(--sb-ok); }
.sb-fitbar.is-fit { box-shadow: inset 0 0 0 2px var(--sb-ok); }
.sb-fitbar__track { position: relative; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #DDE5E8, #CBE6D8 55%, #9FD3BA); }
.sb-fitbar__range { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, var(--sb-volt), var(--sb-wine)); opacity: .9; }
.sb-fitbar__you { position: absolute; top: -6px; width: 4px; height: 24px; margin-left: -2px; border-radius: 2px; background: var(--sb-graphite); box-shadow: 0 0 0 2px #fff; transition: left .25s var(--sb-ease); }
.sb-fit__note { margin: 14px 0 0; font-size: var(--sb-t-13); color: var(--sb-slate); max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .sb-fitbar__you { transition: none; } }

/* ---------------------------------------------------------------- home: brands, steps, guides, trust, faq */
.sb-hbrands__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sb-hbrand { display: grid; gap: 8px; align-content: start; padding: 22px 24px; border-radius: var(--sb-r-panel); background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); text-decoration: none; }
.sb-hbrand b { font-size: var(--sb-t-21); font-stretch: var(--sb-wide); font-weight: 780; letter-spacing: -0.02em; }
.sb-hbrand p { margin: 0; color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-hbrand span { font-size: var(--sb-t-13); font-weight: 650; color: var(--sb-walnut); }
.sb-hbrand:hover { box-shadow: inset 0 0 0 1.5px var(--sb-walnut); }

.sb-hsteps__list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.sb-hsteps__list li { counter-increment: s; position: relative; padding-top: 56px; }
.sb-hsteps__list li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sb-walnut); color: var(--sb-paper); font-weight: 800; }
.sb-hsteps__list li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 1.5px; background: rgba(18, 48, 63, .25); }
.sb-hsteps__list b { display: block; font-size: var(--sb-t-21); font-stretch: var(--sb-wide); margin-bottom: 8px; }
.sb-hsteps__list p { margin: 0; color: var(--sb-iron); }

.sb-hguides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sb-hguide { display: grid; gap: 8px; padding: 24px; border-radius: var(--sb-r-panel); background: var(--sb-mist); text-decoration: none; }
.sb-hguide svg { width: 28px; height: 28px; color: var(--sb-volt-deep); }
.sb-hguide b { font-size: var(--sb-t-18); }
.sb-hguide p { margin: 0; color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-hguide:hover { background: var(--sb-sand); }

.sb-htrust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.sb-htrust__grid > div { display: grid; gap: 8px; align-content: start; }
.sb-htrust svg { width: 26px; height: 26px; color: var(--sb-volt); }
.sb-htrust b { font-size: var(--sb-t-18); font-stretch: var(--sb-wide); }
.sb-htrust p { margin: 0; color: #CDBFAD; font-size: var(--sb-t-14); }
.sb-htrust a { color: var(--sb-paper); font-weight: 650; font-size: var(--sb-t-14); text-decoration-color: var(--sb-volt); }

.sb-hfaq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.sb-hfaq details, .sb-faqpage details { border-bottom: 1px solid var(--sb-line); }
.sb-hfaq summary, .sb-faqpage summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 650; font-size: var(--sb-t-18); list-style: none; }
.sb-hfaq summary::-webkit-details-marker, .sb-faqpage summary::-webkit-details-marker { display: none; }
.sb-hfaq summary svg, .sb-faqpage summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--sb-ease); }
.sb-hfaq details[open] summary svg, .sb-faqpage details[open] summary svg { transform: rotate(45deg); }
.sb-hfaq details p, .sb-faqpage details p { margin: 0 0 18px; color: var(--sb-iron); max-width: 70ch; }

/* ---------------------------------------------------------------- product page */
.sb-buy__brand a { color: var(--sb-walnut); }
.sb-buy__title { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.7rem); font-stretch: 108%; font-weight: 760; line-height: 1.12; }
.sb-buy__tag { margin: 8px 0 0; color: var(--sb-slate); font-size: var(--sb-t-16); }
.sb-pricebox { background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-pricebox__now { font-stretch: 105%; }
.sb-pricebox__deal span:last-child { color: var(--sb-wine); font-weight: 650; }
.sb-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.sb-key { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--sb-mist); }
.sb-key svg { grid-row: span 2; width: 22px; height: 22px; color: var(--sb-walnut); }
.sb-key dt { font-size: var(--sb-t-12); color: var(--sb-slate); }
.sb-key dd { margin: 0; font-weight: 680; font-size: var(--sb-t-14); line-height: 1.3; }
.sb-ship__row--warn { background: #F7E8E4; }
.sb-askcard__acts { flex-wrap: wrap; }

.sb-aside__card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--sb-iron); }
.sb-aside__card--needs { background: var(--sb-sand); }
.sb-twocol { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.sb-timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.sb-timeline li { position: relative; display: grid; gap: 4px; padding: 0 0 22px 34px; }
.sb-timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sb-volt); box-shadow: 0 0 0 4px var(--sb-volt-soft); }
.sb-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--sb-line); }
.sb-timeline b { font-size: var(--sb-t-16); }
.sb-timeline span { color: var(--sb-slate); }
.sb-checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.sb-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--sb-iron); }
.sb-checks svg { width: 20px; height: 20px; color: var(--sb-ok); margin-top: 2px; }
.sb-steps-mini { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--sb-iron); }

/* Product description content (generated by the pipeline) */
.sb-desc h3 { font-size: var(--sb-t-21); margin: 28px 0 10px; }
/* The description keeps its own spec table for Google Shopping; on the page the full Specifications section shows it. */
.sb-desc h3:has(+ table.sb-spec), .sb-desc table.sb-spec { display: none; }
.sb-desc ul { padding-left: 20px; display: grid; gap: 6px; }
.sb-desc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: var(--sb-t-14); }
.sb-desc th, .sb-desc td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--sb-line); vertical-align: top; }
.sb-desc .sb-spec th { width: 38%; color: var(--sb-slate); font-weight: 600; }
.sb-desc .sb-size thead th { background: var(--sb-mist); font-weight: 650; }
.sb-desc .sb-size td { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- content pages */
.sb-trk { max-width: 860px; }
.sb-page h2 { font-size: var(--sb-t-h1); margin: 40px 0 12px; }
.sb-page h3 { font-size: var(--sb-t-21); margin: 28px 0 8px; }
.sb-page p, .sb-page li { color: var(--sb-iron); line-height: 1.7; }
.sb-page table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: var(--sb-t-14); }
.sb-page th, .sb-page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sb-line); vertical-align: top; }
.sb-page thead th { background: var(--sb-mist); }
.sb-page .sb-callout { padding: 18px 20px; border-radius: 16px; background: var(--sb-sand); margin: 20px 0; }
.sb-page .sb-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 18px 0 8px; }
.sb-page .sb-toc a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: var(--sb-r-pill); background: var(--sb-mist); text-decoration: none; font-weight: 600; font-size: var(--sb-t-14); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .sb-hcats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb-htrust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sb-hsize__grid, .sb-fit, .sb-hfaq, .sb-twocol { grid-template-columns: 1fr; }
  .sb-hbrands__grid, .sb-hguides__grid { grid-template-columns: 1fr 1fr; }
  .sb-hsteps__list { grid-template-columns: 1fr; }
  .sb-hsteps__list li:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .sb-hhero { min-height: 640px; }
  .sb-hhero::before { background: linear-gradient(0deg, rgba(14, 27, 36, .9) 10%, rgba(14, 27, 36, .45) 70%, rgba(14, 27, 36, .2)); }
  .sb-hcats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sb-hbrands__grid, .sb-hguides__grid, .sb-htrust__grid { grid-template-columns: 1fr; }
  .sb-hfit { grid-template-columns: 56px minmax(0, 1fr); }
  .sb-hfit img { width: 56px; height: 56px; }
  .sb-hfit__p { grid-column: 2; }
  .sb-keys { grid-template-columns: 1fr 1fr; }
  .sb-fitbar__top em { margin-left: 0; }
}

/* ==========================================================================
   v2 fixes (2026-11-17): menu contrast, home density, sticky buy, product motion
   ========================================================================== */

/* ---- desktop nav + mega menu: the panel sits inside the dark header, so reset its ink */
.sb-header .sb-nav__item:hover .sb-nav__link, .sb-header .sb-nav__item:hover .sb-nav__more,
.sb-header .sb-nav__item.is-open .sb-nav__link, .sb-header .sb-nav__item.is-open .sb-nav__more { background: rgba(246, 248, 247, .12); color: #fff; }
.sb-header .sb-mega { color: var(--sb-ink); background: var(--sb-paper); border-top: 1px solid rgba(14, 27, 36, .08); box-shadow: 0 24px 48px -24px rgba(14, 27, 36, .35); }
.sb-header .sb-mega a { color: var(--sb-ink); }
.sb-mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 28px; align-content: start; }
.sb-mega__col h2 { font-size: var(--sb-t-13); font-weight: 650; color: var(--sb-walnut); margin: 0 0 8px; letter-spacing: 0; }
.sb-mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sb-mega__col li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; }
.sb-mega__col li a:hover { background: var(--sb-mist); }
.sb-mega__l { display: grid; gap: 1px; }
.sb-mega__l b { font-size: var(--sb-t-14); font-weight: 650; color: var(--sb-ink); }
.sb-mega__l small { font-size: var(--sb-t-12); color: var(--sb-slate); }
.sb-mega__n { flex: none; min-width: 28px; padding: 2px 8px; border-radius: var(--sb-r-pill); background: var(--sb-mist); color: var(--sb-slate); font-size: var(--sb-t-12); text-align: center; font-variant-numeric: tabular-nums; }
.sb-mega__feat { background: var(--sb-sand); }
.sb-mega__ft b { color: var(--sb-ink); }
.sb-mega__promo a { color: var(--sb-volt) !important; font-weight: 650; }
.sb-mega__foot a { color: var(--sb-ink); }

/* ---- mobile drawer: warm palette, readable tiles */
.sb-drawer__panel { background: var(--sb-paper); color: var(--sb-ink); }
.sb-dtile { background: var(--sb-sand); color: var(--sb-ink); }
.sb-dtile span { color: var(--sb-walnut); }
.sb-dlinks a { color: var(--sb-ink); }
.sb-dsec { color: var(--sb-walnut); font-weight: 650; }
.sb-dquick a { background: var(--sb-mist); color: var(--sb-ink); }

/* ---- home: grids size themselves to the number of tiles, no empty columns */
.sb-hcats__grid { grid-template-columns: repeat(min(var(--n, 6), 6), minmax(0, 1fr)); }
@media (max-width: 1100px) { .sb-hcats__grid { grid-template-columns: repeat(min(var(--n, 3), 3), minmax(0, 1fr)); } }
@media (max-width: 600px) { .sb-hcats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sb-hhero__facts { gap: 12px 28px; }
.sb-section { padding: clamp(48px, 6vw, 96px) 0; }
.sb-hsize__list:empty { display: none; }

/* ---- sticky buy: desktop section bar and mobile bottom bar */
.sb-secnav__buy { gap: 8px; }
.sb-btn--buy, .sb-btn--buy2 { --bg: var(--sb-graphite); --fg: var(--sb-paper); --bd: var(--sb-graphite); }
.sb-btn--buy:hover, .sb-btn--buy2:hover { --bg: var(--sb-walnut); --bd: var(--sb-walnut); }
.variations_form .sb-btn--buy { width: 100%; margin-top: 10px; }
.sb-mbar { background: rgba(246, 248, 247, .97); border-top: 1px solid var(--sb-line); box-shadow: 0 -12px 28px -18px rgba(14, 27, 36, .35); }
.sb-mbar__btns { display: flex; gap: 8px; margin-left: auto; }
.sb-mbar .sb-btn { margin-left: 0; min-height: 48px; padding: 0 16px; }
.sb-mbar .sb-btn svg { width: 18px; height: 18px; }
@media (max-width: 380px) { .sb-mbar .sb-btn--volt span { display: none; } .sb-mbar .sb-btn--volt { padding: 0 14px; } }
.sb-attn { animation: sb-attn 1.2s var(--sb-ease); border-radius: 16px; }
@keyframes sb-attn { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 163, 106, 0); } 30% { box-shadow: 0 0 0 6px rgba(31, 163, 106, .35); } }

/* ---- product page motion: one orchestrated entrance, then motion only in answer to actions */
@media (prefers-reduced-motion: no-preference) {
  .sb-enter .sb-gallery { animation: sb-rise .7s var(--sb-ease) both; }
  .sb-enter .sb-buy > * { animation: sb-rise .6s var(--sb-ease) both; }
  .sb-enter .sb-buy > :nth-child(1) { animation-delay: .08s; }
  .sb-enter .sb-buy > :nth-child(2) { animation-delay: .14s; }
  .sb-enter .sb-buy > :nth-child(3) { animation-delay: .2s; }
  .sb-enter .sb-buy > :nth-child(4) { animation-delay: .26s; }
  .sb-enter .sb-buy > :nth-child(5) { animation-delay: .32s; }
  .sb-enter .sb-buy > :nth-child(n+6) { animation-delay: .38s; }
  .sb-gallery__stage img.is-swap { animation: sb-swap .45s var(--sb-ease); }
  .sb-key { transition: transform .2s var(--sb-ease), background-color .2s var(--sb-ease); }
  .sb-key:hover { transform: translateY(-2px); background: var(--sb-sand); }
  .sb-fitbar__range { animation: sb-grow .8s var(--sb-ease) both; transform-origin: left center; }
  .single_add_to_cart_button.is-added, [data-sb-add].is-added { animation: sb-pop .5s var(--sb-ease); }
  .sb-cart-count.is-bump { animation: sb-bump .6s var(--sb-ease); }
  .sb-pricebox__deal .sb-badge--sale { animation: sb-glow 2.4s ease-in-out 1s 2; }
}
@keyframes sb-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sb-swap { from { opacity: .2; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes sb-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sb-pop { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes sb-bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes sb-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(110, 42, 49, 0); } 50% { box-shadow: 0 0 0 5px rgba(110, 42, 49, .18); } }
.single_add_to_cart_button.is-added { background: var(--sb-ok) !important; border-color: var(--sb-ok) !important; color: #fff !important; }

/* ==========================================================================
   v3 product page: short H1, deadline + delivery at the price, heater add-on,
   documents, fit check form, space check, compare table, arrival strip, videos
   ========================================================================== */
.sb-buy__full { margin: 6px 0 0; font-size: var(--sb-t-13); color: var(--sb-slate); line-height: 1.45; }
.sb-pricebox__ends { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: var(--sb-t-14); color: var(--sb-wine); }
.sb-pricebox__ends svg, .sb-pricebox__eta svg { width: 18px; height: 18px; flex: none; }
.sb-pricebox__eta { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: var(--sb-t-14); color: var(--sb-iron); }
.sb-pricebox__eta b { color: var(--sb-ok); }

/* Heater add-on picker */
.sb-addon { border: 0; margin: 4px 0 14px; padding: 0; display: grid; gap: 8px; width: 100%; }
.sb-addon legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: var(--sb-t-16); }
.sb-addon legend small { display: block; font-weight: 400; color: var(--sb-slate); font-size: var(--sb-t-13); }
.sb-addon__opt { display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sb-line); cursor: pointer; transition: box-shadow .15s var(--sb-ease); }
.sb-addon__opt:hover { box-shadow: inset 0 0 0 1.5px var(--sb-walnut); }
.sb-addon__opt.is-on { box-shadow: inset 0 0 0 2px var(--sb-graphite); background: var(--sb-paper); }
.sb-addon__opt input { accent-color: var(--sb-graphite); width: 18px; height: 18px; }
.sb-addon__img { width: 56px; height: 56px; border-radius: 10px; background: var(--sb-mist); display: grid; place-items: center; overflow: hidden; }
.sb-addon__img img { width: 100%; height: 100%; object-fit: contain; }
.sb-addon__img--none svg { width: 20px; height: 20px; color: var(--sb-slate); }
.sb-addon__t { display: grid; gap: 1px; min-width: 0; }
.sb-addon__t b { font-size: var(--sb-t-14); line-height: 1.3; }
.sb-addon__t small { font-size: var(--sb-t-12); color: var(--sb-slate); }
.sb-addon__t a { font-size: var(--sb-t-12); color: var(--sb-walnut); width: max-content; }
.sb-addon__p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-addon__total { margin: 2px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--sb-sand); font-size: var(--sb-t-14); }

/* Documents */
.sb-docs2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sb-docbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--sb-mist); text-decoration: none; font-weight: 600; font-size: var(--sb-t-14); }
.sb-docbtn svg { width: 18px; height: 18px; color: var(--sb-walnut); }
.sb-docbtn small { color: var(--sb-slate); font-weight: 500; }
.sb-docbtn:hover { background: var(--sb-sand); }

/* Free fit check */
.sb-fitcheck { margin-top: 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-fitcheck summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.sb-fitcheck summary::-webkit-details-marker { display: none; }
.sb-fitcheck summary > svg:first-child { width: 22px; height: 22px; color: var(--sb-volt-deep); }
.sb-fitcheck summary > svg:last-child { width: 18px; height: 18px; transition: transform .2s var(--sb-ease); }
.sb-fitcheck[open] summary > svg:last-child { transform: rotate(180deg); }
.sb-fitcheck summary span { display: grid; gap: 2px; }
.sb-fitcheck summary small { color: var(--sb-slate); font-size: var(--sb-t-13); }
.sb-fitcheck__form { display: grid; gap: 10px; padding: 0 16px 16px; }
.sb-fitcheck__dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb-fitcheck__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sb-fitcheck .sb-field { display: grid; gap: 4px; font-size: var(--sb-t-12); font-weight: 600; color: var(--sb-slate); }
.sb-fitcheck input, .sb-fitcheck select, .sb-fitcheck textarea { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--sb-line); background: var(--sb-paper); font-size: var(--sb-t-14); color: var(--sb-ink); }
.sb-fitcheck textarea { min-height: 64px; }

/* Space check */
.sb-space { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sb-space__out { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--sb-line); }
.sb-space__plan { width: 100%; height: auto; }
.sb-space__room { fill: var(--sb-mist); stroke: var(--sb-walnut); stroke-width: 1.5; stroke-dasharray: 4 3; transition: all .3s var(--sb-ease); }
.sb-space__sauna { fill: var(--sb-volt); fill-opacity: .85; transition: all .3s var(--sb-ease); }
.sb-space__plan.is-no .sb-space__sauna { fill: var(--sb-bad); }
.sb-space__verdict { margin: 0 0 8px; font-weight: 700; font-size: var(--sb-t-18); }
.sb-space__verdict.is-ok { color: var(--sb-ok); }
.sb-space__verdict.is-no { color: var(--sb-bad); }
.sb-space__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--sb-t-14); }
.sb-space__lines li { padding-left: 22px; position: relative; color: var(--sb-iron); }
.sb-space__lines li::before { position: absolute; left: 0; font-weight: 800; }
.sb-space__lines li.is-ok::before { content: "✓"; color: var(--sb-ok); }
.sb-space__lines li.is-no::before { content: "✗"; color: var(--sb-bad); }

/* Compare table */
.sb-cmp2 { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--sb-line); background: #fff; }
.sb-cmp2 table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--sb-t-14); }
.sb-cmp2 th, .sb-cmp2 td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--sb-line); vertical-align: top; }
.sb-cmp2 tbody th { color: var(--sb-slate); font-weight: 600; width: 18%; }
.sb-cmp2 thead th { vertical-align: bottom; }
.sb-cmp2 thead a { display: grid; gap: 8px; text-decoration: none; font-weight: 650; color: var(--sb-ink); }
.sb-cmp2 thead img { width: 88px; height: 88px; object-fit: contain; border-radius: 12px; background: var(--sb-paper); }
.sb-cmp2 thead em { display: block; font-style: normal; font-size: var(--sb-t-12); color: var(--sb-volt-deep); font-weight: 700; }
.sb-cmp2 .is-this { background: var(--sb-paper); }
.sb-cmp2 tr:last-child th, .sb-cmp2 tr:last-child td { border-bottom: 0; }

/* Arrival strip + manufacturer videos */
.sb-arrive { list-style: none; margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sb-arrive li { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--sb-mist); }
.sb-arrive svg { width: 26px; height: 26px; color: var(--sb-walnut); margin-bottom: 6px; }
.sb-arrive b { font-size: var(--sb-t-16); }
.sb-arrive span { color: var(--sb-slate); font-size: var(--sb-t-14); }
.sb-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); }
.sb-vid { position: relative; display: block; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--sb-graphite); cursor: pointer; text-align: left; aspect-ratio: 16 / 9; }
.sb-vid img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s var(--sb-ease); }
.sb-vid:hover img { opacity: 1; }
.sb-vid__play { position: absolute; left: 50%; top: 45%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%; background: var(--sb-volt); color: var(--sb-graphite); }
.sb-vid__play svg { width: 26px; height: 26px; }
.sb-vid b { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; background: linear-gradient(0deg, rgba(14, 27, 36, .85), transparent); color: var(--sb-paper); font-size: var(--sb-t-14); }
.sb-vid__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; }

@media (max-width: 900px) {
  .sb-space, .sb-space__out { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sb-addon__opt { grid-template-columns: 20px 44px minmax(0, 1fr); }
  .sb-addon__img { width: 44px; height: 44px; }
  .sb-addon__p { grid-column: 3; }
  .sb-fitcheck__dims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ==========================================================================
   v4 mobile + Black Friday motion (2026-11-17)
   ========================================================================== */

/* Price box: real padding so nothing touches the edge */
.sb-pricebox { border-top: 0; padding: 18px 20px 16px; border-radius: 20px; gap: 8px; }
.sb-pricebox__row { flex-wrap: wrap; row-gap: 4px; }
.sb-pricebox__deal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sb-stock { margin-left: 2px; }
@media (max-width: 600px) {
  .sb-pricebox { padding: 16px 16px 14px; }
  .sb-pricebox__now { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

/* Black Friday: shimmer badge, live countdown, counting savings */
.sb-badge--sale { position: relative; overflow: hidden; isolation: isolate; }
.sb-pricebox__deal .sb-badge--sale { padding: 7px 12px; font-size: var(--sb-t-14); background: linear-gradient(100deg, var(--sb-wine) 0%, #8e3540 45%, var(--sb-volt-deep) 100%); }
.sb-cd { display: inline-flex; gap: 4px; margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; }
.sb-cd i { font-style: normal; min-width: 34px; padding: 4px 6px; border-radius: 8px; background: var(--sb-wine); color: #FFF3EC; text-align: center; font-size: var(--sb-t-13); line-height: 1.2; }
.sb-cd i small { display: block; font-size: 9px; font-weight: 600; opacity: .75; }
.sb-pricebox__ends { flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: #FBEDEA; }
.sb-announce { background: linear-gradient(90deg, var(--sb-wine), #842f39, var(--sb-wine)); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .sb-badge--sale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: sb-shine 3.2s ease-in-out infinite; }
  .sb-card__badges .sb-badge--sale::after { animation-duration: 4.5s; }
  .sb-pricebox__deal .sb-badge--sale { animation: sb-breathe 2.6s ease-in-out infinite; }
  .sb-announce { animation: sb-flow 8s linear infinite; }
  .sb-cd i.is-tick { animation: sb-tick .45s var(--sb-ease); }
  .sb-hhero__sale { animation: sb-breathe 2.6s ease-in-out infinite; }
}
@keyframes sb-shine { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes sb-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(219, 90, 49, 0); } 50% { box-shadow: 0 0 0 6px rgba(219, 90, 49, .18); } }
@keyframes sb-flow { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@keyframes sb-tick { 0% { transform: translateY(-3px); opacity: .4; } 100% { transform: none; opacity: 1; } }

/* Mobile header: a menu icon you can see */
.sb-menu-btn { flex: none; width: 46px; height: 46px; color: var(--sb-paper); }
.sb-menu-btn svg { width: 28px; height: 28px; stroke-width: 2.1; }
@media (max-width: 600px) {
  .sb-header .sb-logo { font-size: 1.15rem; }
  .sb-header .sb-logo .sb-mark { width: 28px; height: 28px; }
}

/* Mobile drawer: image above the label, never on top of it */
.sb-dtile { justify-content: flex-start; gap: 6px; min-height: 0; padding: 10px 12px 12px; }
.sb-dtile img { position: static; width: 100%; height: 76px; object-fit: contain; margin: 0 0 4px; mix-blend-mode: multiply; }
.sb-dtile b { font-size: var(--sb-t-14); line-height: 1.25; }
.sb-dcall { display: grid; gap: 4px; justify-items: center; }
.sb-dcall .sb-btn { min-height: 48px; font-size: var(--sb-t-16); }
.sb-dcall small { font-size: var(--sb-t-12); color: var(--sb-slate); }
.sb-drawer__panel .sb-dlinks:last-of-type { margin-bottom: 8px; }

/* Home steps: compact on phones, number beside the title */
@media (max-width: 900px) {
  .sb-hsteps__list { gap: 18px; }
  .sb-hsteps__list li { padding: 0 0 0 52px; min-height: 40px; }
  .sb-hsteps__list li::before { width: 36px; height: 36px; font-size: var(--sb-t-14); }
  .sb-hsteps__list b { font-size: var(--sb-t-18); margin: 6px 0 6px; }
  .sb-hsteps__list p { font-size: var(--sb-t-14); }
}
@media (max-width: 600px) {
  .sb-h2 { font-size: clamp(1.6rem, 6.6vw, 2.1rem); }
  .sb-section { padding: 44px 0; }
}

/* v4.1 */
.sb-pricebox__ends { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 8px 10px; }
.sb-pricebox__ends .sb-cd { grid-column: 1 / -1; margin-left: 0; }
@media (min-width: 601px) { .sb-pricebox__ends { grid-template-columns: 20px minmax(0, 1fr) auto; } .sb-pricebox__ends .sb-cd { grid-column: auto; } }
.sb-dcall { background: var(--sb-paper); box-shadow: 0 -10px 20px -12px rgba(14, 27, 36, .25); z-index: 2; }

/* v5: on phones the short H1 is the headline (the old layout shrank the title into a subtitle) */
@media (max-width: 900px) {
  .sb-buy .sb-buy__title { margin-top: 8px; font-size: clamp(1.35rem, 5.6vw, 1.7rem); font-weight: 760; letter-spacing: -0.02em; line-height: 1.15; color: var(--sb-ink); font-stretch: 108%; }
  .sb-buy__full { font-size: var(--sb-t-13); }
}

/* v5: while Stripe builds the card form, show that it is loading instead of an empty box */
.smag-payment-element:not(:has(iframe)) { position: relative; min-height: 132px; border-radius: 12px; background: linear-gradient(90deg, var(--sb-mist) 25%, #fff 50%, var(--sb-mist) 75%); background-size: 200% 100%; }
.smag-payment-element:not(:has(iframe))::before { content: "Loading secure card form…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--sb-slate); font-size: var(--sb-t-14); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .smag-payment-element:not(:has(iframe)) { animation: sb-skel 1.2s linear infinite; } }
@keyframes sb-skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ==========================================================================
   Policy and info pages (page.php): title + lede, "On this page" list, prose
   ========================================================================== */
.sb-prose .sb-page { max-width: none; padding: 0; } /* the content wrapper written by scripts/pages.py */
.sb-doc { padding: clamp(32px, 4.5vw, 64px) 0 var(--sb-section); }
.sb-doc__wrap { max-width: 1120px; margin: 0 auto; }
.sb-doc__head { padding-bottom: clamp(24px, 3vw, 36px); margin-bottom: clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--sb-line); }
.sb-doc__head h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); letter-spacing: -0.04em; }
.sb-doc__lede { margin: 14px 0 0; max-width: 58ch; color: var(--sb-slate); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.5; }
.sb-doc--lede .sb-prose .sb-page > .sb-lede:first-child { display: none; }
.sb-doc__grid { display: grid; grid-template-columns: minmax(0, 740px); }
.sb-doc--toc .sb-doc__grid { grid-template-columns: 220px minmax(0, 740px); gap: clamp(40px, 6vw, 96px); }
.sb-doc__side { position: sticky; top: calc(var(--sb-header-h) + 28px); align-self: start; display: grid; gap: 24px; }
.sb-doc__toc p { margin: 0 0 10px; color: var(--sb-ink); font-size: var(--sb-t-13); font-weight: 650; }
.sb-doc__toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--sb-line); }
.sb-doc__toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--sb-slate); font-size: var(--sb-t-14); line-height: 1.35; text-decoration: none; }
.sb-doc__toc a:hover { color: var(--sb-ink); border-left-color: var(--sb-volt); }
.sb-doc__help { padding: 16px 18px; border-radius: 14px; background: var(--sb-mist); font-size: var(--sb-t-14); }
.sb-doc__help p { margin: 4px 0 0; color: var(--sb-slate); line-height: 1.5; }
.sb-doc .sb-prose { max-width: none; font-size: 1.0625rem; }
.sb-doc .sb-prose p, .sb-doc .sb-prose li { color: var(--sb-iron); line-height: 1.7; }
.sb-doc .sb-prose h2 { margin: 52px 0 14px; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); letter-spacing: -0.025em; scroll-margin-top: calc(var(--sb-header-h) + 24px); }
.sb-doc .sb-prose .sb-page > h2:first-child, .sb-doc .sb-prose .sb-callout + h2 { margin-top: 36px; }
.sb-doc .sb-prose h3 { margin: 28px 0 8px; font-size: var(--sb-t-18); letter-spacing: -0.01em; }
.sb-doc .sb-prose a { text-decoration-color: var(--sb-volt); text-decoration-thickness: 1.5px; }
.sb-doc .sb-prose a:hover { text-decoration-color: currentColor; }
.sb-doc .sb-prose .sb-callout { margin: 0 0 8px; padding: 18px 22px; border-radius: 16px; background: var(--sb-sand); color: var(--sb-ink); line-height: 1.6; }
.sb-table-scroll { margin: 16px 0 24px; overflow-x: auto; border: 1px solid var(--sb-line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.sb-doc .sb-prose .sb-table-scroll table { margin: 0; }
.sb-doc .sb-prose .sb-table-scroll table:has(thead) { min-width: 540px; }
.sb-doc .sb-prose .sb-table-scroll table:has(thead) td { min-width: 8.5em; }
.sb-doc .sb-prose th, .sb-doc .sb-prose td { padding: 12px 16px; vertical-align: top; }
.sb-doc .sb-prose thead th { background: var(--sb-mist); color: var(--sb-ink); font-size: var(--sb-t-13); font-weight: 650; }
.sb-doc .sb-prose tbody th { width: 28%; font-weight: 600; }
.sb-doc .sb-prose tbody tr:last-child > * { border-bottom: 0; }
@media (min-width: 1000px) {
  .sb-doc--toc .sb-prose .sb-toc { display: none; } /* the guide page's own chip list; the side list replaces it */
}
@media (max-width: 999px) {
  .sb-doc--toc .sb-doc__grid { grid-template-columns: minmax(0, 1fr); }
  .sb-doc__side { display: none; }
}
@media (max-width: 760px) {
  .sb-doc .sb-prose { font-size: 1rem; }
  .sb-doc .sb-prose h2 { margin-top: 40px; }
  .sb-doc .sb-prose th, .sb-doc .sb-prose td { padding: 10px 12px; }
}
