/* This stylesheet is loaded only at widths of 700px and below. */
.mobile-only { display: block; }
.desktop-only { display: none; }
html { scroll-padding-top: 94px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline-color: #087e65;
  outline-offset: 4px;
}
.section { padding-inline: 24px; }
.site-header { padding-block: 8px; }
.menu-toggle { min-width: 40px; min-height: 44px; }
/* Balance the welcome around the space below the navigation. */
.hero-intro, .world-static .hero-intro {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px 44px;
}
.hero-intro h1 { font-size: clamp(32px, 9.5vw, 43px); }
.hero-intro .hero-meta { margin-top: 25px; }
.hero-scroll {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 24px auto 0;
  padding: 8px 10px;
  gap: 8px;
  color: #31594b;
  font-size: 12px;
  line-height: 1.5;
}
.hero-scroll svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.world-static .world-discovery {
  scroll-margin-top: 90px;
  padding-bottom: 28px;
}
.world-sequence:not(.world-static) {
  margin-bottom: calc(-1 * var(--world-tail, 0px));
}
/* Let the landscape finish close to the review and meet the product surface. */
.world-sticky::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: calc(96px + var(--world-tail, 0px));
  z-index: 1;
  background: linear-gradient(180deg, #edf5ee00, #edf5ee 96px);
  opacity: var(--world-progress, 0);
  pointer-events: none;
}
.world-static .world-sticky::after { opacity: 1; }

