:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #6B5D8A;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 60px -30px rgba(76, 29, 149, 0.35);
}

/* === Base === */
* { 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%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  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: 100;
}
.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; }
.nav-toggle {
  background: transparent;
  border: 0;
  color: var(--color-neutral-dark);
  padding: 0.5rem;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #062818; }
.btn--accent:hover { background: #16a34a; }

/* === Hero split === */
.hero { padding-block: 3rem; background: var(--color-neutral-light); }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero__text .hero__sub {
  color: var(--color-muted);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--intro { background: #fff; }
.section--intro.alt { background: var(--color-neutral-light); }
.section--intro h2 { color: var(--color-neutral-dark); }
.section--intro p { font-size: 1.05rem; color: var(--color-text); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }

/* === Cards === */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); text-decoration: none; }
.card__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* === Quote === */
.section--quote { background: var(--color-neutral-light); text-align: center; }
.section__lead { text-align: center; margin-bottom: 2rem; }
.quote {
  margin: 0;
  padding: 2rem 1rem;
}
.quote p {
  font-size: 1.25rem;
  color: var(--color-neutral-dark);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3rem;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band p { opacity: 0.9; margin-bottom: 0; }

/* === Article detail === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1.25rem;
}
.article__header { margin-bottom: 1.5rem; }
.article__header h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article__sub { font-size: 1.15rem; color: var(--color-muted); }
.article__hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-block: 2rem;
  border-radius: 10px;
}
.article p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(76, 29, 149, 0.1); }
.back-link { font-weight: 600; }

/* === Contact === */
.section--contact { background: #fff; }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact-card {
  background: var(--color-neutral-light);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card p { margin-bottom: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.45;
}
.form-consent input { margin-top: 0.25rem; }

/* === FAQ === */
.section--faq { background: var(--color-neutral-light); }
.faq {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(76, 29, 149, 0.08);
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  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-weight: 700;
}
.faq[open] summary::after { content: "–"; }
.faq p { padding-bottom: 1rem; color: var(--color-muted); margin: 0; }

/* === Thank you === */
.section--thanks { padding-block: 5rem; text-align: center; }
.section--thanks .eyebrow { display: inline-block; }

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

/* === 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: 0 30px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  color: var(--color-neutral-light);
}
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #062818; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] {
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: #062818;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 1.75rem;
  }
  .hero { padding-block: 5rem; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .section { padding-block: 5rem; }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
