:root {
  --bg: #f5f1e9;
  --paper: #fbfaf7;
  --text: #17191c;
  --muted: #5e6268;
  --line: #d8d1c4;
  --gold: #a8792d;
  --dark: #101419;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #eee8dd 0, var(--bg) 280px, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.76;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #75521b;
}

.wrap {
  width: min(100% - 34px, 930px);
  margin: 0 auto;
}

.site-header {
  padding: 54px 0 26px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #121417;
  letter-spacing: -0.024em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 1.06;
}

h2 {
  margin: 58px 0 17px;
  padding-top: 3px;
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  line-height: 1.16;
}

h3 {
  margin: 30px 0 10px;
  font-size: clamp(1.22rem, 2.3vw, 1.55rem);
  line-height: 1.25;
}

.lead {
  max-width: 860px;
  margin: 24px 0 0;
  color: #30343a;
  font-size: 1.12rem;
}

.legal-note {
  margin: 22px 0 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.97rem;
}

article {
  padding-bottom: 20px;
}

article p {
  margin: 16px 0;
  font-size: 1.045rem;
}

article ul,
article ol {
  padding-left: 1.35rem;
}

article li {
  margin: 0.45rem 0;
}

.hero-image,
.inline-image {
  margin: 30px 0 12px;
}

.hero-image img,
.inline-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(19, 20, 21, 0.09);
}

.toc {
  margin: 36px 0 12px;
  padding: 24px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 1.48rem;
}

.toc ol {
  columns: 2;
  column-gap: 40px;
  margin: 0;
  padding-left: 1.3rem;
}

.toc a {
  text-decoration: none;
  text-underline-offset: 3px;
}

.toc a:hover,
.toc a:focus {
  text-decoration: underline;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0 18px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(255,255,255,0.24);
}

caption {
  padding: 0 0 11px;
  text-align: left;
  caption-side: top;
  font-weight: 700;
  color: #292d31;
}

th,
td {
  padding: 14px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  border-top: 1px solid var(--line);
  color: #17191c;
  background: rgba(255,255,255,0.48);
  font-size: 0.95rem;
}

tbody td {
  font-size: 0.97rem;
}

strong {
  color: #111315;
}

.site-footer {
  margin-top: 30px;
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 760px) {
  body {
    line-height: 1.68;
  }

  .wrap {
    width: min(100% - 24px, 930px);
  }

  .site-header {
    padding: 36px 0 18px;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.15rem);
  }

  h2 {
    margin-top: 46px;
  }

  .lead {
    font-size: 1.03rem;
  }

  article p {
    font-size: 1rem;
  }

  .hero-image,
  .inline-image {
    margin-top: 24px;
  }

  .hero-image img,
  .inline-image img {
    border-radius: 11px;
  }

  .toc {
    padding: 20px 0;
  }

  .toc ol {
    columns: 1;
  }

  .table-wrap {
    margin-right: -12px;
    padding-right: 12px;
  }

  table {
    min-width: 660px;
  }

  th,
  td {
    padding: 12px 11px;
  }
}

@media (max-width: 430px) {
  .wrap {
    width: min(100% - 20px, 930px);
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .legal-note {
    padding-left: 12px;
  }
}
