:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --background: #fff;
  --surface: #f7f7f9;
  --text: #202024;
  --muted: #616167;
  --line: #e6e6eb;
  --button: #000;
  --button-text: #fff;
  --hero-emphasis: #a3392f;
  --highlight: #fff4dc;
  --highlight-text: #211c13;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #161618;
    --surface: #242426;
    --text: #f4f4f6;
    --muted: #bebec4;
    --line: #404045;
    --button: #fff;
    --button-text: #000;
    --hero-emphasis: #f28e80;
    --highlight: #382e20;
    --highlight-text: #fff4dc;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.shell { --shell-gutter: clamp(1.25rem, 5.1vw, 4.5rem); --shell-max-width: 77rem; width: min(100% - 2 * var(--shell-gutter), var(--shell-max-width)); margin-inline: auto; }
.site-header { position: relative; z-index: 2; }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 4.25rem; }
.header-inner > .wordmark { grid-column: 2; grid-row: 1; text-align: center; }
.header-inner > .language-switcher { grid-column: 1; grid-row: 1; justify-self: start; }
.header-inner > :is(.mobile-navigation, .desktop-navigation) { grid-column: 3; grid-row: 1; justify-self: end; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 1.8rem); }
nav a { font-size: .9375rem; font-weight: 600; padding-block: .55rem; text-decoration: none; color: var(--muted); }
nav a:hover, nav [aria-current] { color: var(--text); text-decoration: underline; }
.desktop-navigation { display: none; }
.mobile-navigation, .language-switcher { position: relative; }
.header-control { display: flex; align-items: center; justify-content: center; gap: .45rem; min-width: 2.75rem; min-height: 2.75rem; padding-inline: .55rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); color: var(--text); cursor: pointer; list-style: none; }
.header-control::-webkit-details-marker { display: none; }
[open] > .header-control { border-color: var(--muted); }
.menu-icon { display: block; width: 1.1rem; height: .86rem; border-block: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.flag { display: inline-block; font: 1.2rem/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", emoji; }
.language-name { display: none; }
.header-panel { position: absolute; inset-block-start: calc(100% + .35rem); display: grid; gap: .1rem; min-width: 10rem; padding: .35rem; background: var(--background); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 .45rem 1.2rem #0002; }
.language-switcher .header-panel { inset-inline-start: 0; }
.mobile-navigation .header-panel { inset-inline-end: 0; }
.header-panel a { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .5rem .7rem; border-radius: .5rem; color: var(--text); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-panel a:hover, .header-panel [aria-current] { background: var(--surface); }
.header-panel [aria-current] { text-decoration: underline; }
.skip-link { position: absolute; top: .5rem; left: .75rem; padding: .65rem 1rem; background: var(--button); color: var(--button-text); transform: translateY(-160%); z-index: 3; }
.skip-link:focus { transform: none; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.125rem; }
p { color: var(--muted); }
.intro { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(.85rem, 2.8vw, 2.2rem); padding-block: clamp(2rem, 5.9vw, 5.35rem) clamp(1.6rem, 4.2vw, 3.9rem); }
.app-icon { width: clamp(4rem, 11vw, 8.5rem); height: auto; border-radius: 24%; box-shadow: 0 8px 18px #0002; }
.intro-copy h1 { font-size: clamp(1.95rem, 7.5vw, 3rem); }
.intro-copy > p { font-size: clamp(1rem, 1.9vw, 1.32rem); margin-top: .4rem; }
.intro h1 span { color: var(--hero-emphasis); }
.intro h1 .hero-phrase { white-space: nowrap; }
.intro h1 .hero-phrase:not(:last-child) { color: inherit; }
.store-action { display: grid; justify-items: center; gap: .4rem; inline-size: max-content; max-inline-size: 100%; }
.intro-copy .store-action { margin-top: 1rem; }
.intro-copy .store-action > :is(.store-placeholder, .store-button) { justify-self: stretch; justify-content: center; }
.store-terms { font-size: .82rem; line-height: 1.4; text-align: center; }
.button { display: inline-flex; min-height: 2.8rem; align-items: center; justify-content: center; border: 1px solid var(--button); border-radius: 1rem; padding: .55rem 1rem; background: var(--button); color: var(--button-text); font-size: .93rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { opacity: .82; }
.store-placeholder { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.9rem; padding: .45rem .8rem; border: 1px solid #929295; border-radius: .6rem; background: #101013; color: #fff; line-height: 1; }
.store-placeholder small, .store-placeholder strong { display: block; white-space: nowrap; }
.store-placeholder small { font-size: .64rem; }
.store-placeholder strong { margin-top: .13rem; font-size: 1.25rem; letter-spacing: -.035em; }
.phone-icon { position: relative; width: .9rem; height: 1.45rem; border: 1.5px solid currentColor; border-radius: .24rem; }
.phone-icon::after { position: absolute; inset: .15rem 25% auto; height: 1px; background: currentColor; content: ''; }

.gallery-controls { display: none; }
.gallery-controls button, .close { display: grid; width: 2.75rem; height: 2.75rem; place-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.gallery-controls button:disabled { opacity: .38; cursor: default; }
.media-gallery { --gap: clamp(.7rem, 1.35vw, 1.05rem); --slide-width: min(18rem, 82%); --swiper-wrapper-transition-timing-function: cubic-bezier(.22, .61, .36, 1); column-gap: var(--gap); margin: 0; padding: 4px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; }
.media-gallery::-webkit-scrollbar { display: none; }
.media-gallery.swiper-initialized { overflow: clip; scroll-snap-type: none; }
.media-gallery .swiper-wrapper { height: auto; margin: 0; padding: 0; list-style: none; }
.media-gallery .swiper-slide { width: var(--slide-width); min-width: 0; height: auto; }
.media-gallery:not(.swiper-initialized) .swiper-wrapper { gap: var(--gap); }
.media-gallery:not(.swiper-initialized) .swiper-slide { scroll-snap-align: start; }
.media-card { position: relative; display: block; isolation: isolate; height: 100%; overflow: hidden; border-radius: clamp(1rem, 2vw, 1.55rem); background: var(--surface); text-decoration: none; }
.media-card img { width: 100%; height: auto; }
.video-card video { display: block; width: 100%; height: 100%; aspect-ratio: 886 / 1920; object-fit: cover; background: #000; }
.video-card video:fullscreen { object-fit: contain; }
.play { position: absolute; z-index: 1; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; background: #161618c9; color: #fff; cursor: pointer; width: clamp(2.85rem, 6.5vw, 4rem); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.play:focus-visible { outline-color: #fff; }
.play span { border-left: .86rem solid currentColor; border-block: .52rem solid transparent; margin-left: .15rem; }
.play:hover { background: #161618; }

.about { display: grid; gap: clamp(1rem, 5vw, 4rem); align-items: start; margin-block: clamp(1.8rem, 5vw, 4rem) clamp(2.4rem, 6vw, 5rem); }
.about p { max-width: 60ch; }
.about p + p { margin-top: .85rem; }
.listing-copy h2 + p { margin-top: .55rem; }
.offer { padding: clamp(1.2rem, 2.7vw, 2rem); border-radius: 1.6rem; background: var(--highlight); color: var(--highlight-text); text-align: center; }
.offer .store-terms { color: inherit; }
.offer .compatibility { margin-top: .85rem; color: inherit; font-size: .9rem; font-weight: 650; }
.offer .store-action { margin: .9rem auto 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { min-height: 5.2rem; }

.text-page { max-width: 45rem; margin-block: clamp(2rem, 6vw, 4.7rem); }
.text-page h1 { font-size: clamp(2.3rem, 6vw, 3.5rem); }
.text-page h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); margin-top: 1.9rem; }
.text-page h3 { margin-top: 1.15rem; }
.text-page p { margin-top: .75rem; overflow-wrap: anywhere; }
.text-page a { color: var(--text); }
.text-page .button { color: var(--button-text); margin-top: 1rem; }

dialog { width: min(32rem, calc(100% - 1.25rem)); max-height: 95dvh; padding: .7rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--surface); color: var(--text); }
dialog::backdrop { background: #000b; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .15rem .2rem .6rem .5rem; }
.dialog-header h2 { font-size: 1.02rem; }
.dialog-media { display: grid; place-items: center; }
.dialog-media img { display: block; max-width: 100%; max-height: 79dvh; object-fit: contain; border-radius: .85rem; }

@media (max-width: 24rem) {
  .header-inner { width: calc(100% - 1rem); }
}

@media (max-width: 42rem) {
  .media-gallery { margin-inline: calc(-1 * var(--shell-gutter)); padding-inline: calc(var(--shell-gutter) + 4px); }
}

@media (min-width: 46rem) {
  .landing { --landing-gutter: max(var(--shell-gutter), (100% - var(--shell-max-width)) / 2); width: 100%; }
  .landing > :is(.intro, .about), .landing .gallery-controls { margin-inline: var(--landing-gutter); }
  .intro-copy h1 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); }
  .previews { container-type: inline-size; }
  .media-gallery {
    --slide-width: clamp(11.25rem, 21vw, 18rem);
    --hero-inset: max(var(--shell-gutter), (100cqw - var(--shell-max-width)) / 2);
    --gallery-gutter: max(calc(var(--hero-inset) + 4px), calc(50cqw - 1.5 * var(--slide-width)));
    padding-inline: var(--hero-inset);
    scroll-padding-inline: var(--hero-inset);
  }
  .media-gallery.swiper-initialized {
    padding-inline: var(--gallery-gutter);
    scroll-padding-inline: var(--gallery-gutter);
  }
  /* Align the first card visually without reversing the order of the centered snap positions. */
  .media-gallery .swiper-wrapper:has(> .swiper-slide-active:first-child) {
    translate: calc(var(--hero-inset) - var(--gallery-gutter)) 0;
  }
  .about { grid-template-columns: 1.35fr 1fr; }
}

@media (min-width: 46rem) and (hover: hover) and (pointer: fine) {
  .mobile-navigation { display: none; }
  .desktop-navigation { display: flex; justify-content: end; }
  .language-name { display: inline; font-size: .9375rem; font-weight: 600; }
  .gallery-controls { display: flex; justify-content: flex-end; gap: .4rem; margin-top: .6rem; }
  .media-gallery video[controls] { cursor: auto; }
}

@media (min-width: 64rem) {
  .store-action > :is(.store-placeholder, .store-button) { zoom: 1.5; }
}
