:root {
  color-scheme: dark;
  --bg: #0f0a16;
  --surface: #1b1326;
  --line: #34264a;
  --text: #f6f0fa;
  --muted: #b9abc9;
  --pink: #ff5fa2;
  --orange: #ffa94d;
  --ok: #5fe0a0;
  --err: #ff7d7d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* the button rule below would otherwise override the attribute */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(ellipse at 50% -10%, #5a1d57 0%, transparent 55%) no-repeat;
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { margin: 0 0 8px; font-size: clamp(28px, 7vw, 44px); line-height: 1.1; }
h1 span { background: linear-gradient(90deg, var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin: 32px 0 12px; font-size: 20px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); font-size: 14px; }
a { color: var(--orange); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 20px 0; background: #000; border-radius: 12px; border: 1px solid var(--line); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
ol.steps { margin: 0; padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }
form { display: flex; flex-direction: column; gap: 12px; }
label { font-weight: 600; }
input[type=email] {
  width: 100%; padding: 14px; font: inherit; font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
input[type=email]:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
button, .btn {
  display: inline-block; padding: 14px 20px; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
  color: #1a0b17; background: linear-gradient(90deg, var(--pink), var(--orange)); border: 0; border-radius: 10px;
}
button:disabled { opacity: .6; cursor: default; }
.ghost { color: var(--text); background: transparent; border: 1px solid var(--line); padding: 8px 12px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#msg { min-height: 1.5em; margin: 0; }
#msg.ok { color: var(--ok); }
#msg.err { color: var(--err); }
footer { margin-top: 40px; }
@media (min-width: 600px) {
  form { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
  form .field { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
}
