:root {
  color-scheme: light dark;
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", system-ui, sans-serif;
  background: #f3f3f8;
  color: #111116;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgb(255 45 85 / 18%), transparent 34rem),
    #f3f3f8;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 520px);
  padding: clamp(28px, 7vw, 52px);
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 36px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 30px 90px rgb(28 26 45 / 14%);
  backdrop-filter: blur(24px);
}

.mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ff375f, #ff6482);
  color: white;
  font-size: 34px;
  box-shadow: 0 14px 28px rgb(255 55 95 / 28%);
}

.eyebrow {
  margin: 0 0 8px;
  color: #8d3149;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 10vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

p {
  font-size: 1.08rem;
  line-height: 1.55;
}

.primary,
.secondary {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border: 0;
  border-radius: 18px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: #0a84ff;
  color: white;
}

.secondary {
  background: #e9e9f0;
  color: #111116;
}

.link-button {
  padding-inline: 20px;
}

.muted,
.status {
  color: #696974;
  font-size: 0.92rem;
}

.status:empty {
  display: none;
}

.error {
  color: #b4233f;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #111116;
    color: #f7f7fa;
  }

  body {
    background:
      radial-gradient(circle at 20% 10%, rgb(255 55 95 / 20%), transparent 34rem),
      #111116;
  }

  .card {
    border-color: rgb(255 255 255 / 12%);
    background: rgb(31 31 39 / 88%);
    box-shadow: 0 30px 90px rgb(0 0 0 / 38%);
  }

  .eyebrow {
    color: #ff8ba0;
  }

  .secondary {
    background: #34343d;
    color: #f7f7fa;
  }

  .muted,
  .status {
    color: #aeaeb8;
  }

  .error {
    color: #ff8ba0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .primary,
  .secondary {
    transition: transform 140ms ease, filter 140ms ease;
  }

  .primary:active,
  .secondary:active {
    transform: scale(0.98);
  }
}
