/* The AI Matters public legal centre — scoped; leaves all workspace views intact. */
body.tam-legal-page{margin:0;background:#f6f9f8;color:#19353b;font-family:Inter,Arial,system-ui,sans-serif;font-size:15px;line-height:1.72}
.tam-legal,.tam-legal *{box-sizing:border-box}
.tam-legal{min-height:55vh}
.tam-legal a{color:#087968;text-underline-offset:3px}
.tam-legal a:hover{color:#045949}
.tam-legal-wrap{max-width:1190px;margin:0 auto;padding-left:25px;padding-right:25px}
.tam-legal-hero{background:radial-gradient(ellipse at 87% 2%,rgba(26,174,145,.16),transparent 52%),linear-gradient(135deg,#0a3036 0%,#082a37 78%);color:#fff;padding:54px 0 62px;overflow:hidden}
.tam-legal-breadcrumb{display:flex;gap:10px;align-items:center;color:#a1c2bd;font-size:12px;margin:0 0 26px}
.tam-legal-breadcrumb a{color:#d0e8de;text-decoration:none}
.tam-legal-kicker{display:inline-block;font-size:10px;font-weight:850;letter-spacing:.2em;color:#beeec3;padding:6px 11px;border:1px solid rgba(166,239,191,.24);background:rgba(166,239,191,.075);border-radius:7px}
.tam-legal-hero h1{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:800;font-size:clamp(35px,5vw,56px);letter-spacing:-.052em;line-height:1.12;margin:17px 0;color:#fff}
.tam-legal-summary{max-width:740px;font-size:clamp(14px,1.8vw,17px);line-height:1.8;color:#c2dcd5;margin:0 0 17px}
.tam-legal-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px;color:#b6d3ce}
.tam-legal-layout{display:grid;grid-template-columns:256px minmax(0,1fr);gap:37px;padding-top:46px;padding-bottom:75px;align-items:start}
.tam-legal-sidebar{position:sticky;top:100px;background:#fff;border:1px solid #e0ebe7;box-shadow:0 5px 20px rgba(6,55,43,.035);border-radius:16px;padding:23px 16px}
.tam-legal-sidebar>p{font-size:11px;letter-spacing:.14em;font-weight:850;color:#76938a;margin:0 10px 14px}
.tam-legal-sidebar>a{display:block;border-radius:9px;padding:11px 13px;margin:3px 0;text-decoration:none;font-size:13px;color:#365658;font-weight:680;line-height:1.55;transition:background .15s}
.tam-legal-sidebar>a:hover{background:#edf7f2;color:#046d59}
.tam-legal-sidebar>a[aria-current=page]{color:#08765f;background:#eaf7ef;border-left:3px solid #089b76;padding-left:10px;font-weight:800}
.tam-legal-help{margin:23px 4px 1px;border-top:1px solid #e8f0ec;padding:16px 9px 0;font-size:12px;display:grid;gap:4px;overflow-wrap:anywhere}
.tam-legal-help strong{color:#1e4948;font-size:12px}
.tam-legal-help span{color:#728c89}
.tam-legal-help a{color:#007f69;font-size:11px;font-weight:760}
.tam-legal-document{background:#fff;border:1px solid #e2ece7;border-radius:19px;padding:35px clamp(22px,4vw,52px) 38px;box-shadow:0 9px 37px rgba(4,59,53,.04);min-width:0}
.tam-legal-note{border:1px solid #d3e9df;background:#f0faf4;border-radius:12px;padding:17px 19px;margin:0 0 23px}
.tam-legal-note strong{font-weight:800;color:#135c50;font-size:14px}
.tam-legal-note p{margin:4px 0 0;color:#426f6a;font-size:12px;line-height:1.8}
.tam-legal-section{padding:23px 0 24px;border-bottom:1px solid #e8efed;scroll-margin-top:100px}
.tam-legal-section:last-of-type{border-bottom:0}
.tam-legal-section h2{display:flex;align-items:flex-start;gap:14px;margin:0 0 13px;color:#183f43;font-family:'Plus Jakarta Sans',Inter,sans-serif;font-size:clamp(17px,2vw,21px);letter-spacing:-.025em;line-height:1.45;font-weight:780}
.tam-legal-section h2 span{color:#089981;font-size:12px;line-height:2.3;letter-spacing:.02em;font-weight:850}
.tam-legal-section p,.tam-legal-section li{color:#50666c;font-size:13.5px;line-height:1.95;overflow-wrap:anywhere}
.tam-legal-section p{margin:8px 0 14px}
.tam-legal-section p:last-child{margin-bottom:0}
.tam-legal-section ul{padding-left:22px;margin:6px 0 16px}
.tam-legal-section li{margin:7px 0}
.tam-legal-section li::marker{color:#079d80}
.tam-legal-section strong{color:#284b4d;font-weight:790}
.tam-legal-document-end{border-radius:13px;background:#113e40;color:#d1e6dc;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:32px}
.tam-legal-document-end p{font-size:13px;color:#d6e7e4;max-width:400px;margin:0}
.tam-legal-document-end a{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 18px;border-radius:9px;background:#bdebd1;color:#0a443d;text-decoration:none;font-size:12px;font-weight:790;white-space:nowrap}
.tam-legal-document-end a:hover{background:#d9f5e6;color:#0b3b35}
@media(max-width:900px){.tam-legal-layout{grid-template-columns:1fr;gap:20px;padding-top:27px}.tam-legal-sidebar{position:static;display:flex;flex-wrap:wrap;gap:6px;padding:15px}.tam-legal-sidebar>p{width:100%;margin:0 8px 4px}.tam-legal-sidebar>a{padding:8px 10px;font-size:12px}.tam-legal-sidebar>a[aria-current=page]{padding-left:8px;border-left:0;border-bottom:2px solid #089b76}.tam-legal-help{width:100%;margin:7px 0 0;padding:10px 8px 0}}
@media(max-width:540px){.tam-legal-wrap{padding-left:16px;padding-right:16px}.tam-legal-hero{padding:31px 0 43px}.tam-legal-breadcrumb{margin-bottom:17px}.tam-legal-hero h1{margin:13px 0;font-size:clamp(31px,9vw,41px)}.tam-legal-layout{padding-bottom:40px}.tam-legal-document{padding:23px 17px}.tam-legal-section{padding:20px 0}.tam-legal-section h2{gap:8px;font-size:17px}.tam-legal-section h2 span{font-size:10px;line-height:2.5}.tam-legal-document-end{flex-direction:column;align-items:flex-start;padding:20px}.tam-legal-document-end a{width:100%}}
@media(prefers-reduced-motion:reduce){.tam-legal-sidebar>a{transition:none}}
