:root {
  --bg: #0b0708;
  --bg-2: #160d0f;
  --line: #3a1d22;
  --ink: #f3e9e4;
  --muted: #b9a7a1;
  --faint: #7f6d68;
  --red: #b3122e;
  --red-hot: #e0213f;
  --gold: #d6b25e;
  --ok: #8fd19e;
  --err: #ff8a9b;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(60rem 40rem at 50% -10%, rgba(214, 178, 94, 0.14), transparent 60%),
    radial-gradient(50rem 40rem at 50% 115%, rgba(179, 18, 46, 0.28), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.stage {
  min-height: 100vh;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 16px;
  display: flex;
  flex-direction: column;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 0.7rem; }
.mark { width: 40px; height: 40px; color: var(--ink); }
.mark .halo { color: var(--gold); stroke: var(--gold); }
.mark .horns { stroke: var(--red-hot); }
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Hero */
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0 2rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.title em { color: var(--red-hot); font-style: italic; }

.lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  text-wrap: pretty;
}

/* Form */
.card {
  margin-top: 2.25rem;
  padding: 1.25rem;
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(179, 18, 46, 0.55);
}

.roles { border: 0; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.roles legend { float: left; margin-right: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.roles span {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.roles input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.roles input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.row { display: flex; gap: 0.6rem; }

input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
}
input[type="email"]::placeholder { color: var(--faint); }
input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 178, 94, 0.2); }

button {
  padding: 0.9rem 1.4rem;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
button:hover { background: var(--red-hot); }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button:disabled { opacity: 0.6; cursor: progress; }

.check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.9rem; color: var(--muted); font-size: 0.85rem; cursor: pointer; }
.check input { margin-top: 0.2rem; accent-color: var(--red); }

.status { margin: 0.9rem 0 0; min-height: 1.4em; font-size: 0.92rem; }
.status:empty { display: none; }
.status[data-kind="ok"] { color: var(--ok); }
.status[data-kind="error"] { color: var(--err); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* Perks */
.perks { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.perks li { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.perks strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.perks span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.88rem; }

.foot { color: var(--faint); font-size: 0.8rem; }
.foot p { margin: 0; }

/* Verify pages */
.card--center { margin: auto; text-align: center; padding: 2.5rem 1.5rem; }
.card--center .title { font-size: clamp(2rem, 7vw, 3rem); }
.card--center .lede { margin-left: auto; margin-right: auto; }
.position { margin: 1rem 0 0; font-family: var(--serif); font-size: 3.2rem; color: var(--gold); line-height: 1; }
.link { display: inline-block; margin-top: 1.75rem; color: var(--gold); font-size: 0.9rem; }

@media (max-width: 600px) {
  .stage { padding-top: 1.25rem; }
  .hero { padding-top: 2rem; }
  .row { flex-direction: column; }
  button { width: 100%; }
  .perks { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