/* The screen and its benefit stay together in a compact product showcase. */
.product-section { position: relative; z-index: 5; padding-block: 36px 40px; }
.product-heading { text-align: left; margin-bottom: 14px; }
.product-heading h2 { font-size: 28px; line-height: 1.15; }
.product-heading .eyebrow { display: none; }
.product-layout { gap: 18px; }
.product-tabs { order: 0; gap: 0; border-bottom: 1px solid #cbdcd1; }
.product-tabs button {
  min-height: 44px;
  padding: 10px 3px 12px;
  font-size: 12px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.product-tabs button[aria-selected=true] {
  background: transparent;
  border-radius: 0;
  border-bottom-color: #087e65;
  box-shadow: none;
}
.product-phone {
  order: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  padding: 6px 0 12px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  margin: 0;
}
.product-phone .phone { width: clamp(184px, 48vw, 204px); flex: none; align-self: center; border-width: 5px; border-radius: 29px; box-shadow: 0 18px 30px -17px #28443855; }
.product-phone .phone-screen { border-radius: 24px; }
.product-panels { order: 2; text-align: left; max-width: none; width: 100%; min-height: 182px; }
.product-panels [role=tabpanel] { animation: none; max-width: none; }
.product-panels .eyebrow, .product-phone figcaption { display: none; }
.product-panels h3 { font-size: 25px; line-height: 1.18; margin-bottom: 11px; }
.product-panels h3 br { display: none; }
.product-panels p:not(.eyebrow) { max-width: none; font-size: 15px; line-height: 1.55; margin: 0 0 9px; }
.product-panels .text-link { font-size: 14px; min-height: 44px; }

/* Wider mobile windows can keep the complete product beside its story. */
@media (min-width: 520px) {
  .product-layout { display: grid; grid-template-columns: 46% 1fr; gap: 26px; align-items: center; }
  .product-tabs { grid-column: 1 / -1; grid-row: 1; }
  .product-phone { grid-column: 1; grid-row: 2; }
  .product-phone .phone { width: min(220px, 92%); }
  .product-panels { grid-column: 2; grid-row: 2; min-height: 0; }
  .product-panels h3 { font-size: 27px; }
  .product-panels h3 br { display: initial; }
}

/* Keep selection and keyboard rings inside the horizontal scroller. */
.journey-section { padding-block: 60px; }
.journey-cards { padding: 8px 5px 15px; margin-inline: -5px; gap: 14px; }
.journey-card { flex-basis: 170px; height: 226px; border: 3px solid transparent; background: transparent; border-radius: 21px; }
.journey-card img { border-radius: 16px; }
.journey-card:after { inset: 40% 0 0; border-radius: 0 0 16px 16px; }
.journey-card[aria-selected=true] { transform: none; outline: none; border-color: #218c81; }
.journey-card:focus-visible { outline: 2px solid #087e65; outline-offset: 2px; }
.journey-card span { font-size: 23px; }
.journey-card:hover img { transform: none; }
#journey-detail { min-height: 0; margin-top: 23px; }
#journey-detail h3 { font-size: 25px; margin-bottom: 14px; }
.journey-note { margin-top: 27px; font-size: 12px; line-height: 1.6; }

.supportive-layout { padding-block: 60px; gap: 28px; }
.supportive-copy h2 { line-height: 1.14; }
.supportive-tiles { gap: 12px; }
.supportive-tiles span { min-height: 62px; font-size: 14px; }
.supportive-more { margin: 2px auto 0; width: 100%; max-width: 460px; }
.supportive-more>p { color: #234e40; font-size: 20px; line-height: 1.3; font-weight: 600; margin-bottom: 16px; }
.supportive-more>div { gap: 12px; background: transparent; padding: 0; }
.supportive-more a {
  display: grid;
  grid-template-columns: 68px minmax(0,1fr) 13px;
  padding: 12px;
  gap: 13px;
  min-height: 110px;
  border-radius: 16px;
  background: #fffdf9;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.supportive-more a:hover { background: #f5f7f1; }
.supportive-thumb { width: 68px; height: 86px; object-fit: cover; border-radius: 10px; }
.supportive-thumb-food { object-position: 54% 43%; }
.supportive-thumb-movement { object-position: 53% 42%; }
.supportive-thumb-people { object-position: 51% 43%; }
.supportive-link-description { font-size: 13px; line-height: 1.45; font-weight: 400; color: #596b61; margin-top: 5px; }
.supportive-more .chevron { width: 13px; flex-shrink: 0; }

/* Two equal samples echo the image cards directly above them. */
.moments-section .section { padding-block: 50px; }
.moments-section .center-heading { text-align: left; max-width: none; margin-bottom: 25px; }
.moments-section .center-heading h2 { font-size: 33px; }
.moments-section .center-heading>p:last-child { max-width: none; margin: 18px 0 0; font-size: 15px; }
.sample-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: stretch; max-width: none; }
.sample-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; border-radius: 16px; box-shadow: none; min-width: 0; }
.sample-card>img { width: 100%; height: auto; aspect-ratio: 1.24; border-radius: 0; object-fit: cover; object-position: 50% 42%; }
.sample-content { display: flex; flex: 1; flex-direction: row; align-items: center; justify-content: space-between; min-height: 62px; padding: 14px 12px; gap: 8px; }
.sample-meta, .sample-content>span:not([class]) { display: none; }
.sample-content strong { font-size: 14px; line-height: 1.4; letter-spacing: 0; margin: 0; max-width: none; }
.sample-action { min-height: 0; margin: 0; padding: 0; font-size: 0; gap: 0; color: #111827; }
.sample-action .chevron { width: 13px; flex-shrink: 0; }
.sample-card:hover { transform: none; }

.sleep-section { padding: 58px 24px; gap: 32px; }
.sleep-content { text-align: left; padding: 0; }
.sleep-content h2 { font-size: 35px; line-height: 1.12; }
.sleep-content>p:not(.eyebrow) { margin: 0 0 25px; max-width: 340px; font-size: 15px; }
.sleep-content .small-note { margin: 14px 0 0; }
.sleep-phone { width: min(238px, 74%); align-self: center; margin-inline: auto; }
.connection-section { padding-block: 58px; gap: 31px; }
.connection-copy { width: 100%; text-align: left; }
.connection-copy h2 { font-size: 34px; line-height: 1.12; }
.community-phone { width: min(238px, 74%); align-self: center; margin-inline: auto; }
.connection-copy .text-link { line-height: 1.5; }

/* One continuous landscape carries the film into the closing invitation. */
.closing-journey {
  display: block;
  background: linear-gradient(#faf9f6 0%,#faf9f6ef 18%,#faf9f650 60%,#faf9f630),url('assets/landscape.png') 50% 100%/auto 100% no-repeat;
}
.closing-journey .trailer-section { padding: 42px 24px 0; }
.trailer-section h2 { font-size: 30px; margin-bottom: 24px; }
.trailer-stage { width: min(242px, 75%); border-radius: 18px; box-shadow: 0 15px 35px -20px #2b503b77; background: #faf9f6; }
.trailer-stage .play-circle { width: 60px; height: 60px; font-size: 21px; }
.closing-section { background: transparent; }
.closing-art { display: none; }
.closing-layout { padding: 34px 24px 28px; }
.closing-copy h2 { font-size: 36px; margin-bottom: 17px; }
.closing-copy>p:not(.small-note) { font-size: 15px; max-width: 290px; margin: 0 auto 24px; }
.closing-copy .store-links { gap: 10px; margin-bottom: 16px; }
.closing-layout .store-links a { padding: 10px 11px; }
.closing-layout .store-links img { width: 111px; }
.closing-copy .small-note { font-size: 12px; }
.site-footer { padding-top: 18px; }

@media(max-width:360px) {
  .section { padding-inline: 20px; }
  .product-heading h2 { font-size: 30px; }
  .sample-content strong { font-size: 13px; }
  .product-panels { min-height: 210px; }
  .supportive-tiles span { font-size: 13px; }
}

.product-why-link{text-align:left;margin-top:12px;line-height:1.5}.product-why-link .text-link{gap:13px}.product-why-link .chevron{flex-shrink:0}
