:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(12, 29, 48, 0.82);
  --line: rgba(255,255,255,.10);
  --text: #f8fbfd;
  --muted: #a9bac7;
  --accent: #49d8c8;
  --accent-2: #8af1e5;
  --danger: #ff9c9c;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(73,216,200,.13), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(67,122,255,.14), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #091827 100%);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
}

.page {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.08rem;
}
.brand img { width: 34px; height: 34px; }
.brand-wordmark strong { color: var(--accent); }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 70px 0 90px;
}
.hero {
  width: 100%;
  max-width: 880px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(73,216,200,.85);
}
h1 {
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 7.8rem);
  line-height: .9;
  letter-spacing: -.075em;
}
h1 span {
  display: block;
  color: #9beee4;
}
.lead {
  width: min(680px, 100%);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.signup-card {
  width: min(670px, 100%);
  margin: 38px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0,0,0,.30);
  backdrop-filter: blur(18px);
}
.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.signup-form input[type="email"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  outline: none;
  font: inherit;
}
.signup-form input[type="email"]::placeholder { color: #7890a3; }
.signup-form input[type="email"]:focus {
  border-color: rgba(73,216,200,.75);
  box-shadow: 0 0 0 3px rgba(73,216,200,.12);
}
.signup-form button {
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  background: var(--accent);
  color: #06211e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.signup-form button:hover { transform: translateY(-1px); background: var(--accent-2); }
.signup-form button:disabled { cursor: wait; opacity: .7; transform: none; }

.form-note {
  margin: 10px 4px 0;
  color: #8297a7;
  font-size: .82rem;
}
.form-status {
  min-height: 22px;
  margin: 12px 4px 0;
  font-size: .9rem;
  font-weight: 650;
}
.form-status[data-state="success"] { color: var(--accent-2); }
.form-status[data-state="error"] { color: var(--danger); }
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.promise {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #8195a5;
  font-size: .82rem;
}
.promise span::before {
  content: "✓";
  color: var(--accent);
  margin-right: 7px;
  font-weight: 900;
}

footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718596;
  font-size: .8rem;
  text-align: center;
}

@media (max-width: 640px) {
  .page { width: min(100% - 28px, 1120px); }
  header { min-height: 74px; }
  main { padding: 48px 0 72px; }
  h1 { font-size: clamp(3.35rem, 20vw, 5.2rem); }
  .lead { margin-top: 22px; }
  .signup-card { margin-top: 30px; padding: 10px; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form button { width: 100%; }
}
