: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);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(2, 6, 23, 0.20);
  --shadow-lg: 0 30px 60px -30px rgba(2, 6, 23, 0.35);
}

/* === 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);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.75rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow { font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-accent); margin-bottom: 1rem; font-weight: 600; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, rgba(3, 105, 161, 0.04), rgba(3, 105, 161, 0.00)); }
.section__title { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(2, 6, 23, 0.06);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: none; }
.primary-nav a { color: var(--color-primary); font-weight: 500; padding: 0.5rem 0.25rem; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: var(--color-neutral-light); padding: 0.55rem 1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-accent); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; }

@media (min-width: 900px) {
  .primary-nav { display: flex; align-items: center; gap: 1.5rem; }
  .nav-toggle { display: none; }
}
.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav.is-open a { padding: 0.75rem 0.25rem; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 4rem; background: radial-gradient(1000px 500px at 80% -10%, rgba(3, 105, 161, 0.15), transparent 60%), linear-gradient(180deg, #ffffff, var(--color-neutral-light)); }
.hero--spotlight::before { content: ''; position: absolute; inset: -20% 40% auto -20%; height: 60%; background: radial-gradient(closest-side, rgba(3, 105, 161, 0.10), transparent); filter: blur(30px); pointer-events: none; }
.hero__inner { position: relative; text-align: center; }
.hero__sub { color: var(--color-secondary); font-size: 1.1rem; max-width: 60ch; margin: 0 auto 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero__visual { max-width: 960px; margin-inline: auto; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 60px -20px rgba(2, 6, 23, 0.35); position: relative; }
.hero__visual::before { content: ''; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: linear-gradient(135deg, rgba(3, 105, 161, 0.35), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 5rem 6rem; } }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -12px rgba(3, 105, 161, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(3, 105, 161, 0.65); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: rgba(2, 6, 23, 0.15); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); text-decoration: none; }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, 0.35); outline-offset: 2px; }

/* === Proof strip === */
.proof-strip { padding: 1.25rem 0; border-block: 1px solid var(--color-border); background: rgba(255,255,255,0.6); }
.proof-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.25rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-secondary); font-size: 0.95rem; }

/* === Grids & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .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 .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(3, 105, 161, 0.30); }
.card__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(3, 105, 161, 0.10); color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-secondary); margin: 0; font-size: 0.98rem; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { text-decoration: none; }

/* === Quote / testimonial === */
.quote { background: #fff; border-left: 4px solid var(--color-accent); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow-sm); margin: 0; }
.quote p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-primary); font-weight: 500; margin-bottom: 1rem; }
.quote cite { color: var(--color-secondary); font-style: normal; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { margin: 3rem 0; }
.cta-band__inner { background: linear-gradient(135deg, var(--color-primary), #1e293b); color: var(--color-neutral-light); border-radius: 24px; padding: 2.5rem; display: grid; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band__inner::before { content: ''; position: absolute; inset: auto -20% -60% auto; width: 380px; height: 380px; background: radial-gradient(circle, rgba(3, 105, 161, 0.55), transparent 65%); pointer-events: none; }
.cta-band__inner h2, .cta-band__inner p { color: var(--color-neutral-light); position: relative; }
.cta-band__inner p { color: rgba(248, 250, 252, 0.85); margin: 0.5rem 0 0; }
.cta-band__inner .btn { position: relative; }
.cta-band__inner .btn--primary { background: var(--color-neutral-light); color: var(--color-primary); }
.cta-band__inner .btn--primary:hover { background: #fff; }
@media (min-width: 768px) { .cta-band__inner { grid-template-columns: 1fr auto; padding: 3rem 3.5rem; } }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 0.75rem; }
.contact-card p, .contact-card ul { margin: 0; color: var(--color-secondary); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dashed var(--color-border); font-size: 0.95rem; }
.hours li:last-child { border-bottom: 0; }

/* === Form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.form-row input, .form-row textarea { font: inherit; font-family: var(--font-body); padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-neutral-light); color: var(--color-primary); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-secondary); line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; }
.contact-form button[type="submit"] { justify-self: start; margin-top: 0.5rem; }

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

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(248, 250, 252, 0.8); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer__grid h4 { color: var(--color-neutral-light); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer__grid a { color: rgba(248, 250, 252, 0.8); display: block; padding: 0.2rem 0; }
.footer__grid a:hover { color: var(--color-neutral-light); text-decoration: underline; }
.footer__grid .logo img { filter: brightness(0) invert(1); }
.footer__tag { margin-top: 0.75rem; color: rgba(248, 250, 252, 0.7); }
.footer__legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; font-size: 0.9rem; }
.footer__base { border-top: 1px solid rgba(248, 250, 252, 0.15); margin-top: 2rem; padding-top: 1rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.6); text-align: center; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

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

/* === 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: 16px; padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  max-width: 720px; margin-inline: auto;
  font-size: 0.95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s, transform .2s; }
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #0284c7; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; font: inherit; font-family: var(--font-heading); font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px; background: var(--color-neutral-light); color: var(--color-primary); border: 0; cursor: pointer; }
