/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-bg: #fbfcfe;
  --color-bg-alt: #f2f5f9;
  --color-surface: #ffffff;
  --color-navy: #0f2942;
  --color-navy-soft: #33506b;
  --color-text: #17293b;
  --color-text-muted: #5b6b7a;
  --color-accent: #2f8fd6;
  --color-accent-light: #eaf4fc;
  --color-accent-dark: #1f6fae;
  --color-success: #2ba894;
  --color-border: #e3e9ef;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 4px 24px rgba(15, 41, 66, 0.06);
  --shadow-card: 0 2px 12px rgba(15, 41, 66, 0.08);

  --container-width: 1120px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
}

.section-alt { background: var(--color-bg-alt); }

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: var(--color-accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 19px;
  font-weight: 650;
  color: var(--color-navy);
}

.section-heading {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-heading p {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 17px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--color-text-muted);
  max-width: 560px;
}

.text-muted { color: var(--color-text-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(47, 143, 214, 0.28);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-navy-soft); background: var(--color-bg-alt); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 254, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-navy);
}
.brand-sub {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 550;
  color: var(--color-navy-soft);
}
.nav-links a:hover { color: var(--color-accent-dark); }

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--color-border); }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
  .header-actions .btn-primary { padding: 10px 18px; font-size: 14px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 96px 0 80px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.avatar-round {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--color-surface);
  margin-bottom: 16px;
}
.hero-trust {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--color-text-muted);
  max-width: 520px;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-accent-dark);
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 15px; }

/* Simple bullet list with check marks */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}

/* Problem list with a different mark (dash / warning) */
.flag-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--color-border);
}
.flag-list li:last-child { border-bottom: none; }
.flag-list .mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fdf1e7;
  color: #b5651d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}

/* ==========================================================================
   Numbered steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px 24px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.step p { color: var(--color-text-muted); font-size: 15px; margin-top: 8px; }

/* ==========================================================================
   FAQ (details/summary, no JS needed)
   ========================================================================== */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  font-weight: 620;
  font-size: 16.5px;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent-dark);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 4px 22px;
  color: var(--color-text-muted);
  font-size: 15.5px;
  max-width: 640px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 640px) { .form-card { padding: 24px; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 8px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--color-navy-soft); }
.field input {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-submit { margin-top: 18px; width: 100%; }
@media (min-width: 480px) { .form-submit { width: auto; } }

.form-consent {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

/* ==========================================================================
   Final CTA section
   ========================================================================== */
.final-cta { background: var(--color-navy); color: #fff; }
.final-cta h2, .final-cta .lede { color: #fff; }
.final-cta .lede { color: #cfe0ee; }
.final-cta .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .final-cta .container { grid-template-columns: 1fr; } }
.final-cta .form-card { background: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand .brand-name { font-size: 18px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--color-text-muted);
}
.footer-contact a:hover { color: var(--color-accent-dark); }
.footer-nav {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--color-text-muted); font-size: 14.5px; }
.footer-nav a:hover { color: var(--color-accent-dark); }
.footer-nav h4 { font-size: 13px; color: var(--color-navy-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }

.footer-micro {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  max-width: 720px;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
