/* Scoped to the three owner-review legal drafts. */
.legal-draft-page main { background:#f4f7f9; color:#263e4e; }
.legal-draft-page .legal-hero { padding:58px 0 44px; background:#132b3b; color:#fff; }
.legal-draft-page .legal-eyebrow { margin:0 0 14px; color:#ffd4a1; font-size:13px; font-weight:650; letter-spacing:.07em; text-transform:uppercase; }
.legal-draft-page h1 { margin:0 0 18px; max-width:850px; color:#fff; font-size:clamp(32px,4.6vw,52px); line-height:1.12; letter-spacing:-.025em; }
.legal-draft-page .legal-intro { max-width:740px; margin:0; color:#e0e9ef; font-size:18px; line-height:1.7; }
.legal-draft-page .legal-status { max-width:850px; padding:16px 20px; margin:24px 0 0; border:1px solid #9c754c; border-left:4px solid #efaa5d; border-radius:12px; color:#fff0df; font-size:14px; line-height:1.65; }
.legal-draft-page .legal-layout { display:grid; grid-template-columns:260px minmax(0,1fr); align-items:start; gap:32px; padding-block:40px 64px; }
.legal-draft-page .legal-toc { position:sticky; top:92px; max-height:calc(100vh - 112px); overflow:auto; padding:22px; border:1px solid #d5dfe6; border-radius:18px; background:#fff; box-shadow:0 8px 22px #132b3b05; }
.legal-draft-page .legal-toc h2 { margin:0 0 12px; color:#132b3b; font-size:18px; line-height:1.4; }
.legal-draft-page .legal-toc ol { margin:0; padding-left:20px; }
.legal-draft-page .legal-toc li { padding-left:3px; color:#526675; }
.legal-draft-page .legal-toc a { display:inline-block; padding:9px 0; color:#263e4e; font-size:14px; line-height:1.5; text-underline-offset:4px; }
.legal-draft-page .legal-related { display:flex; flex-direction:column; border-top:1px solid #d5dfe6; margin-top:16px; padding-top:12px; }
.legal-draft-page .legal-related a { color:#8b4900; }
.legal-draft-page .legal-document { min-width:0; background:#fff; border:1px solid #d5dfe6; border-radius:22px; padding:8px 32px 16px; box-shadow:0 10px 30px #132b3b05; }
.legal-draft-page .legal-document section { padding:28px 0; scroll-margin-top:100px; }
.legal-draft-page .legal-document section + section { border-top:1px solid #dce4ea; }
.legal-draft-page .legal-document h2 { margin:0 0 16px; color:#132b3b; font-size:clamp(21px,2.2vw,27px); line-height:1.3; letter-spacing:-.015em; }
.legal-draft-page .legal-document p, .legal-draft-page .legal-document li { font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.legal-draft-page .legal-document p { margin:0 0 16px; }
.legal-draft-page .legal-document ul { margin:0 0 18px; padding-left:22px; }
.legal-draft-page .legal-document li { margin-bottom:10px; }
.legal-draft-page .legal-document a { color:#8b4900; text-underline-offset:4px; text-decoration-thickness:1px; }
.legal-draft-page .legal-document a:hover, .legal-draft-page .legal-toc a:hover { color:#6e3900; text-decoration-thickness:2px; }
.legal-draft-page .legal-back { display:inline-block; padding:10px 0; font-size:13px; }
.legal-draft-page :is(main a, main input):focus-visible { outline:3px solid #0b7282; outline-offset:4px; border-radius:3px; }
.legal-draft-page #contents { scroll-margin-top:100px; }
.legal-draft-page .legal-skip { position:absolute; top:-100px; left:12px; z-index:2000; padding:12px 18px; background:#fff; color:#132b3b; border-radius:8px; }
.legal-draft-page .legal-skip:focus { top:8px; }
.legal-draft-page .legal-consent { min-width:0; margin:24px 0; padding:22px; border:1px solid #bdcdd7; border-radius:16px; background:#f2f8fb; }
.legal-draft-page .legal-consent legend { padding:0 8px; color:#132b3b; font-size:16px; font-weight:650; }
.legal-draft-page .legal-consent > p { font-size:14px; }
.legal-draft-page .legal-choice { display:grid; grid-template-columns:24px minmax(0,1fr); gap:14px; padding:16px 0; }
.legal-draft-page .legal-choice + .legal-choice { border-top:1px solid #ccdbe4; }
.legal-draft-page .legal-choice input { width:22px; height:22px; margin:4px 0 0; accent-color:#132b3b; }
.legal-draft-page .legal-choice label { display:block; min-height:44px; color:#132b3b; font-size:16px; line-height:1.75; cursor:pointer; }
.legal-draft-page .legal-choice p { margin:10px 0 0; font-size:14px; }
@media(max-width:900px) {
  .legal-draft-page .legal-layout { grid-template-columns:1fr; gap:24px; padding-top:24px; }
  .legal-draft-page .legal-toc { position:static; max-height:none; }
  .legal-draft-page .legal-toc ol { columns:2; column-gap:30px; }
  .legal-draft-page .legal-toc li { break-inside:avoid; }
  .legal-draft-page .legal-related { flex-direction:row; flex-wrap:wrap; gap:8px 24px; }
}
@media(max-width:520px) {
  .legal-draft-page .legal-hero { padding:40px 0 32px; }
  .legal-draft-page .legal-intro { font-size:17px; }
  .legal-draft-page .legal-toc ol { columns:1; }
  .legal-draft-page .legal-document { padding-inline:20px; border-radius:18px; }
  .legal-draft-page .legal-document section { padding:24px 0; }
  .legal-draft-page .legal-consent { padding:16px; }
}
@media(prefers-reduced-motion:reduce) { html:has(.legal-draft-page) { scroll-behavior:auto; } }
