:root {
  --cream: #f6efe3;
  --paper: #fffdf9;
  --espresso: #1c1511;
  --roast: #4a3528;
  --caramel: #b9783f;
  --muted: #6f6157;
  --line: #e4d8c6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--roast); text-underline-offset: 3px; }
a:hover { color: var(--caramel); }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 980px; margin: 0 auto; padding: 22px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--espresso); }
.brand img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--espresso); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px 48px; }
.hero { padding: 56px 0 40px; max-width: 720px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel); }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.01em; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.25; margin: 0 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
.lede { font-size: 20px; color: var(--roast); margin: 0 0 28px; }
.btn {
  display: inline-block; background: var(--espresso); color: var(--paper); text-decoration: none;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; font-size: 17px;
}
.btn:hover { background: var(--roast); color: var(--paper); }
.note { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 12px 0 40px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p { margin: 0; color: var(--roast); }
.card ul { margin: 8px 0 0; padding-left: 20px; color: var(--roast); }
.fine { border-top: 1px solid var(--line); padding-top: 24px; font-size: 15px; color: var(--muted); }
.fine p { margin: 0 0 12px; }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 36px clamp(20px, 5vw, 48px); margin: 24px 0 40px; max-width: 820px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { margin-top: 32px; }
.doc p, .doc li { color: var(--roast); }
.doc .updated { color: var(--muted); font-size: 15px; margin-top: -6px; }
.perm { list-style: none; padding: 0; margin: 14px 0 22px; }
.perm li { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.perm b { color: var(--espresso); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 18px 0 26px; }
.stat { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat .k { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat .v { font-family: Georgia, serif; font-size: 30px; font-weight: 700; color: var(--espresso); }
.channel { display: flex; align-items: center; gap: 16px; margin: 8px 0 4px; }
.channel img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line); }
table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td.num, th.num { text-align: right; white-space: nowrap; }
.alert { background: #fbeee0; border: 1px solid #ecd2b4; border-radius: 12px; padding: 14px 16px; color: var(--roast); }
footer { max-width: 980px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
