:root{
  color-scheme:light;
  --blue:#0877f8;
  --ink:#172033;
  --muted:#667085;
  --paper:#f8fbff;
  font-family:Inter,ui-rounded,"Nunito Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{
  width:100%;
  height:100%;
  overflow-x:hidden;
  overflow-y:hidden;
  background:#f5f7fb;
  color:var(--ink);
}
body{
  width:100%;
  height:100%;
  margin:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
}
.legalHeader{
  background:linear-gradient(145deg,#087cfb,#0068f0);
  color:#fff;
}
.legalHeaderInner,.legalDocument,.legalFooter{
  width:min(880px,calc(100% - 36px));
  margin-inline:auto;
}
.legalHeaderInner{position:relative;padding:22px 0 42px}
.legalPageClose{
  position:absolute;
  top:max(10px,env(safe-area-inset-top));
  right:0;
  z-index:2;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  font:500 30px/1 system-ui,sans-serif;
  cursor:pointer;
}
.legalPageClose:focus-visible{border-radius:4px;outline:2px solid rgba(255,255,255,.9);outline-offset:2px}
.legalBrandRow{display:flex;align-items:center;justify-content:space-between;gap:20px}
.legalLogo{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  padding:8px 14px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:rgba(255,255,255,.1);
}
.legalLogo img{display:block;width:auto;height:29px;max-width:145px}
.backLink{color:#fff;font-size:13px;font-weight:850;text-underline-offset:4px}
.legalHeader h1{max-width:760px;margin:38px 0 10px;font-size:clamp(34px,6vw,58px);line-height:1.02;letter-spacing:-.045em}
.documentMeta{margin:0;color:rgba(255,255,255,.78);font-size:13px;font-weight:750}
.legalDocument{margin-top:-22px;margin-bottom:36px;padding:clamp(24px,5vw,52px);border:1px solid rgba(23,32,51,.09);border-radius:28px;background:var(--paper);box-shadow:0 24px 70px rgba(31,55,83,.12)}
.legalDocument .notice{padding:14px 16px;border-left:4px solid var(--blue);border-radius:9px;background:#eef6ff;color:#344054;font-size:13px;line-height:1.5}
.plainSummary{
  margin:0 0 30px;
  padding:20px;
  border:1px solid #cfe2ff;
  border-radius:18px;
  background:#f2f7ff;
}
.plainSummary h2{margin:0 0 10px !important}
.plainSummary p{margin:0 0 10px}
.plainSummary ul{margin:0}
.plainSummary li+li{margin-top:5px}
.legalDocument h2{margin:34px 0 10px;font-size:22px;line-height:1.2}
.legalDocument h2:first-of-type{margin-top:26px}
.legalDocument h3{margin:22px 0 8px;font-size:16px}
.legalDocument p,.legalDocument li{color:#475467;font-size:14px;line-height:1.65}
.legalDocument ul{padding-left:22px}
.legalDocument a{color:#0068f0;font-weight:750;text-underline-offset:3px}
.legalDocument a:focus-visible,.backLink:focus-visible{border-radius:4px;outline:3px solid rgba(8,119,248,.35);outline-offset:3px}
.legalFooter{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 0 max(28px,env(safe-area-inset-bottom));
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.legalFooter img{display:block;width:auto;height:24px;object-fit:contain}
.legalBackToTop{
  position:fixed;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  z-index:10;
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  padding:0;
  border:1px solid rgba(23,32,51,.14);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#0877f8;
  box-shadow:0 10px 28px rgba(31,55,83,.18);
  font:900 22px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  backdrop-filter:blur(12px);
}
.legalBackToTop[hidden]{display:none}
.legalBackToTop:focus-visible{outline:3px solid rgba(8,119,248,.3);outline-offset:3px}
.embeddedLegal .legalBrandRow{display:none}
.embeddedLegal [data-back-to-board]{display:none!important}
.embeddedLegal .legalHeaderInner{padding-top:max(14px,env(safe-area-inset-top));padding-right:44px}
.embeddedLegal .legalHeader h1{margin-top:0}
.fontLicenceDocument{padding-bottom:30px}
.fontLicenceBack{display:inline-flex;align-items:center;gap:7px;margin:0 0 22px;color:#0068f0;font-size:14px;font-weight:850;text-underline-offset:3px}
.fontLicenceFrame{display:block;width:100%;height:min(58vh,620px);border:1px solid rgba(23,32,51,.12);border-radius:16px;background:#fff}
@media(max-width:560px){
  .legalHeaderInner,.legalDocument,.legalFooter{width:min(100% - 24px,880px)}
  .legalHeaderInner{padding-top:max(14px,env(safe-area-inset-top));padding-bottom:36px}
  .legalHeader h1{margin-top:28px}
  .legalDocument{padding:24px 20px;border-radius:20px}
}
