:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #64748B;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(2, 6, 23, 0.30);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & base === */
*, *::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-primary);
  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-accent); text-decoration: none; transition: color .2s var(--ease-quick); }
a:hover { color: var(--color-primary); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-quick), box-shadow .2s var(--ease-quick), background .2s var(--ease-quick), color .2s var(--ease-quick);
  text-align: center;
  line-height: 1.2;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), #075985);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(3, 105, 161, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(3, 105, 161, 0.65); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: rgba(15, 23, 42, 0.05); transform: translateY(-2px); }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.45); outline-offset: 2px; }

/* === Header === */
.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 transparent;
  transition: background .3s var(--ease-quick), box-shadow .3s var(--ease-quick), border-color .3s var(--ease-quick);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 6px 24px -18px rgba(2, 6, 23, 0.4);
  border-bottom-color: var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex;
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: .5rem; cursor: pointer; color: var(--color-primary);
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-primary);
  font-weight: 500;
  padding: .75rem .5rem;
  border-radius: 8px;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; position: static;
    background: transparent; padding: 0; border: 0; gap: 1.75rem;
  }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--color-accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease-quick);
  }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero (saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; }
.hero--spotlight { background: linear-gradient(180deg, rgba(3,105,161,0.05), rgba(248,250,252,0) 60%); }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%;
  height: 60vh;
  background: radial-gradient(ellipse at 50% 30%, rgba(3, 105, 161, 0.18), transparent 60%);
  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: 60ch; margin: 1.25rem auto 1.75rem;
  color: var(--color-secondary);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero__visual {
  margin: 2rem auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: #fff;
  position: relative;
}
.hero__visual::after {
  content: ""; position: absolute; inset: -20% 20% auto 20%; height: 40%;
  background: radial-gradient(ellipse, rgba(3, 105, 161, 0.25), transparent 70%);
  pointer-events: none;
}
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero__proof {
  margin: 2rem auto 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.hero--slim .hero__ctas { margin-bottom: 0; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: #fff; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-secondary); }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--cards { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease-quick), box-shadow .25s var(--ease-quick);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(2, 6, 23, 0.25); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(3, 105, 161, 0.10);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); margin-bottom: 0; }

/* === Quote === */
.quote {
  margin: 0;
  padding: 2rem;
  border-left: 3px solid var(--color-accent);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.quote p { font-size: 1.15rem; color: var(--color-primary); font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #1E293B);
  color: var(--color-neutral-light);
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 100%;
  background: radial-gradient(ellipse, rgba(3, 105, 161, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .25rem; }
.cta-band p { color: rgba(248, 250, 252, 0.75); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-quick);
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-primary);
  list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-accent); font-weight: 400;
  transition: transform .2s var(--ease-quick);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--color-secondary); margin: 1rem 0 0; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--color-primary); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .875rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  transition: border-color .2s var(--ease-quick), box-shadow .2s var(--ease-quick);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.15);
}
.form-consent {
  display: flex; gap: .625rem; align-items: flex-start;
  font-size: 0.875rem; color: var(--color-secondary);
  padding: .5rem 0;
}
.form-consent input { margin-top: .2rem; }

/* === Contact card === */
.contact-card {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: 2rem; background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.contact-card h2 { margin-bottom: .5rem; }
@media (min-width: 768px) {
  .contact-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; }
}

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(248, 250, 252, 0.78);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.8); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}
.footer-nav, .legal-nav { display: flex; flex-direction: column; gap: .5rem; }
.legal-nav { flex-direction: row; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; }
.tagline { color: rgba(248, 250, 252, 0.6); font-size: 0.95rem; }
.logo--footer img { height: 64px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer__base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  color: rgba(248, 250, 252, 0.5);
  font-size: 0.85rem;
}
.site-footer__base p { margin: 0; }
address { font-style: normal; line-height: 1.75; }

/* === 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-md);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.25); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Scroll-reveal === */
.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; }
}
