:root{
  --oglp-brand:#0056A8;
  --oglp-brand-2:#0d6fd3;
  --oglp-ink:#18212f;
  --oglp-muted:#667085;
  --oglp-bg:#f5f7fb;
  --oglp-surface:#ffffff;
  --oglp-border:#e6ebf2;
  --oglp-footer-bg:#ffffff;
  --oglp-footer-text:#18212f;
  --oglp-footer-border:#e6ebf2;
  --oglp-shell-max:1260px;
  --oglp-radius:14px;
  --oglp-shadow:0 24px 60px rgba(13,34,63,.08);
}
body.oglp-page,
body.oglp-footer-enhanced{
  background:var(--oglp-bg);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--oglp-ink);
  line-height:1.45;
}
a{color:inherit}
button,input,select,textarea{font:inherit}
.oglp-shell{min-height:100vh;background:var(--oglp-bg);}
.oglp-topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);border-bottom:1px solid rgba(15,23,42,.06)}
.oglp-topbar-inner{max-width:1260px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}
.oglp-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--oglp-ink);min-width:0}
.oglp-brand-mark{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;overflow:visible;box-shadow:none;background:transparent;border:none;flex:none}
.oglp-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.oglp-brand-fallback{display:grid;place-items:center;width:100%;height:100%;border-radius:18px;background:linear-gradient(135deg,var(--oglp-brand),var(--oglp-brand-2));color:#fff;font-weight:800;font-size:26px}
.oglp-brand-text{display:flex;flex-direction:column;line-height:1.02;min-width:0}
.oglp-brand-text strong{font-size:18px;letter-spacing:-.02em;font-weight:400}
.oglp-brand-text em{font-style:normal;color:var(--oglp-muted);font-size:12px;margin-top:4px;white-space:nowrap;font-weight:400}
.oglp-topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.oglp-topbar-menu{display:none;position:relative}
.oglp-topbar-menu summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:14px;background:#fff;color:var(--oglp-ink);text-decoration:none;font-weight:700;border:1px solid var(--oglp-border);cursor:pointer;box-shadow:0 10px 24px rgba(13,34,63,.08)}
.oglp-topbar-menu summary::-webkit-details-marker{display:none}
.oglp-topbar-menu[open] summary{border-color:#d8e6fb;background:#eef5ff;color:var(--oglp-brand)}
.oglp-topbar-menu-panel{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;padding:10px;border-radius:18px;background:#fff;border:1px solid var(--oglp-border);box-shadow:0 22px 55px rgba(13,34,63,.14);display:grid;gap:8px}
.oglp-topbar-menu-panel a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:14px;text-decoration:none;font-weight:700;border:1px solid var(--oglp-border);background:#fff;color:var(--oglp-ink)}
.oglp-topbar-menu-panel a.oglp-menu-primary{background:var(--oglp-brand);color:#fff;border-color:var(--oglp-brand)}
.oglp-top-link{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 16px;border-radius:14px;background:var(--oglp-brand);color:#fff;text-decoration:none;font-weight:700;border:1px solid var(--oglp-brand);box-shadow:0 12px 28px rgba(0,86,168,.18);letter-spacing:-.01em}
.oglp-top-link.oglp-top-link-ghost{background:#fff;color:var(--oglp-ink);border-color:var(--oglp-border);box-shadow:none}
.oglp-main{padding:34px 24px 56px}
.oglp-page-wrap{max-width:var(--oglp-shell-max);margin:0 auto;display:grid;gap:18px}
.oglp-page-card{background:var(--oglp-surface);border:1px solid var(--oglp-border);border-radius:28px;box-shadow:var(--oglp-shadow)}
.oglp-page-hero{padding:30px}
.oglp-page-content{padding:34px}
.oglp-badge{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;background:#eef5ff;border:1px solid #d8e6fb;color:var(--oglp-brand);font-weight:700;font-size:12px;letter-spacing:.02em;text-transform:uppercase}
.oglp-page-hero h1{margin:12px 0 10px;font-size:42px;line-height:1.02;letter-spacing:-.045em;color:var(--oglp-ink)}
.oglp-page-hero p{margin:0;max-width:860px;color:var(--oglp-muted);font-size:16px;line-height:1.75}
.oglp-page-content h2{margin:26px 0 10px;font-size:24px;line-height:1.12;letter-spacing:-.03em;color:var(--oglp-ink)}
.oglp-page-content h2:first-child{margin-top:0}
.oglp-page-content p,.oglp-page-content li{color:var(--oglp-ink);line-height:1.82;font-size:16px}
.oglp-page-content ul{padding-left:22px}
.oglp-page-content a{color:var(--oglp-brand);font-weight:700;text-decoration:none}
.oglp-page-content strong{font-weight:700}
.oglp-footer-shell{margin-top:24px;background:var(--oglp-footer-bg);border-top:1px solid var(--oglp-footer-border)}
.oglp-footer-inner{max-width:var(--oglp-shell-max);margin:0 auto;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-sizing:border-box}
.oglp-footer-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--oglp-footer-text);min-width:0}
.oglp-footer-brand-mark{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;overflow:hidden;flex:none}
.oglp-footer-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.oglp-footer-brand-text{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.oglp-footer-brand-name{font-size:17px;font-weight:500 !important;letter-spacing:-.02em}
.oglp-footer-brand-note{font-style:normal;color:var(--oglp-muted);font-size:12px;margin-top:3px;max-width:320px;font-weight:400 !important}
.oglp-footer-shell,.oglp-footer-shell *{font-weight:400 !important}
.oglp-footer-brand-name,.oglp-footer-brand-note,.oglp-footer-links a{font-weight:400 !important}
.oglp-footer-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px 26px}
.oglp-footer-links a{text-decoration:none;color:var(--oglp-footer-text);font-weight:500}
.oglp-footer-links a:hover,.oglp-page-content a:hover,.oglp-top-link:hover{opacity:.92}
@media (min-width:1500px){
  :root{--oglp-shell-max:min(1640px,calc(100vw - 56px));}
}
@media (min-width:1800px){
  :root{--oglp-shell-max:min(1820px,calc(100vw - 88px));}
}
@media (max-width:820px){
  .oglp-topbar-inner,.oglp-footer-inner{padding-left:16px;padding-right:16px}
  .oglp-main{padding-left:16px;padding-right:16px}
  .oglp-page-hero{padding:24px}
  .oglp-page-content{padding:24px}
  .oglp-page-hero h1{font-size:34px}
  .oglp-footer-inner{flex-direction:column;align-items:flex-start}
}

.oglp-topbar-menu-native{display:none;position:relative}
.oglp-topbar-menu-native summary{list-style:none}
.oglp-topbar-menu-native summary::-webkit-details-marker{display:none}
.oglp-topbar-menu-native[open] .oglp-topbar-menu-panel{display:flex;flex-direction:column;gap:8px}
@media (max-width:700px){
  .oglp-topbar-actions{display:none}
  .oglp-topbar-menu{display:block}
  .oglp-topbar-menu-native{display:block}
  .oglp-topbar-inner{padding:12px 14px}
  .oglp-brand{gap:10px}
  .oglp-brand-mark{width:52px;height:52px;border-radius:16px}
  .oglp-brand-text strong{font-size:15px}
  .oglp-brand-text em{font-size:11px}
  .oglp-topbar-menu-panel{width:min(240px,calc(100vw - 28px))}
}
@media (max-width:520px){
  .oglp-page-card{border-radius:22px}
  .oglp-page-hero h1{font-size:30px}
  .oglp-page-content p,.oglp-page-content li{font-size:15px}
  .oglp-footer-links{gap:12px 18px}
}

/* 1.0.3 exact shared topbar as OctoGate public header */
body.oglp-page,body.oglp-footer-enhanced{
  --oglp-shared-topbar-max:1260px;
  --oglp-shared-topbar-pad-x:24px;
}
body.oglp-page .oglp-topbar-inner,body.oglp-footer-enhanced .oglp-topbar-inner{
  max-width:var(--oglp-shared-topbar-max) !important;
  padding-left:var(--oglp-shared-topbar-pad-x) !important;
  padding-right:var(--oglp-shared-topbar-pad-x) !important;
}
@media (min-width:1600px){
  body.oglp-page,body.oglp-footer-enhanced{
    --oglp-shared-topbar-max:min(1640px,calc(100vw - 56px));
    --oglp-shared-topbar-pad-x:28px;
  }
}
@media (min-width:2200px){
  body.oglp-page,body.oglp-footer-enhanced{
    --oglp-shared-topbar-max:min(1820px,calc(100vw - 88px));
    --oglp-shared-topbar-pad-x:32px;
  }
}
@media (min-width:3000px){
  body.oglp-page,body.oglp-footer-enhanced{
    --oglp-shared-topbar-max:min(2100px,calc(100vw - 112px));
    --oglp-shared-topbar-pad-x:36px;
  }
}
@media (max-width:860px){
  body.oglp-page,body.oglp-footer-enhanced{--oglp-shared-topbar-pad-x:16px;}
}
@media (max-width:700px){
  body.oglp-page,body.oglp-footer-enhanced{--oglp-shared-topbar-pad-x:14px;}
}


/* 1.0.6 narrower legal page content while keeping shared header width */
.oglp-main{padding-top:30px;padding-bottom:52px;}
.oglp-page-wrap{max-width:min(1080px,calc(100vw - 48px));}
.oglp-page-hero p{max-width:760px;}
@media (min-width:1700px){.oglp-page-wrap{max-width:1120px;}}
@media (max-width:820px){.oglp-page-wrap{max-width:none;}}
