:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --text: #20242a;
  --muted: #637080;
  --line: #d8ded8;
  --accent: #0f766e;
  --accent-strong: #0a524c;
  --table-head: #eef4f2;
}

* { box-sizing: border-box; }

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

body { margin: 0; }

.page {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 56px 0 76px;
}

.article {
  font-size: 18px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin: 0 0 30px;
  font-size: clamp(30px, 5.5vw, 48px);
}

h2 {
  margin: 44px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 3.6vw, 30px);
}

h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

h4 {
  margin: 22px 0 8px;
  font-size: 18px;
}

p { margin: 0 0 18px; }

ul, ol {
  margin: 0 0 22px;
  padding-left: 1.35em;
}

li { margin: 0 0 10px; }

strong { font-weight: 800; }

blockquote {
  margin: 0 0 22px;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #eef2ef;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

pre {
  overflow-x: auto;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #eef2ef;
  border-radius: 10px;
  font-size: 0.9em;
}

pre code {
  background: transparent;
  padding: 0;
}

a {
  color: var(--accent);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

thead th {
  background: var(--table-head);
  text-align: left;
  font-weight: 800;
}

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

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 8px 0 18px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.site-link {
  margin-top: 38px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 880px);
    padding: 36px 0 52px;
  }

  .article {
    font-size: 16px;
    line-height: 1.68;
  }

  h3 { font-size: 20px; }

  table { font-size: 13px; }
  th, td { padding: 8px 10px; }
}
