/* IAIS UAE | Conversational legal pages
   Scoped to .legal-page so the rest of the website is unchanged. */
.legal-page { --lg-ink:#082a3c; --lg-deep:#022a3f; --lg-teal:#00a3a3; --lg-soft:#537282;
  background:#f4f8fa; color:var(--lg-ink); }
.legal-page .legal-main { padding:148px 0 95px; min-height:72vh;
  background:radial-gradient(circle at 93% 1%,rgba(0,163,163,.12),transparent 36%),
    linear-gradient(180deg,#ebf7f8 0,#f7fafc 280px,#f4f8fa 100%); }
.legal-page .legal-container { max-width:1210px; margin:0 auto; padding:0 26px; }
.legal-page .legal-hero { position:relative; overflow:hidden; padding:45px 46px 40px;
  border-radius:27px; color:#fff; background:linear-gradient(125deg,#052d43 0%,#063f56 57%,#006a76 100%);
  box-shadow:0 24px 60px rgba(2,42,63,.15); }
.legal-page .legal-hero:before { content:""; position:absolute; right:-115px; top:-145px; width:450px; height:450px;
  border-radius:50%; border:1px solid rgba(255,255,255,.13); box-shadow:0 0 0 55px rgba(255,255,255,.04),0 0 0 110px rgba(255,255,255,.025); pointer-events:none; }
.legal-page .legal-kicker { display:inline-flex; align-items:center; gap:8px; padding:8px 13px;
  border:1px solid rgba(255,255,255,.21); border-radius:99px; background:rgba(255,255,255,.09);
  letter-spacing:.08em; text-transform:uppercase; color:#e1faf8; font-size:11px; font-weight:750; }
.legal-page .legal-kicker i { width:8px; height:8px; background:#20dbbb; border-radius:50%; box-shadow:0 0 0 4px rgba(32,219,187,.14); }
.legal-page .legal-hero h1 { position:relative; z-index:1; margin:20px 0 12px;
  color:#fff; font:800 clamp(33px,4.1vw,56px)/1.13 'Poppins',Arial,sans-serif; letter-spacing:-.04em; }
.legal-page .legal-hero p { position:relative; z-index:1; max-width:680px; margin:0; color:#cde2e8;
  font-size:15.5px; line-height:1.85; }
.legal-page .legal-hero-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:12px;
  position:relative; z-index:1; margin-top:28px; }
.legal-page .legal-hero-bottom a { display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:11px 16px; border-radius:11px; font-weight:750; font-size:12.5px;
  color:#dffcff; border:1px solid rgba(255,255,255,.23); background:rgba(255,255,255,.075); transition:.2s; }
.legal-page .legal-hero-bottom a[aria-current="page"] { color:#06394b; background:#fff; border-color:#fff; }
.legal-page .legal-hero-bottom a:hover { background:rgba(255,255,255,.2); color:#fff; }
.legal-page .legal-hero-bottom a[aria-current="page"]:hover { color:#06394b; background:#f6ffff; }
.legal-page .legal-updated { margin-left:auto; color:#d1e9ee; font-size:12px; }
.legal-page .legal-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:30px; align-items:start; padding-top:35px; }
.legal-page .legal-discussion { display:flex; flex-direction:column; gap:19px; min-width:0; }
.legal-page .legal-thread-header { display:flex; align-items:center; gap:10px; padding:0 4px 2px;
  color:#345969; font-size:13px; font-weight:800; }
.legal-page .legal-thread-header:before { content:""; width:9px; height:9px; border-radius:50%; background:#12bda6; }
.legal-page .legal-chat { display:flex; flex-direction:column; gap:12px; }
.legal-page .legal-bubble { max-width:93%; border-radius:19px; padding:19px 22px; font-size:15px; line-height:1.75;
  box-shadow:0 4px 17px rgba(3,35,51,.045); }
.legal-page .legal-bubble.question { align-self:flex-end; border-bottom-right-radius:5px; color:#fff; background:#006e84; }
.legal-page .legal-bubble.answer { align-self:flex-start; border-bottom-left-radius:5px; background:#fff; border:1px solid #dcebef; color:#335362; }
.legal-page .legal-bubble-label { display:block; margin-bottom:6px; font-size:10px; letter-spacing:.09em;
  text-transform:uppercase; font-weight:850; opacity:.76; }
.legal-page .legal-questions { background:#fff; border:1px solid #dce8ed; border-radius:22px; overflow:hidden;
  box-shadow:0 14px 37px rgba(8,42,60,.06); }
.legal-page .legal-questions h2 { margin:0; padding:24px 25px 13px; color:#0a354b;
  font:750 20px/1.35 'Poppins',Arial,sans-serif; }
.legal-page details.legal-qa { border-top:1px solid #e8f0f2; scroll-margin-top:120px; }
.legal-page details.legal-qa summary { position:relative; display:flex; gap:14px; align-items:center;
  cursor:pointer; list-style:none; padding:20px 26px; color:#07354a; font-weight:700;
  font-size:14.7px; line-height:1.5; transition:background .18s; }
.legal-page details.legal-qa summary::-webkit-details-marker { display:none; }
.legal-page details.legal-qa summary:hover, .legal-page details.legal-qa[open] summary { background:#f2fafb; }
.legal-page .legal-qnum { flex:0 0 auto; display:grid; place-items:center; width:30px; height:30px;
  color:#027a80; border:1px solid #c7e9e9; border-radius:9px; background:#eaf9f8;
  font-size:11px; font-weight:850; }
.legal-page .legal-qtext { flex:1; }
.legal-page .legal-plus { flex:0 0 auto; display:grid; place-items:center; width:27px; height:27px;
  border-radius:50%; background:#e4f4f5; color:#006f78; font-size:18px; font-weight:600; transition:transform .2s; }
.legal-page details.legal-qa[open] .legal-plus { transform:rotate(45deg); }
.legal-page .legal-answer { padding:0 27px 24px 70px; color:#476674; line-height:1.82; font-size:14.3px; }
.legal-page .legal-answer p { margin:0 0 12px; }
.legal-page .legal-answer p:last-child { margin-bottom:0; }
.legal-page .legal-answer ul { padding-left:20px; margin:0 0 12px; }
.legal-page .legal-answer li { margin:5px 0; }
.legal-page .legal-answer a, .legal-contact a { color:#007e87; text-decoration:underline; text-underline-offset:3px; }
.legal-page .legal-cta { border:1px solid #c9e9e5; padding:23px 24px; border-radius:18px;
  display:flex; gap:18px; align-items:center; justify-content:space-between;
  background:linear-gradient(110deg,#ebfbf8,#fff); }
.legal-page .legal-cta h2 { font:750 19px/1.4 'Poppins',Arial,sans-serif; margin:0 0 6px; color:#07364b; }
.legal-page .legal-cta p { font-size:13px; color:#55717b; margin:0; }
.legal-page .legal-btn { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; justify-content:center;
  color:#fff !important; padding:12px 16px; background:#008b91; text-decoration:none !important;
  border-radius:10px; font-size:13px; font-weight:750; transition:background .18s; }
.legal-page .legal-btn:hover { background:#006e75; }
.legal-page .legal-sidebar { position:sticky; top:118px; display:grid; gap:16px; }
.legal-page .legal-sidecard { background:#fff; border:1px solid #dce8ed; border-radius:19px;
  padding:25px; box-shadow:0 8px 27px rgba(8,42,60,.045); }
.legal-page .legal-avatar { display:grid; place-items:center; width:46px; height:46px; border-radius:14px;
  background:#e8f9f7; color:#007c83; font-size:23px; margin-bottom:14px; }
.legal-page .legal-sidecard h2 { color:#0b3549; font:750 18px/1.4 'Poppins',Arial,sans-serif; margin:0 0 7px; }
.legal-page .legal-sidecard p { font-size:13px; line-height:1.75; color:#617c89; margin:0 0 16px; }
.legal-page .legal-sidecard a.legal-mail { display:block; word-break:break-all; color:#007f89; font-weight:750; }
.legal-page .legal-nav { display:grid; gap:6px; }
.legal-page .legal-nav a { display:flex; align-items:center; gap:10px; padding:10px 11px; border-radius:10px;
  text-decoration:none; color:#456878; font-size:12.5px; font-weight:650; }
.legal-page .legal-nav a:hover { color:#005d6a; background:#eef8f9; }
.legal-page .legal-nav a:before { content:'↗'; color:#02a2a5; font-weight:850; }
.legal-page .legal-note { margin-top:12px; padding:13px 14px; background:#f3fafb; border:1px solid #e1eff1;
  border-radius:10px; font-size:11.5px; color:#5d7683; line-height:1.65; }
.legal-page .legal-main a:focus-visible, .legal-page summary:focus-visible { outline:3px solid #f4b400; outline-offset:3px; }
@media(max-width:900px) {
  .legal-page .legal-main { padding-top:125px; }
  .legal-page .legal-layout { grid-template-columns:1fr; }
  .legal-page .legal-sidebar { position:static; grid-template-columns:1fr 1fr; }
}
@media(max-width:620px) {
  .legal-page .legal-container { padding:0 16px; }
  .legal-page .legal-main { padding:103px 0 56px; }
  .legal-page .legal-hero { border-radius:18px; padding:26px 22px; }
  .legal-page .legal-hero h1 { font-size:34px; }
  .legal-page .legal-hero p { font-size:14px; }
  .legal-page .legal-hero-bottom { gap:8px; }
  .legal-page .legal-hero-bottom a { font-size:12px; padding:10px 12px; }
  .legal-page .legal-updated { margin:4px 0 0; width:100%; }
  .legal-page .legal-layout { padding-top:22px; gap:20px; }
  .legal-page .legal-sidebar { grid-template-columns:1fr; }
  .legal-page .legal-bubble { max-width:100%; font-size:13.7px; padding:15px 16px; }
  .legal-page .legal-questions h2 { font-size:18px; padding:19px 18px 8px; }
  .legal-page details.legal-qa summary { padding:15px 16px; font-size:13.7px; gap:10px; }
  .legal-page .legal-answer { padding:0 18px 17px 17px; font-size:13.5px; }
  .legal-page .legal-cta { flex-direction:column; align-items:flex-start; padding:19px; }
  .legal-page .legal-btn { width:100%; }
  .legal-page .legal-sidecard { padding:20px; }
}
