:root {
  --navy: #0f2b46;
  --blue: #1461b0;
  --blue-dark: #0e4a86;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(15, 43, 70, 0.25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.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;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: inline-block;
}

.logo-accent { color: var(--teal-dark); }

.header-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.header-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

@media (max-width: 620px) {
  .header-trust { display: none; }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 50% -10%, #e6f1fb 0%, var(--bg) 60%);
  padding: 72px 0 56px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 20px;
  font-weight: 800;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  padding: 14px 26px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal-dark));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(20, 97, 176, 0.55);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(20, 97, 176, 0.6); }

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 14px 18px;
}

.btn-ghost:hover { color: var(--navy); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Trust bar */
.trust-bar {
  background: var(--navy);
  padding: 28px 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.trust-stat-label {
  display: block;
  font-size: 0.8rem;
  color: #a9c2da;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Who we help */
.who-we-help {
  padding: 64px 0;
  text-align: center;
}

.who-we-help h2 {
  font-size: 1.9rem;
  color: var(--navy);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

.who-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

.who-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.who-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.15rem;
}

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

@media (max-width: 700px) {
  .who-cards { grid-template-columns: 1fr; }
}

/* Assessment / quiz */
.assessment {
  padding: 20px 0 88px;
}

.assessment-inner { display: flex; justify-content: center; }

.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 680px;
  padding: 8px 8px 28px;
  overflow: hidden;
}

.quiz-progress {
  height: 6px;
  background: #eef2f6;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 0.35s ease;
}

#quiz-form { padding: 36px 32px 8px; }

.quiz-step { border: none; margin: 0; padding: 0; display: none; animation: fadeIn 0.3s ease; }

.quiz-step.is-active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-card:hover { border-color: var(--blue); background: #f4f9ff; }

.option-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-card input:checked ~ span {
  color: var(--blue-dark);
}

.option-card:has(input:checked) {
  border-color: var(--blue);
  background: #eef6ff;
  box-shadow: 0 0 0 3px rgba(20, 97, 176, 0.12);
}

.option-card input:focus-visible ~ span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .option-grid { grid-template-columns: 1fr; }
  #quiz-form { padding: 28px 20px 8px; }
}

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

.field-full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.optional { font-weight: 400; color: var(--muted); }

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 97, 176, 0.12);
}

@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
}

.privacy-note {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-error {
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 18px 0 0;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.quiz-nav .btn-ghost { margin-right: auto; }

/* Success */
.quiz-success {
  text-align: center;
  padding: 56px 32px 40px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f9f0;
  color: var(--success);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-weight: 800;
}

.quiz-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.quiz-success p { color: var(--muted); margin: 0 0 8px; }

.success-sub a { color: var(--blue-dark); font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links { display: flex; gap: 18px; }

.footer-links a { color: var(--muted); text-decoration: none; }

.footer-links a:hover { color: var(--blue-dark); }
