:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --ink: #15212b;
  --muted: #66727c;
  --line: #d9cdbb;
  --navy: #172a3f;
  --green: #2f6b53;
  --green-dark: #1f4939;
  --amber: #c88732;
  --cream: #fffaf0;
  --white: #ffffff;
  --danger: #8b3a31;
  --shadow: 0 18px 45px rgba(21, 33, 43, .12);
  font-family: "IBM Plex Sans", "Aptos", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-width: 320px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p, li, h1, h2, h3 { overflow-wrap: break-word; }

.topline {
  background: var(--navy);
  color: var(--cream);
  font-size: .82rem;
  line-height: 1.45;
  padding: 9px 18px;
  text-align: center;
  overflow-wrap: anywhere;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: linear-gradient(135deg, var(--green), var(--navy));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand span {
  display: block;
  font-size: .76rem;
  color: var(--muted);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .88rem;
}

.nav-links a:hover {
  background: var(--cream);
  color: var(--ink);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(38px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.language-option {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.language-option.active {
  background: var(--navy);
  color: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px) clamp(26px, 5vw, 56px);
  align-items: center;
}

.kicker {
  color: var(--green);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}

h1, h2, h3, p { margin: 0; }

h1 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: .96;
  letter-spacing: 0;
  max-width: 10.5ch;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy > p {
  margin-top: 20px;
  color: #47535e;
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--ink);
}

.button.primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green-dark);
}

.button.secondary {
  background: var(--cream);
  color: var(--ink);
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 33, 43, .12);
  aspect-ratio: 16 / 10;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band {
  padding: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 72px);
}

.band.navy {
  background: var(--navy);
  color: var(--cream);
}

.band.white {
  background: var(--cream);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 58ch;
}

.navy .section-head p { color: #cad4d8; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 18px;
  min-height: 190px;
}

.navy .card {
  background: rgba(255, 250, 240, .08);
  border-color: rgba(255, 250, 240, .18);
}

.card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card p, .card li {
  color: var(--muted);
  line-height: 1.6;
  font-size: .95rem;
}

.navy .card p, .navy .card li { color: #d6dedf; }

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.article {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px) clamp(18px, 5vw, 72px);
}

.article h1 {
  max-width: 13ch;
  margin-bottom: 20px;
}

.article .lede {
  color: #47535e;
  font-size: 1.12rem;
  line-height: 1.72;
  margin-bottom: 18px;
}

.decision-box {
  border: 1px solid #ccb99a;
  background: var(--cream);
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(21, 33, 43, .06);
}

.decision-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.article-section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 26px;
}

.article-section h2 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.62rem;
  line-height: 1.14;
  margin-bottom: 10px;
}

.article-section p, .article-section li {
  color: #47535e;
  line-height: 1.72;
}

.article-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.sources {
  background: #efe5d4;
  border-top: 1px solid var(--line);
  padding: 18px clamp(18px, 5vw, 72px);
  color: #47535e;
  font-size: .9rem;
  line-height: 1.6;
}

.sources a { color: var(--navy); font-weight: 700; }

.footer {
  background: #111d29;
  color: #d7dee1;
  padding: 26px clamp(18px, 5vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer p {
  color: #aeb9bf;
  line-height: 1.6;
  max-width: 72ch;
}

.footer a {
  color: #f6f1e8;
  text-decoration: none;
  margin-left: 14px;
}

.form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  max-width: 520px;
  margin-top: 18px;
}

.form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form button {
  min-height: 44px;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.notice {
  font-size: .86rem;
  color: var(--muted);
  margin-top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer a {
    display: inline-block;
    margin: 10px 14px 0 0;
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    gap: 6px;
  }

  .nav-links a {
    text-align: center;
    padding: 8px 6px;
    font-size: .82rem;
  }

  .language-switch {
    width: 100%;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-copy,
  .hero-copy > p {
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
