/* Legal pages (privacy policy): a dark title band in the hero's colours, then a readable single column. */
.legal-hero{position:relative;background:radial-gradient(120% 140% at 85% 0%,#1d3a30 0%,var(--ink) 55%);color:#fff;padding:168px 7% 64px}
.legal-hero .header{border-bottom-color:#ffffff2b}
.legal-title{max-width:860px}
.legal-title h1{font-size:clamp(36px,4.4vw,60px);line-height:1.4}
.legal-updated{margin:14px 0 0;font-size:15px;color:#d6e2da}

.legal-body{display:grid;grid-template-columns:240px minmax(0,760px);gap:7%;padding:72px 7% 96px;justify-content:start}
.legal-body:focus{outline:none}
.legal-toc{position:sticky;top:32px;align-self:start;font-size:15px}
.legal-toc p{margin:0 0 10px;font-weight:700}
.legal-toc ol{margin:0;padding:0 0 0 1.2em;color:var(--muted)}
.legal-toc li{margin:4px 0}
.legal-toc a{display:inline;min-height:0;border:0;color:var(--ink)}
.legal-toc a:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}

.legal-text{max-width:760px}
.legal-text .lead{font-size:19px;line-height:1.8;margin:0 0 40px}
.legal-text section{padding-top:28px;margin-top:28px;border-top:1px solid var(--line);scroll-margin-top:24px}
.legal-text h2{font-size:clamp(24px,2.2vw,30px);line-height:1.5;margin:0 0 14px;max-width:none}
.legal-text h3{font-size:18px;line-height:1.6;margin:22px 0 6px}
.legal-text p{margin:0 0 14px}
.legal-text ul,.legal-text ol{margin:0 0 14px;padding-left:1.25em}
.legal-text li{margin:6px 0;line-height:1.75}
.legal-text a:not(.button){display:inline;min-height:0;border:0;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.legal-back{margin-top:48px}

footer a[aria-current="page"]{text-decoration:underline;text-underline-offset:4px}

@media(max-width:900px){
 .legal-body{grid-template-columns:1fr;gap:32px;padding:48px 24px 72px}
 .legal-toc{position:static;padding:18px 20px;background:var(--surface);border-radius:4px}
}
@media(max-width:700px){
 .legal-hero{padding:128px 24px 44px}
 .legal-text .lead{font-size:17px}
 .legal-back .button{width:100%}
}

/* 2026-10-29 redesign: header, buttons and tokens this page used to take from the old stylesheet */
.legal-page{--green:var(--accent)}
.legal-hero{background:radial-gradient(120% 140% at 85% 0%,#2a6b55 0%,#17463A 60%)}
.legal-hero .header{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:max(18px,env(safe-area-inset-top)) clamp(16px,4vw,48px) 18px;border-bottom:1px solid #ffffff2b}
.legal-hero .header img{width:clamp(132px,13vw,174px);height:auto}
.legal-hero .header nav{display:flex;align-items:center;gap:20px;font-size:16px}
.legal-hero .header nav a{color:#fff;text-decoration:none}
.legal-hero .nav-cta{background:#FFFDF8;color:var(--accent)!important;padding:9px 16px;border-radius:999px}
.legal-hero .eyebrow{color:var(--champa)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:999px;background:var(--accent);color:#fff;text-decoration:none;font-weight:600}
.button:hover{background:var(--accent-hover)}
@media (max-width:759px){.legal-hero .header nav a:not(.nav-cta){display:none}}
.legal-hero .brand{display:inline-flex;align-items:center;min-height:44px}

/* terms page: clause numbers and lettered lists from the PDF */
.terms-text .cl-n{color:var(--green);font-weight:600;margin-right:.35em}
.terms-text .terms-list{list-style:none;padding-left:1.1em}
.terms-text .li-n{font-weight:600;color:var(--green);margin-right:.3em}
.terms-text .terms-pdf{font-size:15px;color:var(--muted)}
