:root {
  color-scheme: light;
  --ink: #102627;
  --muted: #435654;
  --paper: #f8f8ef;
  --panel: #e4eee6;
  --line: #bdcec3;
  --accent: #095e51;
  --lime: #d1f18a;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #926100; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
.wrap { width: min(100% - 40px, 1152px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: 8px; transform: translateY(-200%); padding: 8px; background: white; z-index: 2; }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 67px; }
.wordmark { color: var(--ink); font-weight: 760; text-decoration: none; letter-spacing: -.045em; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 3vw, 29px); font-size: .88rem; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-contact { font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(235px, 1fr); align-items: center; gap: clamp(28px, 6vw, 90px); padding-block: clamp(40px, 6vw, 76px); }
.tag { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tag span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(2.7rem, 5.5vw, 5.25rem); margin-block: 14px 25px; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 2.05vw, 1.33rem); color: var(--muted); max-width: 48ch; line-height: 1.5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 9px 17px; border: 1px solid var(--accent); background: var(--accent); color: white; text-decoration: none; font-weight: 700; }
.button:hover { filter: brightness(1.13); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
figure { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
figure img { display: block; width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: center 30%; }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 15px; padding: 12px 14px; font-size: .82rem; color: var(--muted); }
figcaption strong { color: var(--ink); }

.topic-section { padding-block: clamp(35px, 6vw, 76px); background: var(--panel); border-block: 1px solid var(--line); }
h2 { font-size: clamp(2rem, 4.5vw, 3.7rem); margin-bottom: 20px; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(18px, 2vw, 27px); border-radius: 4px; display: flex; flex-direction: column; gap: 12px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.topic p:not(.tag), .evidence p { color: var(--muted); }
.topic a { margin-top: auto; padding-top: 8px; font-weight: 650; }
.topic a, .evidence a { display: inline-flex; align-items: center; gap: 5px; }
.evidence { padding-block: clamp(40px, 7vw, 86px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(18px, 6vw, 80px); }
.evidence a { font-weight: 650; margin: 9px 16px 0 0; }
.case { padding: clamp(20px, 3vw, 34px); background: #eaf2ce; border: 1px solid #c3d0a7; border-radius: 4px; }
.case p { margin-top: 12px; }
.contact { background: var(--ink); color: white; }
.contact-inner { padding-block: clamp(28px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact h2 { margin-bottom: 10px; }
.contact p { color: #e2eee7; }
.contact .button { background: var(--lime); color: var(--ink); border-color: var(--lime); }
footer { padding-block: 19px; font-size: .88rem; }

@media (max-width: 780px) {
  .topics { grid-template-columns: 1fr; }
  .evidence { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 56px; }
  .wordmark { font-size: 1.05rem; }
  .nav-links { font-size: .8rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 28px; }
  h1 { margin-block: 9px 15px; }
  .actions { margin-top: 16px; gap: 6px 16px; }
  figure img { aspect-ratio: 1.6; object-position: center 15%; }
}
@media print {
  .header, .actions, .contact .button, footer { display: none; }
  body, .topic-section, .contact { color: black; background: white; }
  .contact p { color: black; }
  .hero, .topic-section, .evidence, .contact-inner { padding-block: 14px; }
  .topic, figure, .case { break-inside: avoid; }
}
