/* Shared mobile legal-page shell: rotating auth photography and readable cards. */
html,
body.elite-landing {
  min-height: 100%;
  background: #0f172a !important;
  background-image: none !important;
}

.legal-splash-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  will-change: opacity;
}

.legal-splash-photo.is-visible {
  opacity: 1;
}

body.elite-landing .canvas-bg {
  display: none !important;
}

body.elite-landing header.site-header-legal,
body.elite-landing main,
body.elite-landing footer {
  position: relative;
  z-index: 1;
}

body.elite-landing footer {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.elite-landing header.site-header-legal {
  background: rgba(7, 20, 38, 0.68) !important;
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}

body.elite-landing main.legal-main {
  background: transparent !important;
}

body.elite-landing .legal-hero-outer {
  background: transparent !important;
  background-image: none !important;
}

body.elite-landing .legal-hero-outer::before,
body.elite-landing .legal-hero-outer::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

body.elite-landing .hero,
body.elite-landing .legal-main > .panel,
body.elite-landing .info-card,
body.elite-landing .toc,
body.elite-landing .legal-toc,
body.elite-landing .plain-summary,
body.elite-landing .legal-contact {
  color: #0f172a !important;
  background: #ffffff !important;
  background-image: none !important;
  border-color: #dbe4ec !important;
  opacity: 1 !important;
  box-shadow: 0 24px 70px rgba(7, 20, 38, 0.22) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.elite-landing .hero h1,
body.elite-landing .hero h2,
body.elite-landing .panel h1,
body.elite-landing .panel h2,
body.elite-landing .panel h3,
body.elite-landing .info-card h2,
body.elite-landing .info-card h3,
body.elite-landing .toc h2,
body.elite-landing .toc h3 {
  color: #0f172a !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.elite-landing .hero p,
body.elite-landing .panel p,
body.elite-landing .panel li,
body.elite-landing .panel dd,
body.elite-landing .panel dt,
body.elite-landing .info-card p,
body.elite-landing .info-card li,
body.elite-landing .legal-contact,
body.elite-landing .terms-meta {
  color: #334155 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #334155 !important;
}

body.elite-landing .hero-meta span,
body.elite-landing .toc-list a,
body.elite-landing a.toc-pill,
body.elite-landing .quick-card {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.elite-landing .hero-eyebrow {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #334155 !important;
  border-color: #64748b !important;
  opacity: 1 !important;
}

body.elite-landing .panel a,
body.elite-landing .info-card a,
body.elite-landing .toc a,
body.elite-landing .legal-contact a {
  color: #006b63 !important;
  opacity: 1 !important;
}

body.elite-landing table {
  width: 100% !important;
  color: #334155 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  opacity: 1 !important;
}

body.elite-landing table thead,
body.elite-landing table th {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #334155 !important;
  border-color: #64748b !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.elite-landing table tbody,
body.elite-landing table tr,
body.elite-landing table td {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  background: #ffffff !important;
  border-color: #dbe4ec !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.elite-landing table tbody tr:nth-child(even),
body.elite-landing table tbody tr:nth-child(even) td {
  background: #f8fafc !important;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.elite-landing header.site-header-legal {
    position: relative !important;
    top: auto !important;
    padding-top: 18px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.elite-landing .legal-header-nav.nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 18px 12px !important;
  }

  body.elite-landing .legal-header-nav .brand.brand-lockup {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 12px !important;
    color: #071426 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #d5dedf !important;
    box-shadow: 0 8px 22px rgba(7, 20, 38, 0.14) !important;
  }

  body.elite-landing .legal-header-nav .brand.brand-lockup::before {
    content: "←";
    display: block;
    font: 400 28px/1 system-ui, sans-serif;
    transform: translateY(-1px);
  }

  body.elite-landing .legal-header-nav .brand-mark,
  body.elite-landing .legal-header-nav .brand-wordmark,
  body.elite-landing .legal-header-nav .nav-links,
  body.elite-landing .legal-header-nav .legal-nav-actions {
    display: none !important;
  }

  body.elite-landing .legal-header-nav .lang-select {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #d5dedf !important;
    box-shadow: 0 8px 22px rgba(7, 20, 38, 0.14) !important;
    overflow: hidden !important;
  }

  body.elite-landing .legal-header-nav .lang-globe {
    display: grid !important;
    place-items: center !important;
  }

  body.elite-landing .legal-header-nav .lang-globe svg {
    width: 19px !important;
    height: 19px !important;
  }

  body.elite-landing .legal-header-nav .lang-label-sm {
    display: none !important;
  }

  body.elite-landing .legal-header-nav .lang-select select {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
  }

  body.elite-landing main.legal-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 44px 12px 56px !important;
  }

  body.elite-landing .hero,
  body.elite-landing .legal-main > .panel,
  body.elite-landing .info-card,
  body.elite-landing .toc,
  body.elite-landing .legal-toc,
  body.elite-landing .legal-contact,
  body.elite-landing .plain-summary {
    border-radius: 28px !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.elite-landing {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.elite-landing .hero h1,
  body.elite-landing .panel h1,
  body.elite-landing .terms-document-card h1 {
    font-size: 28px !important;
    line-height: 1.08 !important;
  }

  body.elite-landing .hero h2,
  body.elite-landing .panel h2,
  body.elite-landing .info-card h2,
  body.elite-landing .terms-section h2 {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  body.elite-landing .hero h3,
  body.elite-landing .panel h3,
  body.elite-landing .info-card h3,
  body.elite-landing .toc h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.elite-landing .hero p,
  body.elite-landing .panel p,
  body.elite-landing .panel li,
  body.elite-landing .panel dd,
  body.elite-landing .panel dt,
  body.elite-landing .info-card p,
  body.elite-landing .info-card li,
  body.elite-landing .terms-intro p,
  body.elite-landing .terms-section p,
  body.elite-landing .terms-download p {
    font-size: 12px !important;
    line-height: 1.48 !important;
    letter-spacing: 0 !important;
  }

  body.elite-landing .hero-eyebrow,
  body.elite-landing .terms-kicker {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  body.elite-landing .hero-meta span,
  body.elite-landing .toc-list a,
  body.elite-landing a.toc-pill,
  body.elite-landing .quick-card,
  body.elite-landing .terms-quick-nav li,
  body.elite-landing .terms-quick-nav a {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  body.elite-landing button,
  body.elite-landing .terms-pdf-button,
  body.elite-landing .btn {
    font-size: 11px !important;
  }

  body.elite-landing table,
  body.elite-landing table th,
  body.elite-landing table td {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  body.elite-landing .legal-main.impressum-single-main {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  body.elite-landing .impressum-card {
    width: 100% !important;
    margin: auto !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  body.elite-landing .impressum-card h1,
  body.elite-landing .impressum-heading {
    color: #0f172a !important;
  }

  body.elite-landing .impressum-lines,
  body.elite-landing .impressum-lines a {
    color: #334155 !important;
  }

  body.elite-landing .impressum-kicker {
    background: #e6fffb !important;
    color: #115e59 !important;
    border-color: #5eead4 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-splash-photo {
    transition: none;
  }
}
