:root {
  color-scheme: light;
  --background: #edf7f4;
  --surface: #ffffff;
  --text: #18302d;
  --muted: #5f7471;
  --primary: #0f766e;
  --border: #cfe3de;
  --focus: #005fcc;
}

* { box-sizing: border-box; }

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

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

header, section, footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 16px;
}

h1, h2 { line-height: 1.35; }
h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 5vw, 2.5rem); }
h2 { margin-top: 0; font-size: 1.25rem; }
p:last-child, ul:last-child { margin-bottom: 0; }
a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.lede { color: var(--muted); margin: 0; }
.language { text-align: right; margin-bottom: 12px; }
.contact {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.meta { color: var(--muted); font-size: .92rem; }
dt { font-weight: 700; margin-top: 16px; }
dd { margin: 4px 0 0; }

.table-scroll { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .92rem; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--background); color: var(--text); font-weight: 700; white-space: nowrap; }
td { color: var(--text); }

@media (max-width: 520px) {
  main { width: min(100% - 20px, 760px); padding: 20px 0 40px; }
  header, section, footer { padding: 20px; border-radius: 14px; }
  table { min-width: 560px; font-size: .85rem; }
  th, td { padding: 6px 8px; }
}
