:root {
  --bg: #141519;
  --text: #ececef;
  --muted: #a3a5b0;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #cbbcff;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { max-width: 68ch; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 22px max(64px, env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
header a.home { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 20px; }
header img { width: 26px; height: 26px; }
header .spacer { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang button { min-width: 44px; height: 34px; border: 0; background: transparent; color: var(--muted); font: 600 12px var(--sans); letter-spacing: 0.04em; cursor: pointer; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.08); color: var(--text); }
h1 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; }
.updated { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
h2 { margin: 36px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 23px; }
p, li { color: #d6d7dd; }
ul { padding-left: 20px; }
li { margin: 4px 0; }
a { color: var(--accent); }
strong { color: var(--text); font-weight: 600; }
section[lang] { display: none; }
html[data-lang="it"] section[lang="it"], html[data-lang="en"] section[lang="en"] { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
