:root {
  --background: #ffffff;
  --surface: #f7f7f4;
  --text: #1f2423;
  --muted: #5c6663;
  --line: #d9dedb;
  --accent: #0b6f66;
  --accent-dark: #074d48;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.site-title {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.intro {
  padding-top: 8px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

p {
  max-width: 780px;
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

.summary {
  max-width: 780px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.facts div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div:nth-child(2n) {
  border-right: 0;
}

.facts div:last-child {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

.facts dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.facts dd {
  margin: 0;
}

.visual-demo {
  width: min(100%, 780px);
  margin: 28px 0 0;
}

.visual-demo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
}

.visual-demo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.columns {
  columns: 2;
  column-gap: 48px;
  max-width: 880px;
  margin: 0;
  padding-left: 1.2rem;
}

section > ul:not(.columns):not(.people) {
  max-width: 820px;
  margin: 0;
  padding-left: 1.2rem;
}

.columns li,
.people li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.note {
  color: var(--muted);
}

table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 58%;
  padding-right: 20px;
  font-weight: 600;
}

td {
  color: var(--muted);
}

.people {
  max-width: 820px;
  margin: 0;
  padding-left: 1.2rem;
}

.site-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .page {
    padding-top: 32px;
  }

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

  .facts div,
  .facts div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .columns {
    columns: 1;
  }

  th,
  td {
    display: block;
    width: 100%;
    padding-right: 0;
  }

  th {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  td {
    padding-top: 0;
  }
}
