:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 2px 20px rgba(30, 58, 138, 0.08);
  --shadow-lift: 0 20px 60px -20px rgba(30, 58, 138, 0.35);
  --radius: 18px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.75em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 1rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.94); box-shadow: 0 8px 30px -20px rgba(30, 58, 138, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 0; color: var(--color-neutral-dark);
  padding: 0.5rem; cursor: pointer; display: inline-flex; border-radius: 8px;
}
.nav-toggle:hover { background: rgba(30, 58, 138, 0.08); }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.6rem 0.25rem;
  position: relative;
  text-decoration: none;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px; text-align: center; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 2px;
    background: var(--color-accent); transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover { text-decoration: none; }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta::after { display: none; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer;
  border: 1.5px solid transparent; text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 130, 246, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(59, 130, 246, 0.7); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(30, 58, 138, 0.06); text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #1a1204; box-shadow: 0 10px 24px -10px rgba(245, 158, 11, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(245, 158, 11, 0.7); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero — hero-split === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(245, 158, 11, 0.12), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(59, 130, 246, 0.14), transparent 55%),
    var(--color-neutral-light);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.proof-strip { font-size: 0.9rem; color: var(--color-muted); letter-spacing: 0.02em; }
.hero-visual img {
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
}
.hero-thanks { padding-block: 5rem 3rem; text-align: center; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.section.intro .container.narrow p { font-size: 1.075rem; color: #334155; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  color: inherit;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(30, 58, 138, 0.28); border-color: rgba(59, 130, 246, 0.35); }
a.card-link { text-decoration: none; color: inherit; }
a.card-link:hover { text-decoration: none; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(245, 158, 11, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin-bottom: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, rgba(30, 64, 175, 0.04), rgba(59, 130, 246, 0.06)); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--color-neutral-dark);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 20%, rgba(245, 158, 11, 0.28), transparent 55%);
  pointer-events: none;
}
.cta-band-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin: 0; }
.contact-inline { margin-top: 0.75rem; font-size: 0.95rem; }
.cta-band .contact-inline a { color: #fff; text-decoration: underline; }
@media (min-width: 800px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}

/* === Stats === */
.stats-grid .stat { text-align: center; padding: 1.75rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.stat-num { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: 0.75rem; }
.stat p { color: var(--color-muted); margin: 0; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  color: var(--color-neutral-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--color-secondary); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.85rem; margin-bottom: 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; }
.contact-details p { margin-bottom: 0.35rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-family: var(--font-heading); }
.site-footer nav a { display: block; color: rgba(248, 250, 252, 0.78); padding: 0.25rem 0; text-decoration: none; }
.site-footer nav a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address a { color: rgba(248, 250, 252, 0.85); }
.tagline { color: rgba(248, 250, 252, 0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.legal-links a { color: rgba(248, 250, 252, 0.85); }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.6); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(248, 250, 252, 0.25);
  background: transparent; color: var(--color-neutral-light);
  transition: background 0.2s, transform 0.15s;
}
.cookie-banner__actions button:hover, .cookie-banner__prefs button:hover { background: rgba(248, 250, 252, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #1a1204; border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #fbbf24; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.18); }
.cookie-banner__prefs label { font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal motion === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
