@font-face {
  font-family: Nunito;
  src: url('assets/nunito-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f8fbfe;
  --text: #42576a;
  --muted: #8392a0;
  --blue: #63c4fa;
  --focus: #125777;
  --pale-gradient: linear-gradient(129deg, rgb(179 235 255 / 8.4%) 10%, rgb(167 232 255 / 49%) 69%);
  font-family: Nunito, system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
a:hover { text-decoration: underline; }
.shell { width: min(calc(100% - 160px), 1320px); margin-inline: auto; }
h1, h2, h3 { letter-spacing: -.04em; }
h1 { font-size: clamp(3.5rem, 4.87vw, 4.375rem); line-height: 1.5; font-weight: 700; }
h2 { font-size: 2.75rem; line-height: 1.2; font-weight: 800; }
h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 800; }
p { line-height: 1.6; letter-spacing: -.03em; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 12px 20px; background: white; z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 161px; min-height: 54px; padding: 12px 24px; border-radius: 10px; background: var(--blue); color: white; font-size: 1.125rem; line-height: 1.2; font-weight: 600; }
.button:hover { background: #4bb9f3; text-decoration: none; }
.button-white { background: white; color: var(--text); }
.button-white:hover { background: #f0f9ff; }

/* The original artwork stays still; only the feature carousel moves. */
.hero { margin-top: 40px; padding: 0 90px 70px; border-radius: 60px; background: var(--pale-gradient); }
.store-links { display: flex; align-items: center; justify-content: center; gap: 10px; }
.store-links a { flex: 0 0 auto; }
.store-links img { height: 54px; width: auto; }
.hero-content { position: relative; }
.hero-copy { position: relative; z-index: 1; width: 60%; }
.hero h1 span { display: block; color: var(--blue); white-space: nowrap; }
.hero-subtitle { margin-top: 28px; margin-bottom: 25px; max-width: 300px; font-size: 1rem; }
.ratings { margin-top: 68px; width: max-content; max-width: 100%; text-align: left; line-height: 1.3; letter-spacing: normal; }
.ratings-summary { display: flex; align-items: center; gap: 12px; }
.ratings-score { font-size: 1.5rem; font-weight: 700; }
.ratings-stars { display: block; width: 120px; height: 24px; flex: none; fill: #F6B73C; }
.ratings-count { display: block; margin-top: 2px; font-size: .875rem; font-weight: 600; color: var(--site-muted, var(--muted)); }
.ratings-source { display: inline-block; margin-top: 8px; color: #125777; font-size: .875rem; line-height: 1.5; text-underline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-art { position: absolute; width: 560px; max-width: none; height: auto; right: 30px; top: -22px; pointer-events: none; }

.welcome { margin-top: 88px; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 36px; padding-inline: 90px; }
.feature-grid article { min-width: 0; }
.feature-grid img { margin-inline: auto; width: 140px; height: 140px; }
.feature-grid h3 { margin: 9px 0; }
.feature-grid p { font-size: 1rem; color: var(--muted); }

/* Native horizontal scrolling; the unenhanced page keeps all panels stacked. */
.showcase { position: relative; margin-top: 120px; }
.step-track, .step-controls { width: min(calc(100% - 216px), 1264px); margin-inline: auto; }
.step-controls { position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%); pointer-events: none; }
.showcase.is-ready .step-viewport { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--slide-inset, 0px); clip-path: inset(0 0 0 var(--slide-inset, 0px)); overscroll-behavior-x: contain; scrollbar-width: none; }
.showcase.is-ready .step-track { display: flex; gap: 24px; }
.showcase.is-ready .step-viewport::-webkit-scrollbar { display: none; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 389px) minmax(0, 1fr); gap: 110px; padding: 121px 120px 0 168px; border-radius: 60px; }
.step + .step { margin-top: 40px; }
.showcase.is-ready .step { flex: 0 0 100%; min-width: 0; margin-top: 0; scroll-snap-align: start; }
.showcase.is-ready .step:focus-visible { outline-offset: -6px; }
.step-blue { background: linear-gradient(255.55deg, #63c4fa 0%, #9cdcff 100%); }
.step-mint { background: linear-gradient(255.55deg, #58decb 0%, #6aebd9 100%); }
.step-art { position: relative; align-self: end; min-width: 0; }
.step-phone { width: 389px; height: auto; }
.floating-room { position: absolute; }
.room-one { top: 0; right: -30px; }
.room-two { bottom: 205px; left: -100px; }
.room-three { bottom: 57px; right: -80px; }
.effort-overlay { position: absolute; top: -29px; right: -30px; max-width: 75%; }
.step-copy { padding-bottom: 60px; min-width: 0; }
.step-copy h2 { color: white; margin: 0 0 16px; }
.step-copy p { color: white; font-size: 1.125rem; margin-bottom: 41px; }
.showcase.is-ready .step-copy { padding-top: 73px; }
.step-tabs { position: absolute; z-index: 2; top: 121px; left: calc(168px + 389px + 110px); display: flex; gap: 4px; }
.step-tabs { pointer-events: auto; }
.step-tabs [role='tablist'] { display: flex; gap: 4px; }
.step-tabs button { width: 50px; height: 50px; border: 0; border-radius: 50%; background: transparent; color: white; opacity: .65; font-size: 1.125rem; }
.step-tabs button[aria-selected='true'] { opacity: 1; background: rgb(255 255 255 / 18.4%); }
.step-tabs button:hover { opacity: 1; background: rgb(255 255 255 / 25%); }
.step-tabs button:focus-visible { outline-color: var(--focus); }
.step-tabs .rotation-toggle { font-size: 1rem; }

.details-section { margin-top: 96px; padding-inline: 60px; }
.detail-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 60px; }
.detail-row + .detail-row { margin-top: 36px; }
.detail-copy { padding-left: 80px; }
.detail-reverse .detail-copy { padding-left: 76px; }
.detail-copy p { font-size: 1.125rem; margin-top: 14px; }
.detail-art { position: relative; min-height: 535px; display: flex; justify-content: center; align-items: flex-end; border-radius: 60px; overflow: hidden; }
.art-yellow { background: linear-gradient(250.38deg, #ffdb6d 0%, #ffe288 100%); }
.art-mint { background: linear-gradient(255.55deg, #58decb 0%, #6aebd9 100%); }
.detail-art > img, .detail-phone-window { width: 341px; max-width: 80%; }

.download { display: grid; grid-template-columns: 170px minmax(0, 1fr) 170px; align-items: center; gap: 8px; border-radius: 60px; margin-top: 70px; padding: 90px 20px; background: var(--pale-gradient); }
.download-copy { text-align: center; }
.download-copy p { margin-top: 12px; margin-bottom: 28px; font-size: 1.125rem; }
.download-decoration { width: 170px; height: auto; }

@media (max-width: 1400px) and (min-width: 901px) {
  .hero { padding-inline: 60px; }
  .hero-art { width: 50vw; max-width: 560px; right: -60px; }
  .hero-copy { width: 64%; }
  .feature-grid { padding-inline: 30px; }
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; padding: 90px 70px 0 100px; }
  .step-tabs { top: 90px; left: calc(50% + 55px); }
  .room-two { left: -60px; }
  .room-three { right: -50px; }
  .details-section { padding-inline: 30px; }
  .detail-row { gap: 40px; }
  .detail-copy, .detail-reverse .detail-copy { padding-left: 20px; }
  .detail-art { min-height: 480px; }
  .download { grid-template-columns: 140px minmax(0, 1fr) 140px; }
}

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { padding-inline: 40px; }
  .hero h1 { font-size: 3.5rem; }
  .hero h1 span { white-space: normal; }
  .hero-art { width: 50%; right: -20px; top: 100px; }
  .step-track, .step-controls { width: calc(100% - 120px); }
  .step { padding-inline: 60px; gap: 60px; }
  .step-tabs { left: calc(50% + 30px); }
  .step-copy h2 { font-size: 2.2rem; }
  .room-two { left: -35px; }
  .room-three { right: -35px; }
  .detail-row { gap: 36px; }
  .details-section { padding-inline: 0; }
  .detail-copy, .detail-reverse .detail-copy { padding-left: 0; }
  .detail-art { min-height: 450px; }
  .detail-art > img, .detail-phone-window { width: 75%; }
  .download { grid-template-columns: 110px minmax(0, 1fr) 110px; }
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); }
  .hero { margin-top: 20px; padding: 0 28px 0; border-radius: 30px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-copy { width: 100%; text-align: center; }
  .hero h1 { font-size: 3.25rem; line-height: 1.4; }
  .hero-subtitle { margin-inline: auto; max-width: 360px; }
  .ratings { margin: 24px auto 0; }
  .hero-art { position: relative; top: auto; right: auto; width: min(100%, 440px); margin: 28px auto -68px; }
  .welcome { margin-top: 130px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding: 0 40px; }
  .showcase { margin-top: 70px; }
  .showcase.is-ready .step-track { gap: 18px; }
  .step { grid-template-columns: minmax(0, 1fr); padding: 32px 50px 0; gap: 40px; border-radius: 30px; }
  .step-copy { grid-row: 1; padding-bottom: 0; text-align: center; }
  .showcase.is-ready .step-copy { padding-top: 54px; }
  .step-copy h2 { font-size: 2.5rem; }
  .step-copy p { margin-bottom: 26px; }
  .step-tabs { top: 16px; left: 50%; transform: translateX(-50%); }
  .step-art { margin-inline: auto; width: min(100%, 340px); }
  .step-phone { width: 100%; }
  .room-one { right: -24px; }
  .room-two { left: -45px; }
  .room-three { right: -35px; }
  .details-section { margin-top: 60px; padding-inline: 20px; }
  .detail-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .detail-row + .detail-row { margin-top: 60px; }
  .detail-reverse .detail-copy { grid-row: 1; }
  .detail-art { min-height: 450px; }
  .detail-art > img, .detail-phone-window { width: 300px; }
  .download { grid-template-columns: 1fr; padding: 60px 40px 20px; }
  .download-copy { grid-row: 1; }
  .bookshelf { justify-self: center; width: 210px; margin-top: 25px; }
  .chair { display: none; }
}

@media (max-width: 600px) {
  .shell { width: calc(100% - 20px); }
  h2 { font-size: 2rem; }
  .hero { margin-top: 10px; border-radius: 20px; padding-inline: 20px; }
  .hero-copy { margin-top: 30px; }
  .hero h1 { font-size: 2.5rem; line-height: 1.4; }
  .hero-subtitle { font-size: 1rem; margin: 18px auto 20px; max-width: 280px; }
  .hero-art { width: min(100%, 440px); margin-top: 30px; margin-bottom: -65px; }
  .ratings { margin-top: 18px; }
  .welcome { margin-top: 120px; }
  .welcome h2 { max-width: 240px; margin-inline: auto; }
  .feature-grid { gap: 28px 16px; padding: 0 10px; margin-top: 28px; }
  .feature-grid h3 { font-size: 1.375rem; }
  .feature-grid p { font-size: 1rem; }
  .feature-grid img { width: 120px; height: 120px; }
  .showcase { margin-top: 60px; }
  .step-track, .step-controls { width: calc(100% - 64px); }
  .showcase.is-ready .step-track { gap: 12px; }
  .step { padding: 24px 24px 0; gap: 40px; }
  .step-copy h2 { font-size: 2rem; }
  .step-copy p { font-size: 1rem; }
  .step-tabs { top: 8px; }
  .step-art { width: min(100%, 310px); }
  .floating-room { width: 68px; height: auto; }
  .room-one { right: -10px; top: -16px; }
  .room-two { left: -12px; bottom: 130px; }
  .room-three { right: -12px; bottom: 55px; }
  .effort-overlay { right: -10px; top: 10px; }
  .details-section { padding-inline: 10px; }
  .detail-copy p { font-size: 1rem; }
  .detail-art { min-height: 346px; border-radius: 30px; }
  .detail-art > img, .detail-phone-window { width: 272px; height: 300px; object-fit: cover; object-position: top; }
  .download { border-radius: 30px; margin-top: 48px; padding: 48px 20px 12px; }
  .download-copy p { font-size: 1rem; }
  .download .store-links { flex-wrap: wrap; }
}
