.terms-header { border-bottom: 1px solid var(--line); background: rgba(5,5,7,.94); }
.terms-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.terms-header img { width: 174px; height: auto; }
.terms-hero { padding: 110px 0 90px; background: radial-gradient(circle at 88% 10%, rgba(0,65,255,.3), transparent 32%), #050505; }
.terms-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 80px; align-items: end; }
.terms-hero h1 { max-width: 900px; margin: 18px 0 0; font-size: clamp(3rem, 6.7vw, 7rem); text-wrap: balance; }
.terms-summary { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.terms-summary p:last-child { margin-bottom: 0; color: var(--text); font-size: .8rem; }
.terms-layout { padding-block: 90px 120px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 90px; align-items: start; }
.terms-index { position: sticky; top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.terms-index nav { display: grid; gap: 10px; }
.terms-index nav a { color: var(--muted); font-size: .76rem; }
.terms-index nav a:hover { color: var(--text); }
.terms-document { min-width: 0; }
.terms-document section { padding: 0 0 70px; margin-bottom: 70px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.terms-document section:last-child { margin-bottom: 0; }
.terms-document section > span { color: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.terms-document h2 { margin: 12px 0 28px; font-size: clamp(2rem, 4vw, 3.8rem); }
.terms-document p, .terms-document li { max-width: 790px; color: #c4c4bf; font-size: .96rem; line-height: 1.8; }
.terms-document strong { color: var(--text); }
.terms-document a { color: #f3d66e; text-decoration: underline; text-underline-offset: 3px; }
.terms-document li { padding: 6px 0; }
.terms-highlight { padding: 42px !important; border: 1px solid rgba(249,241,147,.35) !important; border-radius: var(--radius); background: linear-gradient(135deg, rgba(203,165,60,.12), rgba(0,65,255,.12)); }
.terms-footer { padding: 42px 0; border-top: 1px solid var(--line); }
.terms-footer .shell { display: flex; justify-content: space-between; gap: 24px; }
.terms-footer p { margin: 0; }
.terms-footer a { font-weight: 700; }

@media (max-width: 900px) {
  .terms-hero-grid, .terms-layout { grid-template-columns: 1fr; }
  .terms-hero-grid { gap: 38px; }
  .terms-layout { gap: 50px; }
  .terms-index { position: static; }
  .terms-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .terms-header .button { display: inline-flex; }
  .terms-header img { width: 140px; }
  .terms-hero { padding: 72px 0 64px; }
  .terms-hero h1 { font-size: clamp(2.8rem, 13vw, 4.7rem); }
  .terms-layout { padding-block: 58px 80px; }
  .terms-index nav { grid-template-columns: 1fr; }
  .terms-document section { padding-bottom: 48px; margin-bottom: 48px; }
  .terms-highlight { padding: 26px !important; }
  .terms-footer .shell { flex-direction: column; }
}
