:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #22C55E;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F1E4A;
  --color-muted: #4B5B8A;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 30, 74, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 30, 74, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(15, 30, 74, 0.35);
  --maxw: 1180px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-ink);
  background: #fff;
  -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); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-neutral-dark); margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .75rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 246, 255, 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 .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 8px 30px -20px rgba(15,30,74,0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark);
  border-radius: 10px; padding: .5rem; cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav a { padding: .6rem .9rem; border-radius: 8px; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a:hover { text-decoration: none; background: rgba(59,130,246,0.08); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; border-radius: 999px; padding: .55rem 1.1rem; margin-top: .25rem;
}
.primary-nav .nav-cta:hover { background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }
.site-header.is-open .primary-nav { display: flex; padding: .5rem 1.25rem 1rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: .5rem; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 30px -12px rgba(30,64,175,0.55); }
.btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(30,64,175,0.7); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 30px -14px rgba(34,197,94,0.6); }
.btn--accent:hover { background: #16a34a; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(59,130,246,0.08); }
.btn--sm { padding: .5rem .9rem; font-size: .875rem; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 2rem; background: linear-gradient(180deg, var(--color-neutral-light), #fff); }
.hero--compact { padding: 2.5rem 0 1.5rem; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 520px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(34,197,94,0.14), transparent 70%),
              radial-gradient(50% 60% at 20% 30%, rgba(59,130,246,0.22), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 58ch; margin: 0 auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero__visual {
  margin: 0 auto; max-width: 980px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}
.hero__visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.proof-strip {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  border-top: 1px solid var(--color-border); padding-top: 1.5rem;
}
.proof-strip li { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.proof-strip strong { font-family: var(--font-heading); font-size: 1.75rem; color: var(--color-neutral-dark); }
.proof-strip span { font-size: .875rem; color: var(--color-muted); }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 3rem; }
  .proof-strip { grid-template-columns: repeat(4, 1fr); }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--tint { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 780px; margin: 0 auto 2.5rem; }
.section__head .lede { margin-bottom: 0; }

@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--large { padding: 2.25rem; }
.card h3 { margin-top: .25rem; }
.card p { color: var(--color-muted); margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(34,197,94,0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Split === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem 1rem; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.4; max-width: 40ch; margin: 0 auto 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; border-radius: var(--radius-lg);
  margin: 3rem 1.25rem; padding: 3rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(34,197,94,0.35), transparent);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band .contact-inline { color: rgba(255,255,255,0.9); font-style: normal; margin-top: 1rem; }
.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: 2rem; }
  .cta-band { margin: 4rem auto; max-width: calc(var(--maxw) - 2.5rem); padding: 3.5rem; }
}

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

/* === Contact page === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; } }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-card address { font-style: normal; margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.hours caption { text-align: left; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); margin-bottom: .5rem; }
.hours th, .hours td { text-align: left; padding: .4rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); width: 45%; }
.hours td { color: var(--color-muted); }

.contact-form-wrap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-form .field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.contact-form label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); margin: .5rem 0 1.25rem; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer .logo--footer img { height: 60px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
.tagline { color: rgba(255,255,255,0.75); max-width: 32ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .875rem; color: rgba(255,255,255,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);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); max-width: 720px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cookie-banner .btn--ghost:hover { background: rgba(255,255,255,0.1); }

/* === Reveal animation === */
.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; } }
