:root {
  --ink: #3a2818;
  --ink-soft: #5f5142;
  --ink-faint: #8b7b68;
  --paper: #f4efe7;
  --paper-light: #fbf7ef;
  --rule: rgba(106, 74, 42, 0.16);
  --accent: #8b6644;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(255, 253, 248, 0.82), transparent 34rem),
    linear-gradient(180deg, #fbf7ef 0%, #f4efe7 38%, #eee4d5 100%);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 31px,
      rgba(106, 74, 42, 0.12) 32px
    ),
    radial-gradient(rgba(74, 52, 30, 0.16) 0.55px, transparent 0.7px);
  background-size: auto, 8px 8px;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.legal-shell {
  position: relative;
  min-height: 100vh;
  padding: 28px 20px 72px;
}

.legal-shell::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(18px, calc(50% - 430px));
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(139, 102, 68, 0.3), transparent);
}

.legal-header,
.legal-main {
  width: min(100%, 760px);
  margin: 0 auto;
}

.legal-header {
  padding: 12px 0 28px 28px;
}

.brand {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.1;
}

.lede {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  line-height: 1.35;
}

.meta {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 13px;
}

.legal-main {
  padding-left: 28px;
}

.summary {
  margin: 0 0 34px;
  padding: 18px 0 18px 18px;
  border-left: 2px solid rgba(139, 102, 68, 0.4);
  color: var(--ink-soft);
}

.summary strong {
  color: var(--ink);
}

.legal-section {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-section p,
.legal-section ul {
  margin: 0 0 14px;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 8px;
}

.quiet-note {
  color: var(--ink-soft);
  font-style: italic;
}

.legal-footer {
  width: min(100%, 760px);
  margin: 34px auto 0;
  padding: 20px 0 0 28px;
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 13px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 20px 18px 48px;
  }

  .legal-shell::before {
    left: 18px;
  }

  .legal-header,
  .legal-main,
  .legal-footer {
    padding-left: 18px;
  }

  .brand {
    font-size: 26px;
  }

  h1 {
    font-size: 30px;
  }

  .lede {
    font-size: 20px;
  }

  .legal-section h2 {
    font-size: 22px;
  }
}
