:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-alt: #ebedf2;
  --ink: #1a2433;
  --muted: #526071;
  --border: #d5dbe3;
  --accent: #8b5e18;
  --accent-bg: #f6ecda;
  --maxw: 840px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.66;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
header.top {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.top-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
main { flex: 1; padding: 3.2rem 0; }
.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid #dfc596;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(26, 36, 51, 0.04);
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
h2 {
  font-size: 1.05rem;
  margin-top: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.75rem; }
.note {
  background: var(--surface-alt);
  border-left: 4px solid var(--ink);
  padding: 0.9rem 1.15rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.25rem;
}
footer.foot {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  font-size: 0.83rem;
  color: var(--muted);
  background: var(--surface);
}
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; }
