:root {
  color-scheme: light;
  --ink: #112b2a;
  --teal: #006252;
  --muted: #425956;
  --line: #d7e2de;
  --surface: #f3f7f5;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: white;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #b24500; outline-offset: 3px; }
.wrap { width: min(1200px, calc(100% - 2 * clamp(1rem, 4vw, 3rem))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 2; padding: .5rem 1rem; background: white; }
.skip:focus { top: .5rem; }

.notice { background: #d6fa65; color: #152608; }
.notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding-block: 1rem;
}
.notice strong { font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.25; letter-spacing: -.025em; }
.notice a {
  display: inline-block;
  padding: .65rem .9rem;
  border-radius: .65rem;
  background: #152608;
  color: white;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.notice a:hover { background: #314620; }

header { border-bottom: 1px solid var(--line); }
.bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; padding-block: .85rem; }
.brand { color: var(--ink); text-decoration: none; font-size: 1.6rem; font-weight: 800; letter-spacing: -.07em; }
.brand span { color: var(--teal); }
.mobile-menu { display: none; }
header nav { display: flex; flex-wrap: wrap; gap: .2rem; }
header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .8rem;
  border-radius: .65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 560;
}
header nav a:hover, header nav [aria-current] { background: #e7f3ed; color: #005346; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  margin-top: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1rem, 3vw, 2.75rem);
  border-radius: clamp(1rem, 3vw, 2rem);
  background: var(--surface);
}
h1, h2 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 4.75rem); letter-spacing: -.065em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.4rem, 2.7vw, 2rem); letter-spacing: -.04em; }
.lead { max-width: 42ch; margin: 1rem 0; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.2rem); }
.lead:last-child { margin-bottom: 0; }
figure { min-width: 0; margin: 0; }
img { display: block; width: 100%; height: auto; border-radius: clamp(.75rem, 2vw, 1.4rem); background: #0a484a; }
.button {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: .65rem;
  background: var(--teal);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #004b40; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 7vw, 6rem);
  padding: clamp(1.6rem, 5vw, 4rem) clamp(0rem, 1.5vw, 1.25rem);
}
.copy p { max-width: 68ch; margin: .7rem 0 1.65rem; }
.copy .sources { margin-bottom: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.related { padding: 1.15rem; border: 1px solid var(--line); border-radius: 1rem; }
.related h2 { margin-bottom: .6rem; font-size: 1.2rem; }
.related a {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.related a:last-child { border-bottom: 0; }
footer { background: var(--ink); color: #e2efeb; }
footer a { color: white; font-weight: 700; }
footer p { margin: 0; font-size: .9rem; }

@media (max-width: 48rem) {
  .notice-inner { flex-wrap: wrap; }
  header .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; position: relative; }
  header .desktop-menu { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .4rem .75rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    list-style: none;
    cursor: pointer;
    font-weight: 650;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary:focus-visible { outline: 3px solid #b24500; outline-offset: 3px; }
  .menu-icon { display: inline-block; width: 1rem; height: 2px; background: currentColor; box-shadow: 0 -5px, 0 5px; }
  .mobile-menu nav {
    position: absolute;
    z-index: 1;
    top: 100%;
    inset-inline: 0;
    display: grid;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: white;
    box-shadow: 0 12px 28px #112b2a26;
  }
  .hero, .layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 26rem) {
  .notice a { width: 100%; }
  .hero { gap: 1rem; }
  h1 { font-size: 2.1rem; }
}