:root {
  color-scheme: light dark;
  --bg: #FFFFFF; --surface: #F6F6F8; --border: rgba(18,18,30,.09);
  --text: #16161D; --text-2: #5D5D6B; --text-3: #92929E; --accent: #6B4EF5;
  --btn-bg: #16161D; --btn-ink: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0C0F; --surface: #17171B; --border: rgba(255,255,255,.08);
    --text: #EDEDF0; --text-2: #A2A2AD; --text-3: #6C6C78; --accent: #A797FF;
    --btn-bg: #EDEDF0; --btn-ink: #0C0C0F;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0C0F; --surface: #17171B; --border: rgba(255,255,255,.08);
  --text: #EDEDF0; --text-2: #A2A2AD; --text-3: #6C6C78; --accent: #A797FF;
  --btn-bg: #EDEDF0; --btn-ink: #0C0C0F;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.site-head {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 max(20px, calc((100% - 760px) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: inherit; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.site-head nav { display: flex; gap: 20px; font-size: 14px; }
.site-head nav a { color: var(--text-2); text-decoration: none; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--text); }
main { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 96px; }
h1 { margin: 0 0 10px; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(40px, 7vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.lede, .updated { color: var(--text-2); margin: 0 0 28px; }
.updated { font-size: 14px; color: var(--text-3); }
h2 { margin: 40px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
p, li { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--accent); text-underline-offset: 3px; }
article { border: 0; padding: 0; }
.contact {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 8px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  background: var(--btn-bg); color: var(--btn-ink); font-weight: 500; text-decoration: none;
}
.contact:hover { opacity: .9; }
footer { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 40px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
@media (max-width: 560px) { .site-head nav { gap: 14px; } main { padding-top: 36px; } }
