:root {
  color-scheme: light;
  --ink: #211446;
  --purple: #432082;
  --purple-dark: #321364;
  --blue: #446ff1;
  --cyan: #16b7ef;
  --pink: #ed167c;
  --paper: #ffffff;
  --muted: #665f77;
  --border: rgba(67, 32, 130, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 16%, rgba(22, 183, 239, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(237, 22, 124, 0.08), transparent 27rem),
    var(--paper);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 5vw, 5rem);
}

.content {
  display: grid;
  width: min(100%, 1120px);
  margin: auto;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(24rem, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7.5rem);
}

.brand {
  position: relative;
}

.brand::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -4%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(68, 111, 241, 0.22);
  border-radius: 50%;
  content: "";
}

.brand::after {
  position: absolute;
  z-index: -1;
  bottom: 11%;
  left: -3%;
  width: 2.6rem;
  height: 2.6rem;
  background: linear-gradient(135deg, var(--pink), #aa168c);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
  transform: rotate(-18deg);
}

.brand__logo {
  display: block;
  width: min(100%, 29rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1.35rem 1.8rem rgba(59, 35, 111, 0.12));
}

.message {
  max-width: 38rem;
}

.eyebrow {
  display: flex;
  margin: 0 0 1.1rem;
  align-items: center;
  gap: 0.8rem;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  width: 2.7rem;
  height: 0.22rem;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  content: "";
}

h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--purple);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.intro {
  max-width: 36rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  padding: 0.82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  align-items: center;
  justify-content: center;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.email:focus-visible {
  outline: 3px solid rgba(22, 183, 239, 0.45);
  outline-offset: 4px;
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(125deg, var(--purple) 12%, #5a28a5 58%, var(--blue));
  box-shadow: 0 0.9rem 1.8rem rgba(67, 32, 130, 0.2);
}

.button--primary:hover {
  box-shadow: 0 1.1rem 2rem rgba(67, 32, 130, 0.27);
}

.button--secondary {
  border-color: var(--border);
  color: var(--purple);
  background: rgba(255, 255, 255, 0.76);
}

.button--secondary:hover {
  border-color: rgba(67, 32, 130, 0.35);
  background: #ffffff;
}

.email {
  display: inline-block;
  margin-top: 1.55rem;
  color: var(--purple);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration-color: rgba(67, 32, 130, 0.25);
  text-underline-offset: 0.32rem;
}

footer {
  display: flex;
  width: min(100%, 1120px);
  margin: 1.75rem auto 0;
  align-items: center;
  gap: 0.85rem;
  color: #766f84;
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.footer__line {
  width: 2rem;
  height: 1px;
  background: var(--border);
}

.shape {
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.shape--one {
  top: -7rem;
  right: -6rem;
  width: 19rem;
  height: 19rem;
  border: 3.5rem solid rgba(68, 111, 241, 0.055);
  border-radius: 50%;
}

.shape--two {
  right: 8%;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(237, 22, 124, 0.18);
  transform: rotate(18deg);
}

.shape--three {
  top: 22%;
  left: 2.5%;
  width: 1rem;
  height: 1rem;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 1.5rem -1.6rem 0 -0.25rem rgba(237, 22, 124, 0.78);
}

@media (max-width: 800px) {
  .page-shell {
    padding: 1.15rem 1.3rem 1.3rem;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .brand__logo {
    width: min(68vw, 19rem);
  }

  .brand::before {
    right: 12%;
  }

  .brand::after {
    bottom: 14%;
    left: 14%;
    width: 1.9rem;
    height: 1.9rem;
  }

  .message {
    margin-inline: auto;
  }

  .eyebrow {
    justify-content: center;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .intro {
    margin-top: 1.2rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .actions {
    justify-content: center;
  }

  footer {
    justify-content: center;
  }
}

@media (max-width: 470px) {
  .content {
    align-content: center;
  }

  .brand__logo {
    width: min(74vw, 16rem);
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
}

@media (max-height: 680px) and (min-width: 801px) {
  .brand__logo {
    width: min(100%, 22rem);
  }

  h1 {
    font-size: clamp(3.8rem, 6.5vw, 5.7rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
