:root {
  --bg: #000;
  --text: #fff;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, 0.12);
  --card: #0a0a0a;
  --orange: #fc6d01;
  --red: #d32800;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(211, 40, 0, 0.28), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(252, 109, 1, 0.16), transparent 55%),
    #000;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7vw;
  background: linear-gradient(to bottom, rgba(0,0,0,0.92), rgba(0,0,0,0.55) 70%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img { height: 52px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: #fff; }

.header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.link-quiet {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 12px 22px;
  background: linear-gradient(90deg, #d32800 0%, #fc6d01 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: 0.7; cursor: wait; }

.btn-lg { padding: 14px 26px; font-size: 15px; width: 100%; }

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 96px;
}

.hero-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(252, 109, 1, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  margin-bottom: 18px;
}

.kicker span { color: #fc6d01; }

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.lede {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.panel {
  background: linear-gradient(180deg, rgba(252, 109, 1, 0.08), transparent 28%), #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 0 80px rgba(211, 40, 0, 0.12);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

label {
  font-size: 13px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  background: #050505;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

textarea { min-height: 120px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: rgba(252, 109, 1, 0.7);
  box-shadow: 0 0 0 3px rgba(252, 109, 1, 0.15);
}

select option { color: #000; }

.hint { color: var(--muted); font-size: 12px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  grid-column: 1 / -1;
}

.consent input { width: 16px; height: 16px; margin-top: 2px; }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.status {
  display: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.status.error { display: block; background: rgba(211, 40, 0, 0.15); color: #ffb4a4; }
.status.ok { display: block; background: rgba(12, 190, 77, 0.12); color: #8ef0ad; }

.success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.success h2 { margin: 0 0 10px; font-size: 28px; }
.success p { color: var(--muted); margin: 0 0 24px; }

.auth-card {
  width: min(460px, calc(100% - 48px));
  margin: 48px auto 80px;
}

.switch {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.switch a { color: #fff; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .wrap { width: min(1080px, calc(100% - 32px)); }
}
