.app-gallery {
  padding: 64px 0 36px;
  background: #eaf1f3;
  border-block: 1px solid #d7e1e4;
  scroll-margin-top: 24px;
  letter-spacing: 0;
}
.app-gallery-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.app-gallery [hidden], .app-gallery-dialog [hidden] { display: none !important; }
.app-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.app-gallery-eyebrow {
  color: #456d7d;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.app-gallery h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
  max-width: 640px;
}
.app-gallery-tabs {
  display: flex;
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid #cbd8dc;
  border-radius: 8px;
  background: #dfe9ec;
}
.app-gallery-tabs button {
  min-width: 108px;
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  padding: 8px 16px;
  background: transparent;
  color: #40545c;
  font-size: 15px;
  font-weight: 650;
}
.app-gallery-tabs button[aria-selected="true"] {
  background: #fff;
  color: #1b1d1e;
  box-shadow: 0 1px 4px #24404d1a;
}
.app-gallery-panel { --shot-height: 480px; --shot-ratio: 0.4622030238; }
.app-gallery-panel[data-platform="android"] { --shot-ratio: 0.5625; }
.app-gallery-panel + .app-gallery-panel { margin-top: 32px; }
.app-gallery.enhanced .app-gallery-panel { margin-top: 0; }
.app-gallery.enhanced .app-gallery-fallback-heading { display: none; }
.app-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(var(--shot-height) * var(--shot-ratio));
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #9bb2bc transparent;
  padding: 4px 3px 16px;
  scroll-padding-inline: 3px;
}
.app-gallery-shot {
  display: block;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 8px;
  cursor: zoom-in;
}
.app-gallery-shot > img {
  display: block;
  width: 100%;
  height: var(--shot-height);
  object-fit: contain;
  border-radius: 8px;
  background: #f4f4f2;
  box-shadow: 0 3px 12px #24404d14;
  transition: box-shadow 160ms;
}
.app-gallery-shot:hover > img { box-shadow: 0 4px 14px #24404d30; }
.app-gallery-shot > span {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-height: 34px;
  padding-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #253c45;
}
.app-gallery-shot small { color: #647d87; font-size: 12px; font-variant-numeric: tabular-nums; }
.app-gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.app-gallery-range { color: #536d78; font-size: 13px; font-variant-numeric: tabular-nums; }
.app-gallery-arrows { display: flex; gap: 8px; }
.app-gallery-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #cbd8dc;
  background: #fff;
}
.app-gallery-icon img { display: block; }
.app-gallery-icon:hover:not(:disabled) { background: #e8ede9; border-color: #83988a; }
.app-gallery-icon:disabled { cursor: default; opacity: 0.35; }
.app-gallery :focus-visible, .app-gallery-dialog :focus-visible, .landing-downloads a:focus-visible {
  outline: 3px solid #456d7d;
  outline-offset: 3px;
}
.app-gallery-dialog {
  width: min(760px, calc(100% - 24px));
  height: min(1000px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  padding: 16px;
  margin: auto;
  border: 1px solid #d9ddd8;
  border-radius: 8px;
  background: #fff;
  color: #1b1d1e;
  overflow: hidden;
}
.app-gallery-dialog[open] { display: flex; flex-direction: column; gap: 12px; }
.app-gallery-dialog::backdrop { background: #172323cc; }
.app-gallery-dialog-bar, .app-gallery-dialog-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.app-gallery-dialog-bar > span { font-size: 16px; font-weight: 650; }
.app-gallery-dialog-nav { justify-content: center; }
.app-gallery-dialog-nav > span { min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; }
.app-gallery-dialog-image {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #f4f4f2;
  border-radius: 4px;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.app-gallery-dialog-image > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.app-gallery-dialog-image p { padding: 16px; }
.app-gallery-dialog-image a { text-decoration: underline; }
html.app-gallery-modal-open { overflow: hidden; }
.landing-final-cta.landing-downloads {
  width: 100%;
  border-radius: 0;
  margin-top: 0;
  padding: 60px 24px;
  background: #fff;
}
.landing-downloads > div { max-width: 880px; margin-inline: auto; }
.landing-store-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.landing-store-links-top { justify-content: flex-start; margin: 0 0 20px; }
.landing-store-links a:focus-visible { outline: 3px solid #456d7d; outline-offset: 4px; border-radius: 8px; }
.landing-app-store-link { display: block; width: 164px; flex-shrink: 0; line-height: 0; }
.landing-app-store-link img { display: block; width: 100%; height: auto; }
.landing-play-link { display: block; width: 196px; flex-shrink: 0; line-height: 0; }
.landing-play-link img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .landing-store-links { gap: 12px; }
  .landing-app-store-link { width: 140px; }
  .landing-play-link { width: 174px; }
}
@media (max-width: 380px) {
  .landing-store-links { gap: 8px; }
  .landing-app-store-link { width: 128px; }
  .landing-play-link { width: 160px; }
  .landing-downloads .landing-store-links { margin-inline: -8px; }
}
.landing-testing-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.landing-testing-links a {
  display: inline-block;
  padding: 6px 0;
  color: #3c5142;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}
.landing-testing-links img { vertical-align: middle; margin-left: 3px; }
@media (max-width: 760px) {
  .app-gallery { padding: 40px 0 24px; }
  .app-gallery-inner { width: calc(100% - 32px); }
  .app-gallery-header { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 24px; }
  .app-gallery h2 { font-size: 30px; max-width: 390px; }
  .app-gallery-tabs { width: 100%; max-width: 340px; }
  .app-gallery-tabs button { flex: 1; min-width: 0; }
  .app-gallery-panel { --shot-height: 438px; }
  .app-gallery-track { gap: 16px; }
  .app-gallery-dialog { padding: 10px; gap: 8px; height: calc(100dvh - 24px); }
  .app-gallery-dialog-bar > span { font-size: 14px; }
  .landing-final-cta.landing-downloads { padding: 44px 20px; }
  .landing-downloads h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-gallery-shot > img { transition: none; }
}
