.legal-page{background:#fff;color:#192840;min-height:75vh;padding:64px 0 110px}.legal-header{border-bottom:1px solid #dfe6ef;padding:22px 0 48px;margin-bottom:40px;max-width:980px}.legal-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:2px;color:#3e5eaa;margin-bottom:22px}.legal-header h1{font-size:clamp(36px,5vw,60px);font-weight:800;letter-spacing:-2px;line-height:1.14;margin-bottom:19px}.legal-header>p{font-size:16px;line-height:1.8;color:#63738b;max-width:670px}.legal-meta{display:flex;gap:14px;align-items:center;font-size:12px;color:#8290a5;margin-top:22px}.legal-meta a{color:#3155a1;text-decoration:none;font-weight:750}.legal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:70px;align-items:start}.legal-aside{position:sticky;top:95px;padding:20px 0}.legal-aside strong{text-transform:uppercase;font-size:11px;letter-spacing:1.1px;color:#8290a5}.legal-aside nav{display:grid;gap:3px;margin-top:14px}.legal-aside nav a{display:block;text-decoration:none;color:#60708a;border-left:2px solid #d9e1ee;padding:8px 14px;font-size:12px;line-height:1.5;transition:color .2s,border-color .2s}.legal-aside nav a:hover,.legal-aside nav a:focus-visible{border-color:#3b5eb3;color:#284ca0}.legal-section{display:grid;grid-template-columns:40px minmax(0,1fr);gap:18px;border-bottom:1px solid #e3e9f2;padding:27px 0 32px;scroll-margin-top:90px}.legal-section:first-child{padding-top:8px}.legal-index{font-size:12px;color:#8294b0;font-weight:800;letter-spacing:.5px;padding-top:5px}.legal-section h2{font-size:21px;line-height:1.35;font-weight:800;letter-spacing:-.4px;margin:0 0 15px}.legal-section p{font-size:14px;line-height:1.95;color:#52647f;margin:0;max-width:750px}.legal-article{min-width:0}@media(max-width:900px){.legal-layout{grid-template-columns:1fr;gap:18px}.legal-aside{position:static;padding:0 0 20px;border-bottom:1px solid #e2e8f1}.legal-aside nav{display:flex;overflow:auto;gap:8px;padding:8px 0}.legal-aside nav a{flex:0 0 auto;border-left:0;border-bottom:2px solid #d9e1ee;padding:8px}.legal-section{scroll-margin-top:30px}}@media(max-width:600px){.legal-page{padding:34px 0 70px}.legal-header{padding-bottom:30px;margin-bottom:23px}.legal-header h1{letter-spacing:-1.3px}.legal-section{grid-template-columns:28px minmax(0,1fr);gap:10px}.legal-section h2{font-size:18px}.legal-section p{font-size:13px}.legal-meta{flex-wrap:wrap}}

/* Long-form legal content; shares the NoteLog website's restrained visual language. */
.legal-header .legal-intro{margin:13px 0 0;max-width:800px;color:#455b7b;font-size:14px;line-height:1.85}
.legal-section-main{min-width:0}
.legal-aside nav{max-height:calc(100vh - 172px);overflow-y:auto;scrollbar-width:thin;padding-right:9px}
.legal-section p{color:#475a77;font-size:15px;line-height:1.83;max-width:790px}
.legal-section p+p{margin-top:17px}
.legal-section h3{font-size:15px;line-height:1.55;font-weight:800;letter-spacing:-.15px;margin:26px 0 10px;color:#263c61}
.legal-section ul,.legal-section ol{margin:15px 0 21px;padding-left:25px;max-width:790px}
.legal-section li{color:#475a77;font-size:14px;line-height:1.83;margin:8px 0;padding-left:3px}
.legal-section li::marker{color:#4163ad}
.legal-section .legal-note{max-width:790px;margin:19px 0 6px;border-left:3px solid #7894d8;border-radius:0 8px 8px 0;padding:15px 18px;background:#eef3fb;color:#3c5378;font-size:13px;line-height:1.85}
.legal-table-wrap{margin:23px 0 25px;max-width:100%;overflow-x:auto;background:#fff;border:1px solid #e0e7f2;border-radius:11px;scrollbar-width:thin}
.legal-table-wrap:focus-visible{outline:2px solid #4167bf;outline-offset:3px}
.legal-table{width:100%;min-width:630px;border-collapse:collapse;text-align:left}
.legal-table caption{caption-side:top;color:#516383;background:#f7f9fd;border-bottom:1px solid #e5eaf2;padding:13px 17px;font-size:12px;font-weight:800}
.legal-table th,.legal-table td{padding:13px 15px;vertical-align:top;border-bottom:1px solid #edf1f6;font-size:12px;line-height:1.65;color:#546784;overflow-wrap:anywhere}
.legal-table th{background:#f9fbff;color:#344b70;font-weight:800;white-space:normal}
.legal-table tr:last-child td{border-bottom:0}
.legal-table tr:nth-child(even) td{background:#fbfcff}
.legal-external-link{margin-top:12px!important}
.legal-external-link a{color:#2d56a4;font-weight:750;text-decoration:underline;text-decoration-color:#b6c6e6;text-underline-offset:3px}
.legal-closing{border:1px solid #e0e6f1;background:#fff;border-radius:11px;padding:23px 26px;margin-top:30px;color:#516581;font-size:13px;line-height:1.8}
@media(max-width:900px){.legal-aside nav{max-height:none;overflow-x:auto;overflow-y:hidden;padding-right:0}.legal-header .legal-intro{font-size:13px}}
@media(max-width:600px){.legal-section p{font-size:14px;line-height:1.8}.legal-section li{font-size:13px}.legal-section h3{font-size:14px}.legal-table th,.legal-table td{font-size:11px;padding:12px}.legal-section .legal-note{font-size:12px;padding:13px}.legal-closing{padding:19px 17px}}

/* Align long-form legal prose evenly on both edges; leave headings and tabular data unchanged. */
.legal-section-main > p:not(.legal-external-link),
.legal-section-main li,
.legal-header .legal-intro,
.legal-closing {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Grouped legal navigation and scroll-aware section indicator. */
.legal-toc{overscroll-behavior:contain}
.legal-toc-group{display:grid;gap:3px;padding:4px 0 12px}
.legal-toc-group+.legal-toc-group{border-top:1px solid #e8edf5;padding-top:16px}
.legal-toc-group-title{display:block;margin:0 0 5px;padding:0 14px;font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:#647b9e;line-height:1.5}
.legal-aside .legal-toc a{border-radius:0 8px 8px 0;transition:background-color .2s,color .2s,border-color .2s,transform .2s}
.legal-aside .legal-toc a.is-active,.legal-aside .legal-toc a[aria-current="location"]{border-color:#315cba;color:#244b9e;background:#edf3ff;font-weight:800}
.legal-aside .legal-toc a.is-active{transform:translateX(2px)}
.legal-aside .legal-toc a:focus-visible{outline:2px solid #315cba;outline-offset:2px}
@media(max-width:900px){
    .legal-aside .legal-toc{display:flex;gap:12px;padding:8px 0 12px;scrollbar-width:thin}
    .legal-toc-group{flex:0 0 240px;padding:8px 10px 12px;border:1px solid #e2e9f4;border-radius:11px;background:#fafcff}
    .legal-toc-group+.legal-toc-group{padding-top:8px;border-top:1px solid #e2e9f4}
    .legal-toc-group-title{padding:0 9px}
    .legal-aside .legal-toc a{border-left:2px solid #d9e1ee;border-bottom:0;white-space:normal;padding:7px 9px}
    .legal-aside .legal-toc a.is-active{transform:none}
}

