body.terms { margin: 0; overflow-y: auto; line-height: 1.7; }
.terms::after { display: none; }
.terms .if-nav { flex-wrap: wrap; padding-block: 12px; gap: 8px 24px; }
.terms .if-nav-link, .terms .if-brand { min-height: 44px; display: inline-flex; align-items: center; }
.terms .if-nav-link[aria-current] { color: var(--if-green); text-decoration: underline; text-underline-offset: 6px; }
.terms-skip { position: absolute; left: 20px; top: -100px; z-index: 40; padding: 12px; background: var(--if-bg); }
.terms-skip:focus { top: 12px; }
.terms-hero { max-width: 840px; padding: clamp(48px, 8vw, 88px) 0 36px; }
.terms h1 { margin: 0; font-size: clamp(36px, 6vw, 66px); line-height: 1.1; }
.terms-intro { max-width: 720px; margin: 24px 0; color: var(--if-copy); font-size: 17px; }
.terms-meta { color: var(--if-muted); font-size: 12px; }
.terms-summary { padding: clamp(20px, 4vw, 36px); border: 2px solid var(--if-green); background: var(--if-panel); }
.terms h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -.035em; }
.terms p, .terms li { overflow-wrap: anywhere; }
.terms-summary ul { padding-left: 22px; color: var(--if-copy); }
.terms-summary li + li { margin-top: 16px; }
.terms strong { color: var(--if-text); }
.terms-summary > p:last-child { margin-bottom: 0; color: var(--if-muted); font-size: 13px; }
.terms-contents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 24px; margin: 32px 0; }
.terms-contents a { min-height: 44px; display: flex; align-items: center; color: var(--if-green); font-size: 13px; text-underline-offset: 4px; }
.terms-document { max-width: 840px; margin: 0 auto 72px; }
.terms-document section { padding: 36px 0; border-top: 1px solid var(--if-line); scroll-margin-top: 24px; }
.terms-document p { margin: 20px 0 0; color: var(--if-copy); font-size: 15px; }
.terms-document a { color: var(--if-green); text-underline-offset: 4px; }
.terms-document .terms-emphasis { margin: 16px 0; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--if-amber); background: #e0aa3908; }
.terms-emphasis h2 { color: var(--if-amber); }
.terms .if-footer { color: var(--if-muted); border-top: 1px solid var(--if-line); }
.terms .if-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) {
  .terms-contents { grid-template-columns: 1fr; gap: 0; }
  .terms .if-nav { gap: 16px; }
  .terms .if-nav-link { font-size: 12px; }
}
@media print {
  body.terms { background: white; color: black; }
  .terms .if-header, .terms-skip, .terms-contents { display: none; }
  .terms .if-wrap { width: 100%; }
  .terms-hero { padding-top: 0; }
  .terms-summary, .terms-document .terms-emphasis { background: none; border-color: black; }
  .terms h1, .terms h1 span, .terms h2, .terms p, .terms li, .terms strong, .terms a { color: black; }
  .terms h2 { break-after: avoid; }
  .terms p, .terms li { orphans: 3; widows: 3; }
}
