/* Terms page — matched to Coreline Fibre approved homepage */
.terms-head{background:#073e30}
.terms-hero{position:relative;min-height:352px;overflow:hidden;isolation:isolate}
.terms-hero-photo{position:absolute;inset:-5% -4% -10% 23%;z-index:-3;background:url('../img/hero-landscape.webp') center 54%/cover no-repeat;opacity:.72;filter:brightness(.65) saturate(1.12);mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.5) 30%,#000000 75%)}
.terms-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#073e30 5%,rgba(13,42,30,.97) 36%,rgba(12,42,29,.72) 65%,rgba(12,42,29,.4)),linear-gradient(180deg,transparent,rgba(8,27,19,.35))}
.terms-route-lines{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.72}
.terms-hero-content{position:relative;z-index:1;padding-block:45px 66px}
.terms-breadcrumb{display:flex;align-items:center;gap:9px;color:#d5e1c9;font-size:11px;line-height:1.4;margin:0 0 42px}
.terms-breadcrumb a:hover{color:#c5dab0}
.terms-hero-content .eyebrow{margin-bottom:12px}
.terms-hero h1{color:#ffffff;font-size:clamp(37px,4.2vw,56px);letter-spacing:-.042em;line-height:1.12;font-weight:760;max-width:800px;margin:0}
.terms-hero h1 span{color:#bcd5a4}
.terms-lead{color:#ecf2eb;font-size:15px;line-height:1.7;max-width:600px;margin:20px 0 0}
.terms-main{position:relative;padding:75px 0 92px;background:linear-gradient(155deg,#fafbfa,#fafdff 60%,#f7faf6);overflow:hidden;isolation:isolate}
.terms-main:before{content:'';position:absolute;pointer-events:none;width:70%;height:500px;right:-35%;top:4%;border-radius:50%;border:1px solid rgba(194,216,172,.28);background:radial-gradient(ellipse,rgba(219,232,217,.18),transparent 70%);transform:rotate(21deg);z-index:-1}
.terms-main-grid{display:grid;grid-template-columns:245px minmax(0,1fr);gap:45px;align-items:start}
.terms-sidebar{position:sticky;top:28px;border:1px solid #e0eade;border-radius:7px;background:#ffffff;box-shadow:0 16px 30px rgba(31,128,80,.055);padding:24px 22px}
.terms-sidebar-top{display:flex;gap:8px;align-items:center;margin-bottom:23px}
.terms-sidebar-bar{width:22px;height:2px;background:#b7f415}
.terms-sidebar-title{font-size:10px;color:#b6f411;letter-spacing:.16em;font-weight:800;text-transform:uppercase}
.terms-sidebar nav{display:flex;flex-direction:column;gap:2px}
.terms-sidebar nav a{font-size:12px;line-height:1.4;color:#587f5e;padding:10px 12px;border-left:2px solid transparent;transition:background .2s,border-color .2s,color .2s;border-radius:0 4px 4px 0}
.terms-sidebar nav a:hover,.terms-sidebar nav a:focus-visible{background:#edf8e6;color:#1a9a5c;border-left-color:#b9f41b}
.terms-sidebar-bottom{margin-top:23px;border-top:1px solid #e9f1e8;padding-top:19px;font-size:12px;line-height:1.6;color:#608265}
.terms-sidebar-bottom a{display:inline-block;margin-top:10px;color:#22ac69;font-weight:700}
.terms-article{min-width:0;background:#ffffff;border:1px solid #e6eee5;border-radius:7px;box-shadow:0 16px 40px rgba(32,126,80,.05);padding:48px 52px 53px}
.terms-introduction{margin-bottom:31px}
.terms-article p,.terms-article li{font-size:14px;line-height:1.85;color:#5d7767}
.terms-article p{margin:0 0 18px}
.terms-article strong{color:#204d39;font-weight:740}
.terms-section{scroll-margin-top:24px;padding-top:24px;border-top:1px solid #e8f0e6;margin-top:26px}
.terms-section h2{font-size:clamp(21px,2.1vw,26px);color:#14422e;line-height:1.25;letter-spacing:-.032em;font-weight:760;margin:0 0 19px}
.terms-section h2:before{content:'';width:22px;height:3px;display:block;background:#bbf420;margin-bottom:15px}
.terms-article ol{margin:0;padding-left:26px}
.terms-article ol>li{margin:0 0 17px;padding-left:8px}
.terms-article li::marker{color:#b5f40e;font-weight:750}
.terms-article ol ol{list-style-type:lower-roman;padding-left:22px;margin-top:10px}
.terms-article ol ol li{margin-bottom:7px;padding-left:5px}
.terms-article ol ol li::marker{color:#67a270;font-weight:500}
.terms-article a{color:#1cab65;text-decoration:underline;text-underline-offset:3px}
.terms-article a:hover{color:#166241}
.terms-note{border-left:3px solid #bbf521;background:#f6f9f6;padding:14px 17px;margin-top:28px;font-size:12px;line-height:1.6;color:#587564;border-radius:0 5px 5px 0}
.terms-note strong{display:block;color:#1b5d40;margin-bottom:5px}
.terms-bottom-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}
.terms-bottom-links a{background:#f2f8ee;color:#259c62;border:1px solid #d9e6d7;border-radius:5px;text-decoration:none;font-size:12px;font-weight:700;padding:11px 14px}
.terms-bottom-links a:hover{background:#eff5ee}
@media(max-width:1000px){.terms-main-grid{grid-template-columns:210px minmax(0,1fr);gap:24px}.terms-article{padding:37px 35px}.terms-sidebar{padding:22px 17px}}
@media(max-width:760px){.terms-hero{min-height:345px}.terms-hero-content{padding-top:38px;padding-bottom:51px}.terms-breadcrumb{margin-bottom:48px}.terms-lead{font-size:13.5px}.terms-hero-photo{opacity:.48;inset:0 -35% 0 0}.terms-hero-shade{background:linear-gradient(90deg,#073e30 5%,rgba(13,42,30,.96) 53%,rgba(13,42,30,.6))}.terms-main{padding:42px 0 65px}.terms-main-grid{grid-template-columns:minmax(0,1fr);gap:19px}.terms-sidebar{position:static}.terms-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 4px}.terms-sidebar-bottom{display:none}.terms-article{padding:28px 25px}.terms-article p,.terms-article li{font-size:13px;line-height:1.75}}
@media(max-width:480px){.terms-hero{min-height:365px}.terms-hero h1{font-size:34px}.terms-sidebar nav{grid-template-columns:1fr}.terms-sidebar{padding:19px}.terms-sidebar nav a{font-size:12px;padding:8px 11px}.terms-article{padding:25px 18px}.terms-section{padding-top:20px;margin-top:20px}.terms-article ol{padding-left:20px}.terms-article ol>li{padding-left:3px}.terms-article ol ol{padding-left:18px}}
