:root {
  --bordeaux: #741f37;
  --bordeaux-dark: #4a0f22;
  --gold: #c7a861;
  --anthracite: #262626;
  --muted: #6f6a68;
  --border: #e5dfdb;
  --off-white: #f8f7f5;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--anthracite); background: var(--off-white); font-family: Arial, Helvetica, sans-serif; }
a { color: var(--bordeaux); }
.legal-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 88px; padding: 12px 5vw;
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux)); color: #fff;
  box-shadow: 0 8px 30px rgba(48,7,18,.13);
}
.legal-header .back { justify-self: start; color: #fff; text-decoration: none; font-size: .9rem; }
.legal-header img { width: 145px; filter: brightness(0) invert(1); }
.language-switch { justify-self: end; display: flex; gap: 8px; align-items: center; }
.language-switch button { border: 0; background: none; color: rgba(255,255,255,.68); cursor: pointer; }
.language-switch button.active { color: #fff; font-weight: 700; }
.legal-main { width: min(980px, calc(100% - 32px)); margin: 48px auto 80px; padding: 58px clamp(22px, 6vw, 76px); background: #fff; box-shadow: 0 20px 60px rgba(29,18,22,.09); }
.legal-eyebrow { margin: 0 0 10px; color: var(--bordeaux); text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--bordeaux-dark); }
h1 { margin: 0 0 16px; font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { margin: 42px 0 12px; font-size: 1.8rem; }
h3 { margin: 25px 0 8px; font-size: 1.25rem; }
p, li { line-height: 1.78; text-align: justify; hyphens: auto; }
ul { padding-left: 22px; }
.legal-intro { font-size: 1.05rem; color: #4e4947; }
.legal-meta { margin: 0 0 34px; color: var(--muted); font-size: .82rem; }
.placeholder { display: inline-block; padding: 1px 5px; color: #7a4f00; background: #fff2cf; border-bottom: 1px dashed #b48a36; font-weight: 700; }
.notice-box { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--gold); background: #fbf8f1; }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.legal-table th, .legal-table td { padding: 13px 12px; border: 1px solid var(--border); vertical-align: top; text-align: left; line-height: 1.55; }
.legal-table th { background: #f6f2ef; color: var(--bordeaux-dark); }
.legal-footer { padding: 34px 20px; text-align: center; color: rgba(255,255,255,.75); background: var(--bordeaux-dark); }
.legal-footer a, .legal-footer button { color: #fff; }
.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 16px; }
.legal-footer button { border: 0; background: none; text-decoration: underline; cursor: pointer; }
[data-lang-section] { display: none; }
[data-lang-section].active { display: block; }
@media (max-width: 650px) {
  .legal-header { grid-template-columns: 1fr auto; }
  .legal-header img { display: none; }
  .legal-main { margin-top: 24px; padding: 34px 20px; }
  .legal-table { display: block; overflow-x: auto; font-size: .86rem; }
}
