@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --graphite: #000000;
  --white: #fff;
  --off-white: #f5f4f1;
  --paper: #ecebe7;
  --gray-dark: #666660;
  --gold: #755830;
  --gold-bright: #b08a4a;
  --focus: #8a6e42;
  --line-light: #d9d8d4;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --header-height: 59px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; color: var(--graphite); background: var(--off-white); font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 18px; color: var(--graphite); background: var(--white); }
.skip-link:focus { left: 12px; top: 12px; }

.legal-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); display: flex; align-items: center; background: var(--white); border-bottom: 1px solid var(--line-light); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-header img { width: 160px; height: auto; }
.legal-back { font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }

.container { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.legal-main { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: clamp(48px, 6vw, 82px) 0 clamp(56px, 6vw, 90px); }

.eyebrow { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 15px; color: var(--gold); font-size: .66rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }

h1 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.06; }
.legal-meta { margin: 18px 0 0; color: var(--gray-dark); font-size: .78rem; }
.legal-intro { margin: 26px 0 0; padding: 20px 24px; background: var(--paper); border-left: 2px solid var(--gold); font-size: .84rem; }
.legal-intro p { margin: 0; }
.legal-intro p + p { margin-top: 11px; }

h2 { margin: clamp(40px, 4.4vw, 58px) 0 14px; padding-top: 22px; font-family: var(--serif); font-size: clamp(1.32rem, 2.1vw, 1.7rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; border-top: 1px solid var(--line-light); }
h3 { margin: 30px 0 8px; font-size: .85rem; font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 14px; font-size: .87rem; }
ul, ol { margin: 0 0 16px; padding-left: 21px; }
li { margin-bottom: 8px; font-size: .87rem; }
strong { font-weight: 600; }

.legal-toc { margin: 34px 0 0; padding: 22px 24px; background: var(--white); border: 1px solid var(--line-light); }
.legal-toc h2 { margin: 0 0 12px; padding: 0; font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); border: 0; }
.legal-toc ol { margin: 0; padding-left: 19px; }
.legal-toc li { margin-bottom: 5px; font-size: .8rem; }

.data-table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: .82rem; }
.data-table th, .data-table td { padding: 11px 13px; text-align: left; vertical-align: top; border: 1px solid var(--line-light); }
.data-table th { background: var(--paper); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.identity { margin: 0 0 18px; padding: 0; list-style: none; }
.identity li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line-light); font-size: .84rem; }
.identity li span:first-child { color: var(--gray-dark); }

.legal-footer { padding: 34px 0 40px; color: #cbc6bc; background: var(--graphite); font-size: .76rem; }
.legal-footer a { color: #d9d4cb; }
.legal-footer a:hover { color: var(--white); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.legal-footer p { margin: 0; font-size: .74rem; }

@media (max-width: 700px) {
  :root { --header-height: 54px; }
  .container { width: min(1280px, calc(100% - 40px)); }
  .legal-header img { width: 150px; }
  .legal-back { font-size: .62rem; }
  .identity li { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
