:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1240;
  --color-muted: #6B5B95;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-card: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  --shadow-soft: 0 10px 30px -20px rgba(76, 29, 149, 0.25);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

/* === 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-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76,29,149,0.08);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  background: none; border: 0; padding: 0.5rem;
  display: flex; flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--color-neutral-dark);
  transition: transform 0.2s ease;
}

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

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

/* === Hero card === */
.hero-card-section {
  padding-block: 3rem 1.5rem;
  background:
    radial-gradient(1200px 400px at 50% -100px, rgba(167,139,250,0.35), transparent 60%),
    var(--color-neutral-light);
}
.hero-card {
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 1px solid rgba(167,139,250,0.25);
}
.hero-card .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.hero-card h1 { max-width: 22ch; margin-inline: auto; }
.hero-card .lede {
  max-width: 52ch;
  margin: 1rem auto 1.5rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-card__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero-card-section { padding-block: 5rem 3rem; }
  .hero-card { padding: 4rem 3.5rem; }
}

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

/* === Sections === */
.section { padding-block: 3rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-tint {
  background: linear-gradient(180deg, rgba(167,139,250,0.12), rgba(167,139,250,0.04));
}
.section-head { margin-bottom: 2rem; }
.section-head.center { text-align: center; }
.sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 0; }

/* === Card grid === */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(76,29,149,0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin-top: 0.75rem; }
.icon {
  width: 32px; height: 32px;
  color: var(--color-primary);
  display: block;
}

/* === Split (image + text) === */
.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.split-figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* === Quote === */
.quote {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(76,29,149,0.1);
  border-bottom: 1px solid rgba(76,29,149,0.1);
}
.quote p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1rem;
}
.quote cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  padding-block: 3.5rem;
  text-align: center;
}
.cta-band h2, .cta-band .sub { color: #fff; }
.cta-band .sub { color: rgba(255,255,255,0.85); max-width: 44ch; margin: 0 auto 1.5rem; }
.cta-band a { color: #fff; }
.contact-line { font-size: 1rem; }
.contact-line a { color: inherit; text-decoration: underline; }

/* === FAQ === */
.faq {
  background: #fff;
  border: 1px solid rgba(76,29,149,0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 2rem;
  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-primary);
  transition: transform 0.2s ease;
}
.faq[open] summary::after { content: '−'; }
.faq p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Form === */
.contact-form { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
}
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(76,29,149,0.2);
  background: #fff;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-muted);
  line-height: 1.4;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.site-footer nav a {
  display: block; padding: 0.2rem 0;
  font-size: 0.95rem;
}
.site-footer .tagline { color: rgba(250,245,255,0.75); font-size: 0.95rem; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.logo--footer img { height: 56px; }
.copyline {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(250,245,255,0.6);
  text-align: center;
}

/* === 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.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.5);
  max-width: 540px;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.cookie-banner button {
  font: inherit;
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  color: var(--color-neutral-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #062E13; }
.cookie-banner__prefs {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  margin-top: 0.5rem;
}
