/* Legal pages share the marketing site's navigation, typography and footer. */
.legal-document, .legal-page { overflow-x: clip; }
.legal-page { background: #fcfcfd; color: #0f172a; }
.legal-page #main { padding-top: 80px; }
.legal-container { width: min(100% - 64px, 1400px); margin-inline: auto; }
.legal-hero { position: relative; padding: 64px 0 56px; background: radial-gradient(ellipse at 80% 30%, #f5f3ff 0, transparent 55%), radial-gradient(ellipse at 10% 60%, #fff1f250 0, transparent 50%); }
.legal-breadcrumb { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 52px; }
.legal-breadcrumb > a { display: inline-flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.legal-breadcrumb > a > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e2e8f0; border-radius: 50%; transition: .2s; }
.legal-breadcrumb svg { width: 16px; height: 16px; }
.legal-breadcrumb > a:hover { color: #0f172a; }
.legal-breadcrumb > a:hover > span { color: white; background: #0f172a; }
.legal-breadcrumb > span { color: #D63384; font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.legal-hero-copy { max-width: 1100px; margin: auto; text-align: center; }
.legal-badge { display: inline-block; padding: 9px 22px; border: 1px solid #ffe4e6; border-radius: 999px; background: #fff1f2; color: #D63384; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.legal-hero h1 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.14; letter-spacing: -.045em; font-weight: 800; margin: 24px 0; }
.legal-lead { max-width: 850px; margin: auto; color: #64748b; font-size: 17px; font-weight: 500; line-height: 1.9; }
.legal-updated { margin: 24px 0 0; color: #94a3b8; font-size: 12px; font-weight: 500; }
.legal-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 18px 28px; margin-top: 28px; border-radius: 16px; color: white; font-size: 14px; font-weight: 600; box-shadow: 0 16px 32px #d6338426; transition: transform .2s, box-shadow .2s; }
.legal-primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 36px #d6338438; }
.legal-primary-button svg { width: 20px; height: 20px; flex-shrink: 0; }
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; gap: 32px; max-width: 1240px; padding-bottom: 100px; }
.legal-sidebar { position: sticky; top: 112px; }
.legal-toc, .legal-help, .legal-card, .legal-contact { background: white; border: 1px solid #f1f5f9; border-radius: 28px; box-shadow: 0 12px 40px #0f172a04; }
.legal-toc { padding: 28px 24px; max-height: calc(100vh - 150px); overflow-y: auto; }
.legal-toc h2 { margin: 0 0 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #94a3b8; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; counter-reset: legal-section; }
.legal-toc li { margin: 0; counter-increment: legal-section; }
.legal-toc a { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; color: #64748b; font-size: 12px; font-weight: 500; line-height: 1.6; transition: color .2s; }
.legal-toc a::before { content: counter(legal-section, decimal-leading-zero); flex-shrink: 0; color: #D63384; font-size: 10px; font-weight: 700; }
.legal-toc a:hover { color: #D63384; }
.legal-related-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 12px 0; color: #D63384; font-size: 12px; font-weight: 600; line-height: 1.7; }
.legal-related-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.legal-copy { min-width: 0; color: #64748b; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.legal-copy p, .legal-copy li, .legal-copy a { font-size: inherit; line-height: inherit; }
.legal-copy p { margin: 14px 0 0; }
.legal-copy strong { color: #334155; font-weight: 600; }
.legal-copy a { color: #D63384; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #D6338466; }
.legal-copy a:hover { color: #E63946; }
.legal-card { padding: 36px 40px; margin-top: 24px; scroll-margin-top: 112px; }
.legal-card:first-child { margin-top: 0; }
.legal-card h2 { margin: 0 0 18px; color: #0f172a; font-size: 23px; line-height: 1.4; font-weight: 700; letter-spacing: -.025em; }
.legal-card ul, .legal-card ol { margin: 18px 0 0; padding-left: 22px; }
.legal-card ul { list-style: disc; }
.legal-card ol { list-style: decimal; }
.legal-card li { padding-left: 4px; margin-top: 12px; }
.legal-card li::marker { color: #D63384; font-weight: 600; }
.legal-card code { color: #334155; font-size: .9em; background: #f8fafc; padding: 2px 5px; border-radius: 5px; }
.legal-contact { display: flex; align-items: flex-start; gap: 18px; padding: 28px 32px; background: linear-gradient(135deg, #fff1f2, #f5f3ff); border-color: #fce7f3; }
.legal-contact > svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 5px; color: #D63384; }
.legal-contact p { margin: 0; font-size: 14px; }
.legal-copy .note { border-left: 3px solid #D63384; border-radius: 0 16px 16px 0; padding: 20px 24px; background: #fdf2f8; font-size: 14px; margin-top: 28px; }
.legal-help { padding: 30px 24px; }
.legal-help-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 16px; background: #fdf2f8; color: #D63384; }
.legal-help-icon svg { width: 24px; height: 24px; }
.legal-help h2 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.legal-help p { color: #64748b; font-size: 13px; line-height: 1.8; margin: 12px 0 24px; }
.legal-help > a { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: #334155; font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.legal-help > a svg { width: 16px; height: 16px; color: #D63384; flex-shrink: 0; }
.legal-page a:focus-visible, .legal-page button:focus-visible { outline: 3px solid #6366F1; outline-offset: 5px; }
.legal-skip { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; background: #0f172a; color: white; border-radius: 12px; }
.legal-skip:focus { top: 16px; }
@media (min-width: 1600px) { .legal-container { width: min(100% - 96px, 1536px); } .legal-layout { max-width: 1280px; gap: 48px; } }
@media (max-width: 1023px) { .legal-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; } .legal-card { padding: 28px; } .legal-toc, .legal-help { padding: 24px 20px; } .legal-hero h1 { font-size: 44px; } }
@media (max-width: 767px) {
 .legal-container { width: calc(100% - 40px); }
 .legal-hero { padding: 36px 0 36px; }
 .legal-breadcrumb { margin-bottom: 32px; }
 .legal-breadcrumb > span { font-size: 8px; letter-spacing: .13em; }
 .legal-breadcrumb > a { font-size: 9px; letter-spacing: .1em; gap: 8px; }
 .legal-breadcrumb > a > span { width: 32px; height: 32px; }
 .legal-badge { font-size: 10px; padding: 8px 16px; }
 .legal-hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); margin: 20px 0; }
 .legal-lead { font-size: 14px; line-height: 1.85; }
 .legal-updated { font-size: 10px; margin-top: 20px; }
 .legal-primary-button { font-size: 12px; gap: 12px; padding: 16px 22px; }
 .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 56px; }
 .legal-sidebar { position: static; }
 .legal-toc { max-height: none; border-radius: 24px; }
 .legal-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
 .legal-toc a { font-size: 11px; gap: 7px; padding: 8px 0; }
 .legal-related-link { margin-top: 14px; }
 .legal-copy { font-size: 14px; }
 .legal-card { padding: 26px 24px; border-radius: 24px; margin-top: 20px; }
 .legal-card h2 { font-size: 20px; }
 .legal-contact { padding: 24px; gap: 12px; border-radius: 24px; }
 .legal-contact p { font-size: 12px; }
 .legal-contact > svg { width: 20px; height: 20px; }
 .legal-copy .note { padding: 16px 18px; font-size: 12px; }
 .legal-layout--deletion .legal-sidebar { order: 2; }
 .legal-help > a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .legal-page *, .legal-page *::before, .legal-page *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } }

