/* Responsive layout only; existing landing colors, assets and typography stay intact. */
.site-nav>div{max-width:100%;min-width:0}
.site-nav a{display:flex;align-items:center;min-height:44px}
.site-nav>a,.site-nav>div>a{justify-content:center}
.site-nav .nav-account{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center}
.site-nav .nav-account svg{display:block;flex:none;width:16px;height:16px}
.site-nav .nav-account span{line-height:20px}
.landing-page .grid>*,.hero-copy,.hero-image{min-width:0}
.hero-title{max-width:100%}
.hero-image img{height:auto;max-width:100%}
.landing-page .store-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:32px;padding:16px 0}
.landing-page .store-badge{display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:8px}
.landing-page .store-badge img{display:block;width:192px;height:64px;max-width:none}
/* Preserve Google's supplied clear space around the badge. */
.landing-page .store-badge.google-play{margin:-16px}
.landing-page .store-badge.google-play img{width:248px;height:96px}
.landing-page .store-badge:focus-visible{outline:2px solid #7950b8;outline-offset:4px}
@media(min-width:1024px){.hero-copy .store-links{justify-content:flex-start}}
.site-footer{min-width:0;padding-bottom:max(32px,env(safe-area-inset-bottom))}
.site-footer p,.legal-page main{overflow-wrap:anywhere}
.site-footer .footer-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 4px}
.legal-page .site-footer{width:calc(100% - 48px)}
@media(min-width:1024px){.landing-hero .hero-title{font-size:clamp(48px,5vw,72px)}}
@media(max-width:639px){
  .site-nav{top:max(12px,env(safe-area-inset-top));padding-inline:16px}
  .site-nav>div{gap:12px;padding:6px 12px}
  .site-nav>div>a:first-child{font-size:18px;line-height:24px}
  .site-nav>div>a:last-child{gap:6px;padding:8px 12px;font-size:12px}
  .site-nav .nav-account svg{width:14px;height:14px}
  .landing-page .store-links{gap:28px;padding:14px 0}
  .landing-page .store-badge img{width:168px;height:56px}
  .landing-page .store-badge.google-play{margin:-14px}
  .landing-page .store-badge.google-play img{width:217px;height:84px}
  .landing-hero .hero-panel{padding:104px 20px 0;border-bottom-left-radius:40px;border-bottom-right-radius:40px}
  .landing-hero .hero-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .landing-hero .hero-copy{padding-bottom:0}
  .landing-hero .hero-title{font-size:clamp(32px,9vw,42px);line-height:1.08;margin-bottom:20px}
  .landing-hero .hero-title span{white-space:normal}
  .landing-hero .hero-description{font-size:16px;line-height:1.6;margin-bottom:24px;max-width:34ch}
  .landing-hero .hero-copy>a{min-height:56px;padding:14px 28px;font-size:16px}
  .landing-hero .hero-image img{width:min(100%,280px);height:auto}
  .landing-page main{padding:56px 20px}
  .landing-page main>section+section{margin-top:64px}
  .landing-page #features .grid{gap:16px}
  .landing-page #features .grid>div{padding:24px}
  .landing-page #pro{padding:28px 24px 0;border-radius:32px}
  .landing-page #pro .grid{gap:24px}
  .landing-page #pro .grid>div:first-child{padding-bottom:0}
  .landing-page #pro a{max-width:100%;text-align:center;justify-content:center}
  .landing-page #goals>div{gap:12px}
  .landing-page #goals span{max-width:100%;padding:10px 16px;font-size:16px}
  .site-footer{padding:48px 20px max(32px,env(safe-area-inset-bottom))}
  .site-footer h2{font-size:30px;line-height:1.15;margin-bottom:20px}
  .site-footer h2+p{font-size:16px;line-height:1.6;margin-bottom:28px}
  .site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
  .site-footer .footer-links a[href="/affiliate"]{grid-column:1 / -1;justify-self:center}
  .site-footer .border-t{margin-top:32px;padding-top:24px}
  .legal-page .site-footer{width:calc(100% - 32px);padding:28px 20px}
  .legal-page header{padding-inline:16px}
  .legal-page main{padding-inline:20px}
}
@media(hover:none){.hero-image img{transform:none!important}}
@media(prefers-reduced-motion:reduce){.hero-image img{transition:none}}
