:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lg: 0 24px 60px -24px rgba(76, 29, 149, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); }
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; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, #FFFFFF 0%, var(--color-neutral-light) 100%); }
.section__title { text-align: center; margin-bottom: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 0.75rem; }
.lede { font-size: 1.15rem; color: rgba(76, 29, 149, 0.85); max-width: 60ch; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250, 245, 255, 0.72);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 30px -18px rgba(76, 29, 149, 0.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { text-decoration: none; color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; 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.is-current::after { transform: scaleX(1); }
.nav-toggle { background: none; border: none; color: var(--color-neutral-dark); cursor: pointer; padding: 0.5rem; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.10)); }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 60%; height: 80%; background: radial-gradient(circle at center, rgba(34, 197, 94, 0.18), transparent 60%); pointer-events: none; }
.hero__inner { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }
.hero__inner .lede { margin-inline: auto; }
.hero__visual { margin: 3rem auto 0; max-width: 960px; }
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
.hero--split .hero__split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
.hero--split .cta-row { justify-content: flex-start; }
.hero--split .hero__visual { margin: 0; }
.hero--split .hero__visual img { aspect-ratio: 4/5; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); text-decoration: none; border: none; cursor: pointer; font-size: 1rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 30px -12px rgba(124, 58, 237, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(124, 58, 237, 0.7); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, 0.7); color: var(--color-neutral-dark); border: 1px solid rgba(76, 29, 149, 0.15); }
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(34, 197, 94, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: inherit; }

/* === Quote === */
.quote { margin: 0; padding: 2rem 1.5rem; border-left: 3px solid var(--color-accent); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; line-height: 1.4; margin-bottom: 0.75rem; }
.quote cite { font-style: normal; color: rgba(76, 29, 149, 0.75); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding-block: 4rem; 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(255, 255, 255, 0.9); }
.cta-band .btn--primary { background: var(--color-accent); box-shadow: 0 12px 30px -10px rgba(34, 197, 94, 0.6); }
.cta-band .btn--primary:hover { background: #16a34a; }

/* === Sub-nav === */
.sub-nav { padding-block: 2rem; background: #fff; border-top: 1px solid rgba(76, 29, 149, 0.08); }
.sub-nav .container { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.sub-nav a { text-decoration: none; font-weight: 600; }

/* === Details / FAQ === */
details { background: #fff; border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); margin-bottom: 0.75rem; border: 1px solid rgba(76, 29, 149, 0.06); }
details summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); list-style: none; padding-right: 1.5rem; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.3rem; color: var(--color-primary); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 0.75rem; }

/* === Form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
.field input, .field textarea, .field select { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid rgba(76, 29, 149, 0.18); border-radius: 10px; font: inherit; color: inherit; background: var(--color-neutral-light); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.25rem; font-size: 0.9rem; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
.footer__tag { margin-top: 0.75rem; opacity: 0.75; }
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact { font-style: normal; line-height: 1.7; }
.footer__legal { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.footer__legal a { font-size: 0.9rem; opacity: 0.75; }
.footer__copy { border-top: 1px solid rgba(250, 245, 255, 0.15); padding-top: 1.25rem; font-size: 0.85rem; opacity: 0.7; }

/* === 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; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { flex: 1 1 auto; padding: 0.65rem 1rem; border-radius: 999px; border: none; font: inherit; font-weight: 600; cursor: pointer; background: rgba(250, 245, 255, 0.15); color: var(--color-neutral-light); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { filter: brightness(1.1); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; border: none; background: var(--color-primary); color: #fff; font-weight: 600; cursor: pointer; }

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .hero { padding-block: 6rem 4rem; }
  .hero--split .hero__split { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .section { padding-block: 5.5rem; }
}
@media (min-width: 960px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
@media (max-width: 767px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
  .primary-nav.is-open { display: flex; }
}
