:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f7f8;
  background: #2c2d30;
  --muted: #c9c9cd;
}

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

body {
  margin: 0;
}

.wrap {
  width: min(82%, 76rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  min-height: 5.625rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.026em;
}

.wordmark img {
  display: block;
  border-radius: .5rem;
}

.hero {
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 6.5vw, 7.5rem);
  padding-top: clamp(3rem, 10vh, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.75rem, 10vh, 6.5rem);
  padding-bottom: 3rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 3.6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.intro {
  max-width: 28rem;
  margin: 1.5rem 0 1.875rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.43vw, 1.25rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 3.125rem;
  padding: .65rem 1rem;
  border: 1px solid #696a70;
  border-radius: .65rem;
  background: #19191b;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #101011;
  border-color: #a0a1a6;
}

.button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.phone-icon {
  position: relative;
  width: .66rem;
  height: 1.06rem;
  border: 1.5px solid currentColor;
  border-radius: .16rem;
}

.phone-icon::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  left: 2px;
  height: 1px;
  background: currentColor;
  content: "";
}

.availability {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
}

.hero-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  min-width: 0;
}

.hero-preview::before,
.hero-preview::after {
  position: absolute;
  z-index: -1;
  left: 50%;
  width: clamp(36rem, 68vw, 82rem);
  aspect-ratio: 1;
  border: 1px solid rgb(244 244 250 / .15);
  border-radius: 50%;
  transform: translateX(-48%);
  pointer-events: none;
  content: "";
}

.hero-preview::before {
  top: -3.5rem;
}

.hero-preview::after {
  top: 1.5rem;
  width: clamp(28rem, 54vw, 65rem);
  border-color: rgb(244 244 250 / .09);
}

.device {
  width: min(100%, clamp(17rem, 25vw, 23.25rem));
  padding: 7px;
  border: 1px solid #b4b5ba;
  border-radius: clamp(2.2rem, 3.25vw, 3.2rem);
  background: linear-gradient(145deg, #bcbcc1, #68696f 46%, #9fa0a6 75%);
  box-shadow: 0 12px 48px rgb(0 0 0 / .26), inset 0 0 0 2px rgb(255 255 255 / .2);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #141415;
  border-radius: clamp(1.78rem, 2.75vw, 2.7rem);
  background: #1c1c1c;
}

dialog {
  width: min(100% - 2rem, 26rem);
  padding: 1.5rem;
  border: 1px solid #696a70;
  border-radius: .75rem;
  background: #2c2d30;
  color: inherit;
}

dialog::backdrop {
  background: rgb(0 0 0 / .68);
}

dialog h2 {
  margin: 0;
  font-size: 1.375rem;
  letter-spacing: -.02em;
}

dialog p {
  margin: .75rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 50.01rem) {
  .hero-layout {
    max-height: max(39rem, calc(100svh - 5.625rem));
  }

  .hero {
    mask-image: linear-gradient(#000 0 82%, transparent 100%);
  }
}

@media (max-width: 50rem) {
  .wrap {
    width: min(100% - 3rem, 34rem);
  }

  .masthead {
    min-height: 4.75rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 2.3rem;
    padding-bottom: 2.75rem;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(2.3rem, 8vw, 3.75rem);
  }

  .intro {
    margin: 1.15rem 0 1.5rem;
  }

  .device {
    width: min(80%, 20rem);
    border-radius: 2.4rem;
  }

  .device img {
    border-radius: 1.95rem;
  }
}
