:root {
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #272c25;
  --muted: #666b63;
  --hair: #e2e4dc;
  --olive: #536b39;
  --olive-soft: #edf1e8;
  --amber-soft: #fff1cf;
  --danger: #a74331;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
a { color: var(--olive); text-underline-offset: .18em; }
.shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 52px; }
.top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; border-bottom: 1px solid var(--hair); padding-bottom: 22px; margin-bottom: 30px; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: .95; font-weight: 600; }
.brand span { display: block; font-size: 18px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 650; color: var(--olive); margin-top: 7px; }
nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
nav a { min-height: 38px; display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 7px; padding: 0 12px; background: var(--surface); text-decoration: none; font-weight: 650; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 7vw, 58px); line-height: .98; letter-spacing: 0; margin: 0 0 10px; }
h2 { font-size: 21px; margin: 34px 0 10px; }
h3 { font-size: 16px; margin: 22px 0 8px; }
p, li { line-height: 1.68; }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 18px; }
li + li { margin-top: 6px; }
.lede { color: #555b52; font-size: 18px; max-width: 760px; }
.notice { background: var(--amber-soft); border: 1px solid #ecd18d; border-radius: 8px; padding: 14px 16px; margin: 22px 0; }
.panel { background: var(--surface); border: 1px solid var(--hair); border-radius: 8px; padding: 20px; margin: 24px 0; }
.meta { color: var(--muted); font-size: 14px; }
.version { display: inline-flex; align-items: center; min-height: 30px; border-radius: 999px; padding: 0 11px; background: var(--olive-soft); color: var(--olive); font-weight: 720; font-size: 13px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--hair); border-radius: 8px; padding: 16px; }
.card strong { display: block; margin-bottom: 6px; }
footer { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; }

@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 920px); padding-top: 22px; }
  .top { display: grid; }
  nav { justify-content: flex-start; }
  nav a { flex: 1 1 auto; justify-content: center; }
  .grid { grid-template-columns: 1fr; }
}
