/* ══════════════════════════════════════════════════════════════════════════
   Shared shell for the legal pages. Same paper, type and hairlines as the
   home page, set for long-form reading: one column, generous measure.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --paper:    #F4EBDD;
  --paper-2:  #EDE1CE;
  --ink:      #1C1510;
  --ink-soft: #6F5F51;
  --muted:    #8A7969;
  --gold:     #A9733F;
  --rule:     #D5C7B2;
  --rule-2:   rgba(28, 21, 16, .09);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gut:   clamp(22px, 5vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: light; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--ink); color: var(--paper); }

/* ── Masthead ─────────────────────────────────────────────────────────────*/

nav {
  border-bottom: 1px solid var(--rule-2);
  padding: 0 var(--gut);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  letter-spacing: -.02em;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  border: 1px solid var(--rule);
}
.nav-back {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
}
.nav-back:hover { color: var(--ink); text-decoration: none; }

/* ── Document ─────────────────────────────────────────────────────────────*/

.container {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) var(--gut) clamp(64px, 9vw, 104px);
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 600;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.updated {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .01em;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}

h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 44px 0 14px;
  text-transform: none;
}
h2:first-of-type { margin-top: 0; }

p  { font-size: 15px; color: var(--ink-soft); margin-bottom: 15px; }
ul { font-size: 15px; color: var(--ink-soft); padding-left: 20px; margin-bottom: 15px; }
li { margin-bottom: 7px; }
li::marker { color: var(--gold); }
strong { color: var(--ink); font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 44px 0; }

.highlight {
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
  padding: 18px 22px;
  margin-bottom: 20px;
  border-radius: 0 3px 3px 0;
}
.highlight p:last-child { margin-bottom: 0; }

/* ── Footer ───────────────────────────────────────────────────────────────*/

footer {
  border-top: 1px solid var(--rule);
  padding: 26px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}
.footer-copy { font-size: 11px; color: var(--muted); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); transition: color .25s; }
.footer-links a:hover { color: var(--ink); text-decoration: none; }
