/* Legal document styling; wording remains in content/terms.php. */
.terms-page{color:#24485a;background:#fff}
.terms-hero{padding:4.5rem 1.5rem 3.8rem;border-bottom:1px solid #dcebf2}
.terms-hero :is(h1,:where(.site-page-title)){font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.14;letter-spacing:-.045em;max-width:900px;padding:0}
.terms-hero h2:not(:where(.site-page-title)){font-size:1.1rem;font-weight:500;line-height:1.6;color:#526c7b;margin:1.3rem 0 0;padding:0}
.terms-document{max-width:1040px;margin:auto;padding:3.5rem 2rem 5rem;font-size:1rem;line-height:1.85;overflow-wrap:anywhere}
.terms-intro{background:linear-gradient(135deg,#f0f8fc,#f5faf8);border:1px solid #dce9ef;border-radius:22px;padding:2rem 2.25rem;margin-bottom:3.5rem}
.terms-intro p:first-child{margin-top:0}.terms-intro p:last-child{margin-bottom:0}
.terms-section{padding:0 0 2.5rem;margin:0 0 2.5rem;border-bottom:1px solid #dce9ef;scroll-margin-top:100px}
.terms-section h2:not(:where(.site-page-title)){padding:0;font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.5;letter-spacing:-.025em;font-weight:700;margin:0 0 1.5rem;color:#183543}
.terms-section h2:not(:where(.site-page-title)):before{content:"";display:block;width:36px;height:4px;border-radius:4px;background:#fe585b;margin-bottom:1rem}
.terms-section h3,.terms-section h4,.terms-section h5{font-size:1.05rem;line-height:1.6;margin:1.5rem 0 .75rem;color:#183543}
.terms-document p{margin:1rem 0}.terms-document ol{padding-left:1.7rem;margin:1rem 0}.terms-document ol ol{padding-left:1.6rem}.terms-document li{padding-left:.35rem;margin:.75rem 0}.terms-document li::marker{color:#526c7b;font-weight:600}
.terms-document a{color:#2560cc;text-underline-offset:4px}.terms-document a:focus-visible{outline:3px solid #2560cc;outline-offset:4px}
.terms-document hr{border:0;border-top:1px solid #dce9ef;margin:2rem 0}.terms-annex{background:#f6fafc;border:1px solid #dce9ef;border-radius:20px;padding:2rem}.terms-section:last-child{margin-bottom:0}
@media(max-width:650px){.terms-hero{padding:2.75rem 1.25rem}.terms-hero h2:not(:where(.site-page-title)){font-size:1rem}.terms-document{padding:2rem 1.25rem 3rem;font-size:.96rem;line-height:1.8}.terms-intro{padding:1.35rem;margin-bottom:2.5rem;border-radius:16px}.terms-section{margin-bottom:2rem;padding-bottom:2rem}.terms-annex{padding:1.25rem}.terms-document ol{padding-left:1.25rem}.terms-document ol ol{padding-left:1.1rem}}
@media print{.NavWrapper,.dropdown,.mobile-burger,.mobile-nav-panel,.mobile-backdrop,footer{display:none!important}.terms-hero{padding:1rem;background:none}.terms-document{padding:1rem;max-width:none}.terms-intro,.terms-annex{background:none;border-color:#ccc}.terms-section{break-inside:auto}.terms-section h2:not(:where(.site-page-title)){break-after:avoid}}
