:root {
  --paper: #f7f2e6;
  --paper-2: #efe6d2;
  --ink: #2a2318;
  --ink-2: #5b5142;
  --caption: #7d7261;
  --rule: #dccfb4;
  --gold: #a8780f;
  --gold-dark: #8a6209;
  --gold-soft: #f1e3bf;
  --white: #fffdf8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lora, Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 22px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 22px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: "Playfair Display", Lora, serif; font-weight: 600; font-size: 20px; letter-spacing: 0.01em; }
nav.site a { margin-left: 18px; font-size: 15px; text-decoration: none; color: var(--ink-2); }
nav.site a:hover, nav.site a[aria-current] { color: var(--gold-dark); }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero img.mark { width: 96px; height: 96px; margin-bottom: 14px; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
h1 { font-family: "Playfair Display", Lora, serif; font-weight: 600; font-size: 40px; line-height: 1.12; margin: 8px 0 12px; text-wrap: balance; }
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 auto 22px; }
.badge {
  display: inline-block; background: var(--ink); color: var(--paper); border-radius: 8px;
  padding: 12px 20px; font-size: 15px; text-decoration: none; letter-spacing: 0.01em;
}
.badge small { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: .75; }
.hero .note { font-size: 13px; color: var(--caption); margin-top: 10px; }

/* Sections */
section { padding: 28px 0; }
h2 { font-family: "Playfair Display", Lora, serif; font-weight: 600; font-size: 26px; line-height: 1.2; margin: 34px 0 12px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; margin: 24px 0 6px; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 20px 0; }
.card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 18px 14px;
}
.card h3 { margin: 4px 0 6px; font-size: 17px; }
.card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.card .ico {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 8px;
}
.callout { background: var(--paper-2); border-left: 4px solid var(--gold); padding: 14px 18px; margin: 20px 0; border-radius: 0 8px 8px 0; }
.callout p { margin: 0; }
.muted { color: var(--caption); font-size: 14px; }
.legal p, .legal li { font-size: 16px; }
.legal .updated { color: var(--caption); font-size: 14px; margin-top: -6px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--caption); font-weight: 600; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; background: var(--paper-2); padding: 1px 5px; border-radius: 3px; }

/* Footer */
footer.site { border-top: 1px solid var(--rule); margin-top: 48px; padding: 22px 0 40px; color: var(--caption); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--caption); margin-right: 14px; }

@media (max-width: 560px) {
  h1 { font-size: 31px; }
  .hero { padding: 40px 0 30px; }
  nav.site a { margin-left: 12px; font-size: 14px; }
}
