/* reset.css */

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  ul,
  ol {
    margin: 0;
    padding: 0;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  [hidden] {
    display: none !important;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
    }
  }



/* base.css */

  body {
    min-width: 0;
    min-height: 100vh;
    background: var(--halo-color-canvas);
    color: var(--halo-color-text);
    font-family: var(--halo-font-sans);
    font-size: var(--halo-text-body-size);
    font-weight: var(--halo-text-body-weight);
    line-height: var(--halo-text-body-leading);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  p {
    max-width: var(--halo-measure-body);
  }

  a {
    color: inherit;
  }

  :focus-visible {
    outline: var(--halo-focus-ring-width) solid var(--halo-color-focus);
    outline-offset: var(--halo-focus-ring-offset);
  }

  ::selection {
    background: var(--halo-color-action-primary);
    color: var(--halo-color-action-primary-text);
  }

  .halo-skip-link {
    position: fixed;
    top: var(--halo-space-3);
    left: var(--halo-space-3);
    z-index: var(--halo-layer-modal);
    padding: var(--halo-space-3) var(--halo-space-4);
    border-radius: var(--halo-radius-sm);
    background: var(--halo-color-surface-strong);
    color: var(--halo-color-text-inverse);
    transform: translateY(calc(-100% - var(--halo-space-4)));
  }

  .halo-skip-link:focus {
    transform: translateY(0);
  }



/* typography.css */
  :where(h1, h2, h3, h4),
  .halo-heading-1,
  .halo-heading-2,
  .halo-heading-3,
  .halo-heading-4 {
    margin: 0;
    color: var(--halo-color-heading);
    font-family: var(--halo-font-sans);
    text-wrap: balance;
  }

  :where(h1),
  .halo-heading-1 {
    font-size: var(--halo-text-h1-size);
    font-weight: var(--halo-text-h1-weight);
    letter-spacing: var(--halo-text-h1-tracking);
    line-height: var(--halo-text-h1-leading);
  }

  :where(h2),
  .halo-heading-2 {
    font-size: var(--halo-text-h2-size);
    font-weight: var(--halo-text-h2-weight);
    letter-spacing: var(--halo-text-h2-tracking);
    line-height: var(--halo-text-h2-leading);
  }

  :where(h3),
  .halo-heading-3 {
    font-size: var(--halo-text-h3-size);
    font-weight: var(--halo-text-h3-weight);
    letter-spacing: var(--halo-text-h3-tracking);
    line-height: var(--halo-text-h3-leading);
  }

  :where(h4),
  .halo-heading-4 {
    font-size: var(--halo-text-h4-size);
    font-weight: var(--halo-text-h4-weight);
    letter-spacing: var(--halo-text-h4-tracking);
    line-height: var(--halo-text-h4-leading);
  }

  .halo-display {
    color: var(--halo-color-heading);
    font-family: var(--halo-font-sans);
    font-size: var(--halo-text-display-size);
    font-weight: var(--halo-text-display-weight);
    letter-spacing: var(--halo-text-display-tracking);
    line-height: var(--halo-text-display-leading);
    text-wrap: balance;
  }

  .halo-body-lg {
    font-size: var(--halo-text-body-lg-size);
    font-weight: var(--halo-text-body-lg-weight);
    letter-spacing: var(--halo-text-body-lg-tracking);
    line-height: var(--halo-text-body-lg-leading);
  }

  .halo-body {
    font-size: var(--halo-text-body-size);
    font-weight: var(--halo-text-body-weight);
    letter-spacing: var(--halo-text-body-tracking);
    line-height: var(--halo-text-body-leading);
  }

  .halo-body-sm {
    font-size: var(--halo-text-body-sm-size);
    font-weight: var(--halo-text-body-sm-weight);
    letter-spacing: var(--halo-text-body-sm-tracking);
    line-height: var(--halo-text-body-sm-leading);
  }

  .halo-caption {
    font-size: var(--halo-text-caption-size);
    font-weight: var(--halo-text-caption-weight);
    letter-spacing: var(--halo-text-caption-tracking);
    line-height: var(--halo-text-caption-leading);
  }

  .halo-label {
    font-family: var(--halo-font-label);
    font-size: var(--halo-text-label-size);
    font-weight: var(--halo-text-label-weight);
    letter-spacing: var(--halo-text-label-tracking);
    line-height: var(--halo-text-label-leading);
  }

  .halo-product-title {
    color: var(--halo-color-heading);
    font-family: var(--halo-font-sans);
    font-size: var(--halo-text-product-title-size);
    font-weight: var(--halo-text-product-title-weight);
    letter-spacing: var(--halo-text-product-title-tracking);
    line-height: var(--halo-text-product-title-leading);
  }

  .halo-product-price {
    color: var(--halo-color-text);
    font-family: var(--halo-font-sans);
    font-size: var(--halo-text-product-price-size);
    font-weight: var(--halo-text-product-price-weight);
    letter-spacing: var(--halo-text-product-price-tracking);
    line-height: var(--halo-text-product-price-leading);
  }

  .halo-eyebrow {
    color: var(--halo-color-text-subtle);
    font-family: var(--halo-font-label);
    font-size: var(--halo-text-eyebrow-size);
    font-weight: var(--halo-text-eyebrow-weight);
    letter-spacing: var(--halo-text-eyebrow-tracking);
    line-height: var(--halo-text-eyebrow-leading);
    text-transform: uppercase;
  }

  .halo-lead {
    max-width: var(--halo-measure-lead);
    color: var(--halo-color-text-subtle);
    font-size: var(--halo-text-body-lg-size);
    font-weight: var(--halo-text-body-lg-weight);
    letter-spacing: var(--halo-text-body-lg-tracking);
    line-height: var(--halo-text-body-lg-leading);
  }

  .halo-hero-heading {
    font-family: var(--halo-font-sans);
    font-size: var(--halo-text-hero-size);
    font-weight: var(--halo-text-hero-weight);
    line-height: var(--halo-text-hero-leading);
    letter-spacing: var(--halo-text-hero-tracking);
  }
  .halo-hero-body {
    font-family: var(--halo-font-sans);
    font-size: var(--halo-text-hero-body-size);
    font-weight: var(--halo-text-hero-body-weight);
    line-height: var(--halo-text-hero-body-leading);
    letter-spacing: var(--halo-text-hero-body-tracking);
  }


/* <halo-legacy-pdp> roles: live's PDP type at every width (tokens.css explains).
   Elements live leaves at its inherited body line take --halo-text-legacy-pdp-line (27.2px). */

 .halo-legacy-pdp-title {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-title-size);
  font-weight:var(--halo-text-legacy-pdp-title-weight);
  line-height:var(--halo-text-legacy-pdp-title-leading);
  letter-spacing:var(--halo-text-legacy-pdp-title-tracking);
 }
 .halo-legacy-pdp-rating {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-rating-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-review-count {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-review-count-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-summary {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-summary-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-summary-leading);
  letter-spacing:0;
 }
 .halo-legacy-pdp-label {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-label-size);
  font-weight:var(--halo-text-legacy-pdp-label-weight);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-delivery {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-delivery-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-feature {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-feature-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-feature-leading);
  letter-spacing:0;
 }
 .halo-legacy-pdp-membership-label {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-membership-label-size);
  font-weight:var(--halo-font-weight-medium);
  line-height:var(--halo-text-legacy-pdp-membership-leading);
  letter-spacing:0;
 }
 .halo-legacy-pdp-membership-desc {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-membership-desc-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-membership-leading);
  letter-spacing:0;
 }
 .halo-legacy-pdp-membership-price {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-membership-label-size);
  font-weight:var(--halo-font-weight-medium);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-upsell {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-upsell-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-upsell-leading);
  letter-spacing:0;
 }
 .halo-legacy-pdp-link {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-link-size);
  font-weight:var(--halo-font-weight-medium);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-price {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-price-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:1;
  letter-spacing:var(--halo-text-legacy-pdp-price-tracking);
 }
 .halo-legacy-pdp-original {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-original-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-note {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-note-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-savings {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-note-size);
  font-weight:var(--halo-font-weight-medium);
  line-height:var(--halo-text-legacy-pdp-line);
  letter-spacing:0;
 }
 .halo-legacy-pdp-cart {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-cart-size);
  font-weight:var(--halo-font-weight-medium);
  line-height:normal;
  letter-spacing:0;
 }
 .halo-legacy-pdp-check {
  font-family:var(--halo-font-legacy-pdp-check);
  font-size:var(--halo-text-legacy-pdp-check-size);
  font-weight:var(--halo-text-legacy-pdp-check-weight);
  line-height:normal;
  letter-spacing:0;
 }
 .halo-legacy-pdp-caption {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-caption-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-caption-leading);
  letter-spacing:0;
 }
 .halo-legacy-pdp-fit-title {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-fit-title-size);
  font-weight:var(--halo-font-weight-bold);
  line-height:1;
  letter-spacing:0;
 }
 .halo-legacy-pdp-fit-stat-label {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-fit-stat-label-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:1.25;
  letter-spacing:0;
 }
 .halo-legacy-pdp-fit-stat {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-fit-stat-size);
  font-weight:var(--halo-font-weight-bold);
  line-height:1.25;
  letter-spacing:-0.01em;
 }
 .halo-legacy-pdp-fit-heading {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-fit-heading-size);
  font-weight:var(--halo-font-weight-bold);
  line-height:1;
  letter-spacing:0;
 }
 .halo-legacy-pdp-fit-body {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-legacy-pdp-fit-body-size);
  font-weight:var(--halo-font-weight-regular);
  line-height:var(--halo-text-legacy-pdp-fit-body-leading);
  letter-spacing:0;
 }
 @media(max-width:768px) {.halo-legacy-pdp-title {font-size:var(--halo-text-legacy-pdp-title-size-narrow)}}
 @media(max-width:640px) {
  .halo-legacy-pdp-price {font-size:var(--halo-text-legacy-pdp-price-size-narrow)}
  .halo-legacy-pdp-original {font-size:var(--halo-text-legacy-pdp-original-size-narrow)}
  .halo-legacy-pdp-caption {font-size:var(--halo-text-legacy-pdp-caption-size-narrow)}
 }
 @media(max-width:380px) {.halo-legacy-pdp-feature {font-size:var(--halo-text-legacy-pdp-feature-size-narrow)}}

 .halo-pdp-title {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-pdp-title-size);
  font-weight:var(--halo-text-pdp-title-weight);
  line-height:var(--halo-text-pdp-title-leading);
  letter-spacing:var(--halo-text-pdp-title-tracking);
 }
 .halo-purchase-price {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-purchase-price-size);
  font-weight:var(--halo-text-purchase-price-weight);
  line-height:var(--halo-text-purchase-price-leading);
  letter-spacing:var(--halo-text-purchase-price-tracking);
 }
 .halo-interface {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-interface-size);
  font-weight:var(--halo-text-interface-weight);
  line-height:var(--halo-text-interface-leading);
  letter-spacing:var(--halo-text-interface-tracking);
 }
 .halo-interface-sm {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-interface-sm-size);
  font-weight:var(--halo-text-interface-sm-weight);
  line-height:var(--halo-text-interface-sm-leading);
  letter-spacing:var(--halo-text-interface-sm-tracking);
 }
 .halo-promo-text {
  font-family:var(--halo-font-label);
  font-size:var(--halo-text-promo-size);
  font-weight:var(--halo-text-promo-weight);
  line-height:var(--halo-text-promo-leading);
  letter-spacing:var(--halo-text-promo-tracking);
 }
 .halo-nav-link-text {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-nav-link-size);
  font-weight:var(--halo-text-nav-link-weight);
  line-height:var(--halo-text-nav-link-leading);
  letter-spacing:var(--halo-text-nav-link-tracking);
 }
 .halo-nav-category-text {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-nav-category-size);
  font-weight:var(--halo-text-nav-category-weight);
  line-height:var(--halo-text-nav-category-leading);
  letter-spacing:var(--halo-text-nav-category-tracking);
 }
 .halo-quote {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-quote-size);
  font-weight:var(--halo-text-quote-weight);
  line-height:var(--halo-text-quote-leading);
  letter-spacing:var(--halo-text-quote-tracking);
 }
 .halo-shop-title {
  color:var(--halo-color-heading);
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-shop-title-size);
  font-weight:var(--halo-text-shop-title-weight);
  line-height:var(--halo-text-shop-title-leading);
  letter-spacing:var(--halo-text-shop-title-tracking);
 }
 .halo-nav-product-title {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-nav-product-title-size);
  font-weight:var(--halo-text-nav-product-title-weight);
  line-height:var(--halo-text-nav-product-title-leading);
  letter-spacing:var(--halo-text-nav-product-title-tracking);
 }
 .halo-nav-product-price {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-nav-product-price-size);
  font-weight:var(--halo-text-nav-product-price-weight);
  line-height:var(--halo-text-nav-product-price-leading);
  letter-spacing:var(--halo-text-nav-product-price-tracking);
 }
 .halo-nav-badge-text {
  font-family:var(--halo-font-label);
  font-size:var(--halo-text-nav-badge-size);
  font-weight:var(--halo-text-nav-badge-weight);
  line-height:var(--halo-text-nav-badge-leading);
  letter-spacing:var(--halo-text-nav-badge-tracking);
 }
 .halo-feature-description {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-feature-description-size);
  font-weight:var(--halo-text-feature-description-weight);
  line-height:var(--halo-text-feature-description-leading);
  letter-spacing:var(--halo-text-feature-description-tracking);
 }
 .halo-purchase-price {font-variant-numeric:proportional-nums}
 :is(.halo-body,.halo-body-sm,.halo-body-lg,.halo-caption,.halo-lead) {font-family:var(--halo-font-sans)}
 @media(max-width:64rem) {
  .halo-nav-product-title--mobile {font-size:var(--halo-text-nav-product-title-mobile-size)}
  .halo-nav-product-price--mobile {font-size:var(--halo-text-nav-product-price-mobile-size)}
 }

 .halo-section-heading {
  color:var(--halo-color-heading);
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-section-heading-size);
  font-weight:var(--halo-text-section-heading-weight);
  line-height:var(--halo-text-section-heading-leading);
  letter-spacing:var(--halo-text-section-heading-tracking);
  text-wrap:balance;
 }
 .halo-section-title {
  color:var(--halo-color-heading);
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-section-title-size);
  font-weight:var(--halo-text-section-title-weight);
  line-height:var(--halo-text-section-title-leading);
  letter-spacing:var(--halo-text-section-title-tracking);
  text-wrap:balance;
 }
 .halo-feature-title {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-feature-title-size);
  font-weight:var(--halo-text-feature-title-weight);
  line-height:var(--halo-text-feature-title-leading);
  letter-spacing:var(--halo-text-feature-title-tracking);
 }
 .halo-badge-text {
  font-family:var(--halo-font-sans);
  font-size:var(--halo-text-badge-size);
  font-weight:var(--halo-text-badge-weight);
  line-height:var(--halo-text-badge-leading);
  letter-spacing:var(--halo-text-badge-tracking);
  text-transform:uppercase;
 }



