:root {
  color-scheme: light dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: #f5f7fa;
  color: #17202a;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

main {
  width: min(680px, calc(100% - 40px));
  margin: 40px auto;
  padding: clamp(28px, 6vw, 56px);
  box-sizing: border-box;
  border: 1px solid #dfe5ec;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgb(30 45 65 / 10%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #47627e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 32px;
  font-size: 1rem;
}

.lede {
  margin: 22px 0 28px;
  color: #4b5d70;
  font-size: 1.08rem;
  line-height: 1.65;
}

.button {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 10px;
  background: #1463ff;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

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

ul {
  padding-left: 20px;
  color: #4b5d70;
  line-height: 1.7;
}

.privacy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e6ebf0;
  color: #66788a;
  font-size: 0.88rem;
  line-height: 1.55;
}

a {
  color: #0d55d9;
}

textarea {
  width: 100%;
  min-height: 220px;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #cad3dd;
  border-radius: 10px;
  background: #111820;
  color: #eaf1f7;
  font:
    0.88rem/1.55 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  resize: vertical;
}

.notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff5cf;
  color: #594800;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #0d1218;
    color: #edf2f7;
  }

  main {
    border-color: #26313d;
    background: #151c24;
    box-shadow: none;
  }

  .lede,
  ul,
  .privacy {
    color: #afbdca;
  }

  .privacy {
    border-color: #2c3742;
  }

  a {
    color: #86adff;
  }

  .notice {
    background: #40370f;
    color: #ffe994;
  }
}
