.terms-page { background: var(--color-paper); }
.terms-header { padding: 86px var(--page-gutter) 68px; border-bottom: 1px solid var(--color-line); background: var(--color-soft); }
.terms-header__inner { max-width: 1120px; margin-inline: auto; }
.terms-eyebrow { margin: 0 0 18px; color: var(--color-brand-dark); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.terms-header h1 { max-width: 1000px; margin: 0 0 25px; font-size: clamp(2.2rem,3.5vw,3.2rem); line-height: 1.16; letter-spacing: -.04em; text-wrap: pretty; }
.terms-header__lead { max-width: 670px; margin: 0; font-size: .98rem; line-height: 1.9; }

.terms-reading { padding: 76px var(--page-gutter) 92px; }
.terms-reading__inner { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 100px; max-width: 1120px; margin-inline: auto; align-items: start; }
.terms-sidebar { position: sticky; top: 112px; }
.terms-sidebar .terms-eyebrow { margin-bottom: 12px; }
.terms-sidebar h2 { margin: 0 0 16px; font-size: 1.3rem; line-height: 1.4; letter-spacing: -.02em; }
.terms-sidebar__intro { margin: 0 0 25px; font-size: .8rem; line-height: 1.85; }
.terms-toc { display: grid; border-top: 1px solid var(--color-line); }
.terms-toc a { display: flex; align-items: start; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--color-line); color: var(--color-muted); font-size: .76rem; line-height: 1.65; transition: color 180ms ease; }
.terms-toc a span { color: var(--color-brand-dark); font-size: .65rem; font-weight: 800; }
.terms-toc a:hover, .terms-toc a:focus-visible { color: var(--color-ink); }
.terms-rules { min-width: 0; }
.terms-rule { display: grid; grid-template-columns: 36px minmax(0,1fr); column-gap: 20px; row-gap: 23px; padding: 38px 0; border-top: 1px solid var(--color-line); scroll-margin-top: 106px; }
.terms-rule:first-child { padding-top: 0; border-top: 0; }
.terms-rule:last-child { padding-bottom: 0; }
.terms-rule__index { padding-top: 4px; color: var(--color-brand-dark); font-size: .76rem; font-weight: 800; }
.terms-rule__body { min-width: 0; }
.terms-rule__kicker { margin: 0 0 12px; color: var(--color-muted); font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.terms-rule__body h2 { margin: 0 0 20px; font-size: 1.65rem; line-height: 1.35; letter-spacing: -.028em; text-wrap: pretty; }
.terms-rule__body > p:last-child { margin: 0; color: #625c68; font-size: .94rem; line-height: 1.95; }
.terms-rule__fact { grid-column: 2; padding: 18px 22px; border-left: 2px solid #dfad61; background: var(--color-soft); }
.terms-rule__fact > span { display: block; margin-bottom: 6px; color: var(--color-muted); font-size: .59rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.terms-rule__fact strong { display: block; font-size: .84rem; line-height: 1.6; }
.terms-rule__fact p { margin: 5px 0 0; font-size: .75rem; line-height: 1.8; }

.terms-more { padding: 64px max(var(--page-gutter),calc((100% - 1120px)/2)) 72px; border-top: 1px solid var(--color-line); background: var(--color-soft); }
.terms-more__intro h2 { margin: 0 0 32px; font-size: 1.85rem; line-height: 1.3; }
.terms-more__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
.terms-more__link { display: grid; grid-template-columns: 24px minmax(0,1fr) 22px; align-items: center; gap: 14px; padding: 24px 0; border-top: 1px solid var(--color-line); }
.terms-more__index { color: var(--color-brand-dark); font-size: .65rem; font-weight: 800; }
.terms-more__link p { margin: 0 0 7px; color: var(--color-brand-dark); font-size: .6rem; font-weight: 800; letter-spacing: .12em; }
.terms-more__link h3 { margin: 0 0 9px; font-size: 1.3rem; }
.terms-more__link div > span { display: block; color: var(--color-muted); font-size: .75rem; line-height: 1.75; }
.terms-more__arrow { font-size: 1.25rem; transition: transform 180ms ease; }
.terms-more__link:hover .terms-more__arrow { transform: translate(3px,-3px); }

@media (max-width: 1020px) {
  .terms-reading__inner { grid-template-columns: 220px minmax(0,1fr); gap: 46px; }
}
@media (max-width: 760px) {
  .terms-header { padding-block: 56px; }
  .terms-reading { padding-block: 48px 64px; }
  .terms-reading__inner { grid-template-columns: 1fr; gap: 42px; }
  .terms-sidebar { position: static; }
  .terms-sidebar__intro { max-width: 450px; }
  .terms-rule { grid-template-columns: 25px minmax(0,1fr); column-gap: 13px; }
  .terms-rule__body h2 { font-size: 1.35rem; }
  .terms-rule__body > p:last-child { font-size: .88rem; }
  .terms-rule__fact { padding: 16px; }
  .terms-more__links { grid-template-columns: 1fr; gap: 0; }
}

