:root {
  color-scheme: light;
  --cream: #fff7ed;
  --sand: #d6b797;
  --sky: #7db8d5;
  --brown: #643c21;
  --ink: #2e241b;
  --muted: #5b4635;
  --content-width: 70rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
body { max-width: 100rem; margin: 0 auto; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin-block: 0; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: absolute;
  z-index: 4;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--cream);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--sky); }
.header-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 2 * var(--gutter), var(--content-width));
  min-height: 3.5rem;
  gap: .75rem;
  margin-inline: auto;
}
.header-links {
  display: flex;
  align-items: center;
  flex: none;
  gap: .125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-link {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: .45rem;
}
.header-link img { width: 1.25rem; }
button.header-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}
button.header-link:enabled { cursor: pointer; }
.header-link[href]:hover img,
button.header-link:enabled:hover img { transform: scale(1.12); }
.language-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.language-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: .45rem;
  text-decoration: none;
}
.flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.375rem;
  line-height: 1;
}
.desktop-languages a:hover,
.desktop-languages a[aria-current="page"] {
  background: #ffffff65;
}
.desktop-languages { display: none; }
.desktop-languages .language-list { flex-wrap: nowrap; }

.mobile-languages { min-width: 0; }
.mobile-languages summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .3rem .25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mobile-languages summary::-webkit-details-marker { display: none; }
.mobile-languages summary .flag { flex: none; }
.mobile-languages summary .language-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-languages summary::after {
  flex: none;
  width: .45rem;
  height: .45rem;
  margin-left: .25rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-.15rem) rotate(45deg);
  content: "";
}
.mobile-languages[open] summary::after {
  transform: translateY(.15rem) rotate(225deg);
}
.mobile-languages .language-list {
  position: absolute;
  z-index: 2;
  inset: 100% auto auto 0;
  width: min(17rem, 100%);
  max-height: min(72vh, 31rem);
  overflow-y: auto;
  padding: .375rem;
  border: 1px solid #6a4a2b50;
  border-radius: .65rem;
  background: var(--cream);
  box-shadow: 0 .45rem 1.2rem #2e241b30;
}
.mobile-languages .language-list li { width: 100%; }
.mobile-languages .language-list a {
  justify-content: flex-start;
  gap: .65rem;
  padding-inline: .65rem;
  font-weight: 600;
}
.mobile-languages .language-list a:hover,
.mobile-languages .language-list a[aria-current="page"] {
  background: #edd8c0;
}

.panorama { background: var(--sand); }
.panorama picture { display: block; }
.panorama img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.panorama--hero img { aspect-ratio: 1200 / 676; }
.panorama--cheetah img { aspect-ratio: 1200 / 670; }
.panorama--lions img { aspect-ratio: 1200 / 669; }

.intro,
.download-footer {
  display: grid;
  justify-items: center;
  gap: .9rem;
  padding: clamp(2rem, 5.2vw, 4.25rem) var(--gutter);
  text-align: center;
}
.intro h1 {
  color: var(--brown);
  font-size: clamp(2.35rem, 7vw, 4.65rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.intro-tagline {
  display: block;
  margin-top: .6rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.35rem);
  font-weight: 650;
  letter-spacing: normal;
  line-height: 1.35;
}
.intro-callout {
  max-width: 47ch;
  font-size: clamp(1.0625rem, 2.1vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
}
.intro-copy {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}
.store-groups {
  display: grid;
  width: 100%;
  gap: 1.2rem;
  margin-top: .35rem;
}
.store-group-title {
  margin: 0;
  color: var(--brown);
  font-size: clamp(1.0625rem, 2.2vw, 1.35rem);
  font-weight: 750;
  line-height: 1.4;
}
.store-group-note {
  color: var(--muted);
  font-size: .875em;
  font-weight: 500;
}
.store-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .7rem;
  margin: .4rem 0 0;
  padding: 0;
  list-style: none;
}
.store-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  width: clamp(8rem, 32vw, 10.65rem);
  border-radius: .35rem;
}
.store-link img { width: 100%; }
.store-link[href]:hover { filter: brightness(1.2); }
.store-link[aria-disabled="true"] { cursor: default; }

.story {
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter) clamp(2.5rem, 5vw, 4.75rem);
}
.story--sand { background: var(--sand); }
.story-inner { max-width: var(--content-width); margin-inline: auto; }
.welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.85rem, 3vw, 1.55rem);
  margin-inline: auto;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.welcome img {
  flex: none;
  width: clamp(5rem, 19vw, 8.25rem);
  clip-path: polygon(0 0, 100% 0, 100% 49%, 86% 53%, 86% 61%, 100% 63%, 100% 100%, 0 100%);
  mask-image: linear-gradient(#000 87%, transparent);
}
.welcome-copy {
  position: relative;
  max-width: 19rem;
  padding: .8rem clamp(.8rem, 3vw, 1.4rem);
  border-radius: 1.1rem;
  color: var(--cream);
  background: var(--brown);
  text-align: center;
}
.welcome-copy::before {
  position: absolute;
  top: 52%;
  right: calc(100% - 1px);
  border-top: .55rem solid transparent;
  border-right: .75rem solid var(--brown);
  border-bottom: .22rem solid transparent;
  content: "";
}
.welcome-copy strong {
  display: block;
  font-size: clamp(1.0625rem, 2.5vw, 1.6rem);
  line-height: 1.2;
}
.welcome-copy span { display: block; font-size: .9375rem; }
.story-heading {
  display: grid;
  justify-items: center;
  gap: .65rem;
  max-width: 44rem;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}
.story-heading h2,
.download-footer h2 {
  color: var(--brown);
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
  font-weight: 810;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.story-heading p { color: var(--muted); }
.screenshots {
  display: grid;
  justify-content: center;
  gap: clamp(.7rem, 2.4vw, 1.55rem);
}
.phone {
  margin: 0;
  filter: drop-shadow(0 .25rem .24rem #22170c44);
}
.phone img {
  width: 100%;
  clip-path: inset(1.8% 1.5% 2% round 6.7% / 14%);
}
.site-footer {
  padding: 1.15rem var(--gutter);
  color: var(--cream);
  background: var(--brown);
  font-size: .875rem;
  text-align: center;
}
.site-footer p + p { margin-top: .3rem; }
.site-footer a { font-weight: 650; }

@media (min-width: 45rem) {
  .screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panorama--cheetah img,
  .panorama--lions img { aspect-ratio: 2.28; }
  .panorama--cheetah img { object-position: center 68%; }
}

@media (min-width: 48rem) {
  .desktop-languages { display: block; }
  .mobile-languages { display: none; }
}

