:root {
  --navy: hsl(232 75% 27%);
  --ink: hsl(232 75% 18%);
  --blue: #2f5bff;
  --sky: #7ea2ff;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Archivo", "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.stage {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  background: #fff;
}

.wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 88% 8%, rgba(255, 255, 255, 0.28), transparent 46%),
    linear-gradient(118deg, #2454ff 0%, #3d6bff 22%, #1a2f9e 48%, var(--navy) 72%, #1630c9 100%);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 46%);
}

.nav,
.hero,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
  padding: 0 4vw;
  color: white;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.8fr);
  align-items: end;
  height: calc(100svh - 4.5rem - 2.6rem);
  padding: 0 4vw 0 6vw;
}

.copy {
  max-width: 38rem;
  padding-bottom: 1.2rem;
}

.copy h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  color: var(--navy);
}

.copy p {
  max-width: 28rem;
  margin-top: 1.15rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: hsl(232 30% 28%);
}

.btn {
  margin-top: 1.4rem;
  padding: 0.85rem 1.15rem;
  background: var(--navy);
  color: white;
}

.btn:focus-visible,
.nav-cta:focus-visible,
.brand:focus-visible,
.foot a:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.device {
  justify-self: end;
  align-self: center;
  padding-right: 2vw;
}

.phone {
  width: min(292px, 28vw);
  padding: 10px;
  border-radius: 36px;
  background: #0e1016;
  box-shadow:
    0 30px 70px rgba(12, 22, 80, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.phone img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 17.6;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  height: 2.6rem;
  padding: 0 6vw;
  align-items: center;
  font-size: 0.78rem;
  color: hsl(232 20% 38%);
}

.foot a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 860px) {
  .stage {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .wash {
    clip-path: polygon(0 0, 100% 0, 100% 22%, 0 14%);
  }

  .copy h1,
  .copy p {
    max-width: 100%;
  }

  .nav {
    color: white;
  }

  .hero {
    height: auto;
    grid-template-columns: 1fr;
    padding: 1.5rem 6vw 1rem;
    gap: 1.6rem;
  }

  .copy h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .device {
    justify-self: center;
    padding: 0;
  }

  .phone {
    width: min(250px, 68vw);
  }

  .foot {
    height: auto;
    padding: 0.4rem 6vw 1.2rem;
    flex-wrap: wrap;
  }
}
