html { scroll-behavior: smooth; }
.terms-body { overflow-x: hidden; background: #faf8fc; color: #211a25; }
.terms-body main { font-family: peyda-regular; }
body.ltr.terms-body main { font-family: Syne, sans-serif; }
.terms-hero { padding: 180px 0 90px; background: radial-gradient(circle at 80% 20%, rgba(247,147,30,.28), transparent 30%), linear-gradient(135deg,#2a1238,#662d91); color:#fff; }
.terms-hero .container { max-width: 1180px; }
.terms-hero span { display:inline-block; margin-bottom:18px; padding:8px 18px; border-radius:99px; background:rgba(255,255,255,.12); color:#f7931e; font-family:peyda-bold; }
.terms-hero h1 { max-width:850px; margin:0 0 22px; color:#fff; font-family:peyda-bold; font-size:clamp(40px,5vw,72px); line-height:1.3; }
.terms-hero p { max-width:760px; margin:0; color:rgba(255,255,255,.82); font-size:18px; line-height:2; }
.terms-main { padding:80px 0 120px; }
.terms-layout { display:grid; grid-template-columns:290px minmax(0,850px); justify-content:center; align-items:start; gap:65px; }
.terms-sidebar { position:sticky; top:110px; }
.terms-sidebar nav { display:flex; flex-direction:column; gap:5px; padding:24px; border:1px solid #e1d5e8; border-radius:24px; background:#fff; box-shadow:0 16px 42px rgba(60,26,80,.08); }
.terms-sidebar strong { margin-bottom:10px; color:#662d91; font-family:peyda-bold; }
.terms-sidebar a { display:flex; gap:10px; padding:9px 0; color:#514858; font-size:13px; line-height:1.7; text-decoration:none; }
.terms-sidebar a span { flex:0 0 24px; color:#f7931e; font-weight:700; }
.terms-sidebar a:hover { color:#662d91; }
.terms-introduction { margin-bottom:35px; padding:36px 38px; border-radius:25px; background:#eee5f4; }
.terms-introduction h2 { margin:0 0 15px; color:#662d91; font-family:peyda-bold; font-size:29px; }
.terms-introduction p,.terms-section p { margin:0; color:#514858; font-size:16px; line-height:2.15; text-align:justify; }
.terms-section { display:flex; gap:25px; margin-bottom:18px; padding:32px 34px; scroll-margin-top:110px; border:1px solid #e9e0ee; border-radius:24px; background:#fff; transition:transform .2s ease,box-shadow .2s ease; }
.terms-section:hover { transform:translateY(-3px); box-shadow:0 16px 35px rgba(60,26,80,.08); }
.terms-number { flex:0 0 42px; color:#f7931e; font-family:Syne,sans-serif; font-size:18px; font-weight:700; }
.terms-section h2 { margin:0 0 12px; color:#211a25; font-family:peyda-bold; font-size:22px; line-height:1.6; }
.terms-update { display:flex; justify-content:space-between; margin-top:30px; padding:20px 28px; border-radius:18px; background:#662d91; color:#fff; }
body.ltr .terms-hero h1,body.ltr .terms-hero span,body.ltr .terms-sidebar strong,body.ltr .terms-introduction h2,body.ltr .terms-section h2 { font-family:Syne,sans-serif; font-weight:700; }
body.ltr .terms-hero,body.ltr .terms-content,body.ltr .terms-sidebar { direction:ltr; text-align:left; }
body.ltr .terms-introduction p,body.ltr .terms-section p { text-align:left; }
@media(max-width:991px){.terms-hero{padding:145px 0 70px}.terms-layout{grid-template-columns:1fr;gap:35px}.terms-sidebar{position:static}.terms-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.terms-sidebar strong{grid-column:1/-1}.terms-main{padding:55px 0 90px}}
@media(max-width:575px){.terms-hero{padding:125px 0 55px}.terms-hero p{font-size:15px}.terms-sidebar nav{grid-template-columns:1fr}.terms-introduction,.terms-section{padding:25px 22px}.terms-section{gap:14px}.terms-number{flex-basis:30px;font-size:15px}.terms-section h2{font-size:19px}.terms-introduction p,.terms-section p{font-size:14px}.terms-update{flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.terms-section{transition:none}}
