:root {
  --bg: oklch(17% 0.004 75);
  --surface: oklch(22% 0.005 75);
  --surface-2: oklch(27% 0.006 75);
  --border: oklch(38% 0.008 75);
  --border-light: oklch(44% 0.009 75);
  --accent: oklch(58% 0.13 60);
  --accent-h: oklch(63% 0.13 60);
  --accent-text: oklch(68% 0.13 60);
  --text: oklch(88% 0.004 75);
  --text-muted: oklch(60% 0.006 75);
  --r: 12px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: oklch(97% 0.004 85);
    --surface: oklch(100% 0 0);
    --surface-2: oklch(96% 0.004 85);
    --border: oklch(88% 0.007 85);
    --border-light: oklch(84% 0.008 85);
    --accent: oklch(53% 0.13 60);
    --accent-h: oklch(48% 0.13 60);
    --accent-text: oklch(44% 0.11 60);
    --text: oklch(20% 0.006 85);
    --text-muted: oklch(45% 0.007 85);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}
a { color: var(--accent-text); }
.wrap { width: min(720px, calc(100% - 40px)); margin: 0 auto; }
header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0 8px;
}
.brand { font-weight: 650; letter-spacing: 0; text-decoration: none; color: var(--text); }
.brand em { color: var(--accent-text); font-style: normal; }
nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
nav a { color: var(--text-muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
.langs button {
  appearance: none; border: 0; background: none; color: var(--text-muted);
  font: inherit; font-size: 13px; cursor: pointer; padding: 0;
}
.langs button[aria-pressed="true"] { color: var(--text); font-weight: 650; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 740; line-height: 1.15; margin: 36px 0 12px; }
h2 { font-size: 1.15rem; font-weight: 650; line-height: 1.3; margin: 40px 0 12px; }
h3 { font-size: 1rem; font-weight: 650; line-height: 1.35; margin: 22px 0 6px; }
.shots { display: grid; gap: 12px; margin: 16px 0 0; }
p, li { color: var(--text); }
.lede { color: var(--text-muted); margin: 0 0 24px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 8px;
  padding: 9px 14px; font-size: 14px; font-weight: 650;
  border: 1px solid var(--border-light);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.shot {
  width: 100%; height: auto; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--surface);
}
ul { padding-left: 1.2em; }
.meta { font-size: 13px; color: var(--text-muted); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 18px; margin: 12px 0;
}
.card p:first-child, .card h2:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
code {
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
footer {
  margin: 56px 0 32px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
[hidden] { display: none !important; }
