/* === Tokens === */
:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.25);
  --shadow-lg: 0 30px 70px -30px rgba(30, 58, 138, 0.45);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  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 { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--color-neutral-dark); color: #fff; padding: .5rem 1rem; z-index: 10000; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, rgba(59, 130, 246, 0.04), rgba(245, 158, 11, 0.04)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Header (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; }
.primary-nav a { position: relative; font-weight: 500; color: var(--color-neutral-dark); padding: .5rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); 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.05rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 1.75rem; align-items: center; }
}
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 1rem 1.25rem 1.5rem; background: rgba(248, 250, 252, 0.98); border-bottom: 1px solid var(--color-border); gap: .5rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-heading); font-weight: 600; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); font-size: 1rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 25px -12px rgba(30, 64, 175, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(30, 64, 175, 0.7); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(30, 58, 138, 0.06); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding-block: 4rem 3rem; background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(248, 250, 252, 0)); overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 20% auto; height: 60vh; background: radial-gradient(closest-side, rgba(245, 158, 11, 0.28), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero__inner { position: relative; text-align: center; }
.eyebrow { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; color: var(--color-secondary); margin-bottom: 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 56ch; margin: 1rem auto 2rem; color: var(--color-muted); font-size: 1.125rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual { margin: 0; }
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Grids & cards === */
.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 { display: block; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(30, 58, 138, 0.25); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(245, 158, 11, 0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-muted); margin: 0; }
.card h3 { margin-bottom: .5rem; }
.card-link { color: inherit; }
.card-link:hover { color: inherit; }

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

/* === Quote === */
.quote { position: relative; margin: 0; padding: 2rem 1.25rem; text-align: center; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { padding-block: 3.5rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin-bottom: 1.75rem; }
.cta-band .btn--primary { background: var(--color-accent); box-shadow: 0 12px 28px -10px rgba(245, 158, 11, 0.55); }
.cta-band .btn--primary:hover { background: #d97706; }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; background: #fff; margin-bottom: .75rem; transition: box-shadow .2s var(--ease); }
.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; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-accent); font-weight: 700; transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-block p { color: var(--color-muted); }
.contact-block strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: .9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; font: inherit; color: var(--color-text); background: var(--color-neutral-light); transition: border-color .2s var(--ease), background .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-secondary); background: #fff; }
.form-consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--color-muted); margin: .5rem 0 1.25rem; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-top: 3.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer__tag { color: rgba(248, 250, 252, 0.7); font-size: .95rem; margin-top: .5rem; }
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a { color: rgba(248, 250, 252, 0.85); }
.footer__nav a:hover { color: var(--color-accent); }
.footer__contact { font-style: normal; color: rgba(248, 250, 252, 0.8); font-size: .95rem; }
.footer__contact a { color: rgba(248, 250, 252, 0.9); }
.footer__contact a:hover { color: var(--color-accent); }
.footer__legal { margin-top: 1rem; font-size: .85rem; }
.footer__base { border-top: 1px solid rgba(248, 250, 252, 0.1); padding-block: 1.25rem; font-size: .85rem; color: rgba(248, 250, 252, 0.6); }
.footer__base p { margin: 0; }
.site-footer .logo img { height: 72px; }

/* === Cookie banner === */
.consent-panel { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1rem 1.25rem; border-radius: var(--radius-md); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5); max-width: 640px; }
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 .75rem; font-size: .9rem; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel button { font: inherit; padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.3); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: .85rem; }
.consent-panel [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #1E293B; font-weight: 600; }
.consent-panel [data-cookie-accept]:hover { background: #d97706; border-color: #d97706; }
.consent-panel button:hover { border-color: var(--color-neutral-light); }
.consent-panel__prefs { margin-top: .75rem; display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; }
.consent-panel__prefs label { display: flex; align-items: center; gap: .5rem; }
.consent-panel__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-neutral-light); color: var(--color-neutral-dark); border-color: var(--color-neutral-light); font-weight: 600; }

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

.reveal,[data-reveal],.fade-in,.animate-in{opacity:1!important;transform:none!important;visibility:visible!important}
