:root {
  --bg: #050608;
  --card-bg: #111318;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.1);
  --text-main: #f5f5f5;
  --text-muted: #9ca3af;
  --border-soft: #272a33;
  --error: #f97373;
  --success: #4ade80;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1f2937 0, #020617 50%, #000 100%);
  color: var(--text-main);
}

.page-wrap {
  max-width: 1120px;
  margin: 40px auto;
  padding: 0 16px 40px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffe7cc, #ff7a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-weight: 800;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-text span:last-child {
  font-weight: 650;
  font-size: 15px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.7);
}

.nav-links a.active {
  color: var(--text-main);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav-links a:hover {
  border-color: var(--accent);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.90));
  border: 1px solid var(--border-soft);
  padding: 18px 18px 20px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.7);
}

.card h1,
.card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card h1 span.highlight {
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.card p + p {
  margin-top: 4px;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 2px;
}

.chip {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148,163,184,0.35);
  color: var(--text-muted);
}

.chip.good {
  border-color: rgba(74,222,128,0.55);
  color: #bbf7d0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 4px 9px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #bbf7d0, #16a34a);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

input[type="text"],
input[type="number"],
input[type="email"],
select,
textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(75,85,99,0.9);
  background: rgba(15,23,42,0.9);
  color: var(--text-main);
  padding: 7px 9px;
  font-size: 13px;
  outline: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

select {
  appearance: none;
  -webkit-appearance: none;
}

.helper {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.btn-primary {
  border-radius: 999px;
  padding: 8px 16px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(135deg, #ff7a1a, #f97316);
  color: #111827;
  cursor: pointer;
}

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

.btn-ghost {
  border-radius: 999px;
  padding: 7px 13px;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 12px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}

.result-box {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(148,163,184,0.6);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
  font-size: 13px;
}

.result-box strong {
  color: #e5e7eb;
}

.result-range {
  font-size: 16px;
  font-weight: 600;
  margin-top: 2px;
}

.result-note {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.disclaimer {
  margin-top: 8px;
  font-size: 10px;
  color: var(--text-muted);
}

.lead-card {
  margin-top: 10px;
  padding: 10px 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(31,41,55,0.9);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.97), rgba(15,23,42,0.93));
}

.lead-card h2 {
  font-size: 15px;
  margin-bottom: 4px;
}

.lead-card p {
  font-size: 12px;
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
}

.privacy-row input[type="checkbox"] {
  margin-top: 3px;
}

.privacy-row span {
  font-size: 10px;
  color: var(--text-muted);
}

.privacy-row a {
  color: var(--accent);
  text-decoration: none;
}

.small {
  font-size: 11px;
  color: var(--text-muted);
}

.tagline {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
