:root{
  --ink:#16201b;--forest:#1d6a55;--forest-dk:#15523f;--forest-deep:#0e3a2f;
  --amber:#c8862a;--amber-dk:#a86c1d;--sand:#f7f3ec;--sand-2:#efe9dd;
  --paper:#fff;--line:#e7e2d8;--text:#39413b;--muted:#6e746c;
  --radius:18px;--radius-sm:12px;--maxw:900px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:"Hanken Grotesk",system-ui,sans-serif;font-size:18px;line-height:1.62;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased}
h2,h3,h4{font-family:"Bricolage Grotesque",system-ui,sans-serif;color:var(--ink);line-height:1.12;letter-spacing:-.02em;font-weight:700}
a{color:var(--forest);text-decoration:none}
a:hover{color:var(--forest-dk)}
p{margin-bottom:1.05rem}
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(18px,5vw,36px)}

/* header */
.lheader{background:var(--forest-deep);position:sticky;top:0;z-index:50;padding-top:env(safe-area-inset-top)}
.lnav{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;height:auto;min-height:70px;padding:10px 0}
.brand{display:flex;align-items:center;gap:.6rem;font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:1.12rem;color:#fff;letter-spacing:-.02em}
.brand .mark{width:32px;height:32px;border-radius:9px;background:var(--amber);display:grid;place-items:center;flex:none}
.brand .mark svg{width:19px;height:19px;stroke:#231806;stroke-width:2.2;fill:none}
.brand b{font-weight:800}.brand i{color:var(--amber);font-style:normal}
.lnav-links{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.lnav-links a{color:rgba(255,255,255,.9);font-weight:600;font-size:.92rem;padding:.5rem .7rem;border-radius:8px}
.lnav-links a:hover{background:rgba(255,255,255,.12);color:#fff}
.lnav-links a.active{color:var(--amber)}
.btn{display:inline-flex;align-items:center;gap:.5rem;min-height:46px;padding:0 1.15rem;border-radius:999px;font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:.92rem;background:var(--amber);color:#231806;border:none;transition:.2s}
.btn:hover{background:var(--amber-dk);color:#231806;transform:translateY(-2px)}
.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}

/* title band */
.legal-hero{background:var(--sand);border-bottom:1px solid var(--line);padding:clamp(40px,7vw,70px) 0}
.legal-hero .eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--forest);margin-bottom:.8rem}
.legal-hero .eyebrow::before{content:"";width:24px;height:2px;background:var(--amber)}
.legal-hero h2{font-size:clamp(2rem,5vw,3rem)}
.legal-hero p{color:var(--muted);margin-top:.8rem;max-width:60ch}
.legal-hero .updated{display:inline-block;margin-top:1rem;font-size:.85rem;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:.35rem .9rem}

/* article */
.legal{padding:clamp(40px,7vw,70px) 0}
.legal h3{font-size:clamp(1.3rem,2.6vw,1.7rem);color:var(--forest-deep);margin:2.2rem 0 .7rem;padding-top:1.4rem;border-top:1px solid var(--line)}
.legal h3:first-of-type{border-top:none;padding-top:0;margin-top:0}
.legal h4{font-size:1.12rem;color:var(--forest);margin:1.4rem 0 .4rem}
.legal p,.legal li{color:var(--text)}
.legal ul{margin:0 0 1.1rem 1.2rem;display:flex;flex-direction:column;gap:.5rem}
.legal a{font-weight:600}
.legal .box{background:var(--sand);border:1px solid var(--line);border-left:4px solid var(--forest);border-radius:var(--radius-sm);padding:18px 20px;margin:1.4rem 0}
.legal .box p:last-child{margin-bottom:0}

/* footer */
.lfooter{background:var(--ink);color:rgba(255,255,255,.7);padding:48px 0 26px;font-size:.95rem}
.lfooter .lcols{display:flex;flex-wrap:wrap;gap:30px 50px;margin-bottom:32px}
.lfooter h4{color:#fff;font-size:1rem;margin-bottom:.8rem}
.lfooter ul{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.lfooter a{color:rgba(255,255,255,.7)}
.lfooter a:hover{color:var(--amber)}
.lfooter .about{max-width:36ch}
.lfooter .about .brand{margin-bottom:.8rem}
.lfooter .bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;font-size:.84rem;color:rgba(255,255,255,.5)}
.lfooter .bottom a{color:rgba(255,255,255,.6)}

@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* mobile UX refinements for legal pages */
.lfooter a{word-break:break-word}
.lnav-links a{word-break:break-word}
@media(max-width:600px){
  .lnav{min-height:auto;padding:12px 0}
  .lnav-links{width:100%;gap:.2rem}
  .lnav-links a{padding:.7rem .7rem;font-size:.9rem}
  .lnav-links .btn{min-height:48px;margin-left:auto}
  .legal-hero{padding:34px 0}
}
