/* ─────────────────────────────────────────────────────────────────
   Legal pages — Privacy Policy, Terms of Service
   Long-form reading typography
─────────────────────────────────────────────────────────────── */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) var(--gutter);
}

.legal__header {
  padding-bottom: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--hairline);
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 12px 0 20px;
}

.legal__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.legal__meta strong {
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
}

/* ─────────────────────────────────────────────────
   Body typography
──────────────────────────────────────────────── */
.legal__body {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
}

.legal__intro {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 400;
}
.legal__intro em {
  color: var(--gold);
  font-style: italic;
}
.legal__intro strong {
  font-weight: 600;
}
.legal__intro:last-of-type {
  margin-bottom: 60px;
}

.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  margin: 60px 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  letter-spacing: -0.01em;
}
.legal__body h2:first-of-type {
  padding-top: 0;
  border-top: none;
  margin-top: 20px;
}

.legal__body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--gold);
  margin: 32px 0 12px;
  letter-spacing: 0.01em;
}

.legal__body p {
  margin-bottom: 20px;
}

.legal__body p strong {
  font-weight: 600;
  color: var(--ink);
}

.legal__body ul {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.legal__body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.legal__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.legal__body a {
  color: var(--gold);
  border-bottom: 1px solid var(--hairline);
  transition: border-color 0.2s var(--ease);
}
.legal__body a:hover {
  border-bottom-color: var(--gold);
}

/* ─────────────────────────────────────────────────
   Callouts
──────────────────────────────────────────────── */
.legal__callout {
  background: var(--vellum-2);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 28px 0 24px;
  border-radius: 4px;
}
.legal__callout p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
}

.legal__callout--warn {
  border-left-color: #8B4A3A;
  background: #F5EEE6;
}

/* ─────────────────────────────────────────────────
   Placeholder — mark spots you must fill
──────────────────────────────────────────────── */
.legal__placeholder {
  display: inline-block;
  background: #FFF3D6;
  color: #6D4A1A;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px dashed #D6B36A;
}

/* ─────────────────────────────────────────────────
   Table
──────────────────────────────────────────────── */
.legal__table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
}
.legal__table th {
  background: var(--vellum-2);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
}
.legal__table td {
  padding: 14px 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.legal__table tr:last-child td {
  border-bottom: none;
}
.legal__table a {
  color: var(--gold);
  border-bottom: 1px solid var(--hairline);
}

/* ─────────────────────────────────────────────────
   Contact block
──────────────────────────────────────────────── */
.legal__contact {
  background: var(--vellum-2);
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  font-size: 15.5px;
  line-height: 1.9;
}

/* ─────────────────────────────────────────────────
   Footer navigation
──────────────────────────────────────────────── */
.legal__footer {
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.legal__footer a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.legal__footer a:hover {
  color: var(--ink);
}
