.terms-shell { max-width: 900px; }
.terms-hero { padding: 116px 0 48px; }
.terms-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; color: var(--text-muted); font-size: 12px; }
.terms-breadcrumb a:hover { color: var(--teal-dark); }
.terms-hero h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; margin-bottom: 24px; font-size: clamp(34px, 4.8vw, 54px); }
.terms-title-note { color: var(--teal); font-size: 15px; font-weight: 500; letter-spacing: 0.12em; }
.terms-lead { max-width: 760px; margin-bottom: 16px; font-size: 16px; }
.terms-date { margin-bottom: 32px; font-size: 12px; }
.terms-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.terms-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 14px; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 13px; }
.terms-toc a:hover { border-color: var(--muted-teal); background: var(--hover); }
.terms-toc a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.terms-toc .mono, .terms-toc a > span:last-child { color: var(--teal-dark); }
.terms-content { padding-bottom: 64px; }
.terms-page .terms-section { padding: 40px 0; border-top: 1px solid var(--border); scroll-margin-top: 0; }
.terms-number { margin-bottom: 12px; color: var(--teal); font-size: 12px; letter-spacing: 0.08em; }
.terms-section h2 { margin-bottom: 24px; font-size: clamp(22px, 2.8vw, 28px); }
.terms-section p, .terms-section li { color: var(--blue-slate); line-height: 1.95; overflow-wrap: break-word; }
.terms-section p { margin-bottom: 16px; }
.terms-section p:last-child { margin-bottom: 0; }
.terms-section ul { margin: 20px 0; padding-left: 1.5em; }
.terms-section li + li { margin-top: 10px; }
.terms-end { padding: 20px 0; }

@media (max-width: 760px) {
  .terms-hero { padding: 96px 0 32px; }
  .terms-breadcrumb { margin-bottom: 28px; }
  .terms-hero h1 { gap: 12px; }
  .terms-lead { font-size: 15px; }
  .terms-toc { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .terms-toc a { padding: 14px 16px; }
  .terms-page .terms-section { padding: 32px 0; }
  .terms-content { padding-bottom: 40px; }
}
