.terms-page {
  padding-top: 1px;
}

[data-terms-lang][hidden],
[data-terms-copy][hidden],
[data-terms-download][hidden] {
  display: none !important;
}

.terms-toolbar {
  width: min(980px, calc(100% - 36px));
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.terms-toolbar .eyebrow {
  margin: 0;
}

.terms-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.terms-downloads .button {
  min-height: 44px;
}

.terms-shell {
  margin-top: 18px;
}

.terms-article > h1 {
  max-width: 780px;
}

.terms-article > h2:first-of-type {
  margin-top: 4px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-article h2:not(:first-of-type) {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.terms-article p {
  line-height: 1.72;
}

.terms-article ul {
  display: grid;
  gap: 8px;
  padding-left: 1.35rem;
}

.terms-article [href^="mailto:"],
.terms-article [href^="http"] {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .terms-toolbar {
    width: min(100% - 28px, 980px);
    align-items: flex-start;
    flex-direction: column;
  }

  .terms-downloads {
    width: 100%;
    justify-content: flex-start;
  }

  .terms-downloads .button {
    flex: 1 1 150px;
  }

  .terms-article p {
    line-height: 1.62;
  }
}

@media print {
  .site-header,
  .site-footer,
  .terms-toolbar,
  .nexaki-chat {
    display: none !important;
  }

  .terms-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
