:root {
  --bg: #0b0f14;
  --bg-elev: #121821;
  --bg-card: #17202b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f5f8;
  --muted: #9aa7b5;
  --faint: #6b7785;
  --accent: #3dff9a;
  --accent-dim: rgba(61, 255, 154, 0.14);
  --accent-ink: #052416;
  --radius: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(61, 255, 154, 0.09), transparent 55%),
    radial-gradient(90% 60% at 100% 100%, rgba(50, 120, 255, 0.06), transparent 50%),
    var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(16px + var(--safe-t)) 20px calc(40px + var(--safe-b));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 36px;
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
  border: 1px solid rgba(61, 255, 154, 0.25);
}

.header-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(61, 255, 154, 0.25);
  background: var(--accent-dim);
  text-decoration: none;
}

.header-cta:hover { text-decoration: none; filter: brightness(1.08); }

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

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-title span { color: var(--accent); }

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 38ch;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

@media (min-width: 480px) {
  .cta-row { flex-direction: row; align-items: center; }
}

.btn {
  appearance: none;
  border: none;
  border-radius: 16px;
  min-height: 56px;
  padding: 0 22px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s, opacity 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
}

.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(61,255,154,0.3), 0 12px 40px rgba(61,255,154,0.18);
}

.btn-primary:hover { filter: brightness(1.05); }

.btn-secondary {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.16); }

section {
  margin: 0 0 44px;
  scroll-margin-top: 24px;
}

.section-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-body {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-body + .section-body { margin-top: 12px; }

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.step::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(61, 255, 154, 0.25);
}

.step h3 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card strong { color: var(--text); }

.placeholder {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 176, 32, 0.45);
  background: rgba(255, 176, 32, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.placeholder-label {
  display: block;
  margin-bottom: 8px;
  color: var(--warn, #ffb020);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 520px) {
  .form-row { flex-direction: row; align-items: stretch; }
}

.input {
  flex: 1;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  padding: 0 18px;
  font-family: inherit;
  font-size: 1rem;
}

.input::placeholder { color: var(--faint); }
.input:focus {
  outline: none;
  border-color: rgba(61, 255, 154, 0.45);
  box-shadow: 0 0 0 3px rgba(61, 255, 154, 0.12);
}

.form-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-status {
  margin: 12px 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--accent);
}

.form-status.error { color: #ff5c6a; }

.feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.site-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

.crisis {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.crisis strong { color: var(--text); }
