.topbar-inner { gap: 28px; }
.back-link { margin-left: auto; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
.terms-main { max-width: 1120px; padding-block: 64px 80px; }
.terms-heading { max-width: 790px; margin-bottom: 60px; }
.terms-heading h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.055em; max-width: 13ch; }
.terms-intro { max-width: 68ch; margin-top: 24px; font-size: 1.05rem; color: var(--muted); }
.print-button { margin-top: 24px; padding: 10px 17px; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); color: var(--ink); font-size: .85rem; }
.print-button:hover { background: var(--lime); }
.terms-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 70px; align-items: start; }
.terms-index { position: sticky; top: 110px; display: grid; border-top: 1px solid var(--line); padding-top: 12px; }
.terms-index a { display: flex; gap: 14px; padding: 10px 0; font-size: .8rem; line-height: 1.4; }
.terms-index a > span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.terms-index a:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.terms-body section { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-block: 28px 36px; scroll-margin-top: 102px; }
.term-number { font-size: .75rem; font-weight: 600; padding-top: 4px; color: var(--muted); }
.terms-body h2 { font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.25; margin-bottom: 18px; }
.term-copy { color: #40564b; font-size: .95rem; line-height: 1.75; overflow-wrap: anywhere; }
.term-copy p + p { margin-top: 14px; }
.term-copy strong { color: var(--ink); font-weight: 600; }
.term-copy a { text-decoration: underline; text-underline-offset: 3px; }
.footer { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .terms-layout { grid-template-columns: 1fr; gap: 36px; }
  .terms-index { position: static; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .container, .topbar-inner { width: calc(100% - 48px); }
  .terms-heading { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .container, .topbar-inner { width: calc(100% - 40px); }
  .topbar-inner { min-height: 70px; gap: 14px; }
  .brand { font-size: 30px; }
  .back-link { font-size: .75rem; }
  .lang-switch button { min-width: 32px; }
  .terms-main { padding-block: 38px 32px; }
  .terms-heading h1 { font-size: 2.8rem; }
  .terms-heading .kicker { font-size: .62rem; letter-spacing: .07em; }
  .terms-intro { font-size: .95rem; }
  .terms-index { grid-template-columns: 1fr; }
  .terms-index a { min-height: 44px; align-items: center; padding-block: 8px; }
  .terms-body section { gap: 10px; grid-template-columns: 23px minmax(0, 1fr); padding-block: 24px 30px; }
  .terms-body h2 { font-size: 1.3rem; }
  .footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  @page { margin: 18mm; }
  body { font-family: Arial, sans-serif; font-size: 11pt; color: #000; }
  .topbar, .skip-link, .terms-index, .print-button, .footer { display: none; }
  .container { width: 100%; }
  .terms-main { padding: 0; }
  .terms-heading { margin-bottom: 24px; }
  .terms-heading h1 { font-size: 28pt; max-width: none; }
  .terms-intro, .term-copy, .kicker, .term-number, .term-copy strong { color: #000; }
  .terms-layout { display: block; }
  .terms-body section { break-inside: avoid; padding-block: 16px; }
  .terms-body h2 { font-size: 14pt; }
  .term-copy { font-size: 10pt; }
}
