:root {
  --bg: #070b1f;
  --ink: #ffffff;
  --muted: #9ca3af;
  --deep: #10238d;
  --accent: #5b72d4;
  --amber: #d97706;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(10, 16, 42, 0.85);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

body { position: relative; overflow-x: hidden; }

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(91, 114, 212, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 85%, rgba(217, 119, 6, 0.12), transparent 55%);
}

.nav, .hero, .foot { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 5vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
  background: var(--deep);
}

.domain {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.hero {
  min-height: calc(100vh - 7.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 2rem 5vw 3rem;
}

.kicker {
  color: #8fa0e8;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 3.5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.grad {
  background: linear-gradient(90deg, #6b82e8, #9aabf0, #6b82e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  max-width: 40rem;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 0.55rem;
  width: min(100%, 620px);
}

.form input {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 0.4rem;
  padding: 0.9rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 114, 212, 0.25);
}

.form button {
  border: 0;
  border-radius: 0.4rem;
  padding: 0.9rem 1.2rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--deep);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.form button:hover:not(:disabled) {
  background: #152ea8;
  transform: translateY(-1px);
}

.form button:disabled { opacity: 0.7; cursor: wait; }

.status {
  min-height: 1.35rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.status.error { color: #f87171; }

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.chip.primary {
  background: var(--deep);
  color: #fff;
}

.chip.amber {
  background: var(--amber);
  color: #fff;
}

.chip.outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  color: #9ca3af;
  font-size: 0.9rem;
  font-weight: 500;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.15rem 5vw 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

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

.animate {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .animate { animation: none; }
}

@media (max-width: 720px) {
  .form { grid-template-columns: 1fr; }
  .hero { min-height: calc(100vh - 8.5rem); }
  h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
}
