/* Lunisc legal pages – scoped, responsive, bilingual, no JavaScript needed. */
.lunisc-legal-page{padding-top:26px;padding-bottom:90px;min-height:calc(100vh - 140px)}
.lunisc-legal-container{max-width:1100px}
.lunisc-legal-hero{
  position:relative;isolation:isolate;overflow:hidden;min-height:192px;
  display:flex;align-items:center;justify-content:space-between;gap:30px;
  padding:32px 38px;border:1px solid #dce5f1;border-radius:16px;
  background:linear-gradient(120deg,#fff 0%,#fbfcff 58%,#edf4fd 100%);
}
.lunisc-legal-hero:before{content:"";position:absolute;z-index:-1;inset-block-start:0;inset-inline-start:0;
  width:6px;height:100%;background:linear-gradient(180deg,var(--blue,#2d60a1) 0 83%,var(--gold,#e4ab1c) 83%)}
.lunisc-legal-hero-copy{max-width:720px;min-width:0}
.lunisc-legal-eyebrow{font-size:11px;letter-spacing:.105em;font-weight:800;color:var(--blue,#2d60a1);margin:0 0 10px}
.lunisc-legal-hero h1{font-size:clamp(28px,3.3vw,42px);font-weight:750;letter-spacing:-.035em;
  line-height:1.2;margin:0 0 13px;color:var(--ink,#111827)}
.lunisc-legal-description{font-size:14px;line-height:1.9;color:var(--text,#344054);max-width:650px;margin:0}
.lunisc-legal-meta{display:inline-flex;align-items:center;gap:9px;margin-top:19px;font-size:11.5px;
  font-weight:600;color:var(--muted,#667085)}
.lunisc-legal-dot{height:7px;width:7px;background:var(--gold,#e4ab1c);border-radius:50%;flex:none}
.lunisc-legal-mark{width:108px;height:108px;flex:0 0 108px;border:1px solid rgba(45,96,161,.16);
  border-radius:24px;display:grid;place-items:center;background:rgba(255,255,255,.82);
  box-shadow:0 14px 35px rgba(45,96,161,.065);color:var(--blue,#2d60a1)}
.lunisc-legal-mark svg{width:57px;height:57px}
.lunisc-legal-toplinks{display:flex;align-items:center;gap:5px;padding:5px;margin:16px 0 20px;
  width:max-content;max-width:100%;background:#fff;border:1px solid var(--line,#e5e7eb);border-radius:11px}
.lunisc-legal-toplinks a{display:flex;align-items:center;justify-content:center;white-space:nowrap;
  min-height:38px;padding:0 18px;border-radius:8px;color:var(--muted,#667085);font-size:12px;font-weight:700;
  transition:background-color .18s,color .18s}
.lunisc-legal-toplinks a:hover{background:var(--blue-soft,#f2f6fb);color:var(--blue,#2d60a1)}
.lunisc-legal-toplinks a.is-active{background:var(--blue,#2d60a1);color:white}
.lunisc-legal-toplinks a.is-active:hover{background:var(--blue-700,#214b7d);color:#fff}
.lunisc-legal-layout{display:grid;grid-template-columns:minmax(212px,250px) minmax(0,1fr);align-items:start;gap:21px}
.lunisc-legal-toc{position:sticky;top:86px;border:1px solid var(--line,#e5e7eb);border-radius:12px;
  background:#fff;overflow:hidden}
.lunisc-legal-toc-head{border-bottom:1px solid var(--line-soft,#eef0f2);padding:17px 18px;
  color:var(--ink,#111827);font-size:12px;font-weight:800}
.lunisc-legal-toc nav{display:grid;padding:9px;max-height:calc(100dvh - 170px);overflow-y:auto}
.lunisc-legal-toc nav a{display:flex;align-items:baseline;gap:12px;padding:10px 9px;border-radius:8px;
  color:var(--text,#344054);font-size:12px;font-weight:600;line-height:1.55;
  transition:background-color .18s,color .18s}
.lunisc-legal-toc nav a:hover{background:var(--blue-soft,#f2f6fb);color:var(--blue,#2d60a1)}
.lunisc-legal-toc-no{color:var(--muted-2,#98a2b3);font-size:10px;line-height:1.8;flex:0 0 20px;
  font-weight:800;font-variant-numeric:tabular-nums}
.lunisc-legal-article{background:#fff;border:1px solid var(--line,#e5e7eb);border-radius:12px;min-width:0;
  padding:12px 31px 29px;overflow-wrap:anywhere}
.lunisc-legal-section{padding:23px 0 25px;border-bottom:1px solid var(--line-soft,#eef0f2);scroll-margin-top:85px}
.lunisc-legal-section:last-of-type{border-bottom:0}
.lunisc-legal-section-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.lunisc-legal-number{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;
  border-radius:8px;background:var(--blue-soft,#f2f6fb);color:var(--blue,#2d60a1);
  font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.lunisc-legal-section h2{margin:0;color:var(--ink,#111827);font-size:17px;line-height:1.45;letter-spacing:-.015em}
.lunisc-legal-section p,.lunisc-legal-section li{font-size:13px;line-height:2;color:var(--text,#344054)}
.lunisc-legal-section p{margin:0 0 11px}
.lunisc-legal-section p:last-child{margin-bottom:0}
.lunisc-legal-section ul{margin:12px 0 0;padding-inline-start:21px}
.lunisc-legal-section li{padding-inline-start:4px;margin:0 0 8px}
.lunisc-legal-section li::marker{color:var(--blue,#2d60a1)}
.lunisc-legal-contact{display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:22px;margin-top:15px;background:#f5f8fc;border:1px solid #e0e9f5;border-radius:10px}
.lunisc-legal-contact h2{margin:0 0 6px;font-size:15px;color:var(--ink,#111827)}
.lunisc-legal-contact p{margin:0;color:var(--muted,#667085);line-height:1.8;font-size:12px}
.lunisc-legal-contact-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  white-space:nowrap;min-height:39px;padding:0 14px;border-radius:9px;background:var(--blue,#2d60a1);
  color:white;font-weight:750;font-size:11.5px}
.lunisc-legal-contact-link:hover{color:#fff;background:var(--blue-700,#214b7d)}
[dir="rtl"] .lunisc-legal-hero h1,[dir="rtl"] .lunisc-legal-section h2{letter-spacing:normal}
[dir="rtl"] .lunisc-legal-eyebrow{letter-spacing:normal}
@media(max-width:850px){
  .lunisc-legal-layout{grid-template-columns:1fr;gap:13px}
  .lunisc-legal-toc{position:static}
  .lunisc-legal-toc nav{display:flex;overflow-x:auto;overflow-y:hidden;gap:4px;max-height:none;
    -webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:9px}
  .lunisc-legal-toc nav a{white-space:nowrap;flex:none;padding:9px 11px;background:#f8fafc;font-size:11px}
  .lunisc-legal-article{padding:7px 24px 23px}
  .lunisc-legal-hero{padding:27px 29px;min-height:170px}
}
@media(max-width:600px){
  .lunisc-legal-page{padding-top:17px;padding-bottom:90px}
  .lunisc-legal-hero{padding:25px 22px;min-height:0;gap:15px}
  .lunisc-legal-mark{display:none}
  .lunisc-legal-hero h1{font-size:29px}
  .lunisc-legal-description{font-size:13px}
  .lunisc-legal-toplinks{width:100%}
  .lunisc-legal-toplinks a{flex:1;padding:0 9px;font-size:11.5px}
  .lunisc-legal-article{padding:4px 18px 20px}
  .lunisc-legal-section{padding:21px 0;scroll-margin-top:76px}
  .lunisc-legal-section h2{font-size:16px}
  .lunisc-legal-section p,.lunisc-legal-section li{font-size:12.5px;line-height:1.9}
  .lunisc-legal-contact{padding:17px;align-items:stretch;flex-direction:column;gap:13px}
  .lunisc-legal-contact-link{align-self:flex-start}
}
@media(prefers-reduced-motion:reduce){
  .lunisc-legal-toc nav a,.lunisc-legal-toplinks a{transition:none}
}
