:root {
  --navy: #0b2545;
  --navy-light: #13315c;
  --teal: #0ea8a3;
  --teal-dark: #0b7f7b;
  --amber: #6b3fa0;
  --amber-dark: #52307d;
  --bg: #f7f9fc;
  --bg-alt: #eef2f8;
  --card: #ffffff;
  --text: #1b2430;
  --text-muted: #5b6472;
  --border: #dde3ec;
  --success: #2e9e62;
  --success-bg: #e6f5ec;
  --warning: #e8a93a;
  --warning-bg: #fdf3e0;
  --danger: #d64545;
  --danger-bg: #fbe9e9;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.14);
  --font-heading: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1em; }

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

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

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section-navy .eyebrow { color: #7fe0dc; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-navy .section-head p { color: #c7d3e6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-light) 55%, #0d3a63 100%);
  color: #fff;
  padding: 90px 0 70px;
  overflow: hidden;
  position: relative;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #cfdaec; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; }
.hero-stats div strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: #fff; }
.hero-stats div span { color: #a9bbd6; font-size: 0.85rem; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 420px; height: auto; }

/* Feature / explainer grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-dark);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-card p { color: var(--text-muted); margin: 0; }

/* Client cards */
.client-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.client-card-head { display: flex; align-items: center; gap: 14px; }
.client-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.client-icon svg { width: 28px; height: 28px; }
.client-card h3 { margin: 0; }
.client-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--teal-dark); background: #e3f7f6; padding: 3px 10px; border-radius: 999px; }
.client-card p { color: var(--text-muted); margin: 0; flex-grow: 1; }
.client-meta { font-size: 0.85rem; color: var(--text-muted); border-top: 1px dashed var(--border); padding-top: 14px; }
.client-meta strong { color: var(--text); }

/* Steps / how it works */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* Trust / disclaimer */
.disclaimer-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer { background: #081b33; color: #b7c4dd; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #b7c4dd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1c3559; padding-top: 24px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Flash messages */
.flash { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.95rem; }
.flash-success { background: var(--success-bg); color: var(--success); border: 1px solid #c3e9d3; }
.flash-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f2c9c9; }
.flash-info { background: #e6f0fb; color: #1c5aa8; border: 1px solid #c6dcf5; }

/* Forms (shared with wizard) */
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.field-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.98rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,168,163,0.15);
}
textarea { resize: vertical; min-height: 90px; }
.form-row { margin-bottom: 20px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.pill-options { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill-option label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  margin: 0;
  transition: all 0.15s ease;
}
.pill-option input:checked + label {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.client-choice {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.15s ease;
}
.client-choice:hover { border-color: var(--teal); }
.client-choice input { margin-top: 4px; width: 18px; height: 18px; }
.client-choice.checked { border-color: var(--teal); background: #f0fbfa; }
.client-choice h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1rem; color: var(--navy); }
.client-choice p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* Wizard */
.wizard-wrap { max-width: 760px; margin: 0 auto; }
.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.wizard-progress::before {
  content: ''; position: absolute; top: 17px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0;
}
.wizard-progress-fill {
  position: absolute; top: 17px; left: 0; height: 2px; background: var(--teal); z-index: 1; transition: width 0.3s ease;
}
.wizard-step-dot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.wizard-step-dot .dot {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); font-size: 0.9rem;
}
.wizard-step-dot.active .dot { border-color: var(--teal); color: var(--teal-dark); }
.wizard-step-dot.done .dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.wizard-step-dot span.label { font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.wizard-step-dot.active span.label { color: var(--navy); font-weight: 700; }

.wizard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

.review-summary dt { font-weight: 700; font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
.review-summary dd { margin: 2px 0 0; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3, .grid-2, .footer-grid, .steps { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  h1 { font-size: 2.1rem; }
  .wizard-card { padding: 28px 20px; }
  .wizard-progress { display: none; }
}
