:root {
  color-scheme: dark;
  font: 15px/1.5 Inter, system-ui, sans-serif;
  color: #f2eff6;
  background: #0f0c14;
  --muted: #c6bbd1;
  --border: #423449;
  --accent: #cfa8ff;
}

* { box-sizing: border-box; }
body {
  min-height: 100dvh;
  margin: 0;
  padding: clamp(12px, 4vw, 36px);
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 0, #32184c, transparent 65%);
}

.card {
  width: min(100%, 560px);
  padding: clamp(16px, 5vw, 32px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #17131d;
  box-shadow: 0 18px 56px #0007;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { flex: none; }
.brand p { margin: 0; font-size: 13px; color: var(--muted); }
h1 { margin: 0; font-size: 28px; line-height: 1.2; }
h2 { margin: 1.4em 0 .4em; font-size: 17px; }
.intro { margin: 21px 0 24px; color: var(--muted); }
label { display: block; margin: 16px 0 6px; font-weight: 600; }
input, textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #221b2a;
  color: inherit;
  font: inherit;
}

textarea { resize: vertical; min-height: 120px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.message-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.message-meta, footer, #status, #fallback { font-size: 13px; color: var(--muted); }
output { white-space: nowrap; font-variant-numeric: tabular-nums; }
#verification { margin-top: 20px; }
#verification:empty { margin-top: 0; }
#status[data-error], #message-error { color: #ff9eb4; }
button {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ae79f1;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  color: #fff;
  background: #7233cc;
  cursor: pointer;
}

button:not(:disabled):hover { background: #8341de; }
button:disabled { background: #33263f; border-color: var(--border); color: var(--muted); cursor: default; }
footer { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--border); }
footer p { margin: 0 0 6px; }
a { color: var(--accent); text-underline-offset: 3px; }
.policy h1 { margin-top: 16px; }
.policy p { color: var(--muted); }
