.content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.toc {
  padding: 36px 24px 36px 40px;
  position: sticky;
  top: var(--nav-height);
  border-right: 1px solid var(--blue-border);
}

.toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.toc ul {
  list-style: none;
}

.toc ul li {
  margin-bottom: 2px;
}

.toc ul li a {
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.toc ul li a:hover {
  background: var(--blue-pale);
  color: var(--blue-brand);
}

.terms-content {
  padding: 40px 48px 56px 40px;
}

.terms-section {
  margin-bottom: 44px;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.terms-section h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--blue-light);
  color: var(--blue-brand);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

.terms-section p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}

.terms-section p:last-child { margin-bottom: 0; }

.terms-section ul {
  margin: 10px 0 14px 0;
  padding-left: 0;
  list-style: none;
}

.terms-section ul li {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.75;
  padding: 4px 0 4px 22px;
  position: relative;
}

.terms-section ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--blue-mid);
  border-radius: 50%;
}

.highlight-box {
  background: var(--blue-pale);
  border-left: 3px solid var(--blue-brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--blue-dark);
  line-height: 1.7;
}

.contact-card {
  background: var(--blue-pale);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 16px;
}

.contact-card p {
  margin-bottom: 6px !important;
}

.contact-card a {
  color: var(--blue-brand);
  font-weight: 600;
}

@media (max-width: 820px) {
  .content-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}