.terms-hero { padding-top: clamp(56px, 7vw, 100px); padding-bottom: 52px; }
.terms-hero h1 { font-size: clamp(44px, 6vw, 82px); }
.terms-hero .terms-date { margin-top: 24px; color: var(--muted); font: 11px/1.7 var(--mono); }
.terms-hero > p:last-child { max-width: 650px; font-size: 17px; }
.terms-hero a { color: var(--accent-ink); text-underline-offset: 4px; }
.terms-layout { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 760px); justify-content: space-between; align-items: start; gap: clamp(40px, 7vw, 110px); max-width: 1380px; margin: 0 auto; padding: 60px 6% 110px; }
.terms-index { position: sticky; top: 28px; }
.terms-index ol { display: grid; gap: 3px; margin: 20px 0 24px; padding-left: 22px; color: var(--muted); font: 12px/1.7 var(--body); }
.terms-index li::marker { color: var(--accent-ink); font-family: var(--mono); font-size: 10px; }
.terms-index a { display: inline-block; padding: 5px 0 5px 3px; text-decoration: none; }
.terms-index a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.terms-privacy-link { color: var(--accent-ink); font-size: 12px; border-top: 1px solid var(--line); width: 100%; padding-top: 18px !important; }
.terms-copy { min-width: 0; font-size: 15px; line-height: 1.85; }
.terms-copy h2 { font-size: clamp(23px, 2.3vw, 29px); letter-spacing: -.025em; line-height: 1.3; }
.terms-copy section { scroll-margin-top: 30px; }
.terms-copy a { overflow-wrap: anywhere; text-underline-offset: 4px; }
.terms-notice { margin-bottom: 42px; padding: 24px 26px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); }
.terms-notice strong { font-size: 17px; font-weight: 600; }
.terms-notice p { margin-top: 8px; font-size: 14px; }
.terms-related { display: flex; gap: 12px 24px; flex-wrap: wrap; padding-top: 15px; font-size: 13px; }
@media (max-width: 850px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; padding: 35px 5% 65px; }
  .terms-index { position: static; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
  .terms-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .terms-index a { min-height: 44px; }
  .terms-copy { max-width: none; }
}
@media (max-width: 480px) {
  .terms-index ol { grid-template-columns: minmax(0, 1fr); }
  .terms-notice { padding: 20px; }
}
@media print {
  .site-header, .site-footer, .terms-index, .terms-related, .skip-link { display: none; }
  html, body { color: #111; background: #fff; }
  .terms-layout { display: block; max-width: none; padding: 24px 0; }
  .terms-hero { padding: 0 0 24px; }
  .terms-hero h1 { font-size: 34px; }
  .terms-copy { max-width: none; font-size: 11pt; }
  .terms-copy p, .terms-copy a, .terms-hero p, .terms-hero a { color: #111; }
  .terms-notice { color: #111; background: #fff; border-color: #555; }
  .terms-copy h2 { break-after: avoid; }
  .terms-copy p { orphans: 3; widows: 3; }
}
