/* css/site/legacy.css
   Pages whose content still uses the earlier design (corporate.css / style.css) inside the new
   Sakura / Cosmic shell: privacy and 404 for good, the others only until they are ported.
   Loaded after the shared files, instead of a css/pages/ file (see includes/site-head.php). */

/* the earlier design was made for the browser's default text size (base.css sets the prototype frame's 14px) */
body{font-size:16px}

/* the new menu bar is fixed, the old one was in the flow: keep the content clear of it */
main.corp-main{padding-top:calc(104px + env(safe-area-inset-top,0px))}

/* the shell's page background (watercolor / starfield) shows through, as on the new pages */
body.corp-body,body.map-service-page{background:var(--page)}

/* Cosmic world: the earlier design only knew dark text on paper. Its colours all come from these
   variables (corporate.css), so remap them to the Cosmic palette used by the new pages
   (--ink #EAF0F7 / --mut #A9B8CC / --acc #7FB0E6), and turn the white cards into the same dark glass. */
body[data-world=cosmic].corp-body,body[data-world=cosmic].map-service-page{
  --corp-navy:#EAF0F7;--corp-navy-mid:#D3DEEC;--corp-ink:#DCE5F0;--corp-muted:#A9B8CC;
  --corp-gold:#7FB0E6;--corp-gold-dim:rgba(127,176,230,.4);color:var(--corp-ink)}
body[data-world=cosmic] .privacy-doc-section{background:rgba(255,255,255,.055);border-color:rgba(160,190,225,.2)}
