:root {
  color-scheme: light dark;
  font-family:
    ui-rounded,
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Rounded',
    'Segoe UI',
    sans-serif;
  background: #f3f2ff;
  color: #17182d;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, rgb(106 113 233 / 18%), transparent 42%), #f3f2ff;
}

main {
  width: min(100%, 480px);
  padding: clamp(28px, 7vw, 48px);
  border: 1px solid rgb(63 79 216 / 18%);
  border-radius: 28px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 24px 72px rgb(33 39 112 / 12%);
}

.eyebrow {
  margin: 0 0 16px;
  color: #3f4fd8;
  font-size: 0.8125rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.25rem, 10vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.message {
  margin: 28px 0 0;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.note {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgb(23 24 45 / 10%);
  color: #55566c;
  font-size: 0.9375rem;
  line-height: 1.55;
}

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

  body {
    background: radial-gradient(circle at top, rgb(106 113 233 / 24%), transparent 42%), #121322;
  }

  main {
    border-color: rgb(159 165 255 / 22%);
    background: rgb(27 29 51 / 92%);
    box-shadow: 0 24px 72px rgb(0 0 0 / 28%);
  }

  .eyebrow {
    color: #a8adff;
  }

  .note {
    border-color: rgb(246 245 255 / 12%);
    color: #b9b9ca;
  }
}
