.terms-page .page-intro { padding-bottom: clamp(48px, 7vw, 88px); }
.terms-page .terms-version { margin: 28px 0 12px; color: var(--text-secondary); font-size: 14px; }
.terms-page .page-intro .text-link { display: block; width: fit-content; }
.terms-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(32px, 5vw, 76px); width: min(calc(100% - 2 * var(--page-gutter)), 1080px); margin: 0 auto; padding-block: 48px 100px; align-items: start; }
.terms-toc { position: sticky; top: calc(var(--header-height) + 28px); max-height: calc(100dvh - var(--header-height) - 56px); overflow-y: auto; padding-right: 12px; }
.terms-toc p { margin: 0 0 16px; color: var(--text-strong); font-size: 14px; font-weight: 700; }
.terms-toc ol { margin: 0; padding: 0; list-style: none; }
.terms-toc a { display: block; padding: 9px 0; font-size: 14px; line-height: 1.5; }
.terms-toc a:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }
.terms-body { min-width: 0; overflow-wrap: anywhere; }
.terms-summary { padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.45); }
.terms-summary .section-kicker { margin: 0; }
.terms-body ul { margin: 18px 0 0; padding-left: 1.25em; }
.terms-body li + li { margin-top: 12px; }
.terms-summary > p:last-child { margin: 20px 0 0; font-size: 14px; color: var(--text-secondary); }
.terms-body section { padding-top: 48px; margin-top: 48px; border-top: 1px solid var(--border); }
.terms-body h2 { margin: 0 0 24px; color: var(--text-strong); font-size: clamp(23px, 2.5vw, 30px); line-height: 1.4; letter-spacing: -.035em; }
.terms-body section p { margin: 18px 0 0; }
.terms-body a { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }
.terms-body strong { color: var(--text-strong); font-weight: 650; }
@media (max-width: 900px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .terms-toc { position: static; max-height: none; padding: 0 0 28px; border-bottom: 1px solid var(--border); }
  .terms-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .terms-toc a { min-height: 44px; }
}
@media (max-width: 480px) {
  .terms-toc ol { grid-template-columns: minmax(0, 1fr); }
  .terms-body section { padding-top: 32px; margin-top: 32px; }
}
@media print {
  .terms-page .site-header, .terms-page .site-footer, .terms-toc, .terms-page .page-intro .text-link { display: none; }
  .terms-page, .terms-page .page-intro { background: #fff; color: #111; }
  .terms-page .page-intro { padding: 20px 0; }
  .terms-layout { display: block; width: 100%; padding: 0; }
  .terms-body section { break-inside: avoid; }
}
