/* Terms-only layout; existing landing, Privacy and Support styles stay shared. */
.terms-page header > a { flex-shrink: 0; }
.terms-page .service-notice {
  max-width: 760px;
  margin: 8px 0 24px;
  padding: 18px 22px;
  border: 1px solid #ff899360;
  border-left: 4px solid #ff8993;
  border-radius: 4px;
  background: #ff89930b;
  font-size: 14px;
}
.terms-page .service-notice strong { color: #ffb9bf; letter-spacing: .06em; }
.terms-page .service-notice p { margin: 8px 0 0; }
.terms-page .accent { max-width: 760px; padding-bottom: 24px; }
.terms-page .terms-subtitle { font-size: 22px; font-weight: 700; }
.terms-page .terms-summary {
  max-width: 760px;
  padding: 24px;
  margin: 32px 0 44px;
  border: 1px solid #fffef52b;
  border-radius: 8px;
  background: #ffffff05;
}
.terms-page .terms-summary h2 { margin-top: 0; }
.terms-page .terms-summary p { margin-bottom: 0; font-size: 14px; color: #c5cfdd; }
.terms-page section > h2 { max-width: 760px; scroll-margin-top: 24px; }
.terms-page ul { max-width: 760px; padding-left: 1.4em; overflow-wrap: anywhere; }
.terms-page li + li { margin-top: 12px; }
.terms-page section[lang] { padding-top: 20px; }
@media (max-width: 660px) {
  .terms-page header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .terms-page .service-notice, .terms-page .terms-summary { padding: 18px; }
  .terms-page h2 { font-size: 21px; }
}
@media print {
  .terms-page { background: white; color: black; }
  .terms-page header, .terms-page footer, .terms-page .skip, .terms-page .language-switch { display: none; }
  .terms-page .service-notice, .terms-page .terms-summary { border-color: #555; background: transparent; }
  .terms-page .service-notice strong, .terms-page .eyebrow, .terms-page .terms-summary p { color: black; }
  .terms-page .accent { border-color: #555; }
  .terms-page h2 { break-after: avoid; }
  .terms-page a { text-decoration: underline; }
}
