:root {
  color-scheme: dark;
  --bg: rgb(3, 7, 18);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.55);
  --muted2: rgba(255, 255, 255, 0.38);
  --accent: #0B4B6F;
  --accent2: #0B4B6F;
  --border: rgba(255, 255, 255, 0.10);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Background ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Layout ── */
.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 16px 80px;
  text-align: center;
}

/* ── Badge ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4f6ef7;
  box-shadow: 0 0 8px #4f6ef7;
}

/* ── Logo mark ── */
.mark {
  margin: 0 auto 20px;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Heading ── */
h1 {
  margin: 0 0 18px;
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.sub {
  margin: 0 auto 48px;
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
}

/* ── Form ── */
.form {
  width: min(480px, 100%);
  display: grid;
  gap: 10px;
}

.field { text-align: left; }

label {
  display: block;
  margin: 0 0 5px;
  font-size: 12px;
  color: var(--muted2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

input[type="email"]:focus,
input[type="text"]:focus {
  border-color: rgba(79,110,247,0.50);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.14);
}

input::placeholder { color: rgba(255,255,255,0.22); }

.btn {
  margin-top: 4px;
  height: 50px;
  border-radius: 10px;
  border: none;
  background: #0B4B6F;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 150ms, transform 120ms;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.fine {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted2);
  min-height: 18px;
}

/* ── Footer meta ── */
.meta {
  margin-top: 48px;
  font-size: 13px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 1px;
  transition: color 150ms, border-color 150ms;
}

.meta a:hover {
  color: #fff;
  border-bottom-color: rgba(79,110,247,0.6);
}

.dot { opacity: 0.4; }

/* ── Honeypot ── */
.hp {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

.fine[data-state="success"] { color: rgba(214,245,106,0.95); }
.fine[data-state="error"] { color: rgba(255,120,120,0.95); }
.fine[data-state="loading"] { color: rgba(255,255,255,0.6); }
