*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #f6f4ef;
  --card: #fffdf8;
  --ink: #1c1915;
  --muted: #5b564c;
  --line: #e4dfd4;
  --accent: #0d5c4d;
  --accent-hover: #094237;
  --link: #0b5f8a;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.brand {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
}

.langs {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  display: flex;
  gap: 0.75rem;
}

.langs a {
  color: var(--link);
  text-decoration: none;
}

.langs a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  pointer-events: none;
}

.langs a:hover { text-decoration: underline; }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  font-weight: 650;
}

.meta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 0 0 2rem;
}

.meta p {
  margin: 0.25rem 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 0.98rem;
}

.meta strong { font-weight: 650; }

h2 {
  font-size: 1.28rem;
  margin: 2rem 0 0.7rem;
  font-weight: 650;
}

p { margin: 0.7rem 0; }

a { color: var(--link); }

.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 0.95rem;
  background: var(--card);
  border: 1px solid var(--line);
}

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

th {
  background: #efeae0;
  font-weight: 650;
}

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

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

footer a { color: var(--muted); }
