.terms-main .terms-article { display: none; }
html[lang="en"] .terms-article[lang="en"],
html[lang="ar"] .terms-article[lang="ar"],
html[lang="zh-Hans"] .terms-article[lang="zh-Hans"],
html[lang="fa"] .terms-article[lang="fa"],
html[lang="pt-BR"] .terms-article[lang="pt-BR"] { display: block; }

.terms-main .terms-article {
  max-inline-size: 1320px;
  margin-inline: auto;
  padding-block: clamp(44px, 7vw, 100px);
  scroll-margin-block-start: 20px;
}
.terms-header {
  max-inline-size: 850px;
  margin-block-end: clamp(36px, 7vw, 68px);
}
.terms-header .eyebrow { margin-block-end: 20px; }
.terms-main h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
[dir="rtl"] .terms-main h1 { letter-spacing: normal; }
.terms-intro {
  color: #d8dee3;
  max-inline-size: 66ch;
  font-size: clamp(16px, 2vw, 22px);
  margin-block-start: 20px;
}
.terms-date { color: #b7bec3; margin-block-start: 16px; }
.terms-languages { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 22px; }
.terms-languages a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: 14px;
  border: 1px solid #74808a;
  border-radius: 999px;
  color: #ebeff1;
}
.terms-languages a[aria-current] { color: #181b1e; border-color: #f4c542; background: #f4c542; }
.terms-languages a:not([aria-current]):hover { color: #f4c542; border-color: currentColor; }
.terms-layout { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 72ch); gap: clamp(30px, 6vw, 82px); }
.terms-layout .terms-toc { align-self: start; font-size: 14px; }
.terms-toc h2 {
  font-size: 1rem;
  margin-block-end: 12px;
  letter-spacing: normal;
}
.terms-toc ol { margin: 0; padding-inline-start: 22px; }
.terms-toc a {
  color: #d8dee3;
  display: block;
  padding-block: 8px;
  border-block-end: 1px solid #465057;
}
.terms-toc a:hover, .terms-sections a { color: #f4c542; text-decoration: underline; text-underline-offset: .2em; }
.terms-sections section {
  padding-block: 24px 30px;
  border-block-start: 1px solid #465057;
  scroll-margin-block-start: 12px;
}
.terms-sections h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.28; letter-spacing: -.025em; }
[dir="rtl"] .terms-sections h2 { letter-spacing: normal; }
.terms-sections p { margin-block-start: 12px; color: #d8dee3; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.terms-sections a[dir="ltr"] { unicode-bidi: isolate; }

@media (max-width: 760px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); }
  .terms-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .terms-toc a { min-block-size: 44px; }
}
@media (max-width: 460px) {
  .terms-toc ol { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .marketing-page { background: white; color: black; }
  .marketing-page > :is(.nav, .skip, footer), .terms-layout .terms-toc, .terms-languages { display: none; }
  .marketing-page .terms-main, .terms-main .terms-article { margin: 0; padding: 0; }
  .terms-layout { display: block; }
  .terms-header { margin-block-end: 24px; }
  .terms-header :is(.eyebrow, p), .terms-sections :is(p, a) { color: black; }
  .terms-main h1 { font-size: 32pt; }
  .terms-sections h2 { font-size: 17pt; break-after: avoid; }
  .terms-sections p { font-size: 11pt; }
}
