/* Minimal dark theme */
:root {
  --bg: #0b0c10;
  --bg-elev: #111218;
  --text: #e6e6e6;
  --muted: #9aa0a6;
  --accent: #5eead4;
  --accent-600: #2dd4bf;
  --ring: rgba(94, 234, 212, 0.35);
  --danger: #f87171;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 80% -20%, #172026 0%, transparent 60%),
              radial-gradient(1000px 600px at -10% 20%, #11181c 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cover {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}

.wordmark {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 12px;
  color: var(--muted);
}

.headline {
  margin: 0;
  font-weight: 600;
  font-size: clamp(28px, 6vw, 40px);
}

.sub {
  margin: 0 0 8px 0;
  color: var(--muted);
}

.inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px auto 0;
}

.error {
  color: var(--danger);
  margin-top: 6px;
  font-size: 14px;
  min-height: 20px; /* reserve space to avoid layout shift */
  opacity: 0;
  transition: opacity 160ms ease-in;
}

.error.show { opacity: 1; }

.year {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}

input[type="email"], input[type="text"] {
  background: var(--bg-elev);
  border: 1px solid transparent;
  color: var(--text);
  outline: none;
  padding: 10px 12px;
  border-radius: 10px;
  width: min(320px, 70vw);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input[type="email"]:focus, input[type="text"]:focus {
  border-color: var(--accent-600);
  box-shadow: 0 0 0 4px var(--ring);
}

button[type="submit"] {
  background: linear-gradient(180deg, var(--accent), var(--accent-600));
  color: #081316;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover { filter: brightness(1.05); }
button[type="submit"]:active { transform: translateY(1px); }

.foot { color: var(--muted); margin-top: 8px; }
.foot a { color: var(--accent); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

.meta {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 24px 16px 32px;
  color: var(--muted);
  font-size: 12px;
}

.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 (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


