:root {
  --bg: #f2efe7;
  --paper: #fffdf8;
  --line: #d6d0c2;
  --text: #1f2a23;
  --muted: #5e685f;
  --accent: #1f6d52;
  --accent-strong: #0e4d39;
  --soft: #dfeae3;
  --radius: 18px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.6;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(138, 169, 154, 0.23), transparent 34rem),
    var(--bg);
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.map-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--accent-strong);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.map-link:hover,
.button:hover {
  background: var(--accent);
  color: white;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  margin: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero {
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  box-shadow: 0 22px 55px rgba(33, 34, 28, 0.09);
}

.eyebrow,
.file-type {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.lede {
  max-width: 770px;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.facts div {
  padding: 18px;
  background: #f8f6ef;
}

.facts dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 800;
}

main > section:not(.hero) {
  margin-top: 84px;
}

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

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

.download-card--primary {
  min-height: 270px;
  background: var(--paper);
}

.download-card p:not(.file-type) {
  color: var(--muted);
}

.download-card .button {
  margin-top: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.split > * {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.notice {
  background: var(--soft);
}

.split li + li,
.notice li + li {
  margin-top: 8px;
}

code {
  padding: 0.12em 0.32em;
  border-radius: 5px;
  background: rgba(31, 109, 82, 0.09);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.table-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  list-style: none;
  counter-reset: tables;
}

.table-list li {
  position: relative;
  min-height: 76px;
  padding: 17px 20px 17px 68px;
  border-bottom: 1px solid var(--line);
  counter-increment: tables;
}

.table-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.table-list li::before {
  content: counter(tables);
  position: absolute;
  top: 16px;
  left: 20px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.source {
  padding: 32px;
  border-left: 5px solid var(--accent);
  background: rgba(255, 253, 248, 0.62);
}

.source p {
  max-width: 880px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 90px;
  padding: 30px 0 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding: 30px 22px;
  }

  .facts,
  .download-grid,
  .split,
  .table-list {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .table-list li:nth-child(odd) {
    border-right: 0;
  }

  footer {
    display: block;
  }
}
