:root {
  --font-xl: 42px;
  --font-lg: 24px;
  --font-md: 20px;
  --font-sm: 18px;
  --font-xs: 16px;
  --font-xxs: 14px;
  --color-text: #222;
  --color-surface: #fff;
  --color-link: #65638f;
  --color-link-hover: #5a51fe;
  --color-link-hover-alt: #8751fe;
  --color-accent: #5a51fe;
  --color-footer: #65638f;
  --color-focus-ring: #5a51fe;
  --shadow-screenshot: 0 12px 48px rgba(17, 16, 62, 0.12);
  --shadow-screenshot-hover: 0 24px 48px rgba(17, 16, 62, 0.12);
  --motion-quick: 150ms ease-out;
  --motion-normal: 300ms ease-out;
}

@media (max-width: 768px) {
  :root {
    --font-xl: 28px;
    --font-lg: 22px;
    --font-md: 16px;
    --font-sm: 14px;
    --font-xs: 13px;
    --font-xxs: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-xl: 24px;
    --font-lg: 20px;
    --font-md: 15px;
    --font-sm: 14px;
    --font-xs: 12px;
    --font-xxs: 11px;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--color-text);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-size: var(--font-md);
  background-color: var(--color-surface);
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ4MCIgaGVpZ2h0PSI2NTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik03MzEuMjA3IDY0OS44MDJDOTM1LjQ4NCA2NDIuMTQgMTQ4MCAzMzcuMzI1IDE0ODAgMTgwLjg4OGMwLTE1Ni40MzgtMzA5Ljc0NC0zNi4wNTUtNzIwLTM2LjA1NVMwLTE3NC40ODMgMCAxMzUuMTQ0YzAgMzA5LjYyNyA1MjYuOTMgNTIyLjMyIDczMS4yMDcgNTE0LjY1OHoiIGZpbGw9IiNGNkY4RkEiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==);
  background-size: cover;
  background-position-x: 20vw;
  background-position-y: -10vh;
  background-repeat: no-repeat;
  line-height: 1.4;
}

main {
  flex: 1;
  width: 100%;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

a:focus-visible,
.app__button-ios:focus-visible,
.lightbox:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.button {
  display: flex;
  background: linear-gradient(65deg, #DA552F, #ea8e39);
  font-family: "Heebo", sans-serif;
  color: #fff;
  display: inline-flex;
  font-size: var(--font-xxs);
  letter-spacing: 0px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  justify-content: center;
  padding: 16px 32px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(32, 43, 54, 0.12);
  mix-blend-mode: multiply;
  transition: box-shadow var(--motion-quick), transform var(--motion-quick);
}

.button:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(32, 43, 54, 0.25);
}

.button--link {
  background: rgba(0, 0, 0, 0);
  color: var(--color-link-hover);
  box-shadow: none;
}

.button--link:hover {
  color: var(--color-link-hover-alt);
  box-shadow: none;
}

.accent {
  color: var(--color-accent);
}

.container {
  max-width: 960px;
  padding: 0 30px;
  margin: auto;
}

h1,
h2 {
  font-family: "Heebo", sans-serif;
}

.container-desktop {
  max-width: 960px;
  padding: 0 30px;
  margin: auto;
}

@media (max-width: 768px) {
  .container-desktop {
    max-width: 100%;
    padding: 0;
  }
}

.tobi-zoom__icon {
  display: none;
}

.app__header {
  display: flex;
  flex-direction: row;
  margin-top: 128px;
  margin-bottom: 128px;
  align-items: center;
}

@media (max-width: 768px) {
  .app__header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 16px;
  }
}

