/* Restrained editorial system: warm white, deep ink, one muted green accent. */
:root {
  color-scheme: light;
  --page: #f6f6f2;
  --surface: #ffffff;
  --ink: #1b211d;
  --body: #505952;
  --muted: #667068;
  --line: #dfe3dd;
  --accent: #3f6a50;
  --accent-dark: #2d4d3a;
  --accent-soft: #eaf0e9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection { color: var(--ink); background: #dbe6d9; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 16px;
  padding: 10px 14px;
  background: var(--accent-dark);
  color: #fff;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(246 246 242 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #b7c5b8;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-dark);
  font: 600 10px/1 var(--serif);
  letter-spacing: -.04em;
}
.brand-name { font-size: 13px; font-weight: 650; letter-spacing: -.015em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.site-nav a {
  position: relative;
  padding: 28px 0 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  letter-spacing: .025em;
  transition: color .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
}

h1, h2, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-divider { padding-inline: 5px; color: var(--muted); }
.lead { max-width: 580px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.8; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr);
  align-items: end;
  gap: clamp(42px, 8vw, 100px);
  padding: clamp(88px, 11vw, 142px) 0 84px;
  border-bottom: 1px solid var(--line);
}
.hero-copy h1, .page-heading h1 {
  margin: 0 0 21px;
  font: 400 clamp(3.35rem, 8.3vw, 7rem)/.98 var(--serif);
  letter-spacing: -.065em;
}
.hero-copy h1 { max-width: 900px; }
.hero-subtitle { margin: 0 0 10px; color: var(--accent-dark); font-size: 15px; font-weight: 650; }
.hero-copy .lead { max-width: 490px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 28px; }
.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 17px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 650;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary { background: var(--accent-dark); color: #fff; }
.button-primary:hover { background: #203b2b; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: 12px; font-weight: 650; }
.text-link:hover { color: var(--accent); }
.hero-note {
  padding: 25px 0 2px 27px;
  border-left: 1px solid #c7d0c6;
}
.hero-note .eyebrow { margin-bottom: 15px; }
.hero-note h2 { margin: 0 0 12px; font: 500 22px/1.25 var(--serif); letter-spacing: -.035em; }
.hero-note p:not(.eyebrow) { margin-bottom: 14px; color: var(--body); font-size: 13px; line-height: 1.75; }

.section { padding: 73px 0 96px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2 { margin: 0; font-size: 22px; font-weight: 570; letter-spacing: -.04em; line-height: 1.25; }
.section-count { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.section-count span { padding-inline: 4px; color: var(--muted); }
.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link-card {
  min-height: 102px;
  display: grid;
  grid-template-columns: 35px 1fr 20px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .18s ease, background .18s ease;
}
.link-card:hover { border-color: #9eaf9e; background: #fcfdfb; }
.link-number { align-self: start; padding-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.link-copy { display: grid; gap: 2px; }
.link-copy strong { font-size: 14px; font-weight: 620; letter-spacing: -.015em; }
.link-copy > span { color: var(--muted); font-size: 12px; }
.link-arrow { color: var(--accent); font-size: 15px; text-align: right; }

.page-heading {
  padding: 90px 0 50px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 { max-width: 900px; margin-bottom: 16px; font-size: clamp(3rem, 6.5vw, 5.2rem); line-height: 1.02; }
.page-heading .lead { max-width: 610px; }
.content-section { padding-top: 55px; }
.feature-card {
  display: grid;
  grid-template-columns: minmax(140px, .45fr) minmax(0, 1.55fr);
  gap: 30px;
  padding: 29px 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .18s ease;
}
.feature-card:hover { border-color: #9eaf9e; }
.feature-meta { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.feature-meta span { padding-inline: 4px; color: var(--muted); }
.feature-content { display: grid; justify-items: start; gap: 9px; }
.feature-content strong { font: 500 23px/1.25 var(--serif); letter-spacing: -.035em; }
.feature-content > span:not(.text-link) { max-width: 600px; color: var(--body); font-size: 13px; }
.feature-content .text-link { margin-top: 5px; }
.section-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.empty-state, .publication-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.empty-state .eyebrow { margin-bottom: 8px; }
.empty-state > p:not(.eyebrow), .publication-card > p { max-width: 690px; margin-bottom: 18px; color: var(--body); font-size: 14px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 24px; }
.error-heading { min-height: 490px; padding-top: 125px; border-bottom: 0; }
.error-heading .button { margin-top: 24px; }

.browser { padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; }
.filters label { flex: 1 1 190px; color: var(--body); font-size: 11px; font-weight: 600; }
.filters label:first-child { flex: 2 1 280px; }
input, select {
  width: 100%;
  min-height: 43px;
  display: block;
  margin-top: 7px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--page);
  color: var(--ink);
  font: 13px var(--sans);
}
input::placeholder { color: var(--muted); }
.count { margin: 18px 0 8px; color: var(--muted); font-size: 11px; }
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 9px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.download h2 { margin: 0 0 3px; font-size: 14px; font-weight: 620; letter-spacing: -.015em; }
.download p { margin: 0 0 4px; color: var(--body); font-size: 12px; }
.download .meta { color: var(--muted); font-size: 10px; }
.download a { flex: 0 0 auto; color: var(--accent-dark); font-size: 12px; font-weight: 650; }
.empty { padding: 26px 0; color: var(--muted); font-size: 13px; }
.small-note { margin-top: 16px; color: var(--muted); font-size: 11px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.footer-inner a { color: var(--body); }
.footer-inner a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 44px, 620px); }
  .header-inner { min-height: unset; align-items: flex-start; flex-direction: column; gap: 10px; padding: 15px 0 0; }
  .site-nav { width: 100%; gap: clamp(16px, 5vw, 28px); overflow-x: auto; }
  .site-nav a { padding: 10px 0 12px; white-space: nowrap; }
  .site-nav a[aria-current="page"]::after { bottom: 5px; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 78px 0 58px; }
  .hero-copy h1 { font-size: clamp(3.25rem, 11vw, 5.25rem); }
  .hero-note { max-width: 500px; }
  .page-heading { padding: 70px 0 38px; }
  .section { padding: 55px 0 70px; }
  .content-section { padding-top: 42px; }
  .error-heading { min-height: 400px; padding-top: 100px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 36px); }
  .brand-name { font-size: 12px; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 11px; }
  .hero { padding-top: 66px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 13vw, 4.4rem); }
  .lead { font-size: 14px; }
  .hero-actions { gap: 18px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 19px; }
  .link-grid { grid-template-columns: 1fr; gap: 9px; }
  .link-card { min-height: 82px; grid-template-columns: 24px 1fr 18px; gap: 12px; padding: 14px; }
  .page-heading { padding-top: 61px; }
  .page-heading h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .feature-card { grid-template-columns: 1fr; gap: 15px; padding: 22px; }
  .feature-content strong { font-size: 21px; }
  .empty-state, .publication-card { padding: 22px; }
  .browser { padding: 16px; }
  .download { align-items: start; flex-direction: column; gap: 8px; }
  .footer-inner { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
