/* Selected homepage refinements. */
/* Desktop 2 from Sally's Figma; the yellow band extends beyond the capped composition. */
.home-kinomap { --kinomap-yellow: #ffc947; position: relative; background: var(--kinomap-yellow); color: var(--ink); scroll-margin-top: 24px; }
.home-kinomap__canvas { position: relative; container-type: inline-size; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
.home-kinomap__decoration { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.home-kinomap__route { position: absolute; top: 0; right: 0; width: max(896px, calc(896px + (100% - var(--container) - 2 * var(--gutter)) / 2)); height: 138px; }
.home-kinomap__route img { position: absolute; left: 0; max-width: none; }
.home-kinomap__route-soft { top: 7.32px; width: calc(100% + 26.948px); height: 179.105px; }
.home-kinomap__route-dashed { top: 20.79px; width: calc(100% + 24.532px); height: 152.133px; }
.home-kinomap__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 32px; column-gap: clamp(24px, calc((100cqi - 1248px) / 2), 96px); align-items: center; min-height: 138px; padding: 21px var(--gutter); }
.home-kinomap__copy { min-width: 0; }
.home-kinomap__eyebrow { margin: 0 0 12px; color: inherit; font-family: var(--font-tech); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .14em; }
.home-kinomap__heading { margin: 0; font-family: var(--font-display); font-size: var(--home-title, 40px); font-weight: 600; line-height: .81; }
.home-kinomap__experiences { display: flex; align-items: center; }
.home-kinomap__icon { display: block; flex: none; width: 96px; height: 96px; margin-right: -21px; transform: translateY(11px); }
.home-kinomap__ribbons { display: flex; align-items: flex-start; gap: 8.068px; }
.home-kinomap__ribbons img { display: block; width: 53.24633px; height: auto; flex: none; }
.home-kinomap__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 184px; min-height: 52px; margin-left: 6px; padding: 12px 16px; background: var(--ink); color: var(--white); }
.home-kinomap__cta-text { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.home-kinomap__arrow { display: block; flex: none; transition: transform .2s var(--ease); }
.home-kinomap__cta:hover .home-kinomap__arrow { transform: translateX(3px); }
.home-kinomap__cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
@media (max-width: 1100px) {
  .home-kinomap__inner { column-gap: 24px; }
  .home-kinomap__icon { width: 80px; height: 80px; margin-right: -18px; transform: translateY(8px); }
  .home-kinomap__ribbons { gap: 8px; }
  .home-kinomap__ribbons img { width: 41.6px; }
  .home-kinomap__heading { line-height: 1.05; }
}
@media (max-width: 900px) {
  .home-kinomap__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 24px var(--gutter); }
  .home-kinomap__copy { grid-column: 1 / -1; }
  .home-kinomap__cta { margin-left: 0; }
}
@media (max-width: 640px) {
  .home-kinomap__inner { grid-template-columns: minmax(0, 1fr); }
  .home-kinomap__copy { grid-column: auto; }
  .home-kinomap__icon { width: 64px; height: 64px; margin-right: -12px; transform: translateY(6px); }
  .home-kinomap__cta { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .home-kinomap__arrow { transition: none; }
  .home-kinomap__cta:hover .home-kinomap__arrow { transform: none; }
}
.home-refined {
  --home-major: 104px;
  --home-support: 64px;
  --home-head-gap: 40px;
  --home-title: 40px;
}
/* Keep the split partner layout and give both vertical edges 25% more space. */
.home-refined .retail-band { padding-block: 80px; }
.home-refined .retail-band > .container { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
.home-refined .retail-band .sec-head { max-width: none; margin: 0; text-align: left; }
.home-refined .retail-band__logos { width: 100%; margin: 0 auto; }
@media (min-width: 1440px) {
  .home-refined .retail-band > .container { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 64px; }
  .home-refined .retail-band__logos { margin-inline: 0; column-gap: 0; padding-inline: 8px; }
  .home-refined .retail-band__logos li { flex-basis: 25%; }
  /* Desktop frame stays at 95%; the shared transform reduces its visible artwork by another 10%. */
  .home-refined .retail-band__logos img { width: calc(141.3px * .95); max-width: none; height: calc(38px * .95); flex: none; }
}
@media (max-width: 1024px) {
  .home-refined .retail-band { padding-block: 70px; }
}
@media (max-width: 640px) {
  .home-refined .retail-band { padding-block: 60px; }
  .home-refined .retail-band > .container { row-gap: 40px; }
}
/* Section headings use 40px; Connected is Sally's explicit 48px exception. */
.home-refined main h2.h2,
.home-refined .spotlight__inner h2.h2 { font-size: var(--home-title); }
/* Use the page width, excluding the scrollbar, for the shared title edge. */
.home-refined #new { container-type: inline-size; }
.home-refined .spotlight__copy { padding-left: max(var(--gutter), calc((100cqi - var(--container)) / 2)); }
.home-refined .spotlight-carousel--single .spotlight__media {
  width: auto;
  max-width: 560px;
  margin-left: auto;
  margin-right: max(var(--gutter), calc((100cqi - var(--container)) / 2));
  aspect-ratio: 3 / 2;
  background: #e8eef1;
}
.home-refined .spotlight-carousel--single .spotlight__media > img { object-fit: cover; }
.home-refined .spotlight-carousel:not([data-carousel]) .spotlight-carousel__controls { display: none; }
@media (min-width: 1440px) {
  .home-refined .spotlight-carousel--single .spotlight__copy { padding-block: 128px; }
}
/* Compact the app introduction without constraining its text or the supporting rows. */
.home-refined .connected-b__hero { min-height: 520px; }
.home-refined .connected-b__image { right: var(--gutter); }
.home-refined .connected-b--app-promo .connected-b__hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
.home-refined .connected-b--app-promo .connected-b__copy { grid-column: 1; grid-row: 1; width: 100%; }
.home-refined .connected-b--app-promo .connected-b__image { position: relative; grid-column: 2; grid-row: 1; inset: auto; width: 100%; aspect-ratio: 3 / 2; }
.home-refined .connected-b--app-promo .connected-b__image img { position: absolute; inset: 0; object-fit: contain; object-position: center; }
.home-refined .connected-b__copy { min-width: 0; grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; padding: 48px 0; gap: 16px; }
.home-refined .connected-b__copy .connected-title { font-size: 48px; margin-bottom: 4px; }
.home-refined .connected-b__app-identity { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 16px; }
.home-refined .connected-b__app-identity h3 { margin: 0; }
.home-refined .connected-b__app-icon { display: block; width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 20%; outline: 1px solid rgba(255,255,255,.24); }
.home-refined .connected-b__scoreboard { --connected-metric-size: 56px; padding-inline: 0; }
.home-refined .connected-b__scoreboard .connected-metrics dd { font-size: var(--connected-metric-size); line-height: 1; }
.home-refined .connected-b__scoreboard .connected-metrics dd > span { font-size: inherit; }
.home-refined :is(#best-sellers, #needs, #products) { padding: var(--home-major) 0; }
.home-refined :is(#best-sellers, #products) { background: #fff; }
.home-refined #needs { background: var(--cream); }
.home-refined :is(#best-sellers, #needs, #products, #reviews, #journal) .sec-head {
  max-width: none;
  margin: 0 0 var(--home-head-gap);
  text-align: left;
}
.home-refined :is(#best-sellers, #products) .sec-head .lead {
  max-width: 680px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.home-refined :is(#best-sellers, #products) .card__media { aspect-ratio: 3 / 2; height: auto; }
.home-refined #products .card__media--cut img { max-height: 100%; object-fit: contain; }
.home-refined #products .category-filters { justify-content: flex-start; margin: 0 0 var(--home-head-gap); gap: 8px 24px; }
.home-refined #products .category-filter > span {
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.home-refined #products .category-filter:hover > span { color: var(--blue); }
.home-refined #products .category-filter input:checked + span { color: var(--blue); border-bottom-color: var(--blue); }

/* Independent highlights, followed by quieter payment and delivery information. */
.home-refined .stat-band { background: var(--blue); color: #fff; padding: 48px 0; }
.home-refined .stat-grid { text-align: left; gap: 48px; }
.home-refined .stat b { font-size: 64px; font-weight: 600; }
.home-refined .stat > span { margin-top: 12px; opacity: .88; line-height: 1.5; }
.home-refined #financing { padding: 48px 0 var(--home-support); }
.home-refined #financing .buy-simple { gap: 64px; }
.home-refined #financing .panel { padding: 0; background: transparent; }
.home-refined #financing .panel .h3 { font-size: 24px; line-height: 1.25; }
.home-refined #financing #delivery { padding-left: 48px; border-left: 1px solid var(--line); }
.home-refined #financing .step { border-top-width: 1px; }

.home-refined :is(#reviews, #journal) { padding: 88px 0; }
.home-refined #reviews .sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; margin-bottom: 56px; }
.home-refined #reviews .sec-head h2 { grid-column: 1; grid-row: 1; }
.home-refined .review-arrows { display: flex; gap: 10px; grid-column: 2; grid-row: 1; align-self: end; }
.home-refined .review-arrows button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--blue); color: var(--blue); background: #fff; }
.home-refined .review-arrows button:hover:not(:disabled) { background: var(--blue); color: #fff; }
.home-refined .review-arrows button:disabled { border-color: #cbd4de; color: #9ba8b7; cursor: default; }
.home-refined .review-arrows .ic { width: 20px; height: 20px; }
.home-refined .review-viewport { overflow-x: auto; overflow-y: hidden; padding-bottom: 40px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.home-refined .review-viewport::-webkit-scrollbar { display: none; }
.home-refined #reviews .testimonials { display: flex; gap: 18px; align-items: stretch; }
.home-refined #reviews .testimonial { position: relative; flex: 0 0 calc((100% - 54px) / 3.5); gap: 8px; min-width: 0; min-height: 440px; padding: 28px; background: #fff; border: 1px solid #dfe5ec; border-top: 5px solid var(--blue); box-shadow: 0 4px 10px rgba(0, 45, 91, .08); scroll-snap-align: start; }
.home-refined #reviews .testimonial::after { content: '“'; content: '“' / ''; position: absolute; top: 13px; right: 20px; color: #e7eef7; font: 700 88px/1 var(--font-tech); pointer-events: none; }
.home-refined #reviews .testimonial > * { position: relative; z-index: 1; }
.home-refined #reviews .testimonial .stars__row { margin-bottom: 10px; }
.home-refined #reviews .testimonial .stars__row .ic { width: 24px; height: 24px; }
.home-refined #reviews .testimonial h3 { min-height: 0; margin-bottom: 0; font-family: var(--font-tech); font-size: 24px; line-height: 1.15; }
.home-refined #reviews .testimonial__product { display: -webkit-box; flex: none; min-height: 24px; margin: 0 0 16px; color: var(--blue); font-size: 16px; font-weight: 700; line-height: 1.4; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-refined #reviews .testimonial > .testimonial__product { z-index: 3; }
.home-refined #reviews .testimonial__product:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-refined #reviews .testimonial__product:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.home-refined #reviews .testimonial__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 2px; padding: 0; font-size: 16px; }
.home-refined #reviews .testimonial__meta b { font-synthesis: weight; }
.home-refined #reviews .testimonial__verified { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: inherit; font-weight: 700; line-height: inherit; white-space: nowrap; }
.home-refined #reviews .testimonial__verified-icon { display: block; flex: none; width: 18px; height: 18px; }
.home-refined #reviews .testimonial__text { flex: none; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.home-refined #reviews .testimonial__text.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.home-refined #reviews .testimonial__open { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-refined #reviews .testimonial:hover { border-color: #afc2da; border-top-color: var(--blue); }
.home-refined #reviews .testimonial:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.home-refined #reviews .review-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(85vh, 800px); overflow-y: auto; border-top: 5px solid var(--blue); background: #fff; }
.home-refined #reviews .review-dialog__close { position: sticky; top: 12px; float: right; z-index: 2; margin: 12px 12px 0 0; background: #fff; }
.home-refined #reviews .review-dialog__body { padding: 44px 40px 42px; }
.home-refined #reviews .review-dialog .stars__row { margin-bottom: 14px; }
.home-refined #reviews .review-dialog .stars__row .ic { width: 24px; height: 24px; }
.home-refined #reviews .review-dialog h2 { margin: 0 0 8px; font-family: var(--font-tech); font-size: 30px; line-height: 1.15; }
.home-refined #reviews .review-dialog .testimonial__product { display: block; overflow: visible; -webkit-line-clamp: unset; font-size: 16px; }
.home-refined #reviews .review-dialog .testimonial__meta { margin-bottom: 20px; }
.home-refined #reviews .review-dialog .testimonial__text { margin: 0; font-size: 18px; line-height: 1.6; white-space: pre-line; }
.home-refined #needs .goal-card,
.home-refined #journal .journal-card__media { aspect-ratio: 3 / 2; }
.home-refined #support { background: var(--grey); }

@media (max-width: 1024px) {
  .home-refined { --home-major: 88px; }
  .home-refined #reviews .testimonial { flex-basis: calc((100% - 36px) / 2.5); }
}
@media (max-width: 900px) {
  .home-refined .spotlight-carousel--single .spotlight-carousel__slide { padding-bottom: 64px; }
  .home-refined .spotlight-carousel__slide { display: grid; grid-template-rows: 1fr auto; align-content: stretch; }
  .home-refined .spotlight-carousel__slide .spotlight__copy { align-items: flex-start; }
  .home-refined .spotlight-carousel__slide .spotlight__media { width: 100%; aspect-ratio: 16 / 9; align-self: end; }
  .home-refined .spotlight-carousel__slide .spotlight__media > img { position: absolute; inset: 0; }
  .home-refined .spotlight-carousel--single .spotlight__media {
    width: calc(100% - 2 * var(--gutter));
    max-width: none;
    margin-inline: auto;
    aspect-ratio: 3 / 2;
  }
  .home-refined #financing .buy-simple { gap: 32px; }
  .home-refined #financing #delivery { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .home-refined .stat-grid { gap: 24px; }
}
@media (max-width: 800px) {
  .home-refined .connected-b__scoreboard { --connected-metric-size: 48px; }
  .home-refined .connected-b__hero { min-height: 0; }
  .home-refined .connected-b__copy { padding: 40px 0 24px; }
  .home-refined .connected-b__image { right: auto; margin: 0; aspect-ratio: 16 / 9; }
  .home-refined .connected-b__image img { position: absolute; inset: 0; }
  .home-refined .connected-b--app-promo .connected-b__hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-refined .connected-b--app-promo .connected-b__image { grid-column: 1; grid-row: 2; }
}
@media (max-width: 640px) {
  .home-refined .spotlight-carousel--single .spotlight-carousel__slide { padding-bottom: 48px; }
  .home-refined .connected-b__app-identity { gap: 12px; }
  .home-refined .connected-b__app-icon { width: 48px; height: 48px; }
  .home-refined { --home-major: 64px; --home-support: 48px; --home-head-gap: 32px; }
  .home-refined #products .category-filters { gap: 4px 20px; }
  .home-refined .stat-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-refined .stat { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; align-items: center; }
  .home-refined .stat b { font-size: 40px; }
  .home-refined .stat > span { margin-top: 0; }
  .home-refined #financing { padding-top: 32px; }
  .home-refined :is(#reviews, #journal) { padding: var(--home-major) 0; }
  .home-refined #reviews .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 52px; }
  .home-refined .review-arrows { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 22px; }
  .home-refined .review-arrows button { width: 48px; height: 48px; }
  .home-refined #reviews .testimonial { flex-basis: calc((100% - 18px) / 1.15); min-height: 410px; padding: 24px; }
  .home-refined #reviews .testimonial::after { right: 17px; font-size: 78px; }
  .home-refined #reviews .review-dialog__body { padding: 42px 26px 32px; }
  .home-refined #reviews .review-dialog h2 { font-size: 26px; }
  .home-refined #reviews .review-dialog .testimonial__text { font-size: 16px; }
}
@media (max-width: 359px) {
  .home-refined .stat { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .home-refined .stat b { font-size: 36px; }
}
