@charset "UTF-8";
:root {
  color-scheme: light dark;
  --bg: #f4ece0;
  --panel: #fbf6ec;
  --text: #2f2924;
  --muted: #6f6459;
  --line: #d9cebf;
  --accent: #c88454;
  --ink: #fffaf3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #231f1c;
    --panel: #2d2824;
    --text: #f4ede4;
    --muted: #bfb3a4;
    --line: #514840;
    --accent: #d89b6e;
    --ink: #1f1a17;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4ece0;
  --panel: #fbf6ec;
  --text: #2f2924;
  --muted: #6f6459;
  --line: #d9cebf;
  --accent: #c88454;
  --ink: #fffaf3;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #231f1c;
  --panel: #2d2824;
  --text: #f4ede4;
  --muted: #bfb3a4;
  --line: #514840;
  --accent: #d89b6e;
  --ink: #1f1a17;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; top: -80px; left: 16px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); }
.skip:focus { top: 12px; }
header, main, footer { max-width: 820px; margin: auto; padding: 24px 24px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; font-weight: 600; }
select { font: inherit; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 6px 10px; min-height: 40px; }
main { padding-top: 36px; padding-bottom: 52px; min-height: 66vh; }
h1 { font-size: clamp(28px, 4.8vw, 38px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.02em; }
h2 { font-size: 20px; line-height: 1.45; margin: 30px 0 8px; }
p { margin: 10px 0; overflow-wrap: anywhere; }
ul { padding-left: 20px; margin: 10px 0; }
li { margin: 6px 0; }
.lead { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.card { padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; margin: 22px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; background: var(--accent); color: var(--ink); border-radius: 12px; font-weight: 650; text-decoration: none; margin-right: 10px; margin-top: 8px; }
.btn.secondary { background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.btn:hover { filter: brightness(0.96); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 560px) {
  header { align-items: flex-start; flex-direction: column; gap: 10px; }
  header, main, footer { padding-left: 20px; padding-right: 20px; }
}
