:root {
  --ink: #1a1410;
  --ink-soft: #5c564f;
  --paper: #faf8f5;
  --line: rgba(26, 20, 16, 0.1);
  --accent: #e8005a;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

header.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 25px;
  width: auto;
  display: block;
}

.lang-switch a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 0.75rem;
}
.lang-switch a.active { color: var(--accent); }

h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2.75rem 0 0.9rem;
}

h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
}

p, li { color: var(--ink-soft); font-size: 0.98rem; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul { padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}
th, td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
th {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

footer.bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .wrap { padding: 2.5rem 1.25rem 4rem; }
  h1 { font-size: 1.8rem; }
}
