/* Reading layouts for privacy, terms and legal notices in both languages. */
.legal-page .legal-hero { padding: 92px 0 68px; background: linear-gradient(180deg, #fff, #f0f7f6); border-bottom: 1px solid var(--border); }
.legal-page .legal-hero::after { display: none; }
.legal-page .legal-hero-inner { width: min(calc(100% - 40px), 1090px); max-width: none; }
.legal-page .legal-hero h1 { max-width: 900px; font-size: clamp(2.8rem,5.4vw,4.75rem); font-weight: 650; line-height: 1.04; letter-spacing: -.055em; }
.legal-page .legal-hero .lead { max-width: 750px; margin-bottom: 30px; font-size: 20px; line-height: 1.6; }
.legal-page .legal-meta { gap: 8px 20px; }
.legal-page .legal-meta span { padding: 0; min-height: 24px; border: 0; border-radius: 0; background: none; color: #617a7d; font-size: 12px; font-weight: 450; }
.legal-page .legal-wrap { gap: 64px; padding-block: 64px 100px; }
.legal-page .legal-toc { padding: 24px; background: #f5f8f7; border: 1px solid #e5eeec; border-radius: 22px; box-shadow: none; backdrop-filter: none; }
.legal-page .legal-toc strong { margin-bottom: 16px; color: var(--brand-dark); font-size: 11px; letter-spacing: .075em; text-transform: uppercase; font-weight: 650; }
.legal-page .legal-toc a { padding-block: 8px; font-size: 13px; line-height: 1.4; }
.legal-page .legal-toc a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; }
.legal-page .legal-content { font-size: 17px; line-height: 1.75; }
.legal-page .legal-content strong { font-weight: 650; }
.legal-page .legal-section { padding: 38px 0; }
.legal-page .legal-section:first-child { padding-top: 6px; }
.legal-page .legal-section h2 { margin-bottom: 20px; font-size: clamp(1.6rem,2.6vw,2rem); line-height: 1.2; letter-spacing: -.035em; }
.legal-page .legal-section h3 { font-size: 1.15rem; line-height: 1.35; }
.legal-page .legal-section p,.legal-page .legal-section li,.legal-page .legal-notice p { color: #56666a; }
.legal-page .legal-summary { margin-bottom: 36px; padding: 30px 32px; border-radius: 24px; background: #d9efee; box-shadow: none; }
.legal-page .legal-summary h2 { margin-bottom: 12px; color: #126b76; font-size: 1.4rem; letter-spacing: -.025em; }
.legal-page .legal-summary p { color: #365d61; }
.legal-page .legal-notice { padding: 26px 30px; background: #faf6ec; border-color: #eee4cc; box-shadow: none; }
.legal-page .legal-card { padding: 24px; border: 0; background: #f5f7f7; border-radius: 20px; }
.legal-page .legal-table-wrap { background: #fff; border-color: #dce8e6; border-radius: 20px; overscroll-behavior-x: contain; }
.legal-page .legal-table { line-height: 1.6; }
.legal-page .legal-table th { background: #e5f2f0; color: #126b76; font-size: 10px; font-weight: 650; letter-spacing: .055em; }
.legal-page .legal-table td { color: #56666a; font-size: 13px; }
.legal-page .legal-table tbody tr:nth-child(even) { background: #f8faf9; }
.legal-page .legal-contact-card { padding: 32px; border-radius: 24px; background: linear-gradient(135deg,#126b76,#1a8e9d); box-shadow: none; }
.legal-page .legal-contact-card p { color: #e0f1f0; }
.legal-page .legal-contact-card .button { color: #126b76; white-space: normal; line-height: 1.3; text-align: center; }
.legal-page .legal-content a { overflow-wrap: anywhere; }
.legal-page .footer-links a[aria-current="page"] { color: var(--brand-dark); }
@media (max-width: 960px) {
  .legal-page .legal-wrap { grid-template-columns: minmax(0,780px); gap: 36px; }
  .legal-page .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .legal-page .legal-toc strong { flex-basis: 100%; margin-bottom: 8px; }
  .legal-page .legal-hero-inner { max-width: 780px; }
}
@media (max-width: 700px) {
  .legal-page .legal-hero { padding: 54px 0 42px; }
  .legal-page .legal-hero h1 { font-size: clamp(2.2rem,9vw,3.3rem); overflow-wrap: break-word; }
  .legal-page .legal-hero .lead { font-size: 17px; }
  .legal-page .legal-meta { flex-direction: column; gap: 4px; }
  .legal-page .legal-wrap { padding-block: 32px 64px; gap: 30px; }
  .legal-page .legal-content { font-size: 16px; line-height: 1.7; }
  .legal-page .legal-toc { padding: 22px; gap: 2px 18px; }
  .legal-page .legal-toc a { font-size: 12px; }
  .legal-page .legal-section { padding-block: 30px; }
  .legal-page .legal-section h2 { font-size: 25px; }
  .legal-page .legal-summary,.legal-page .legal-notice,.legal-page .legal-contact-card { padding: 24px; border-radius: 22px; }
  .legal-page .legal-contact-card { grid-template-columns: 1fr; }
  .legal-page .legal-card-grid { grid-template-columns: 1fr; }
}
