:root {
  --legal-ink: #171815;
  --legal-paper: #f4f1eb;
  --legal-surface: #fffdf9;
  --legal-line: #ded9d0;
  --legal-muted: #706c65;
  --legal-gold: #9b7d56;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--legal-paper);
  color: var(--legal-ink);
  font-family: "Manrope", Arial, sans-serif;
}
a { color: inherit; }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(23, 24, 21, .1);
  background: rgba(244, 241, 235, .94);
  backdrop-filter: blur(18px);
}
.legal-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--legal-ink);
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.legal-brand span { font-size: 18px; }
.legal-brand b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--legal-ink);
  color: #d8c6a8;
  font-size: 10px;
}
.legal-header > a:last-child {
  color: #615d56;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.legal-header > a:last-child:hover { color: var(--legal-gold); }
.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 90px;
}
.legal-hero {
  padding: 0 0 42px;
  border-bottom: 1px solid var(--legal-line);
}
.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--legal-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.legal-hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(30px, 5vw, 55px);
  line-height: 1.14;
  letter-spacing: -.045em;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  color: var(--legal-muted);
  font-size: 12px;
}
.legal-notice {
  margin: 30px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(155, 125, 86, .25);
  border-radius: 12px;
  background: #eee5d8;
  color: #55493b;
  font-size: 13px;
  line-height: 1.7;
}
.legal-content {
  padding-top: 12px;
}
.legal-content section {
  padding: 34px 0;
  border-bottom: 1px solid var(--legal-line);
}
.legal-content h2 {
  margin: 0 0 17px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.35;
}
.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 15px;
}
.legal-content p,
.legal-content li,
.legal-content td,
.legal-content th {
  color: #514f49;
  font-size: 14px;
  line-height: 1.75;
}
.legal-content p { margin: 10px 0; }
.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 22px;
}
.legal-content strong { color: var(--legal-ink); }
.legal-content a {
  color: #765b38;
  text-underline-offset: 3px;
}
.legal-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--legal-line);
  border-radius: 12px;
  background: var(--legal-surface);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
}
.legal-table th,
.legal-table td {
  min-width: 170px;
  padding: 16px;
  border-right: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: #eee9e1;
  color: #615a50;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th:last-child,
.legal-table td:last-child { border-right: 0; }
.legal-details {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 22px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 12px;
  background: #20211e;
}
.legal-details dt {
  color: #bfa986;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.legal-details dd {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.6;
}
.legal-details a { color: #fff; }
.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  background: #20211e;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}
.legal-footer a { color: #d6c2a2; }

@media (max-width: 640px) {
  .legal-header { min-height: 66px; padding: 0 16px; }
  .legal-brand span { font-size: 15px; }
  .legal-brand b { width: 30px; height: 30px; }
  .legal-header > a:last-child { font-size: 10px; }
  .legal-main { width: min(100% - 28px, 920px); padding: 42px 0 64px; }
  .legal-hero { padding-bottom: 30px; }
  .legal-hero h1 { font-size: clamp(27px, 9vw, 38px); }
  .legal-content section { padding: 28px 0; }
  .legal-content p,
  .legal-content li,
  .legal-content td { font-size: 13px; }
  .legal-details { grid-template-columns: 1fr; gap: 5px; }
  .legal-details dd + dt { margin-top: 9px; }
  .legal-footer { flex-direction: column; padding: 26px 16px; }
}
