/* Approved v0 legal-page layout; legal wording is preserved by the public build. */
.legal-main { background: var(--dr-surface); }
.legal-hero { padding: 80px 0 56px; border-bottom: 1px solid var(--dr-line); background: white; }
.legal-page .legal-hero h1 { max-width: 768px; margin: 16px 0 20px; font-size: 48px; font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.legal-hero .fine-print { color: var(--dr-slate); font-size: 14px; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.legal-sidebar, .legal-copy { min-width: 0; }
.legal-sticky { position: sticky; top: 96px; display: grid; gap: 16px; }
.legal-card { border: 1px solid var(--dr-line); border-radius: 16px; background: white; padding: 20px; }
.legal-sidebar h2 { font: 600 12px/1.5 Inter, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--dr-slate); }
.legal-sidebar :is(ul, ol) { display: grid; gap: 4px; margin-top: 12px; font-size: 14px; }
.legal-contents ol { max-height: 55vh; overflow-y: auto; padding-right: 4px; }
.legal-sidebar a { display: block; padding: 6px 8px; border-radius: 6px; line-height: 1.4; color: var(--dr-slate); }
.legal-sidebar a:hover { background: var(--dr-surface); color: var(--dr-navy); }
.legal-sidebar a[aria-current="page"] { background: var(--dr-navy); color: white; font-weight: 500; }
.legal-copy { padding: 40px; overflow-wrap: anywhere; }
.legal-copy > p { font-size: 18px; }
.legal-copy p + p, .legal-copy :is(ul, ol) { margin-top: 16px; }
.legal-copy section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--dr-line); scroll-margin-top: 96px; }
.legal-copy section h2 { margin-bottom: 16px; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.legal-copy section p { margin-top: 16px; }
.legal-copy li { position: relative; padding-left: 20px; margin-top: 10px; }
.legal-copy ul > li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--dr-gold); }
.legal-copy ol { counter-reset: legal-step; }
.legal-copy ol > li { padding-left: 36px; }
.legal-copy ol > li::before { counter-increment: legal-step; content: counter(legal-step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--dr-navy); color: white; font-size: 12px; }
.legal-copy a { color: #2563eb; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.legal-copy strong { font-weight: 600; color: var(--dr-navy); }
.legal-copy .caps { text-transform: uppercase; font-size: 14px; }
.legal-copy .notice-box { padding: 20px; margin-bottom: 24px; border: 1px solid var(--dr-line); border-left: 4px solid var(--dr-gold); border-radius: 12px; background: #fff8e6; }
.legal-copy .notice-box p { margin: 0; font-weight: 600; }
@media (max-width: 1279px) {
    .legal-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
@media (max-width: 1023px) {
    .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .legal-contents { display: none; }
    .legal-sticky { position: static; }
}
@media (max-width: 639px) {
    .legal-hero { padding: 64px 0 48px; }
    .legal-page .legal-hero h1 { font-size: 36px; }
    .legal-grid { padding-top: 48px; padding-bottom: 48px; }
    .legal-copy { padding: 24px; }
}
