:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --paper: #fffdf8;
  --ink: #1b1c1d;
  --muted: #666b72;
  --line: #d9d5ca;
  --accent: #0e6f73;
  --accent-strong: #094d50;
  --warm: #b85c38;
  --code: #f0eee7;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

body {
  margin: 0;
}

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

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.92rem;
}

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

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--accent-strong);
}

.hero,
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
}

.eyebrow {
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  max-width: 10ch;
}

.lead {
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2.2vw, 1.4rem);
  color: #303336;
  max-width: 780px;
}

.summary {
  margin-top: 28px;
  color: var(--muted);
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  background: var(--accent);
  color: white;
}

.button:hover {
  background: var(--accent-strong);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.button.secondary:hover {
  background: #e7f1ef;
}

.visual {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
}

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

.band {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px;
}

.section h2,
.page h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card p,
.card li,
.page li {
  color: var(--muted);
}

.page {
  max-width: 920px;
}

.page h1 {
  max-width: 13ch;
}

.page h2 {
  margin-top: 44px;
}

.page h3 {
  margin-top: 28px;
}

.page p,
.page li {
  font-size: 1.02rem;
}

.meta {
  color: var(--muted);
  margin-top: 12px;
}

.fact-list {
  padding-left: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
}

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

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #eeeae1;
}

code {
  background: var(--code);
  border-radius: 4px;
  padding: 0.12em 0.28em;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

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

