/* Terms — Figma OP 1286:10682. Shared W3.CSS, fonts and controls remain intact.
 * The inherited header uses its own page CSS and independent 1376px menu step.
 * Content: 320–438 / 439–767 / 768–1279 / 1280+.
 */
.terms-page { background: #fff; }
.terms-page .site-header, .terms-page .site-footer { color: var(--white); }
.terms-page .terms-registration-back {
  width: auto;
  height: 44px;
  gap: 16px;
  padding: 2px 16px 2px 2px;
  border-radius: 2px;
  font: 700 16px/16px var(--heading-font);
  white-space: nowrap;
}
.terms-registration-back .action-icon {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}
.terms-registration-back img { transform: rotate(180deg); }
@media (max-width: 359px) {
  .terms-page .terms-registration-back { gap: 8px; padding-right: 8px; }
}
.terms-page .terms-main {
  padding: 120px 16px 64px;
  background: #fff;
  color: #000;
  font: 500 16px/24px var(--body-font);
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  color-scheme: light;
}
.terms-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 358px;
  margin-inline: auto;
}
.terms-intro, .terms-organizer, .terms-copy, .terms-part, .terms-article, .terms-scope {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.terms-intro { gap: 24px; }
.terms-organizer, .terms-article { gap: 16px; }
.terms-copy { gap: 12px; }
.terms-part { gap: 32px; }
.terms-main h1, .terms-main h2, .terms-main h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
}
.terms-main h1 { font-size: 52px; line-height: 52px; letter-spacing: -.03em; }
.terms-main h2, .terms-main h3 { font-size: 24px; line-height: 24px; letter-spacing: -.025em; }
.terms-main p, .terms-main ul { margin: 0; }
.terms-main ul { padding-left: 24px; list-style: disc; }
.terms-main li { padding: 0; }
.terms-scope {
  gap: 16px;
  padding: 16px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0;
}
.terms-part-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
}
.terms-part-letter {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 2px;
  background: var(--accent);
  color: #000;
  font: 700 24px/24px var(--heading-font);
  letter-spacing: -.025em;
}
.terms-article { padding-top: 16px; border-top: 1px solid rgb(0 0 0 / 15%); }
.terms-article-heading { display: flex; align-items: center; gap: 12px; }
.terms-article-heading h3 { flex: 1; min-width: 0; }
.terms-number {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 2px;
  background: var(--accent);
  color: #000;
  font: 600 10px/10px var(--body-font);
  letter-spacing: -.02em;
}
.terms-main [id] { scroll-margin-top: 120px; }
/* Reuse the existing form footer's assets and layout, scoped to this page.
 * Footer text remains Czech, matching the only supplied legal document.
 */
.terms-page .site-footer { padding: 64px 24px; }
.terms-page .footer-inner { display: grid; grid-template-columns: minmax(0,1fr); gap: 64px; max-width: 392px; }
.terms-page .footer-top { display: grid; grid-template-columns: minmax(0,1fr) 44px; row-gap: 64px; }
.terms-page .footer-contact { grid-column: 1 / -1; }
.terms-page .footer-heading { font: 700 24px/24px var(--heading-font); letter-spacing: -.025em; }
.terms-page .footer-contact address { margin-top: 32px; font: 500 16px/24px var(--body-font); letter-spacing: -.01em; }
.terms-page .footer-payment-logos { display: flex; justify-content: center; }
.terms-page .payment-logo-window { position: relative; flex-shrink: 0; width: 352px; max-width: 100%; aspect-ratio: 11 / 1; overflow: hidden; }
.terms-page .payment-logo-window picture { display: block; height: 100%; }
.terms-page .payment-logo-window img { width: 100%; height: 100%; object-fit: cover; }
.terms-page .footer-bottom { grid-column: auto; grid-row: auto; padding-top: 32px; }
.terms-page .footer-wordmark { max-width: 100%; margin-inline: auto; line-height: 0; }
.terms-page .footer-wordmark picture { display: block; }
.terms-page .footer-wordmark img { max-width: 100%; height: auto; }
.terms-page .footer-copyright { color: rgb(255 255 255 / 25%); text-align: center; }
.terms-page .footer-socials { grid-column: auto; grid-row: auto; align-self: auto; margin: 0; }
@media (min-width: 439px) {
  .terms-page .terms-main { padding-bottom: 80px; }
  .terms-content { max-width: 392px; }
  .terms-page .site-footer { padding-bottom: 80px; }
}
@media (min-width: 768px) {
  .terms-page .terms-main { padding: 160px 32px 80px; }
  .terms-content { max-width: 600px; gap: 48px; }
  .terms-page .site-footer { padding: 64px 32px 80px; }
  .terms-page .footer-inner { grid-template-columns: minmax(0,1fr) auto; max-width: 600px; }
  .terms-page .footer-top { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 184px 184px minmax(0,1fr); gap: 24px; min-height: 218px; }
  .terms-page .footer-contact { grid-column: 2; grid-row: 1; }
  .terms-page .footer-payment-logos { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; }
  .terms-page .payment-logo-window { width: 332px; aspect-ratio: 332 / 32; }
  .terms-page .payment-logo-window img { position: absolute; width: 106.02%; height: 100%; max-width: none; }
  .terms-page .footer-bottom { grid-column: 1 / -1; grid-row: 3; }
  .terms-page .footer-wordmark { margin: 0; }
  .terms-page .footer-copyright { text-align: left; }
  .terms-page .footer-socials { grid-column: 2; grid-row: 3; align-self: start; margin: 32px 0 0; z-index: 1; }
}
@media (min-width: 1280px) {
  .terms-page .terms-main { padding: 240px 32px 160px; font-size: 18px; line-height: 27px; }
  .terms-content { max-width: 808px; gap: 64px; }
  .terms-main h1 { font-size: 120px; line-height: 120px; }
  .terms-main h2, .terms-main h3 { font-size: 32px; line-height: 32px; }
  .terms-scope { font-size: 16px; line-height: 24px; }
  .terms-number { font-size: 12px; line-height: 12px; }
  .terms-page .site-footer { padding: 128px 32px 160px; }
  .terms-page .footer-inner { max-width: 1224px; gap: 80px 24px; }
  .terms-page .footer-top { grid-template-columns: 184px minmax(184px,1fr) 44px; min-height: 0; }
  .terms-page .footer-heading { font-size: 32px; line-height: 32px; }
  .terms-page .footer-contact address { margin-top: 24px; font-size: 18px; line-height: 27px; }
  .terms-page .payment-logo-window { width: 414px; aspect-ratio: 414 / 40; }
  .terms-page .payment-logo-window img { width: 106.28%; left: -.12%; top: -.31%; }
  .terms-page .footer-bottom { padding-top: 40px; }
  .terms-page .footer-socials { align-self: end; margin: 0 0 29px; }
  .terms-page .footer-copyright { font-size: 14px; line-height: 21px; }
}
