:root {
  --paper: #f5f0e8;
  --surface: #fffaf3;
  --ink: #24241f;
  --muted: #69645b;
  --line: #d7cec1;
  --accent: #9b4f37;
  --deep: #262820;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.65; }
a { color: inherit; text-underline-offset: 3px; }
.legal-header { min-height: 84px; padding: 1.2rem clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: grid; text-decoration: none; line-height: 1; }
.brand span { font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: .16em; }
.brand small { margin-top: .45rem; color: var(--muted); font-size: .62rem; letter-spacing: .18em; }
.back-link { font-size: .9rem; }
.legal-main { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: clamp(3rem, 7vw, 6.5rem) 0; }
.kicker { margin: 0 0 .8rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.12; }
h1 { max-width: 820px; margin: 0; font-size: clamp(2.55rem, 6vw, 5rem); }
.lead { max-width: 760px; margin: 1.5rem 0 2.5rem; color: var(--muted); font-size: 1.08rem; }
.updated { margin: -1.5rem 0 2.5rem; color: var(--muted); font-size: .85rem; }
.legal-section { margin: 1rem 0; padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); background: var(--surface); }
.legal-section h2 { margin: 0 0 1.15rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.legal-section p:last-child, .legal-section ul:last-child { margin-bottom: 0; }
.legal-section li + li { margin-top: .45rem; }
.data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.data-list div { min-height: 96px; padding: 1rem; border-bottom: 1px solid var(--line); }
.data-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.data-list div:nth-last-child(-n+2) { border-bottom: 0; }
.data-list span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eee5d8; }
.legal-footer { padding: 2rem clamp(20px, 5vw, 72px); color: white; background: var(--deep); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1rem; }
.legal-footer small { color: #d8d4cc; }

@media (max-width: 650px) {
  .legal-header { min-height: 74px; align-items: flex-start; }
  .back-link { max-width: 120px; text-align: right; }
  .legal-main { width: min(100% - 28px, 960px); padding-top: 2.5rem; }
  .data-list { grid-template-columns: 1fr; }
  .data-list div, .data-list div:nth-child(odd), .data-list div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .data-list div:last-child { border-bottom: 0; }
  th, td { min-width: 150px; }
}
