:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202124;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 68px;
  padding: 0 max(6vw, 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  background: #d5241c;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  color: inherit;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}

.menu-button {
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 28px;
  border: 0;
  background: #d5241c;
  color: #fff;
  box-shadow: -16px 0 48px rgb(0 0 0 / 16%);
}

.site-menu[open] {
  animation: slide-in 180ms ease-out;
}

.site-menu[open].is-closing {
  animation: slide-out 220ms ease-in forwards;
}

.site-menu::backdrop {
  background: rgb(18 18 18 / 48%);
  animation: backdrop-fade-in 180ms ease-out;
}

.site-menu[open].is-closing::backdrop {
  animation: backdrop-fade-out 220ms ease-in forwards;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
}

.drawer-header h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.site-menu nav {
  padding-top: 18px;
}

.site-menu nav a {
  padding: 14px 12px;
  display: block;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.site-menu nav a:hover {
  background: rgb(255 255 255 / 16%);
}

main {
  width: min(1120px, 100%);
  margin: auto;
  padding: 64px 32px 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(20px, 5vw, 72px);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 7.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

h1 span {
  width: fit-content;
  max-width: 100%;
  padding: clamp(12px, 2.5vw, 24px) clamp(16px, 3vw, 30px);
  display: block;
  border-radius: clamp(16px, 2.5vw, 28px);
  background: #d5241c;
  color: #fff;
}

h2 {
  max-width: 100%;
  margin: 22px 0 12px;
  font-size: clamp(18px, 2.5vw, 31px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.intro {
  max-width: 500px;
  margin: 0;
  color: #65676b;
  font-size: 16px;
  line-height: 1.7;
}

.market-card {
  position: relative;
  padding: clamp(14px, 2.2vw, 25px);
  overflow: hidden;
  border-radius: clamp(17px, 2.5vw, 28px);
  background: #d5241c;
  box-shadow: 0 24px 60px rgb(146 29 24 / 18%);
}

.market-card::before,
.market-card::after {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
  content: "";
}

.market-card::before {
  width: 300px;
  height: 300px;
  top: -155px;
  right: -90px;
}

.market-card::after {
  width: 220px;
  height: 220px;
  right: -49px;
  bottom: -123px;
}

.card-heading {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.app-description {
  position: relative;
  z-index: 1;
  padding: clamp(13px, 1.8vw, 19px);
  border-radius: 16px;
  background: #fff;
}

.app-description h3 {
  margin: 0 0 8px;
  color: #d5241c;
  font-size: clamp(13px, 1.5vw, 17px);
}

.app-description p {
  margin: 0;
  color: #55575b;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.55;
}

.app-description .android-note {
  margin-top: 8px;
  color: #77797d;
  font-size: 0.85em;
  font-weight: 400;
}

.mission-card {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: clamp(13px, 1.8vw, 19px);
  border-radius: 16px;
  background: #fff;
  color: #28292b;
}

.mission-card h3 {
  margin: 0 0 8px;
  color: #d5241c;
  font-size: clamp(13px, 1.5vw, 17px);
}

.mission-card p {
  margin: 0;
  color: #55575b;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.55;
}

.mission-card .mission-signoff {
  margin-top: 10px;
  color: #d5241c;
  font-weight: 700;
}

.launch-message {
  width: 100%;
  margin: 64px auto 8px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.launch-message h2 {
  width: 100%;
  margin: 0;
  color: #202124;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.launch-message p {
  width: 100%;
  margin: 10px 0 0;
  color: #65676b;
  font-size: 16px;
  line-height: 1.5;
}

footer {
  margin-top: auto;
  padding: 20px 24px;
  background: #d5241c;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

@keyframes slide-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(24px);
    opacity: 0;
  }
}

@keyframes backdrop-fade-in {
  from {
    background-color: rgb(18 18 18 / 0%);
  }

  to {
    background-color: rgb(18 18 18 / 48%);
  }
}

@keyframes backdrop-fade-out {
  from {
    background-color: rgb(18 18 18 / 48%);
  }

  to {
    background-color: rgb(18 18 18 / 0%);
  }
}

@media (max-width: 600px) {
  .topbar {
    min-height: 60px;
    padding-inline: 12px;
    gap: 8px;
  }

  .brand {
    gap: 6px;
    font-size: clamp(12px, 3.8vw, 16px);
  }

  .brand-logo {
    width: clamp(34px, 10vw, 44px);
    height: clamp(34px, 10vw, 44px);
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  main {
    padding: 38px 20px 30px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  h1 span {
    width: 100%;
    padding: 14px 12px;
    border-radius: 15px;
    text-align: center;
    white-space: nowrap;
    word-spacing: 0.18em;
  }

  h1 br {
    display: none;
  }

  h2 {
    margin-top: 16px;
    font-size: clamp(19px, 6vw, 26px);
  }

  .intro {
    font-size: 15px;
  }

  .market-card {
    padding: 18px;
    border-radius: 20px;
  }

  .card-heading {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .app-description {
    padding: 14px;
    border-radius: 14px;
  }

  .app-description h3,
  .mission-card h3 {
    font-size: 14px;
  }

  .app-description p,
  .mission-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .mission-card {
    padding: 14px;
    border-radius: 14px;
  }

  .launch-message {
    margin-top: 44px;
  }

  .launch-message h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .launch-message p {
    font-size: 14px;
  }

  footer {
    padding: 16px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu[open],
  .site-menu[open].is-closing,
  .site-menu::backdrop,
  .site-menu[open].is-closing::backdrop {
    animation: none;
  }
}
