:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1240;
  --color-muted: #6B5B92;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 20px 60px -20px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 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; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; margin: 0 0 .75em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 24px -12px rgba(76, 29, 149, 0.2); }
.site-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; display: block; }
.nav-toggle {
  background: none; border: 0; padding: .5rem;
  display: inline-flex; flex-direction: column; gap: 5px;
  cursor: pointer;
}
.nav-toggle__bar { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.primary-nav a {
  display: block;
  padding: .5rem .25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .25rem; right: .25rem; bottom: .25rem;
  height: 2px; background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    background: none; border: 0; padding: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .primary-nav ul { flex-direction: row; gap: 2rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-secondary);
}
.btn--ghost:hover { background: var(--color-secondary); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.7); color: #fff; }

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.08), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(196, 181, 253, 0.18), transparent 70%);
  z-index: -1;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  margin-bottom: 1.5rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch;
  margin: 1rem auto 2rem;
  font-size: 1.15rem;
  color: var(--color-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual {
  max-width: 960px;
  margin: 2rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  border-radius: 20px;
  pointer-events: none;
}
.hero__visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted {
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.18), rgba(250, 245, 255, 1) 80%);
  border-block: 1px solid var(--color-border);
}
.section__title { text-align: center; margin-bottom: 2.5rem; }
.lead { font-size: 1.1rem; color: var(--color-text); }
@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
}

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .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 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(16, 185, 129, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { color: var(--color-neutral-dark); margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* === Quote === */
.quote {
  margin: 0;
  padding: 2.5rem 1.5rem;
  text-align: center;
  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: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.4;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: .9rem;
  color: var(--color-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* === CTA band === */
.cta-band {
  margin-block: 3rem;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(16, 185, 129, 0.35), transparent 55%);
}
.cta-band__inner > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem 3.5rem; }
}

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  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;
  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.4rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-row label { font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .875rem; color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }
@media (min-width: 640px) {
  .contact-form { padding: 2.5rem; }
}

.contact-band-copy {
  text-align: center;
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
}
.contact-band-copy a { font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.8);
  padding-block: 3.5rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.logo--footer img { height: 56px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1rem; }
.tagline { font-size: .95rem; color: rgba(250, 245, 255, 0.7); max-width: 26ch; }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1rem !important; }
.legal-links li { margin: 0; font-size: .85rem; }
.site-footer__copy {
  padding-top: 1.5rem;
  font-size: .85rem;
  color: rgba(250, 245, 255, 0.55);
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
  font-size: .9rem;
  line-height: 1.5;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font: inherit;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease);
}
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border-color: rgba(255,255,255,0.35); }
.cookie-banner [data-cookie-settings] { background: rgba(255,255,255,0.1); color: var(--color-neutral-light); }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: .5rem;
  padding: .5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-heading);
  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; }
  html { scroll-behavior: auto; }
}
