.terms-page{
padding:64px 0 76px;
background:linear-gradient(180deg,#fffdf7 0%,#f7f8f7 100%);
}

.terms-header,
.terms-content{
max-width:960px;
margin:0 auto;
}

.terms-header{
margin-bottom:24px;
}

.terms-content{
padding:clamp(22px,4vw,42px);
background:var(--surface);
border:1px solid var(--line);
border-radius:var(--radius);
box-shadow:var(--shadow);
}

.terms-content h1{
margin-top:0;
}

.terms-content h2{
margin:42px 0 14px;
padding-top:8px;
border-top:1px solid var(--line);
}

.terms-content p,
.terms-content li{
line-height:1.7;
}

.terms-content ul{
padding-left:24px;
}

.terms-table-wrap{
max-width:100%;
margin:18px 0 26px;
overflow-x:auto;
border:1px solid var(--line);
border-radius:14px;
}

.terms-content table{
width:100%;
border-collapse:collapse;
background:#fff;
font-size:14px;
}

.terms-content th,
.terms-content td{
padding:13px 15px;
border-right:1px solid var(--line);
border-bottom:1px solid var(--line);
text-align:left;
vertical-align:top;
line-height:1.55;
}

.terms-content th{
background:#f3f7f4;
font-weight:800;
}

.terms-content tr:last-child td{
border-bottom:0;
}

.terms-content th:last-child,
.terms-content td:last-child{
border-right:0;
}

@media (max-width:640px){
.terms-page{
padding:38px 0 56px;
}

.terms-content{
padding:20px;
}

.terms-content h2{
margin-top:34px;
}
}
