@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url(/assets/cormorant-500.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(/assets/cormorant-600.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 400; font-display: swap; src: url(/assets/lora-400.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/lora-400i.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-display: swap; src: url(/assets/lora-600.woff2) format('woff2'); }

:root {
  --bg: oklch(17% 0 0);
  --surface: oklch(22% 0 0);
  --surface-2: oklch(26% 0 0);
  --text: oklch(92% 0 0);
  --muted: oklch(66% 0 0);
  --line: color-mix(in srgb, white 14%, transparent);
  --accent: #c98a2c;
  --danger: #e8a198;
  --ok: #7fbf95;
  --radius: 6px;
  --heading: 'Cormorant Garamond', Georgia, serif;
  --body: 'Lora', Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--body); }
a { color: var(--text); text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--text) 40%, transparent); }
a:hover { text-decoration-color: var(--text); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.7rem; margin-top: 1.6em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }

header.site { display: flex; align-items: center; gap: 24px; padding: 14px 28px; border-bottom: 1px solid var(--line); }
header.site .brand { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-size: 1.45rem; font-weight: 600; text-decoration: none; }
header.site .brand img { width: 28px; height: 28px; border-radius: 6px; }
header.site nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
header.site nav a { text-decoration: none; color: var(--muted); }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }
.who { display: flex; align-items: center; gap: 8px; }
.who img { width: 24px; height: 24px; border-radius: 50%; }

main { max-width: 960px; margin: 0 auto; padding: 40px 28px 64px; }
main.narrow { max-width: 640px; }
footer.site { border-top: 1px solid var(--line); padding: 20px 28px; display: flex; gap: 18px; flex-wrap: wrap; font-size: .87rem; color: var(--muted); }
footer.site a { color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer; text-decoration: none; }
.btn:hover { background: oklch(30% 0 0); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { background: oklch(84% 0 0); }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin: 0 0 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.hero img.shot { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } header.site { padding: 12px 16px; } main { padding: 28px 16px 48px; } }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 400; font-size: .87rem; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--text) 40%, transparent); outline-offset: 1px; }
.chip { display: inline-block; padding: 1px 10px; border-radius: 20px; border: 1px solid var(--line); font-size: .85rem; }
.msg { margin-top: 8px; font-size: .9rem; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--ok); }
ul.features { list-style: none; padding: 0; margin: 0; columns: 2 260px; }
ul.features li { break-inside: avoid; margin-bottom: 8px; }
ul.features b { font-weight: 600; }
pre.changelog { white-space: pre-wrap; font: inherit; margin: 0; }
