/* Legal pages — shared shell. Hero style matches index.html */
:root {
  --bg: #F4EFE6;
  --bg-alt: #EBE4D4;
  --surface: #FBF8F1;
  --ink: #1F1A12;
  --ink-2: #3D3527;
  --ink-3: #78695A;
  --line: rgba(43, 74, 59, 0.12);
  --line-2: rgba(43, 74, 59, 0.22);
  --primary: #2B4A3B;
  --primary-tint: #E6EEE8;
  --accent: #C65A3F;
  --accent-tint: #F6E3DA;
  --gold: #B98B3B;
  --gold-tint: #F2E6C8;
  --sage: #7A9A81;
  --sage-tint: #DDE7D7;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 100px 28px 96px; }

nav.top {
  position: fixed; inset: 0 0 auto 0;
  height: 64px;
  background: rgba(244, 239, 230, 0.76);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 500;
}
nav.top .logo {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 20px; color: var(--ink); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
nav.top .logo-mark {
  width: 28px; height: 28px;
  background: var(--primary); border-radius: 8px;
  display: grid; place-items: center;
  color: #FAF7EF;
}
nav.top .links { display: flex; gap: 24px; }
nav.top a { color: var(--ink-3); text-decoration: none; transition: color 0.2s ease; }
nav.top a:hover, nav.top a.active { color: var(--primary); }

header.doc {
  margin-bottom: 40px;
}
header.doc .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
header.doc .eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor;
}
header.doc h1 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.04;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
header.doc .meta { font-size: 13px; color: var(--ink-3); font-style: italic; }

section { margin-top: 36px; }
section h2 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
section p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 1.72; }
section a { color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 1px; text-decoration: none; }
section a:hover { color: var(--accent); border-bottom-color: var(--accent); }

section ul { padding: 0; list-style: none; margin: 0; }
section ul li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
section ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 10px;
  background: var(--accent-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23C65A3F' stroke-width='2.8' stroke-linecap='round' d='M4 4 L12 12 M12 4 L4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
section ul.do li::before {
  background: var(--sage-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%237A9A81' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' d='M3 8 L7 12 L13 4'/></svg>");
}

.pull { display: flex; gap: 10px; margin: 18px 0 8px; }
.pull > div {
  flex: 1;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pull h3 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 17px; color: var(--ink); margin: 8px 0 4px; letter-spacing: -0.01em;
}
.pull p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.55; }

footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--ink-3);
}
footer nav { display: flex; gap: 20px; }
footer a { color: var(--ink-3); text-decoration: none; transition: color 0.2s ease; }
footer a:hover { color: var(--primary); }

@media (max-width: 640px) {
  .wrap { padding: 90px 22px 64px; }
  nav.top .links { gap: 14px; font-size: 12px; }
  .pull { flex-direction: column; }
}
