@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');

:root {
  --bg: #000000;
  --surface: #0b1710;
  --field: #030a06;
  --outline: #02130b;
  --text: #ffffff;
  --muted: #7fa38e;
  --accent: #1eeb88;
  --accent-hover: #3ff29c;
  --pink: #ff4fa3;
  --error: #ff6b8a;
  --success: #1eeb88;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(30, 235, 136, 0.13), transparent 65%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 540px;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow:
    0 0 0 1px rgba(30, 235, 136, 0.12),
    0 30px 80px -30px rgba(30, 235, 136, 0.35);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

/* Chunky outlined display type, in the spirit of the jam logo. */
h1 {
  margin: 0 0 14px;
  font-family: 'Lilita One', 'Arial Black', Impact, sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  -webkit-text-stroke: 1.5px var(--outline);
  paint-order: stroke fill;
  text-shadow:
    3px 3px 0 var(--outline),
    5px 5px 0 rgba(30, 235, 136, 0.55);
}

.lede { margin: 0 0 26px; color: var(--muted); }

.notice {
  margin: 0 0 30px;
  padding: 14px 16px;
  background: var(--outline);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-size: 14px;
  color: var(--muted);
}

.notice strong { display: block; color: var(--text); }

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

input[type='email'] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: var(--field);
  border: 2px solid var(--outline);
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.15s;
}

input[type='email']::placeholder { color: #4d6657; }

input[type='email']:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 235, 136, 0.18);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.cf-turnstile { margin-bottom: 22px; }

/* Solid green with a hard dark offset -- same trick as the logo lettering. */
.primary {
  display: inline-block;
  width: 100%;
  padding: 15px 26px;
  background: var(--accent);
  border: 3px solid var(--outline);
  border-radius: 10px;
  color: var(--outline);
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--outline);
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s;
}

.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--outline);
}

.primary:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--outline);
}

.primary:disabled { opacity: 0.5; cursor: not-allowed; }

#status { margin: 18px 0 0; font-size: 15px; min-height: 1.6em; }
#status.error { color: var(--error); }
#status.success { color: var(--success); }

.muted {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--muted);
}

form[hidden] { display: none; }
