:root {
  color-scheme: light;
  --bg: #f3f4f7;
  --ink: #111214;
  --muted: rgba(17, 18, 20, 0.62);
  --line: rgba(17, 18, 20, 0.1);
  --accent: #0a60ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
:focus-visible { outline: 3px solid rgba(10, 96, 255, 0.45); outline-offset: 3px; }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  width: min(720px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 0 0 0.5px rgba(17, 18, 20, 0.1), 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 24px rgba(30, 40, 70, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.lang { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(17, 18, 20, 0.07); }
.lang button {
  min-width: 36px; padding: 5px 10px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 12px/1 var(--font); letter-spacing: 0.02em;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(17, 18, 20, 0.12); }

main { width: min(720px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0 96px; }
h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 52px); font-weight: 700; letter-spacing: -0.035em;
}
.lede { margin: 0 0 40px; color: var(--muted); font-size: 19px; line-height: 1.5; }
h2 { margin: 40px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p, li { font-size: 17px; line-height: 1.55; }
ul { padding-left: 1.2em; }
.updated { margin-top: 48px; color: var(--muted); font-size: 14px; }

footer {
  display: flex; justify-content: center; gap: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
footer a { color: var(--muted); font-weight: 500; text-decoration: none; }
footer a:hover { color: var(--ink); }

[data-lang-block][hidden] { display: none; }
