:root {
  --bg: #0c1110;
  --text: #e8f5ef;
  --muted: #8aa399;
  --accent: #7dffb3;
  --accent-2: #3dd6c6;
  --line: rgba(180, 255, 214, 0.14);
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #070b0a;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 12% 10%, rgba(61, 214, 198, 0.22), transparent 55%),
    radial-gradient(700px 420px at 88% 20%, rgba(125, 255, 179, 0.14), transparent 50%),
    linear-gradient(155deg, #080c0b, #101816 45%, #0a0f0e);
  z-index: 0;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.045;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero {
  padding: 28px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: up 0.45s ease;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #062018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(61, 214, 198, 0.25);
}
.brand strong { display: block; font-size: 1.15rem; }
.brand small { color: var(--muted); font-size: 0.78rem; }
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 12ch;
}
.hero > p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.5;
}
.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bullets li {
  color: #c9ebe0;
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.card {
  background: rgba(16, 24, 22, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  animation: up 0.5s ease 0.05s both;
}
.card header h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.card header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.1);
  color: #ffb4b4;
  font-size: 0.9rem;
}

form { margin-top: 20px; display: grid; gap: 14px; }
.field { display: grid; gap: 8px; }
.field span {
  color: var(--muted);
  font-size: 0.85rem;
}
.field input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b100f;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  border-color: rgba(125, 255, 179, 0.45);
  box-shadow: 0 0 0 3px rgba(61, 214, 198, 0.15);
}
.submit {
  appearance: none;
  border: 0;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  color: #062018;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(125, 255, 179, 0.2);
  transition: transform 0.15s;
}
.submit:hover { transform: translateY(-1px); }

@keyframes up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; gap: 18px; }
  .hero { padding: 8px 4px 0; }
  .hero h1 { max-width: none; font-size: 1.85rem; }
}
