/* Homepage compositions; shared tokens, navigation, footer, and buttons are in brand.css. */
.home-page {
    font-family: 'Archivo', Arial, sans-serif;
    background: var(--brand-ice);
    color: var(--brand-ink);
    overflow-x: clip;
}
.home-page h1, .home-page h2, .home-page h3 { font-family: inherit; letter-spacing: -.005em; word-spacing: .08em; line-height: 1.09; }
.home-page p { line-height: 1.55; }
.home-page a:focus-visible, .home-page summary:focus-visible { outline: 3px solid var(--brand-strava); outline-offset: 4px; }

.home-hero { background: var(--brand-ice); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 6vw, 110px); padding: 128px max(36px, calc((100vw - 1220px)/2)) 104px; position: relative; overflow: hidden; }
.home-hero__ice { display: flex; align-items: center; }
.home-hero__copy { width: min(100%, 670px); position: relative; z-index: 2; }
.home-hero__intro { font-size: .92rem; font-weight: 700; margin-bottom: 26px; }
.home-hero h1 { max-width: 660px; font-size: clamp(4rem, 5.5vw, 5.6rem); font-weight: 900; font-stretch: 92%; letter-spacing: -.005em; line-height: 1.08; }
.home-hero h1 span { color: var(--brand-cold); display: block; }
.home-hero__summary { max-width: 520px; font-size: clamp(1.09rem, 1.4vw, 1.28rem); line-height: 1.55; margin: 36px 0 32px; }
.home-hero__works { margin-top: 26px; font-size: .87rem; color: #36515e; }
.home-hero__works strong { color: var(--brand-strava); }
.home-hero__phone { justify-self: end; pointer-events: none; }
.home-hero__phone video { display: block; width: clamp(290px, 25vw, 340px); height: auto; filter: drop-shadow(0 34px 38px rgba(10,28,38,.28)); }

.home-strava { background: #fffdf9; padding: 118px 0; }
.home-strava__grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); align-items: center; gap: clamp(60px, 8vw, 160px); }
.home-strava__copy { max-width: 650px; }
/* Official Strava "Compatible with Strava" logo, used unmodified per Strava brand guidelines. */
.home-strava__logo { display: block; width: min(240px, 70%); height: auto; margin-bottom: 30px; }
.home-strava h2, .home-process h2, .home-apple h2, .home-final h2 { font-size: clamp(3rem, 4.4vw, 5.25rem); font-weight: 900; font-stretch: 92%; }
.home-strava__copy > p { font-size: 1.13rem; max-width: 580px; margin-top: 25px; }
.activity-list { border-block: 1px solid #bec9c7; margin-top: 34px; }
.activity-list p { display: flex; align-items: center; gap: 13px; padding: 16px 0; font-weight: 750; font-size: clamp(.95rem, 1.3vw, 1.15rem); }
.activity-list p + p { border-top: 1px solid #d9dfdc; }
.activity-list__dot { flex: 0 0 11px; height: 11px; border-radius: 50%; }
.activity-list__dot--cold { background: var(--brand-cold); }
.activity-list__dot--heat { background: var(--brand-amber); }
.home-strava__copy .home-strava__small { font-size: .98rem; color: #41545a; margin-top: 23px; }
.home-text-link { display: inline-block; margin-top: 25px; border-bottom: 2px solid var(--brand-strava); color: var(--brand-ink); padding-bottom: 4px; font-weight: 750; }
.home-text-link:hover { color: #b73b00; }
.home-duality .home-text-link { margin-top: 0; color: inherit; border-color: var(--brand-cold); }
.home-duality__half--heat .home-text-link { border-color: var(--brand-amber); }
.home-duality__half--heat .home-text-link:hover { color: var(--brand-amber); }
.home-duality__half--cold .home-text-link:hover { color: var(--brand-cold); }
.home-strava__demo { text-align: center; }
.home-strava__demo video { display: block; height: auto; width: min(100%, 318px); margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(10,28,38,.19)); }
.home-strava__demo figcaption, .home-process__demo figcaption { max-width: 350px; margin: 22px auto 0; font-size: .88rem; line-height: 1.55; color: #45575e; }

/* Both halves share one grid: row 1 = copy, row 2 = phone, so the phones line up whatever the headline length. */
.home-duality { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto auto; }
.home-duality__half { min-height: 0; overflow: hidden; grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; }
.home-duality__half--heat { background: var(--brand-cedar); color: #fff5e8; }
.home-duality__half--cold { background: var(--brand-ice); color: var(--brand-ink); }
.home-duality__content { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; width: min(100% - 96px, 700px); padding: 94px 0 72px; margin-inline: auto; position: relative; }
.home-duality h2 { font-size: clamp(3.2rem, 4vw, 5rem); font-weight: 900; font-stretch: 92%; max-width: none; }
.home-duality__copy > p { margin-top: 28px; font-size: 1.1rem; line-height: 1.55; max-width: 560px; }
.home-duality__content .home-duality__detail { font-size: .82rem; font-weight: 700; margin-top: 29px; }
.home-duality__detail span { padding: 0 8px; }
.home-duality__copy { align-self: start; }
.home-duality__demo { width: 100%; margin-top: 38px; text-align: center; }
.home-duality__demo video { display: block; width: min(100%, 280px); height: auto; margin-inline: auto; filter: drop-shadow(0 18px 28px rgba(0,0,0,.2)); }
.home-duality__demo figcaption { max-width: 330px; min-height: 3em; margin: 22px auto 0; font-size: .88rem; line-height: 1.5; }
.home-duality__half--heat figcaption { color: #dfcab5; }
.home-duality__half--cold figcaption { color: #45575e; }

.home-process { background: #fffdf9; padding: 122px 0; }
.home-process__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(55px, 8vw, 150px); align-items: center; }
.home-process__steps { list-style: none; margin-top: 43px; border-top: 1px solid #c7d0ce; }
.home-process__steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; border-bottom: 1px solid #c7d0ce; padding: 20px 0; }
.home-process__steps li > span { font-size: 1.25rem; font-weight: 800; color: var(--brand-cold); }
.home-process__steps h3 { font-size: 1.5rem; font-weight: 800; }
.home-process__steps p { font-size: .98rem; margin-top: 6px; color: #405159; }
.home-process__note { max-width: 590px; font-size: .87rem; margin-top: 25px; color: #536168; }
.home-process__demo { text-align: center; }
.home-process__demo video { display: block; height: auto; width: min(100%, 330px); margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(10,28,38,.17)); }

.home-apple { background: var(--brand-deep); color: #f4fafb; padding: 100px 0; }
.home-apple__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.home-apple h2 { max-width: 630px; }
.home-apple__copy > p { margin-top: 24px; max-width: 620px; color: #d0e0e7; font-size: 1.12rem; }
.home-apple__facts { margin-top: 37px; display: flex; flex-wrap: wrap; gap: 12px; }
.home-apple__facts span { display: inline-block; border: 1px solid #7c9da9; padding: 9px 14px; color: #f0f8fa; font-size: .84rem; font-weight: 700; }
.home-apple__visual { display: flex; align-items: center; justify-content: center; gap: 20px; }
.home-apple__visual img { width: min(42%, 220px); filter: drop-shadow(0 16px 30px rgba(0,0,0,.23)); }
.home-apple__visual img:last-child { transform: translateY(42px); }

.home-page .faq { background: #f5f7f4; color: var(--brand-ink); padding: 105px 0; }
.home-page .faq__container { width: min(100% - 72px, 950px); }
.home-page .faq__heading { color: var(--brand-ink); font-size: clamp(2.8rem, 4vw, 4.7rem); font-weight: 900; font-stretch: 92%; margin-bottom: 35px; }
.home-page .faq__list { gap: 0; }
.home-page .faq__item { background: transparent; border: none; border-bottom: 1px solid #bdc9c8; border-radius: 0; }
.home-page .faq__item:first-child { border-top: 1px solid #bdc9c8; }
.home-page .faq__question { color: var(--brand-ink); font-weight: 720; font-size: 1.04rem; padding: 19px 35px 19px 0; }
.home-page .faq__question::after { color: var(--brand-cold); }
.home-page .faq__answer { color: #344b55; padding: 0 40px 22px 0; }

.home-final { background: var(--brand-cedar); color: #fff8ef; text-align: center; padding: 110px 0; }
.home-final p { font-size: .96rem; color: #f0c68e; font-weight: 700; }
.home-final h2 { margin: 13px 0 33px; }
.home-final .store-badge { margin-inline: auto; }
.home-final .home-final__sub { margin-top: 21px; font-weight: 400; color: #e7d2bb; font-size: .86rem; }

@media (max-width: 1000px) {
    .home-hero h1 { font-size: clamp(3.2rem, 6vw, 5rem); }
    .home-hero { padding-top: 116px; }
    .home-hero__phone video { width: 250px; }
    .home-duality__content { width: min(100% - 48px, 560px); }
    .home-duality h2 { font-size: clamp(3rem, 5vw, 4rem); }

}
@media (max-width: 767px) {
    .home-container, .home-page .faq__container { width: min(100% - 40px, 600px); }
    .home-hero { display: block; padding: 116px 20px 48px; }
    .home-hero__ice { display: block; }
    .home-hero__copy { width: min(100%, 600px); margin-inline: auto; }
    .home-hero__intro { margin-bottom: 19px; }
    .home-hero h1 { font-size: clamp(3.3rem, 11.5vw, 5rem); max-width: 520px; }
    .home-hero__summary { margin-top: 28px; font-size: 1.04rem; }
    .home-hero__phone { margin: 44px auto 0; width: max-content; }
    .home-hero__phone video { width: clamp(240px, 67vw, 270px); }
    .home-strava, .home-process { padding: 76px 0; }
    .home-strava__grid, .home-process__grid, .home-apple__grid { display: block; }
    .home-strava h2, .home-process h2, .home-apple h2, .home-final h2 { font-size: clamp(3rem, 10vw, 4.5rem); }
    .home-strava__demo, .home-process__demo { margin-top: 42px; }
    .home-strava__demo video, .home-process__demo video { width: min(100%, 260px); }
    .home-duality { display: block; }
    .home-duality__half { min-height: 0; display: block; }
    .home-duality__content { display: block; width: min(100% - 40px, 600px); padding: 75px 0 60px; }
    .home-duality h2 { font-size: clamp(3.3rem, 11vw, 4.8rem); }
    .home-duality__copy { min-height: 0; }
    .home-duality__demo { margin-top: 40px; }
    .home-apple { padding: 76px 0 95px; }
    .home-apple__visual { margin-top: 34px; }
    .home-apple__visual img { width: min(38%, 190px); }
    .home-page .faq { padding: 75px 0; }
    .home-final { padding: 84px 0; }
}
@media (max-width: 390px) {
    .home-hero h1 { font-size: 3.23rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
