:root {
  color-scheme: light;
  --brand-blue: #1267f4;
  --subtitle: #7d8491;
  --page: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  min-height: 100%;
  background: var(--page);
}

body {
  min-width: 280px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(
      ellipse 42% 49% at 50% 56%,
      rgba(196, 223, 250, 0.34) 0%,
      rgba(230, 242, 253, 0.18) 46%,
      rgba(255, 255, 255, 0) 78%
    ),
    var(--page);
  color: #111820;
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(4rem, 10svh, 7rem) 1.25rem clamp(2.25rem, 6svh, 4.5rem);
  overflow: hidden;
  text-align: center;
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 0;
  color: var(--brand-blue);
  font-family: "Bodoni 72", Didot, "Bodoni MT", Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 12.8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.hero__copy p {
  margin: clamp(0.8rem, 1.8vw, 1.25rem) 0 0;
  color: var(--subtitle);
  font-size: clamp(1.25rem, 3.1vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.phone {
  position: relative;
  z-index: 0;
  height: min(60svh, 41rem);
  max-width: 90vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: clamp(1.8rem, 4.2vw, 3.4rem) 0 0;
}

.phone::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3.5%;
  width: 66%;
  height: 8%;
  border-radius: 50%;
  background: rgba(89, 115, 142, 0.18);
  filter: blur(1.4rem);
  transform: translateX(-50%);
}

.phone img {
  position: relative;
  display: block;
  width: auto;
  max-width: 90vw;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1.15rem 1.4rem rgba(48, 73, 99, 0.12));
}

@media (max-width: 520px) {
  body {
    background:
      radial-gradient(
        ellipse 78% 47% at 50% 52%,
        rgba(196, 223, 250, 0.31) 0%,
        rgba(236, 246, 255, 0.15) 54%,
        rgba(255, 255, 255, 0) 82%
      ),
      var(--page);
  }

  .hero {
    padding-top: clamp(3.75rem, 10svh, 6rem);
  }

  .phone {
    height: min(58svh, 35rem);
    max-width: 88vw;
  }

  .phone img {
    max-width: 88vw;
  }
}

@media (max-height: 680px) {
  .hero {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 11vw, 5.5rem);
  }

  .hero__copy p {
    margin-top: 0.55rem;
    font-size: clamp(1.05rem, 2.8vw, 1.65rem);
  }

  .phone {
    height: min(58svh, 29rem);
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
