/* Impressum (legal.html) and Privacy Policy (privacy.html) — page styles on top of chrome.css.
   Selectors are scoped to body.legal so nothing here can leak into the shared header/footer.
   The legal text itself is untouched; only the page frame was restyled. */
:root{--off:#F5F5F5;--rule:#D5DCE6;--text:#1A1A1A;--mid:#454C58;--silver:#5B6371;--light:#EEF0F3;--green:#00B050}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-padding-top:90px}
body.legal{font-family:Manrope,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-weight:400;color:var(--text);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}

body.legal .page-hero{background:var(--navy);padding:calc(74px + 56px) 48px 48px;border-bottom:3px solid var(--blue)}
body.legal .page-tag{font-size:.72rem;letter-spacing:.18em;color:var(--glow);font-weight:700;text-transform:uppercase;margin-bottom:12px}
body.legal .page-hero h1{font-size:clamp(2rem,5vw,3.2rem);font-weight:800;color:#fff;letter-spacing:-.01em;margin-bottom:8px}
body.legal .page-sub{color:rgba(255,255,255,.6);font-size:.9rem}

body.legal .content{max-width:860px;margin:0 auto;padding:48px}
body.legal [lang-block]{display:none}
body.legal [lang-block].visible{display:block}

body.legal .section{margin-bottom:32px;border:1px solid var(--rule);border-top:3px solid var(--navy)}
body.legal .section-header{background:var(--off);padding:14px 24px;border-bottom:1px solid var(--rule)}
body.legal .section-label{font-size:.68rem;letter-spacing:.18em;color:var(--blue);font-weight:700;text-transform:uppercase;margin-bottom:4px}
body.legal .content h2{font-size:1.25rem;font-weight:700;color:var(--navy);letter-spacing:-.01em;max-width:none;line-height:1.3}
body.legal .section-body{padding:24px}
body.legal .content h3{font-size:.95rem;font-weight:700;color:var(--navy);margin:20px 0 8px}
body.legal .content h3:first-child{margin-top:0}
body.legal .content p{color:var(--mid);font-size:.92rem;margin-bottom:10px}
body.legal .content p:last-child{margin-bottom:0}
body.legal .content ul{list-style:none;padding:0;margin:8px 0 12px}
body.legal .content ul li{color:var(--mid);font-size:.92rem;padding:4px 0 4px 16px;position:relative;border-bottom:1px solid var(--rule)}
body.legal .content ul li:last-child{border-bottom:none}
body.legal .content ul li::before{content:'—';position:absolute;left:0;color:var(--blue)}
body.legal .data-table{width:100%;border-collapse:collapse;margin-bottom:16px}
body.legal .data-table tr{border-bottom:1px solid var(--rule)}
body.legal .data-table tr:last-child{border-bottom:none}
body.legal .data-table td{padding:10px 0;font-size:.92rem;vertical-align:top}
body.legal .data-table td:first-child{color:var(--silver);font-weight:600;width:180px;padding-right:16px}
body.legal .data-table td:last-child{color:var(--text)}
body.legal .data-table a{color:var(--blue);text-decoration:none}
body.legal .data-table a:hover{text-decoration:underline}
body.legal .rights-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
body.legal .right-item{background:var(--light);border-left:3px solid var(--blue);padding:14px 16px}
body.legal .right-title{font-size:.88rem;font-weight:700;color:var(--navy);margin-bottom:4px}
body.legal .right-desc{font-size:.82rem;color:var(--mid)}
body.legal .notice-box{background:var(--light);border-left:3px solid var(--blue);padding:14px 20px;margin-top:32px;font-size:.86rem;color:var(--navy);font-weight:500}

@media(max-width:768px){
  body.legal .page-hero,body.legal .content{padding-left:20px;padding-right:20px}
  body.legal .page-hero{padding-top:calc(60px + 40px)}
  body.legal .rights-grid{grid-template-columns:1fr}
  body.legal .data-table td:first-child{width:120px}
}
