:root {
  color-scheme: light;
  --ink: #19212a;
  --muted: #5c6874;
  --line: #dfe5e9;
  --paper: #fbfcfb;
  --soft: #eef5f3;
  --soft-blue: #edf4fa;
  --teal: #1a7b73;
  --blue: #315f8f;
  --amber: #a46b21;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(25, 33, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 74px 0 52px;
  background:
    linear-gradient(120deg, rgba(238, 245, 243, 0.95), rgba(237, 244, 250, 0.78)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  align-items: end;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  font-weight: 730;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 5.1rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.toc {
  display: grid;
  gap: 10px;
}

.toc a,
.map-grid a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.toc a:hover,
.map-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 123, 115, 0.35);
  background: var(--white);
}

.band {
  padding: 68px 0;
}

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

.intro-band p {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.map-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 700;
}

.topic {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.topic.alt {
  background: var(--soft-blue);
}

.topic-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.topic-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
}

.topic-grid.reverse .topic-media {
  order: 2;
}

.topic-media {
  margin: 0;
  position: sticky;
  top: 24px;
}

.topic-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(25, 33, 42, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

article p {
  margin: 20px 0 0;
  color: #33404b;
  font-size: 1rem;
}

.note {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0 8px 8px 0;
  color: #33404b;
}

.alt .note {
  background: rgba(255, 255, 255, 0.86);
}

.clean-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  color: #36444f;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.back-link {
  margin-top: 26px;
  font-size: 0.95rem;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #f3f6f5;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    padding: 52px 0 38px;
  }

  .header-grid,
  .topic-grid,
  .topic-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .topic-grid.reverse .topic-media {
    order: 0;
  }

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

  .topic {
    padding: 62px 0;
  }

  .topic-media {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(362px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .lead {
    font-size: 1rem;
  }

  .footer-grid {
    display: grid;
  }
}
