/* Legal and help pages (/terms, /privacy, /refunds, /faq). Builds on about.css (tokens, hero, labels, footer).
   Brand colours only. Light by default, dark follows the device. */

.lg-summary { font-size: 1.1875rem; line-height: 1.6; max-width: 760px; color: rgba(245, 243, 238, .9); margin: 0 0 14px; }
.lg-updated { font-size: 1rem; color: rgba(245, 243, 238, .78); margin: 0; }

.lg-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.lg-toc { position: sticky; top: 24px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lg-toc a { display: flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--ab-ink); text-decoration: none; border-left: 2px solid var(--ab-line); padding-left: 14px; }
.lg-toc a:hover { color: var(--ab-goldink); border-left-color: var(--ab-goldink); }

.lg-doc { max-width: 760px; min-width: 0; }
.lg-sec { padding: 0 0 36px; scroll-margin-top: 24px; }
.lg-sec h2 { font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 700; font-size: 1.625rem; line-height: 1.25; color: var(--ab-ink); margin: 0 0 14px; }
.lg-sec p, .lg-sec li { font-size: 1.0625rem; line-height: 1.7; color: var(--ab-muted); }
.lg-sec p { margin: 0 0 14px; }
.lg-sec ul, .lg-sec ol { margin: 0 0 14px; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 8px; }
.lg-sec strong { color: var(--ab-ink); }
.lg-sec a { color: var(--ab-goldink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.lg-q { border: 1px solid var(--ab-line); border-radius: 12px; background: var(--ab-card); margin: 0 0 12px; }
.lg-q summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; padding: 10px 18px; font-family: var(--font-display, 'Playfair Display', Georgia, serif); font-weight: 600; font-size: 1.125rem; color: var(--ab-ink); }
.lg-q summary::-webkit-details-marker { display: none; }
.lg-q summary::after { content: "+"; margin-left: auto; padding-left: 16px; font-size: 1.5rem; color: var(--ab-goldink); }
.lg-q[open] summary::after { content: "\2212"; }
.lg-q p { margin: 0; padding: 0 18px 16px; }

/* Placeholders that are not filled yet: plain text for visitors; a visible highlight for the reviewer */
.lg-token { font: inherit; }
.lg-review .lg-token { background: #e2b273; color: #1a2535; padding: 0 6px; border-radius: 4px; outline: 2px dashed #86561b; font-weight: 700; }
.lg-review .lg-token::after { content: " [" attr(data-token) "]"; font-size: .8em; font-weight: 600; }

@media (max-width: 899px) {
  .lg-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 48px; }
  .lg-toc { position: static; }
  .lg-toc ol { border: 1px solid var(--ab-line); border-radius: 12px; padding: 4px 12px; }
  .lg-sec h2 { font-size: 1.4375rem; }
}
