/* ── LEGAL PAGES: Privacy / Terms / Refunds ──────────────────────────────── */

/* Hero */
.legal-hero {
  border-bottom: 2px solid var(--rule);
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.legal-hero__left {
  padding: 72px var(--pad);
  border-right: 2px solid var(--rule);
  display: flex; flex-direction: column; justify-content: center;
}
.legal-hero__eyebrow { margin-bottom: 20px; }
.legal-hero__title {
  font-size: 72px; font-weight: 700; letter-spacing: -0.04em;
  line-height: 0.95; margin-bottom: 28px;
}
.legal-hero__meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-low);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.legal-hero__meta strong {
  display: block; color: var(--ink); font-weight: 700; margin-top: 4px;
  letter-spacing: 0; text-transform: none;
  font-family: var(--font-sans); font-size: 14px;
}

.legal-hero__right {
  padding: 72px var(--pad);
  background: var(--bg-dark); color: #f5f1ea;
  display: flex; flex-direction: column; justify-content: center;
}
.legal-hero__right h3 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.legal-hero__right ul { list-style: none; padding: 0; }
.legal-hero__right li {
  font-size: 17px; line-height: 1.6; color: rgba(245,241,234,0.85);
  padding: 14px 0 14px 40px; border-top: 1px solid rgba(245,241,234,0.12);
  position: relative;
}
.legal-hero__right li:first-child { border-top: none; padding-top: 0; }
.legal-hero__right li:last-child { padding-bottom: 0; }
.legal-hero__right li::before { content: "→"; color: var(--accent); font-weight: 700; position: absolute; left: 0; top: 14px; }
.legal-hero__right li:first-child::before { top: 0; }

/* Body */
.legal-body {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr;
  border-bottom: 2px solid var(--rule);
}

/* Sticky TOC */
.legal-toc {
  padding: 64px 32px 64px var(--pad);
  border-right: 2px solid var(--rule);
}
.legal-toc__sticky { position: sticky; top: 88px; }
.legal-toc h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-low); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(17,17,17,0.12);
}
.legal-toc ol { list-style: none; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; margin-bottom: 4px; }
.legal-toc a {
  display: grid; grid-template-columns: 28px 1fr;
  padding: 7px 0;
  font-size: 14px; color: var(--ink-mid); text-decoration: none;
  line-height: 1.4; transition: color 0.15s;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-low);
  padding-top: 2px;
}
.legal-toc a:hover { color: var(--accent); }
.legal-toc a:hover::before { color: var(--accent); }

/* Content */
.legal-content {
  padding: 64px var(--pad) 80px 48px;
  max-width: 760px;
  counter-reset: sec;
}
.legal-section {
  padding-bottom: 40px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(17,17,17,0.1);
  counter-increment: sec;
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 20px;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
}
.legal-section h2::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 14px; font-weight: 400;
  color: var(--accent); letter-spacing: 0.05em;
}
.legal-section h3 {
  font-size: 16px; font-weight: 700; margin-top: 28px; margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.legal-section p {
  font-size: 16px; line-height: 1.7; color: var(--ink-mid); margin-bottom: 14px;
}
.legal-section p strong { color: var(--ink); }
.legal-section a { color: var(--accent); }
.legal-section a:hover { text-decoration: underline; }
.legal-section ul { list-style: none; padding: 0; margin: 8px 0 16px; }
.legal-section ul li {
  font-size: 16px; line-height: 1.65; color: var(--ink-mid);
  padding: 8px 0 8px 24px; position: relative;
  border-bottom: 1px dashed rgba(17,17,17,0.08);
}
.legal-section ul li:last-child { border-bottom: none; }
.legal-section ul li::before {
  content: "→"; position: absolute; left: 0; top: 8px;
  color: var(--accent); font-weight: 700;
}
.legal-section ul li strong { color: var(--ink); display: inline; }

/* Callout box */
.legal-callout {
  border: 2px solid var(--rule); background: var(--accent-bg);
  padding: 20px 24px; margin: 20px 0;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: flex-start;
}
.legal-callout__tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  padding-top: 2px;
}
.legal-callout p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--ink); }

/* Contact strip */
.contact-strip { background: var(--bg-dark); color: #f5f1ea; }
.contact-strip__inner {
  max-width: var(--max); margin: 0 auto; padding: 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 48px;
}
.contact-strip__text h2 {
  font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px;
}
.contact-strip__text p {
  font-size: 15px; color: rgba(245,241,234,0.55); line-height: 1.6; max-width: 480px;
}
.contact-strip .btn--outline { border-color: rgba(245,241,234,0.4); color: #f5f1ea; }
.contact-strip .btn--outline:hover { background: #f5f1ea; color: var(--ink); }
