@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;900&display=swap");

:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --blue: #000;
  --page: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
}

.landing__placeholder,
.landing__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing__placeholder {
  z-index: -3;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.035) 0 12%, transparent 12% 100%),
    linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}

.landing__shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 86%, rgba(0, 0, 0, 0.05), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.32) 56%, rgba(255, 255, 255, 0.8) 100%);
}

.landing__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 32px;
}

.brand__name,
.hero__kicker,
.hero__copy,
.button,
.textlink,
.landing__footer {
  letter-spacing: 0;
}

.brand__name {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.textlink:hover,
.textlink:focus-visible {
  color: #000;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 900px);
  padding: 0 24px 7vh;
  text-align: center;
}

.hero__kicker {
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 1.16rem;
  font-weight: 600;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: 5.75rem;
  font-weight: 900;
  line-height: 0.96;
  text-wrap: balance;
}

.hero__copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.32;
  text-wrap: balance;
}

.hero__copy span {
  display: block;
}

.hero__copy span + span {
  margin-top: 0.78em;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 34px;
}

.button,
.textlink,
.good-link,
.dialog__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1;
}

.button {
  min-width: 126px;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 21px;
  background: var(--blue);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  background: #000;
}

.textlink {
  color: var(--blue);
}

.good-link {
  margin-top: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
}

.good-link:hover,
.good-link:focus-visible {
  color: var(--blue);
}

.landing__footer {
  position: absolute;
  right: 32px;
  bottom: 26px;
  left: 32px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.dialog {
  width: min(360px, calc(100vw - 40px));
  border: 0;
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(29, 29, 31, 0.18);
  color: var(--ink);
  text-align: center;
}

.dialog::backdrop {
  background: rgba(245, 245, 247, 0.58);
  backdrop-filter: blur(8px);
}

.dialog p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.34;
}

.dialog form {
  margin: 18px 0 0;
}

.dialog__button {
  min-width: 92px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .landing {
    min-height: 520px;
  }

  .landing__shade {
    background:
      radial-gradient(circle at 50% 86%, rgba(0, 0, 0, 0.05), transparent 18rem),
      linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.36) 48%, rgba(255, 255, 255, 0.84) 100%);
  }

  .landing__topbar {
    height: 48px;
    padding: 0 20px;
  }

  .landing__footer {
    font-size: 0.72rem;
  }

  .hero {
    padding: 0 22px 3vh;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 3.65rem;
  }

  .hero__copy {
    margin-top: 20px;
    max-width: 23rem;
    font-size: 1.08rem;
    line-height: 1.36;
  }

  .hero__actions {
    gap: 22px;
    margin-top: 30px;
  }

  .button,
  .textlink,
  .good-link {
    font-size: 0.96rem;
  }

}

@media (max-width: 430px), (max-height: 620px) {
  .landing {
    min-height: 480px;
  }

  .brand__name,
  .landing__footer {
    font-size: 0.74rem;
  }

  .hero {
    padding: 0 20px 2vh;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: 2.82rem;
  }

  .hero__copy {
    margin-top: 18px;
    max-width: 21rem;
    font-size: 0.98rem;
  }

  .hero__actions {
    gap: 16px;
    margin-top: 26px;
  }

  .good-link {
    margin-top: 18px;
    font-size: 0.9rem;
  }

  .button {
    min-width: 178px;
    min-height: 40px;
  }

  .landing__footer {
    right: 20px;
    bottom: 18px;
    left: 20px;
    text-align: center;
  }

}
