:root {
  --paper: #f6f2e9; --card: #fffdf8; --ink: #1a1c21; --ink2: #5c5f68; --hair: rgba(26,28,33,.1);
  --accent: #d6402b; --accent-soft: rgba(214,64,43,.1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0e1116; --card: #181c24; --ink: #f3efe7; --ink2: #a6a9b1; --hair: rgba(255,255,255,.1); --accent: #ff6a52; --accent-soft: rgba(255,106,82,.14); }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 720px; margin: 0 auto; padding: 28px 20px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.brand { font: 700 30px/1 "New York", "Iowan Old Style", Georgia, serif; letter-spacing: -.5px; color: var(--ink); text-decoration: none; position: relative; }
.brand .i { position: relative; }
.brand .i::after { content: ""; position: absolute; left: 50%; top: -.02em; width: .17em; height: .17em; margin-left: -.085em; background: var(--accent); border-radius: .035em; }
nav.langs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--hair); border-radius: 999px; padding: 4px; }
nav.langs a { font-size: 14px; font-weight: 600; color: var(--ink2); text-decoration: none; padding: 4px 10px; border-radius: 999px; }
nav.langs a.on { background: var(--ink); color: var(--paper); }
h1 { font: 700 40px/1.1 "New York", "Iowan Old Style", Georgia, serif; letter-spacing: -.5px; margin: 0 0 6px; }
h2 { font: 600 22px/1.25 "New York", "Iowan Old Style", Georgia, serif; margin: 34px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, li { color: var(--ink); }
.muted { color: var(--ink2); font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 18px 20px; margin: 18px 0; }
.mail { display: inline-block; margin-top: 6px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; padding: 12px 18px; border-radius: 999px; }
a { color: var(--accent); }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink2); display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink2); }
[data-lang] { display: none; }
[data-lang].show { display: block; }
