/* Terms & Conditions page — add to enqueue after components.css, same as faq.css */

.terms-page{color:var(--black-color);font-family:var(--font-main);}

.terms-hero{padding:140px 0 60px;border-bottom:1px solid var(--site-border,rgba(255,255,255,.15));}
.terms-hero__title{font-family:var(--heading-font);font-size:var(--h1);line-height:.95;font-weight:700;text-transform:uppercase;margin:0 0 20px;color:var(--black-color);}
.terms-hero__subtitle{font-size:18px;line-height:1.5;color:rgba(255,255,255,.65);max-width:520px;margin:0;}

.terms-layout{padding:64px 0 100px;}
.terms-layout__inner{display:grid;grid-template-columns:260px 1fr;gap:80px;}

aside.terms-toc{width: 280px;}
.terms-toc__sticky{position:sticky;}
.terms-toc__label{display:block;font-family:var(--menu-font);font-size:16px;letter-spacing:.05em;color:#58585D;margin-bottom:20px;}
.terms-toc__nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;}
.terms-toc__nav a{display:flex;gap:12px;align-items:baseline;padding:8px 0;text-decoration:none;color:#58585D;font-family:var(--font-main);font-size:16px;line-height:1.4;border-left:2px solid transparent;padding-left:0;transition:color .2s ease}
.terms-toc__nav a:hover{color:var(--primary-color);}
.terms-toc__nav a.is-active{color:var(--primary-color);}
.terms-toc__number{color:var(--primary-color);flex-shrink:0;}

.terms-content{display:flex;flex-direction:column;}
.terms-block{padding:30px 0;border-bottom:1px solid #C9C8C4;}
.terms-block:first-child{padding-top:0;}
.terms-block__head{display:flex;align-items:baseline;gap:16px;margin-bottom:20px;}
.terms-block__number{font-family:var(--menu-font);font-size:14px;color:var(--primary-color);flex-shrink:0;}
.terms-block__title{font-family:var(--heading-font);font-size:var(--h3);line-height:1.2;font-weight:700;text-transform:uppercase;margin:0;color:var(--black-color);}
.terms-block__body{}
.terms-block__body ul{padding-left: 20px;list-style-type: disc;}
.terms-block__body p{font-size:16px;line-height:1.65;color:#58585D;margin:0 0 16px;}
.terms-block__body p a, .terms-block ul li a{color: var(--primary-color);text-decoration: underline;}
.terms-block__body p:last-child{margin-bottom:0;}
.terms-block__body ul{margin:0 0 16px;padding-left:20px;}
.terms-block__body ul:last-child{margin-bottom:0;}
.terms-block__body li{font-size:16px;line-height:1.65;color:#58585D;margin-bottom:10px;}
.terms-block__body li:last-child{margin-bottom:0;}
.terms-block__body strong{color:var(--black-color);font-weight:600;}

.terms-contact{list-style:none;padding-left:0;}
.terms-thanks{color:var(--black-color);font-weight:500;margin-top:8px;}


@media (max-width:900px){
.terms-layout__inner{grid-template-columns:1fr;gap:32px;}
.terms-toc__sticky{position:static;}
.terms-toc__nav ul{flex-direction:row;flex-wrap:wrap;gap:8px;}
.terms-toc__nav a{border-left:0;border-bottom:2px solid transparent;padding:6px 0;}
.terms-toc__nav a.is-active{border-bottom-color:var(--primary-color);}
}

@media (max-width:768px){
.terms-hero{padding:100px 0 40px;}
.terms-hero__title{font-size:44px;}
.terms-block__title{font-size:22px;}
}

