:root {
  --bg: #060709;
  --panel: rgba(18, 20, 26, 0.9);
  --card: rgba(20, 23, 31, 0.9);
  --accent: #86f0c4;
  --accent-2: #7cd8ff;
  --ink: #e9edf5;
  --muted: #9aa3b5;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 24px 90px rgba(0,0,0,0.35);
}

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

body {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(134,240,196,0.08), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(124,216,255,0.12), transparent 28%),
    linear-gradient(130deg, #0b0d12 0%, #0d1018 40%, #0a0c14 100%);
  color: var(--ink);
  min-height: 100vh;
  padding: 26px 16px 48px;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 28px;
  pointer-events: none;
  opacity: 0.5;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(18,20,26,0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand-text { display: grid; gap: 2px; }
.brand-name { font-weight: 800; letter-spacing: 0.05em; }
.brand-tagline { color: var(--muted); font-size: 0.9rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255,255,255,0.05);
}

.nav-actions { display: flex; gap: 10px; align-items: center; }

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-weight: 700;
}

.surface {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.surface::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  height: 80%;
  width: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(134,240,196,0.15), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
}

.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 12px; }

.badge {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  font-weight: 700;
  color: var(--ink);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }

.button {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.2s ease;
  background: rgba(255,255,255,0.05);
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041010;
  border: none;
  box-shadow: 0 16px 40px rgba(134,240,196,0.2);
}

.button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.12); }

.grid { display: grid; gap: 14px; margin-top: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  display: grid;
  gap: 10px;
}

.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }

.list { list-style: none; padding: 0; display: grid; gap: 10px; }
.list-item { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.list-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); margin-top: 6px; flex-shrink: 0; }

.notice {
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  line-height: 1.6;
}

code { font-family: 'JetBrains Mono', 'Courier New', monospace; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(18,20,26,0.85);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.form-card h1 { font-size: 1.8rem; }
.subtitle { color: var(--muted); }
.form-group { display: grid; gap: 6px; }
.form-card label { font-weight: 700; letter-spacing: 0.05em; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; }
.form-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; background: rgba(255,255,255,0.04); color: var(--ink); }
.form-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(134,240,196,0.16); }
.primary-btn { display: inline-flex; justify-content: center; padding: 14px; border-radius: 12px; border: none; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #041010; font-weight: 800; letter-spacing: 0.08em; cursor: pointer; }
.primary-btn:hover { filter: brightness(0.96); }
.back-link { text-align: center; color: var(--muted); }
.back-link a { color: var(--ink); font-weight: 700; }

.error-wrap { text-align: center; max-width: 600px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; box-shadow: var(--shadow); }
.error-code { font-size: 4rem; font-weight: 800; color: var(--accent); }
.error-wrap p { color: var(--muted); margin: 12px 0 18px; }
.error-wrap .btn { background: var(--accent); color: #041010; }

@media (max-width: 780px) {
  body { padding: 18px 12px 32px; }
  .site-header { flex-direction: column; align-items: flex-start; }
  .cta-row .button, .nav-link { width: 100%; text-align: center; justify-content: center; }
}
