html { font-size: 16px; }
@media (min-width: 768px) { html { font-size: 18px; } }
@media (min-width: 1200px) { html { font-size: 19px; } }
@media (min-width: 1400px) {
  html { font-size: clamp(20.5px, calc(20.5px + (100vw - 1400px) * 0.0125), 21.5px); }
}
@media (min-width: 1680px) { html { font-size: 22.5px; } }
@media (min-width: 1880px) { html { font-size: 24px; } }

@media (min-width: 1880px) {
  .moss-home .wrap { max-width: 80rem; margin-inline: auto; }
  .moss-home .moss-nav { padding-inline: calc((100% - 80rem) / 2 + var(--moss-gutter)); }
}

@media (max-width: 767px) {
  html body.moss-home :is(.model-tag, .gateway-top, .plan-badge, .code-hint, .footer-bottom,
                           .creem-links a, .back-top, .table-pagination button,
                           .payment-steps li > span, .code-label, .optional,
                           .payment-caption, .payment-method-note, .key-memory-status,
                           .text-link, .form-heading > span, .protocols > div > span,
                           .live-item span, .foot-mail),
  html body.moss-data-page :is(.moss-page-label, small),
  html body .nav-brand .moss-page-label,
  html body .copy-btn { font-size: .8125rem; }

  html body :is(code, .mono, .origin) { font-size: .8125rem; }
  html body.moss-home :is(.table-message, .table-empty td) { font-size: .875rem; }

  html body.moss-home .gateway-top .mono,
  html body.moss-home .protocols > div > span,
  html body.moss-home .protocols > div > span:last-child,
  html body.moss-home .gateway-endpoint > span,
  html body.moss-home .gateway-endpoint code { font-size: .8125rem; }
}
