:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbe3ef;
  --accent: #0f766e;
  --accent-dark: #0d5f59;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: min(960px, 92vw); margin-inline: auto; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo { font-weight: 700; color: var(--text); text-decoration: none; }

nav a {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

nav a:hover { color: var(--accent); }

.hero { padding: 3rem 0 2rem; }

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.lead { color: var(--muted); max-width: 58ch; margin: 0 0 1rem; }

.disclaimer {
  font-size: 0.8125rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
  margin: 1rem 0 0;
}

.section { padding: 2.5rem 0; }
.section-alt { background: #eef3f8; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
}

.field { margin-bottom: 1rem; }
.field-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--surface); border: 1px solid var(--border); color: var(--text); }

.result-panel {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  display: none;
}

.result-panel.visible { display: block; }

.result-panel h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; }

.result-line { margin: 0.35rem 0; font-size: 0.9375rem; }

.muted { color: var(--muted); }
.small { font-size: 0.8125rem; }

.pricing-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.price-main { font-size: 1.75rem; font-weight: 700; }
.price-strike { text-decoration: line-through; color: var(--muted); }

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
}

.checkbox-row input { width: auto; margin-top: 0.2rem; }

.reviews-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.review-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; }

.faq dt { font-weight: 600; margin-top: 1rem; }
.faq dd { margin: 0.25rem 0 0; color: var(--muted); }

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2rem 0;
  margin-top: 2rem;
}

.site-footer a { color: #e2e8f0; }

.footer-inner { display: flex; flex-direction: column; gap: 0.75rem; }

.success-card { max-width: 520px; margin: 3rem auto; }
.referral-box { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--surface-alt, #f8fafc); }
.referral-box h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.error { color: #b91c1c; font-size: 0.875rem; }

@media (max-width: 640px) {
  nav { display: none; }
}
