:root {
  --paper: #f2f5f4;
  --white: #ffffff;
  --ink: #10252f;
  --muted: #5d717a;
  --sea: #17707c;
  --sea-dark: #0f4f59;
  --brass: #c8943a;
  --line: #d3dcdf;
  --petrol: #0d2b35;
  --mist: #cfe0e4;
  --radius: 14px;
}

/* Shared typography baseline — pages keep their own body rules unless they opt in */
.site-header a,
.site-footer a,
.skip-link,
.cookie-banner,
.site-nav {
  font-family: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--brass);
  color: var(--petrol);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--petrol);
  color: #fff;
  border-bottom: 1px solid rgba(207, 224, 228, 0.12);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.site-logo img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 8px;
}
.site-logo span {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(207, 224, 228, 0.25);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  color: var(--mist);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-nav a.is-active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.site-lang {
  display: flex;
  gap: 2px;
  margin-left: 10px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
.site-lang a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.site-lang a.is-active { background: var(--brass); color: var(--petrol); }
.site-lang a:hover:not(.is-active) { background: rgba(255, 255, 255, 0.16); }

.site-footer {
  background: var(--petrol);
  color: var(--mist);
  margin-top: 48px;
  padding: 40px 0 120px;
  font-size: 13.5px;
  line-height: 1.6;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-disclaimer {
  border-left: 3px solid var(--brass);
  background: rgba(200, 148, 58, 0.12);
  color: #f3e3c4;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-bottom: 32px;
}
.footer-disclaimer strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 36px 40px;
}
.footer-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.site-footer h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 0;
}
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: #9cd3dc; }
.site-footer a:hover { color: #fff; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--brass); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--petrol);
  color: #fff;
  padding: 16px 140px 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 150;
  box-shadow: 0 -8px 24px rgba(13, 43, 53, 0.25);
  font-family: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  font-size: 14.5px;
}
.cookie-banner a { color: #9cd3dc; }
.cookie-banner button {
  background: var(--brass);
  color: var(--petrol);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
}

/* Content pages: undo the old “narrow body” blog layout so chrome can be full-width */
body.content-page {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--paper) !important;
  color: var(--ink);
  font-family: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.content-page .hero-dest {
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100%;
}
body.content-page .page-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}
body.content-page .page-main a,
body.content-page article a { color: var(--sea); }
body.content-page .page-main h2,
body.content-page .page-main h3,
body.content-page article h2,
body.content-page article h3 { color: var(--petrol); }
body.content-page .cta { background: var(--petrol) !important; }
body.content-page .cta a { color: #fff; }
body.content-page th { background: var(--petrol) !important; }
body.content-page .submit-btn { background: var(--sea) !important; }
body.content-page .submit-btn:hover { background: var(--sea-dark) !important; }
body.content-page .consent a { color: var(--sea) !important; }
body.content-page footer.sources { color: var(--muted); }
body.content-page footer.sources a { color: var(--sea); }

.legal-page .page-main {
  max-width: 720px;
  padding-top: 48px;
}
.legal-page h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.03em;
  color: var(--petrol);
  line-height: 1.1;
  margin: 0 0 10px;
}
.legal-page .page-lead { color: var(--muted); margin-bottom: 28px; }
.legal-page h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  margin-top: 32px;
  color: var(--petrol);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }
  .site-header-inner { position: static; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--petrol);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 20px;
    border-bottom: 1px solid rgba(207, 224, 228, 0.12);
    gap: 4px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-lang { margin: 8px 0 0; align-self: flex-start; }
  .cookie-banner { flex-direction: column; text-align: center; padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
