/* Legal and help pages (owner approved 3 Nov 2026, option B): an "On this page" list beside an ivory card with the
   double gold edge. The text column stays about 720px wide so lines are easy to read. */
.legal-page{background:var(--ui-canvas,#f8f4ed);color:#32161a;font-family:Lora,Georgia,serif}
.legal-main{max-width:1180px;margin:0 auto;padding:56px 5% 72px;font-size:17px;line-height:1.65;display:grid;grid-template-columns:230px minmax(0,720px);gap:56px;justify-content:center;align-items:start}
.legal-doc{background:#fffcf7;border-radius:16px;box-shadow:inset 0 0 0 1px #e1c48f,inset 0 0 0 5px #fffaf4,inset 0 0 0 6px #ecdcc0,0 10px 30px #52242b0d;padding:52px 60px 56px}
.legal-main :is(h2,h3)[id]{scroll-margin-top:124px}
.legal-toc{position:sticky;top:62px;padding-top:58px}
.legal-toc summary{list-style:none;margin:0 0 14px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#7d5c2e;display:flex;align-items:center;gap:8px;pointer-events:none}
.legal-toc summary::-webkit-details-marker{display:none}
.legal-toc summary::before{content:"";width:11px;height:11px;background:#b58b54;-webkit-mask:url(/assets/brand/sparkle.svg) center/contain no-repeat;mask:url(/assets/brand/sparkle.svg) center/contain no-repeat}
.legal-toc a{display:block;padding:6px 0 6px 14px;font-size:14px;line-height:1.4;color:#6f5a5c;text-decoration:none;box-shadow:inset 1px 0 0 #e3cfae}
.legal-toc a.legal-toc-sub{padding-left:26px;font-size:13px}
.legal-toc a:hover{color:#7f3440}
.legal-toc a[aria-current]{color:#7f3440;box-shadow:inset 2px 0 0 #9a4652}
/* Narrow screens: the card fills the width and the list becomes a tap-to-open "On this page" above it. */
@media (max-width:960px){
  .legal-main{display:block;padding:32px 16px 56px}
  .legal-toc{position:static;padding:0 0 16px}
  .legal-toc summary{pointer-events:auto;cursor:pointer;margin:0;min-height:44px;padding:0 16px;border:1px solid #e3cfae;border-radius:12px;background:#fffcf7}
  .legal-toc summary::after{content:"▾";margin-left:auto;font-size:13px;transition:transform .2s}
  .legal-toc details[open] summary::after{transform:rotate(180deg)}
  .legal-toc details[open] summary{margin-bottom:10px}
  .legal-toc a{padding-block:10px}
  .legal-doc{padding:32px 22px 36px}
}
.legal-main h1{font-size:clamp(36px,6vw,52px);font-weight:400;margin:8px 0 4px}
.legal-updated{color:#6c505c;font-size:14px;margin:0 0 32px}
.legal-main h2{font-size:22px;font-weight:500;margin:32px 0 8px}
.legal-main ul{padding-left:22px}
.legal-doc a{color:#854b58}
/* Links inside sentences are underlined, so they don't rely on colour alone (owner approved 12 Nov). */
.legal-doc p a,.legal-doc li a,.wc-welcome p a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.legal-doc>:last-child,.legal-doc>section:last-child>:last-child{margin-bottom:0}
/* Site standard (owner approved 2 Nov 2026): the gold label with the brand sparkle, and the footer's Print & bind button. */
.legal-main .eyebrow{margin:0;color:#7d5c2e;font:600 11px/1.5 Lora,Georgia,serif;letter-spacing:.16em}
.legal-main .eyebrow::before{content:"";display:inline-block;width:1.05em;height:1.05em;margin-right:.75em;vertical-align:-.18em;background:#b58b54;-webkit-mask:url(/assets/brand/sparkle.svg) center/contain no-repeat;mask:url(/assets/brand/sparkle.svg) center/contain no-repeat}
.site-footer .footer-print{border:1px solid currentColor;border-radius:999px;padding:10px 22px;font-size:15px;color:inherit;text-decoration:none;justify-self:center}
.legal-main h3{font-size:17px;font-weight:500;margin:22px 0 6px}