.app__logo-wrapper {
  display: inline-block;
  background-image: url("ios-mask-border-128.svg");
  background-size: contain;
  max-width: 250px;
  max-height: 250px;
  padding: 1px;
  margin-right: 64px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

html[dir=rtl] .app__logo-wrapper {
  margin-left: 64px;
  margin-right: 0;
}

@media (max-width: 768px) {
  .app__logo-wrapper {
    max-width: 110px;
    max-height: 110px;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .app__logo-wrapper {
    max-width: 96px;
    max-height: 96px;
    margin-right: 0;
    margin-bottom: 16px;
  }
}

.app__logo {
  border-radius: 22.5%;
  mask-image: url("ios-mask.svg");
  mask-size: cover;
  width: 100%;
  height: auto;
}

.app__name {
  font-size: var(--font-xl);
  margin: 0;
}

.app__description {
  font-size: var(--font-lg);
}

@media (max-width: 768px) {
  .app__description {
    margin-top: 8px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .app__description {
    margin-top: 10px;
    margin-bottom: 4px;
  }
}

.app__screenshots-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 200px);
  grid-column-gap: 20px;
  padding: 30px 0;
}

@media (max-width: 768px) {
  .app__screenshots-list {
    padding: 32px 0;
    grid-auto-columns: minmax(200px, 82vw);
    grid-column-gap: 14px;
  }
}

@media (max-width: 480px) {
  .app__screenshots-list {
    padding: 24px 0;
    grid-auto-columns: minmax(180px, 82vw);
  }
}

.app__screenshot {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-screenshot);
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
  transform: scale(1);
  scroll-snap-align: center;
  cursor: pointer;
}

.app__screenshot:hover {
  box-shadow: var(--shadow-screenshot-hover);
  transform: scale(1.05);
}

.app__screenshots-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.app__screenshots-wrapper::-webkit-scrollbar {
  display: none;
}

.app__buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: -9.8px;
}

.app__buttons--mobile {
  display: none;
}

@media (max-width: 768px) {
  .app__buttons {
    margin-left: 0;
    margin-bottom: 64px;
  }

  .app__buttons--mobile {
    display: flex;
    justify-content: center;
  }

  .app__buttons--desktop {
    display: none;
  }
}

.app__button-play img {
  width: 176.4px;
}

.app__button-ios img {
  width: 140px;
}

.app__button-ios {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app__button-web {
  margin-left: 12px;
}

.app__button-web img {
  width: 157px;
}

@media (max-width: 768px) {
  .app__button-play img {
    width: 126px;
  }

  .app__button-ios img {
    width: 100px;
  }

  .app__button-ios {
    min-height: 48px;
    padding: 2px;
  }

  .app__button-web {
    margin-left: 8px;
  }

  .app__button-web img {
    width: 112px;
  }
}

  .app__section-title {
  font-size: var(--font-lg);
}

.faq__question {
  cursor: pointer;
  font-weight: 700;
}

.faq__answer {
  margin: 8px 0 12px;
  line-height: 1.5;
}

.faq__item + .faq__item {
  margin-top: 8px;
}

.faq__item {
  border: 1px solid rgba(101, 99, 143, 0.18);
  border-radius: 14px;
  padding: 12px 16px;
  background: rgba(247, 247, 255, 0.45);
}

.app__section {
  margin-bottom: 128px;
}

@media (max-width: 768px) {
  .app__section {
    margin-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .app__section {
    margin-bottom: 48px;
  }
}

.app__featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .app__featured-content {
    display: block;
    padding: 32px;
  }
}

.app__featured-image {
  width: 100%;
  margin: auto;
}

.footer {
  padding: 16px 0;
  font-size: var(--font-xs) !important;
}

.footer a {
  font-size: var(--font-xs) !important;
}

.footer__container {
  color: var(--color-footer);
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.footer__tagline {
  margin: 0;
}

@media (max-width: 768px) {
  .footer__container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer {
    padding: 20px 0 24px;
  }
}

.footer__links {
  list-style: none;
  display: flex;
  padding-left: 0;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
}

.footer__link {
  margin: 0;
}

@media (max-width: 768px) {
  .footer__link {
    margin: 0;
    width: auto;
    text-align: center;
  }
}

.footer__tagline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
}

.page {
  max-width: 960px;
  padding: 0 30px;
  margin: auto;
}

.darkmode-toggle {
  z-index: 500;
}

.darkmode-background {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ4MCIgaGVpZ2h0PSI2NTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik03MzEuMjA3IDY0OS44MDJDOTM1LjQ4NCA2NDIuMTQgMTQ4MCAzMzcuMzI1IDE0ODAgMTgwLjg4OGMwLTE1Ni40MzgtMzA5Ljc0NC0zNi4wNTUtNzIwLTM2LjA1NVMwLTE3NC40ODMgMCAxMzUuMTQ0YzAgMzA5LjYyNyA1MjYuOTMgNTIyLjMyIDczMS4yMDcgNTE0LjY1OHoiIGZpbGw9IiNGNkY4RkEiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) !important;
  background-size: cover !important;
  background-position-x: 20vw !important;
  background-position-y: -10vh !important;
  background-repeat: no-repeat !important;
}
