:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(12, 74, 110, 0.28);
}

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 1.5rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(3, 105, 161, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(3, 105, 161, 0.7); color: #fff; }
.btn--accent {
  background: var(--color-accent);
  color: #04321c;
  box-shadow: 0 10px 30px -12px rgba(34, 197, 94, 0.5);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(34, 197, 94, 0.6); color: #04321c; }
.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-neutral-dark);
}
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }

/* === Header / nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 249, 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 .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px -10px rgba(12, 74, 110, 0.2);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .4rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-neutral-dark);
  padding: .5rem .25rem;
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (max-width: 899px) {
  .primary-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: .25rem;
    background: #fff;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 40px -20px rgba(12, 74, 110, 0.25);
  }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav .nav-cta { text-align: center; margin-top: .75rem; }
}

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

/* === Hero (saas-spotlight) === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  background: linear-gradient(135deg, var(--color-neutral-light) 0%, #E0F2FE 55%, #DBEAFE 100%);
}
.hero--inner { padding-block: 3rem 2rem; }
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14) 0%, rgba(14, 165, 233, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__inner h1 { max-width: 22ch; margin: 0 auto 1.25rem; }
.hero__sub { max-width: 55ch; margin: 0 auto 2rem; font-size: 1.2rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.hero__visual {
  margin: 0 auto;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(12, 74, 110, 0.5);
  position: relative;
}
.hero__visual img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.proof-strip {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  color: var(--color-muted);
  font-size: .95rem;
}
.proof-strip strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 700; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .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;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--wide { padding: 2rem; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  margin-bottom: 1rem;
}

/* === Quote === */
.quote {
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  padding: 2rem 1rem;
  text-align: center;
}
.quote__mark { color: var(--color-secondary); opacity: .35; margin: 0 auto .5rem; }
.quote p { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

.quote-with-image {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
.quote-portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .quote-with-image { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .quote { text-align: left; padding: 0; }
  .quote__mark { margin-left: 0; }
}

/* === CTA band === */
.cta-band {
  padding-block: 3rem;
}
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band__inner h2 { color: #fff; margin-bottom: .5rem; }
.cta-band__inner p { color: rgba(240, 249, 255, 0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { grid-template-columns: 1fr auto; padding: 3rem 3.5rem; }
}

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: #fff;
  margin-bottom: .75rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 1rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }

.contact-info h3 { margin-top: 1.5rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info address { font-style: normal; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; }

.map-block {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
}
.map-block img { aspect-ratio: 4/3; object-fit: cover; }

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-top: 0; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--color-neutral-dark);
}
.field input, .field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-neutral-light);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 249, 255, 0.85);
  padding-block: 3.5rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid ul li { margin-bottom: .5rem; }
.footer__grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; }
.footer__meta {
  border-top: 1px solid rgba(240, 249, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: .85rem;
  color: rgba(240, 249, 255, 0.7);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 2fr; gap: 3rem; }
}

/* === 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: var(--radius);
  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 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { font-size: .85rem; padding: .55rem 1rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(240, 249, 255, 0.3); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(240, 249, 255, 0.1); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

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