:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max: 1160px;
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-neutral-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Header === */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(30, 27, 75, 0.35);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  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 { color: var(--color-neutral-light); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a[aria-current="page"] { color: var(--color-accent); }
.site-nav a:hover { color: var(--color-accent); }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(238,242,255,0.4);
  border-radius: 6px;
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-light); border-radius: 2px; }
.site-nav.is-open { display: flex; }

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

/* === Hero fullscreen === */
.hero--fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.25rem 4rem;
  color: var(--color-neutral-light);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,27,75,0.55) 0%, rgba(30,27,75,0.75) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}
.hero__content h1 { color: var(--color-neutral-light); margin-bottom: 1.5rem; }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(238, 242, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: #ea6a12; color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #fff; color: var(--color-neutral-dark); }

/* === Sections === */
.section { padding: 5rem 1.25rem; }
.section--narrow { max-width: 760px; margin: 0 auto; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.lede { font-size: 1.15rem; color: #4b5075; margin-bottom: 1.5rem; }
.section--quote { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 5rem 1.25rem; }
.section--quote blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  border: 0;
  padding: 0;
}
.section--quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #fff;
}
.section--quote cite {
  font-style: normal;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .04em;
}

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; max-width: var(--max); margin: 0 auto; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(30, 27, 75, 0.04);
}
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: #45496b; font-size: .97rem; margin: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(30,27,75,0.25); color: inherit; }
.card-link h3 { color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%);
  color: var(--color-neutral-light);
  padding: 4.5rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(238,242,255,0.88); margin-bottom: 1.75rem; }
.contact-line { font-size: .95rem; }
.cta-band a { color: var(--color-neutral-light); }

/* === Article page === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 8rem 1.25rem 4rem;
}
.article__header { margin-bottom: 2rem; }
.article__header h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article__sub { font-size: 1.2rem; color: #4b5075; line-height: 1.55; }
.article__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin: 2rem 0;
}
.article h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}
.article p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-block: 1.25rem;
  color: #2a2854;
}
.article__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(30,27,75,0.1); }
.back-link { font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* === Form === */
.section--form { background: var(--color-neutral-light); padding: 5rem 1.25rem; }
.form-wrap { max-width: 640px; margin: 0 auto; background: #fff; padding: 2.5rem; border-radius: 14px; box-shadow: 0 10px 30px -18px rgba(30,27,75,0.3); }
.contact-form .field { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(30,27,75,0.18);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-neutral-dark);
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  color: #45496b;
  margin: 1rem 0 1.5rem;
  line-height: 1.45;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Thank you === */
.section--thankyou { padding-top: 9rem; text-align: center; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(238,242,255,0.85);
  padding: 4rem 1.25rem 2rem;
}
.site-footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(238,242,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-tagline { font-size: .95rem; margin-top: 1rem; color: rgba(238,242,255,0.7); }
.legal-links { margin-top: 1rem; font-size: .88rem; }
.copyright {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238,242,255,0.15);
  font-size: .85rem;
  color: rgba(238,242,255,0.6);
}

/* === 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: 12px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.35);
  max-width: 720px;
  margin: 0 auto;
  font-size: .92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(238,242,255,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: inherit;
  font-size: .88rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(238,242,255,0.25);
  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; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a12; border-color: #ea6a12; }
.cookie-banner button:hover { border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(238,242,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-neutral-light); color: var(--color-neutral-dark); border-color: var(--color-neutral-light); }
