:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --text: #141413;
  --text-2: #6c6a62;
  --border: rgba(20, 20, 19, 0.12);
  --accent: #d05c35;
  --accent-text: #b44d2a;
  --serif: "Iowan Old Style", Georgia, serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141413;
    --surface: #1b1a18;
    --text: #f4f3ee;
    --text-2: #a5a39a;
    --border: rgba(244, 243, 238, 0.11);
    --accent: #e3724d;
    --accent-text: #e3724d;
  }
}
:root[data-theme="dark"] {
  --bg: #141413;
  --surface: #1b1a18;
  --text: #f4f3ee;
  --text-2: #a5a39a;
  --border: rgba(244, 243, 238, 0.11);
  --accent: #e3724d;
  --accent-text: #e3724d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.page { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }

header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand span { font-family: var(--serif); font-size: 21px; font-weight: 600; }

.langs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.langs button {
  border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--accent); color: #fff; }

h1 { font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 600; margin: 0 0 6px; }
.updated { color: var(--text-2); font-size: 15px; margin: 0 0 24px; }
.lead { font-size: 19px; margin: 0 0 24px; }
h1 + .lead { margin-top: 14px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px 20px; margin: 0 0 14px;
}
.card h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.card p, .card ul { margin: 0 0 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 20px; }
a { color: var(--accent-text); }
.mail {
  display: inline-block; margin-top: 4px; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
footer { color: var(--text-2); font-size: 14px; margin-top: 32px; }
footer a { color: var(--text-2); }

.js section[data-l] { display: none; }
.js section[data-l].on { display: block; }
.who { color: var(--text-2); font-size: 14px; margin-top: 14px !important; }
