:root {
  --background: oklch(from #0b132b l c h);
  --text-color: oklch(from #0b132b l c h);
  --text-on-dark: oklch(from #ebebeb l c h);
  --primary: oklch(from #3699f1 l c h);
  font-size: 16px;
}

* {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", sans-serif;
}

body {
  background-color: var(--background);
}

.text-primary {
  color: var(--primary);
}

.hero-main {
  display: flex;
  flex-direction: column;
  margin-right: 0.825rem;
  margin-left: 0.825rem;
  margin-bottom: 1.5rem;
  background-color: var(--primary);
  border-radius: 1.5rem;
}

.hero-content-wrapper {
  padding: 1.8rem 1.8rem 0;
  width: 100%;
}

  .hero-main, header
  {
    max-width: 1600px;
  }

.description {
  margin-top: 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;

  span {
    color: oklch(from var(--primary) calc(l + 0.25) c h);
    font-weight: 900;
  }
}

.phone-mockup {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.phone-mockup img {
  width: 100%;
  aspect-ratio: 9 /16;
}

h1 {
  font-size: 3.5rem;
  text-align: center;
  text-wrap: balance;
  max-width: 100%;

  span {
    font-family: "Bebas Neue", sans-serif;
    color: oklch(from var(--primary) calc(l + 0.25) c h);
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;

  .logo {
    display: flex;
    align-items: center;
    gap: 0.125rem;

    img {
      width: 48px;
      height: 48px;
    }

    span {
      font-family: "Bebas Neue", sans-serif;
      font-size: 2rem;
      font-weight: bold;
      padding-top: 4px;
      color: var(--text-on-dark);
    }
  }

  .links {
    display: none;
    gap: 1.5rem;
    padding-top: 8px;

    a {
      text-decoration: none;
      font-size: 1.25rem;
      color: var(--text-on-dark);
      font-family: "Bebas Neue", sans-serif;
      border-bottom: 1px solid;
      border-color: transparent;
      transition: all 300ms ease;
    }

    a:hover {
      color: var(--primary);
      border-color: var(--primary);
    }
  }
}

.store-links {
  display: grid;
  grid-template-columns: 100%;
  margin-top: 2rem;
  gap: 1rem;

  a {
    display: flex;
    align-items: center;
    background-color: var(--background);
    padding: 0.825rem 2rem;
    border-radius: 2.625rem;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    min-width: fit-content;

    img {
      width: 36px;
      height: 36px;
      transition: all 300ms ease;
    }

    div {
      display: flex;
      flex-direction: column;
      font-family: "Roboto", sans-serif;
      font-weight: bold;
      font-size: 1.5rem;
      color: var(--primary);
      transition: all 300ms ease;

      small {
        font-size: x-small;
        font-weight: 600;
        text-transform: uppercase;
        margin-top: -3px;
        letter-spacing: 0.5px;
        opacity: 0.8;
        color: var(--primary);
        transition: all 300ms ease;
      }
    }
  }

  a:hover {
    div,
    div > * {
      color: var(--text-on-dark);
    }

    img {
      filter: grayscale(100%) brightness(1.7);
    }
  }
}

footer {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 2rem;
  gap: 1rem;

  * {
    color: var(--text-on-dark);
  }

  .footer-heading {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    padding-left: 0.375rem;
  }

  a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-size: 1.25rem;
    padding: 0.375rem;
    font-family: "Bebas Neue", sans-serif;
    border-bottom: 1px solid var(--primary);

    img {
      width: 24px;
      height: 24px;
    }
  }
}

@media (min-width: 550px) {
  .store-links {
    grid-template-columns: max-content max-content;
  }

  h1 {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .hero-main {
    margin-top: 0;
    border-radius: 2.625rem;
    min-height: calc(100dvh - 96px - 1.8rem);
  }

  .description {
    text-align: justify;
    font-size: 1.5rem;
  }

  h1 {
    font-size: 5rem;
  }

  nav {
    padding: 1.5rem 6rem 1.5rem 3rem;
  }

  nav .links {
    display: flex;
  }

  footer {
    display: none;
  }
}

@media (min-width: 1100px) {
  .hero-main {
    flex-direction: row;
    gap: 3rem;
  }

  header {
    margin-left: auto;
    margin-right: auto;
  }

.hero-content-wrapper {
    flex-basis: 55%;
    padding: 4rem;
    margin-top: 6rem;
  }

  .description {
    margin-top: 6rem;
    line-height: 1.2;
  }

  .phone-mockup {
    flex-basis: 40%;
    max-width: none;
  }
}

@media (min-width: 1600px) {
  .hero-main {
    margin-left: auto;
    margin-right: auto;
  }
}