:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.14);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}
.sub {
  color: var(--color-muted);
  font-size: 1.15rem;
  max-width: 60ch;
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: 4rem; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-foot { margin-top: 2rem; text-align: center; }

/* === Header === */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  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: none;
  border: 0;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.5rem;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    gap: 2rem;
    border-bottom: 0;
  }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.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: #fff; }
.btn-accent:hover { background: #a67304; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }

/* === Hero (split) === */
.hero { padding-block: 3rem; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-text h1 { max-width: 18ch; }
.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Card === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card .icon { color: var(--color-accent); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(30, 58, 138, 0.35);
  text-decoration: none;
}
.card-link h3 { color: var(--color-primary); }

/* === Feature (image + text) === */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

/* === Blockquote === */
.pull-quote {
  margin: 0;
  text-align: center;
  padding: 1rem;
}
.pull-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.pull-quote cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA Band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 3.5rem;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band .cta-details { font-size: 0.9rem; margin-top: 0.75rem; }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-inner > div { flex: 1; }
}

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1.25rem 4rem;
}
.article-detail header { margin-bottom: 2rem; }
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-detail .lede {
  font-size: 1.25rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-block: 2rem;
  border-radius: 8px;
}
.article-detail p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-block: 1.25rem;
  color: var(--color-text);
}
.article-detail h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}
.article-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.back-link { font-weight: 500; }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.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.25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #cbd5e1;
  padding-top: 3.5rem;
  margin-top: 4rem;
}
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }
.site-footer .tagline { color: #94a3b8; font-size: 0.95rem; margin-top: 0.5rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-block: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 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: 12px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #a67304; border-color: #a67304; }
.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;
  margin-top: 0.4rem;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  border-color: var(--color-neutral-light);
}

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