:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #0f172a; background: #f1f5f9; line-height: 1.75; }
* { box-sizing: border-box; }
body { margin: 0; }
.legal-shell { max-width: 860px; margin: 32px auto; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px -20px #0f172a20; }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 32px; border-bottom: 1px solid #e2e8f0; }
.brand { display: flex; }
.brand img { object-fit: contain; }
a { color: #4f46e5; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: #3730a3; }
a:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 4px; border-radius: 4px; }
.back { font-size: 14px; text-decoration: none; }
main { padding: 32px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6366f1; }
h1 { font-size: clamp(26px, 5vw, 38px); line-height: 1.2; letter-spacing: -.035em; margin: 16px 0; overflow-wrap: anywhere; }
.subtitle { color: #475569; font-size: 17px; }
.updated { color: #64748b; font-size: 13px; }
.toc { display: grid; gap: 8px; margin: 28px 0; padding: 20px; border: 1px solid #e2e8f0; background: #fff; border-radius: 18px; font-size: 14px; }
.toc a { text-decoration: none; }
section { padding: 12px 0; scroll-margin-top: 20px; }
h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.02em; margin: 16px 0; }
section div { color: #334155; font-size: 15px; }
p { margin: 12px 0; }
ul { padding-left: 22px; margin: 12px 0; }
li + li { margin-top: 12px; }
strong { color: #0f172a; }
footer { border-top: 1px solid #e2e8f0; padding: 24px 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
footer p { width: 100%; color: #64748b; margin: 4px 0 0; }
.contact-dialog { width: min(460px, calc(100% - 32px)); max-height: 90vh; max-height: 90dvh; padding: 24px; border: 1px solid #e2e8f0; border-radius: 24px; color: #0f172a; background: #fff; overflow-y: auto; box-shadow: 0 20px 60px #0f172a30; font-size: 14px; }
.contact-dialog::backdrop { background: #0f172a80; }
.contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contact-heading h2 { margin: 0; }
.contact-heading button { border: 0; border-radius: 10px; background: #f1f5f9; width: 34px; height: 34px; font-size: 24px; cursor: pointer; }
.contact-dialog label { display: block; margin: 14px 0 6px; font-weight: 600; }
.contact-dialog input, .contact-dialog textarea, .contact-dialog select { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #f8fafc; color: #0f172a; font: inherit; }
.contact-dialog textarea { resize: vertical; }
.contact-dialog :focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.contact-note { color: #64748b; font-size: 12px; line-height: 1.6; }
.contact-submit { width: 100%; margin-top: 12px; padding: 12px; border: 0; border-radius: 14px; background: #4f46e5; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.contact-submit:disabled { opacity: .5; cursor: default; }
.contact-error { color: #b91c1c; }
.contact-noscript { max-width: 860px; margin: 16px auto; padding: 16px; color: #475569; font-size: 14px; }
@media (max-width: 600px) { .legal-shell { margin: 0; border: 0; border-radius: 0; } header, footer { padding: 18px 20px; } main { padding: 24px 20px; } .back { font-size: 12px; } }
