:root {
  --bg: #071317;
  --panel: #0d2026;
  --text: #e9f8f1;
  --muted: #9db6ad;
  --brand: #24d18e;
  --accent: #ff8a38;
  --line: #1a343b;
  --danger: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 12% -2%, #17404d 0%, transparent 70%),
    radial-gradient(1000px 550px at 100% 8%, #3e2a1f 0%, transparent 72%),
    var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.28;
  z-index: -1;
}

.bg-shape-a {
  width: 320px;
  height: 320px;
  background: #31eaa3;
  top: 14%;
  left: -80px;
}

.bg-shape-b {
  width: 360px;
  height: 360px;
  background: #ff8a38;
  top: 62%;
  right: -120px;
}

.topbar {
  padding: 24px 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: "Archivo", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.login-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
  padding: 30px 0 48px;
  align-items: stretch;
}

.pitch,
.card {
  background: rgba(13, 32, 38, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.pitch h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.subtitle {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 620px;
}

.checks {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.checks li {
  margin-bottom: 10px;
}

.card h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: 1.55rem;
}

.hint {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.msg {
  display: none;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.msg.error {
  display: none;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ffd6d6;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.88rem;
  color: var(--muted);
}

input {
  background: #0a1b20;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  padding: 12px;
  outline: none;
}

input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(36, 209, 142, 0.15);
}

button {
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(120deg, var(--brand), #1bb579);
  color: #072015;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(36, 209, 142, 0.3);
}

button:hover {
  transform: translateY(-2px);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .login-wrap {
    grid-template-columns: 1fr;
  }
}
