:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5B9A;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 12px;
  --shadow-soft: 0 10px 30px -18px rgba(76, 29, 149, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neutral-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-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; }
.logo--footer img { height: 60px; }

.site-nav {
  display: none;
  gap: 1.75rem;
}
.site-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-neutral-dark);
}
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.site-nav a:hover { color: var(--color-primary); }

.nav-toggle {
  background: transparent;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-neutral-dark);
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1.25rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover { background: #0e9c6f; color: #fff; transform: translateY(-1px); }

/* === Hero split === */
.hero {
  padding-block: 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #F3EAFF 100%);
}
.hero-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-split__text .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.hero-split__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  width: 100%;
}
.hero-split__media--pattern {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.25), transparent 55%),
    linear-gradient(135deg, #EDE4FF, #FAF5FF);
}

@media (min-width: 900px) {
  .hero { padding-block: 5.5rem; }
  .hero-split__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
  .hero-split--text-only .hero-split__media { display: block; }
}

/* === Sections === */
.section {
  padding-block: 3.5rem;
}
.section--narrow { }
.section--narrow .container { max-width: 780px; }
.section--tint { background: #F3EAFF; }
.section__sub {
  color: var(--color-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.section__sub--center { margin-inline: auto; text-align: center; }
.section__title-center { text-align: center; }
.prose {
  font-size: 1.05rem;
  color: var(--color-text);
  max-width: 68ch;
}

/* === Grids & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.card h3 { margin-top: 0.75rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card .icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(76, 29, 149, 0.35);
}
.card-link h3 { color: var(--color-neutral-dark); }

/* === Testimonial === */
.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.pull-quote p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band__inner { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band--inline {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: 16px;
  padding: 2.25rem;
  margin-block: 2.5rem;
  text-align: center;
}
.cta-band--inline h2 { color: #fff; }
.cta-band--inline p { color: rgba(255, 255, 255, 0.85); }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3rem;
}
.article-detail__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-detail__sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.article-detail__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-block: 2rem;
}
.article-detail h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}
.article-detail p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
  color: var(--color-text);
}
.article-detail__footer { margin-top: 3rem; }
.back-link {
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
}
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact band & form === */
.contact-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-band { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
}
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  color: var(--color-muted) !important;
  line-height: 1.4;
}
.form-consent input { width: auto; margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer nav { display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.tagline { color: var(--color-secondary); margin-top: 0.5rem; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.site-footer .logo--footer img { filter: brightness(0) invert(1); }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}

/* === 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.1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.9rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(250, 245, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.cookie-banner__prefs [data-cookie-save] { margin-top: 0.5rem; justify-self: start; }

@media (min-width: 600px) {
  .cookie-banner { padding: 1.25rem 1.5rem; }
}

.compliance-notice { position: relative; z-index: 1000; background: #f4f6f8; border-bottom: 2px solid #64748b; color: #33404d; padding: 0.875rem 1.5rem; }
.compliance-notice p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.compliance-notice strong { text-transform: uppercase; letter-spacing: 0.04em; }
.compliance-notice__icon { font-size: 1rem; }
