/* Loaded only up to 820 px. Desktop styles remain in site.css. */
html { scroll-padding-top: 90px; scroll-padding-bottom: 100px; }
.landing-page { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
.header-inner { min-height: 64px; }
.header-download { display: none; }
.language-picker summary { min-height: 44px; padding-inline: 13px; border: 1px solid #ffffff40; border-radius: 24px; }
.language-picker summary > .globe { display: block; }
.brand img { width: 36px; height: 36px; }
.brand { font-size: 27px; }
.mobile-dock { position: fixed; z-index: 35; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr 1.55fr; gap: 10px; align-items: center; padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 -4px 20px #102d4810; }
.mobile-dock > a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; text-decoration: none; border-radius: 10px; }
.mobile-dock > a:active { background: var(--pale); }
.mobile-dock .icon { width: 21px; height: 21px; }
.mobile-dock > .button { flex-direction: row; gap: 8px; font-size: 14px; padding: 12px; background: var(--blue); color: #fff; }
.mobile-dock > .button:active { background: #1749c0; }
.modal-open .mobile-dock { visibility: hidden; }
.feature-nav { position: sticky; top: 64px; z-index: 12; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; background: var(--pale); padding: 12px 2px; margin: 0 0 16px; gap: 8px; }
.feature-nav a { flex: 0 0 auto; min-height: 48px; padding: 12px 16px; white-space: nowrap; font-size: 14px; }
.feature-nav a:focus-visible { outline-offset: -4px; }
.feature-panel { scroll-margin-top: 54px; }
.gallery { position: relative; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; max-width: none; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #8cacc0 var(--night); padding: 8px 3px 20px; }
.gallery figure { scroll-snap-align: start; }
.gallery a:focus-visible { outline-offset: -4px; }
.gallery figcaption { min-height: 3em; font-size: 15px; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 20px; }
.gallery-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #7798ac; border-radius: 50%; background: transparent; color: #fff; }
.gallery-controls button:disabled { opacity: .3; cursor: default; }
.gallery-controls [data-gallery-direction="-1"] .icon { transform: rotate(90deg); }
.gallery-controls [data-gallery-direction="1"] .icon { transform: rotate(-90deg); }
.gallery-position { min-width: 45px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.mobile-swipe-hint { display: block; font-size: 12px; text-align: center; color: #b9cfdd; margin-inline: auto; }
.gallery-hint { margin-top: 16px; }
.hero > .mobile-swipe-hint { display: none; }
.lightbox { max-height: calc(100dvh - 20px); }
.lightbox-header { position: sticky; top: -14px; z-index: 1; padding-block: 8px; background: #fff; }
.close-button { min-height: 44px; }

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: 30px 32px; }
  .hero-copy, .hero-intro, .hero-actions { display: contents; }
  .hero .eyebrow { order: 0; margin: 0 0 18px; font-size: 12px; }
  .hero h1, .locale-de .hero h1, .locale-fr .hero h1, .locale-it .hero h1 { order: 1; font-size: clamp(2.15rem, 10.3vw, 2.85rem); line-height: 1.08; letter-spacing: -.05em; }
  .hero-lead { order: 2; display: block; font-size: 16px; line-height: 1.65; color: #d5e0e9; margin-top: 19px; }
  .hero-actions .button { order: 3; width: 100%; min-height: 54px; margin-top: 23px; font-size: 14px; }
  .hero .micro { order: 4; margin-top: 12px; font-size: 11px; text-align: center; max-width: none; }
  .hero-visual { order: 5; width: 100%; height: auto; min-height: 0; margin-top: 25px; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #8cacc0 var(--night); padding: 7px 4px 18px; }
  .hero-visual:before { display: none; }
  .hero-phone-front, .hero-phone-back { position: static; inset: auto; transform: none; width: auto; flex: 0 0 66%; max-width: 265px; scroll-snap-align: start; }
  .hero-visual .phone { border-radius: 23px; padding: 5px; box-shadow: none; }
  .hero-visual .phone img { border-radius: 17px; }
  .hero-visual .phone:focus-visible { outline-offset: -4px; }
  .hero-caption { display: none; }
  .hero > .mobile-swipe-hint { display: block; order: 6; margin-top: 10px; }
  .hero-rest { order: 7; display: block; font-size: 16px; line-height: 1.75; color: #d5e0e9; margin-top: 25px; }
  .hero-actions .text-link { order: 8; align-self: flex-start; font-size: 14px; margin-top: 18px; min-height: 44px; }
  .trust-strip { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding-block: 23px 27px; }
  .trust-item { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
  .trust-item .icon { width: 23px; height: 23px; }
  .trust-item h2 { font-size: 12px; line-height: 1.45; letter-spacing: -.01em; }
  .trust-item p { display: none; }
  .section { padding-block: 48px; }
  h2 { font-size: 32px; line-height: 1.15; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .section-heading > p, .section-heading > div > p { font-size: 16px; line-height: 1.7; }
  .light-story { grid-template-columns: 1fr; gap: 0; }
  .light-story h2 { font-size: 36px; line-height: 1.13; max-width: none; }
  .light-story .story-intro { font-size: 16px; line-height: 1.75; margin-top: 22px; }
  .light-story-visual { display: none; }
  .light-steps { counter-reset: light-step; list-style: none; padding: 0; gap: 20px; margin-block: 27px; }
  .light-steps li { position: relative; padding-left: 44px; font-size: 15px; line-height: 1.65; }
  .light-steps li:before { counter-increment: light-step; content: counter(light-step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--pale); color: var(--blue); font-size: 13px; font-weight: 700; }
  .feature-note { font-size: 13px !important; }
  .light-story .text-link { min-height: 44px; margin-top: 20px; }
  .daily-uses { grid-template-columns: 1fr; gap: 0; border-bottom: 0; margin-bottom: 25px; padding-bottom: 0; }
  .daily-uses article { position: relative; padding: 26px 0; border-top: 1px solid #c5d7e1; }
  .daily-uses .use-icon { margin: 0 0 14px; }
  .daily-uses h3 { font-size: 25px; max-width: none; line-height: 1.2; }
  .daily-uses p { font-size: 15px; line-height: 1.75; margin-block: 16px; }
  .daily-uses .text-link { min-height: 44px; font-size: 14px; }
  .feature-nav { margin-inline: -4px; }
  .feature-panel { display: flex; flex-direction: column; padding: 26px 20px; gap: 0; border-radius: 16px; }
  .feature-copy { display: contents; }
  .feature-panel h3 { order: 0; font-size: 29px; max-width: none; }
  .feature-panel .feature-copy > p:not(.feature-note) { order: 1; font-size: 16px; line-height: 1.7; margin-top: 18px; }
  .feature-panel figure { order: 2; margin-block: 25px; width: 100%; }
  .feature-panel .phone { width: min(100%,255px); }
  .feature-panel .feature-copy > ul { order: 3; margin-block: 0 22px; gap: 17px; }
  .feature-panel .feature-copy > ul > li { font-size: 15px; line-height: 1.65; }
  .feature-panel .feature-note { order: 4; font-size: 13px !important; margin-top: 0; }
  .gallery { grid-auto-columns: 82%; gap: 20px; padding-bottom: 16px; }
  .gallery .phone { padding: 5px; border-radius: 25px; }
  .gallery img { border-radius: 19px; }
  .gallery figcaption { padding-top: 17px; font-size: 15px; }
  .gallery figcaption .icon { width: 20px; height: 20px; }
  .theme-switch { width: 100%; margin-top: 22px; }
  .theme-switch button { flex: 1; min-height: 46px; font-size: 14px; }
  .privacy-items { gap: 24px; }
  .privacy-items p, .faq-list details > p { font-size: 15px; }
  .faq-list summary { min-height: 64px; font-size: 16px; padding-block: 21px; }
  .download-section { padding-top: 0; }
  .download-panel { padding: 29px 22px; }
  .download-panel h2 { font-size: 32px; }
  .download-panel p { font-size: 16px; }
  .download-action .button { min-height: 54px; font-size: 14px; }
  .footer-languages a, .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-bottom a { min-height: 44px; }
}
@media (max-width:350px) {
  .wrap { width: calc(100% - 32px); }
  .mobile-dock { padding-inline: 12px; gap: 6px; }
  .mobile-dock > .button { font-size: 13px; }
  .hero h1, .locale-de .hero h1, .locale-fr .hero h1, .locale-it .hero h1 { font-size: 33px; }
  .hero-phone-front, .hero-phone-back { flex-basis: 74%; }
}

/* Brand artwork remains complete and legible, including in the fixed dock. */
.play-badge.header-download{display:none}
.mobile-dock{grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content;gap:6px}
.mobile-dock>.play-badge{--badge-height:32px;display:inline-flex;flex-direction:row;width:max-content;min-height:52px;padding:8px;margin:0;border-radius:0;background:transparent;gap:0}
.mobile-dock>.play-badge:active{background:transparent}
.play-badge--closing{align-self:flex-start}
@media(max-width:600px){
  .hero-actions .play-badge{order:3;align-self:center;--badge-height:56px;width:max-content;margin-top:8px}
  .hero .micro{margin-top:0}
  .hero .hero-requirement{order:2;text-align:left;font-size:12px;line-height:1.6;margin-top:10px}
  .play-badge--story{--badge-height:48px;margin-top:16px}
  .download-action{gap:12px}
  .play-badge--closing{--badge-height:48px;margin-left:-12px}
}
