:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 24px 60px -24px rgba(15, 23, 42, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-secondary); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-ink); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
main { display: block; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Nav (glass) === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 246, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.scrolled {
  background: rgba(239, 246, 255, 0.92);
  box-shadow: 0 6px 24px -18px rgba(15, 23, 42, 0.3);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav__toggle {
  background: transparent;
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 10px;
  padding: .4rem;
  cursor: pointer;
  color: var(--color-primary);
  display: inline-flex;
}
.nav__links {
  display: none;
  flex-direction: column;
  gap: .25rem;
  width: 100%;
  padding: .75rem 0 .25rem;
}
.nav__links.is-open { display: flex; }
.nav__links a {
  padding: .65rem .25rem;
  font-weight: 500;
  color: var(--color-ink);
  position: relative;
}
.nav__links a[aria-current="page"] { color: var(--color-primary); }
.nav__cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: .55rem 1rem !important;
  border-radius: 999px;
  align-self: flex-start;
  margin-top: .25rem;
}
.nav__cta:hover { background: var(--color-neutral-dark); color: #fff !important; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav__toggle { display: none; }
  .nav__links {
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    align-items: center;
    gap: 1.75rem;
  }
  .nav__links a {
    padding: .25rem 0;
    font-size: .95rem;
  }
  .nav__links a:not(.nav__cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav__links a:not(.nav__cta):hover::after,
  .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__cta { margin-top: 0; align-self: auto; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 12px 32px -14px rgba(30, 58, 138, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(30, 58, 138, 0.7); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid rgba(30, 58, 138, 0.25);
}
.btn--ghost:hover { background: rgba(30, 58, 138, 0.06); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero spotlight === */
.hero-spotlight {
  position: relative;
  padding: 3.5rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(249, 115, 22, 0.10), transparent 55%),
    linear-gradient(160deg, #EFF6FF 0%, #ffffff 55%, #EFF6FF 100%);
  overflow: hidden;
}
.hero-spotlight--inner { padding-top: 3rem; padding-bottom: 2.5rem; }
.hero-spotlight__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-spotlight__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}
.hero-spotlight h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 1.25rem;
}
.hero-spotlight__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--color-muted);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.hero-spotlight__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-spotlight__image {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(30, 58, 138, 0.35);
  border: 1px solid rgba(30, 58, 138, 0.08);
}
.hero-spotlight__image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* === Proof strip === */
.proof-strip {
  position: relative;
  max-width: 1080px;
  margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: var(--radius-md);
  font-size: .95rem;
  color: var(--color-muted);
}
.proof-strip strong { color: var(--color-primary); font-family: var(--font-heading); font-size: 1.15rem; margin-right: .25rem; }

/* === Intro sections === */
.intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  text-align: left;
}
.intro h2 { margin-bottom: 1.25rem; }
.intro p { font-size: 1.05rem; color: var(--color-muted); }

/* === Section wrapper === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* === Card === */
.card {
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 58, 138, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
a.card-link { text-decoration: none; color: inherit; }
a.card-link:hover { color: inherit; }
a.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}
.testimonial blockquote { margin: 0; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--color-ink);
  font-weight: 500;
  margin-bottom: 1.25rem;
  position: relative;
}
.testimonial cite {
  font-style: normal;
  font-size: .95rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

/* === CTA band === */
.cta-band {
  padding: 3.5rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }
.cta-band .btn--primary {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 10px 32px -12px rgba(0, 0, 0, 0.35);
}
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }

/* === Contact form === */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .95rem; color: var(--color-ink); }
.field input, .field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(30, 58, 138, 0.2);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--color-muted);
  margin: 1.25rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.footer {
  background: #0B1B4A;
  color: rgba(239, 246, 255, 0.85);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 800px) {
  .footer__inner { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col p, .footer__col a { color: rgba(239, 246, 255, 0.8); font-size: .95rem; }
.footer__col a { display: block; padding: .2rem 0; }
.footer__col a:hover { color: #fff; }
.footer .logo img { height: 60px; margin-bottom: .75rem; filter: brightness(1.05); }
.footer__legal { margin-top: 1rem; }
.footer__legal a { display: inline; }
.footer__copy {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(239, 246, 255, 0.12);
  font-size: .85rem;
  color: rgba(239, 246, 255, 0.6);
  text-align: center;
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: #0B1B4A;
  color: var(--color-neutral-light);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  border: 1px solid rgba(239, 246, 255, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cookie-banner button:hover { background: rgba(239, 246, 255, 0.08); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { transform: translateY(-1px); background: #ea6a12; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; align-self: flex-start; }

/* === 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; }
  html { scroll-behavior: auto; }
}
