.terms-page { margin: 0; background: #f7f6f1; color: #25282a; }
.terms-page * { box-sizing: border-box; }
.terms-page .site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.terms-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 6.5%; border-bottom: .5px solid #d9d7cf; }
.terms-header a { color: inherit; text-decoration: none; }
.terms-wordmark { font-family: var(--font-heading); font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.terms-header nav { display: flex; gap: 24px; font-family: var(--font-heading); font-size: 12px; }
.terms-header nav a { padding: 8px 0; }
.terms-header a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.terms-content { width: min(100% - 48px, 720px); margin: 0 auto; padding: 72px 0 80px; flex: 1; font-family: var(--font-body); font-size: 16px; line-height: 1.9; overflow-wrap: break-word; }
.terms-content h1 { font-family: var(--font-heading); text-wrap: balance; }
.terms-content h1 { margin: 0 0 36px; font-size: 40px; line-height: 1.35; letter-spacing: -.025em; }
.terms-content p { margin: 0 0 18px; }
.terms-content a { color: #2e5f87; text-decoration-thickness: .5px; text-underline-offset: .2em; }
.terms-content .terms-credit { margin-bottom: 32px; }
.terms-content .terms-note { color: #555d63; font-size: 12px; line-height: 1.8; }
.terms-back { display: inline-block; margin-top: 20px; font-family: var(--font-heading); }
.terms-page .terms-footer { min-height: 0; padding: 32px 6.5%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.terms-page a:focus-visible { outline: 2px solid #2e5f87; outline-offset: 4px; }
.terms-page .terms-footer a:focus-visible { outline-color: #c7a94c; }
.terms-skip { position: absolute; top: 12px; left: 12px; padding: 12px; background: #f7f6f1; color: #2e5f87; transform: translateY(-200%); }
.terms-skip:focus { transform: none; }
@media (max-width: 600px) {
  .terms-header { padding: 20px 24px; }
  .terms-header nav { gap: 18px; }
  .terms-content { padding: 44px 0 56px; }
  .terms-page .terms-footer { padding: 28px 24px; }
}
