:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5573;
  --color-surface: #FFFFFF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-hover: 0 20px 40px -20px rgba(49, 46, 129, 0.25);
  --shadow-visual: 0 30px 60px -25px rgba(49, 46, 129, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
  font-size: 16px;
  -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); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 .75rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

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

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(49, 46, 129, 0.08);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 6px 24px -12px rgba(49,46,129,0.15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: 1rem 1.25rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; border-radius: 8px; }
.nav-toggle:hover { background: rgba(99,102,241,0.1); }
.primary-nav { display: none; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .5rem .25rem; position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; flex-direction: column; gap: .5rem; position: absolute; left: 0; right: 0; top: 100%; padding: 1rem 1.25rem 1.5rem; background: rgba(255,255,255,0.98); border-bottom: 1px solid rgba(49,46,129,0.08); box-shadow: 0 12px 30px -20px rgba(49,46,129,0.25); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; padding: 0; gap: 1.75rem; background: none; box-shadow: none; border: 0; flex-direction: row; align-items: center; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 500; padding: .85rem 1.6rem; border-radius: 999px; text-align: center; cursor: pointer; border: 0; font-size: 1rem; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(99,102,241,0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(99,102,241,0.7); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(49,46,129,0.2); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; padding: 4rem 0 3rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(238,242,255,0.9), rgba(255,255,255,1)); z-index: -2; }
.hero::after { content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(34,197,94,0.1), transparent 60%); z-index: -1; pointer-events: none; }
.hero__inner { max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; text-align: left; }
.hero__inner h1 { max-width: 20ch; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 54ch; margin: 1rem 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__visual { max-width: 1180px; margin: 3rem auto 0; padding-inline: 1.25rem; }
.hero__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-visual); aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 900px) {
  .hero { padding: 6rem 0 4rem; }
  .hero__inner h1 { font-size: clamp(2.75rem, 5vw, 4.25rem); }
  .hero__sub { font-size: 1.25rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--tinted { background: linear-gradient(180deg, var(--color-neutral-light), #fff); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }

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

.card {
  background: #fff; border-radius: var(--radius-md); padding: 1.75rem;
  border: 1px solid rgba(49,46,129,0.08);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Quote === */
.section--quote { padding: 4rem 0; }
.section--quote blockquote { margin: 0; text-align: center; }
.section--quote blockquote p { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.5vw, 1.75rem); line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500; }
.section--quote cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; display: block; margin-top: 1rem; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band__inner { text-align: center; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }

/* === FAQ === */
.faq details { border: 1px solid rgba(49,46,129,0.1); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: .75rem; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-primary); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--color-muted); margin: .75rem 0 0; }

/* === Contact === */
.contact-card { background: #fff; padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); text-align: center; }
.contact-card .btn { margin-top: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid h3 { margin-top: 1.25rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); }
.contact-grid h3:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem .25rem; text-align: left; border-bottom: 1px solid rgba(49,46,129,0.08); font-weight: 400; }
.hours th { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 500; }

/* === Form === */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid rgba(49,46,129,0.15); background: #fff;
  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(99,102,241,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: 1rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact { font-style: normal; line-height: 1.7; }
.tagline { color: rgba(255,255,255,0.7); margin-top: .5rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .9rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; margin-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,0.6); }

/* === 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 === */
.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: 1.25rem 1.5rem; border-radius: var(--radius-md); box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4); max-width: 640px; margin-left: auto; margin-right: auto; }
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; font-size: .95rem; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel button { font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,0.12); color: #fff; transition: background .2s; }
.consent-panel button:hover { background: rgba(255,255,255,0.2); }
.consent-panel [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.consent-panel [data-cookie-accept]:hover { background: #1AA34A; }
.consent-panel__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.consent-panel__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.consent-panel__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); }
