:root {
  --nachtblauw: #001935;
  --nachtblauw-deep: #00172e;
  --nachtblauw-mid: #0a2845;
  --nachtblauw-soft: #13314e;
  --amber: #ffc20e;
  --amber-soft: #ffd45d;
  --paper: #f8f5ed;
  --paper-muted: #e8d7c4;
  --ink: #f4f1e8;
  --ink-muted: #a7bfd2;
  --danger: #ffb8ae;
  --ok: #9bddc9;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 12, 28, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 194, 14, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(122, 160, 182, 0.18), transparent 50%),
    linear-gradient(165deg, var(--nachtblauw-deep), var(--nachtblauw) 45%, var(--nachtblauw-mid));
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  inset: auto -20% -30% auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 194, 14, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.top { margin-bottom: 2.5rem; }
.logo { display: block; width: min(220px, 62vw); height: auto; }

.hero { margin-bottom: 2rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 194, 14, 0.35);
  border-radius: 999px;
  color: var(--amber-soft);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 194, 14, 0.18);
}

h1 {
  margin: 0 0 1rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
h1 .accent { color: var(--amber); }

.lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  line-height: 1.55;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 28rem;
}
.unit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 191, 210, 0.18);
  border-radius: 14px;
  padding: 0.9rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.unit .value {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
}
.unit .label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.countdown-note {
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.capture {
  margin-top: 2rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 191, 210, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.capture h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.capture-copy {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
input[type="email"] {
  flex: 1 1 220px;
  min-height: 3rem;
  border: 1px solid rgba(167, 191, 210, 0.28);
  border-radius: 12px;
  background: rgba(0, 23, 46, 0.55);
  color: var(--ink);
  padding: 0 0.95rem;
  font: inherit;
  outline: none;
}
input[type="email"]::placeholder { color: #6d93a6; }
input[type="email"]:focus {
  border-color: rgba(255, 194, 14, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 194, 14, 0.18);
}
button[type="submit"] {
  min-height: 3rem;
  border: 0;
  border-radius: 12px;
  padding: 0 1.15rem;
  background: linear-gradient(180deg, var(--amber-soft), var(--amber));
  color: var(--nachtblauw-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
button[type="submit"]:hover { filter: brightness(1.03); transform: translateY(-1px); }
button[type="submit"]:disabled { opacity: 0.65; cursor: wait; transform: none; }

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.9rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.consent input {
  margin-top: 0.2rem;
  accent-color: var(--amber);
}
.form-status {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

.foot {
  margin-top: 2.5rem;
  color: #6d93a6;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .shell { width: min(920px, calc(100% - 1.25rem)); padding-top: 1.1rem; }
  .capture { padding: 1.1rem; }
  button[type="submit"] { width: 100%; }
}