/* themes.css */

  .halo-theme-section {
    background: var(--halo-color-surface-section);
  }

  .halo-theme-dark,
  .halo-theme-dark-deep {
    --halo-color-heading: var(--halo-color-text-inverse);
    --halo-color-text: var(--halo-color-text-inverse);
    --halo-color-text-subtle: var(--halo-color-text-inverse-subtle);
    --halo-color-text-muted: var(--halo-color-text-inverse-subtle);
    --halo-color-border: color-mix(in oklch, var(--halo-color-text-inverse) 18%, transparent);

    color: var(--halo-color-text);
  }

  .halo-theme-dark {
    background: var(--halo-color-surface-strong);
  }

  .halo-theme-dark-deep {
    background: var(--halo-color-surface-strong-deep);
  }



/* grid.css */

  .halo-container {
    width: min(calc(100% - 2 * var(--halo-page-gutter)), var(--halo-container-wide));
    margin-inline: auto;
  }

  .halo-container--content {
    max-width: var(--halo-container-content);
  }

  /* Explicit full-width layouts retain a responsive safety gutter. */
  .halo-container--fluid {
    width: 100%;
    padding-inline: var(--halo-page-gutter);
  }

  .halo-container--reading {
    max-width: var(--halo-container-reading);
  }

  .halo-grid {
    display: grid;
    grid-template-columns: repeat(var(--halo-grid-columns), minmax(0, 1fr));
    gap: var(--halo-grid-gutter);
  }

  .halo-grid > * {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .halo-stack {
    display: flex;
    flex-direction: column;
    gap: var(--halo-stack-space, var(--halo-space-6));
  }

  .halo-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--halo-cluster-space, var(--halo-space-3));
  }

  .halo-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--halo-space-6);
  }

  .halo-section {
    padding-block: var(--halo-section-space);
  }

  .halo-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  @media (min-width: 48rem) {
    .halo-span-tablet-2 { grid-column: span 2; }
    .halo-span-tablet-3 { grid-column: span 3; }
    .halo-span-tablet-4 { grid-column: span 4; }
    .halo-span-tablet-5 { grid-column: span 5; }
    .halo-span-tablet-6 { grid-column: span 6; }
    .halo-span-tablet-8 { grid-column: span 8; }
  }

  @media (min-width: 64rem) {
    .halo-span-2 { grid-column: span 2; }
    .halo-span-3 { grid-column: span 3; }
    .halo-span-4 { grid-column: span 4; }
    .halo-span-5 { grid-column: span 5; }
    .halo-span-6 { grid-column: span 6; }
    .halo-span-7 { grid-column: span 7; }
    .halo-span-8 { grid-column: span 8; }
    .halo-span-9 { grid-column: span 9; }
    .halo-span-10 { grid-column: span 10; }
    .halo-span-12 { grid-column: span 12; }
    .halo-start-2 { grid-column-start: 2; }
    .halo-start-3 { grid-column-start: 3; }
    .halo-start-4 { grid-column-start: 4; }
    .halo-start-5 { grid-column-start: 5; }
    .halo-start-6 { grid-column-start: 6; }
    .halo-start-7 { grid-column-start: 7; }
  }
