/* Studio, client portal and login in the website's air look: cream sky behind the page, Inter headings, Sora text,
   night ink, oxygen blue for links and highlights, the sun for full stops. Loaded after ui.css (or site.css on login).
   Only the light theme changes; the Studio's dark mode keeps its own colours. */

:root{
  --display:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  --sans:Sora,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:Sora,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mm-font:var(--display);--mm-body:var(--sans)
}
:root:not([data-theme="dark"]){
  --cream:#F5F3EF;--oxygen:#2A62C6;--sun:#EE8547;--sky:#F5F3EF;--frost:rgba(245,243,239,.74);--frost-card:rgba(251,250,247,.78);
  --bg:#F5F3EF;--surface:#FBFAF7;--field:#FFFFFF;
  --ink:#16202E;--ink-2:#2B3A4F;--body:#3D4A5C;--body-2:#4A5668;--muted:#536175;--muted-2:#66738A;
  --line:#DCE3EB;--line-2:#C2D0DF;--line-3:#E6EAEF;--soft:#EEF2F6;--soft-2:#E6ECF3;--col:rgba(226,234,243,.55);
  --dark:#16202E;--dark-2:#1E2A3A;--dark-3:#2B3A4F;--dark-line:#2B3A4F;--on-dark:#FBFAF7;--on-dark-2:#C5D0DD;--on-dark-3:#9FAEC0;
  --on-ink:#FBFAF7;--link-hover:#2A62C6;
  --info:#2A62C6;--info-bg:#E2EAF6;--info-soft:#E2EAF6;
  --grad:linear-gradient(100deg,#2A62C6 0%,#4F7FD6 45%,#EE8547 100%);
  --mm-bg:var(--bg);--mm-surface:var(--surface);--mm-ink:var(--ink);--mm-line:var(--line);--mm-muted:var(--muted);
  color-scheme:light
}

/* the cream sky with soft clouds, fixed behind everything (same images as the website) */
:root:not([data-theme="dark"]){background:var(--cream)}
:root:not([data-theme="dark"]) body{background:transparent}
:root:not([data-theme="dark"])::before{content:"";position:fixed;inset:0 -8%;z-index:-1;pointer-events:none;
  background:var(--cream) url(/assets/site/sky-wide.webp?v=2) center top/cover no-repeat}
@media (max-aspect-ratio:1/1){:root:not([data-theme="dark"])::before{background-image:url(/assets/site/sky-tall.webp?v=2)}}

/* type: Sora body, Inter for headings and bold, tracked small labels */
body{font-family:var(--sans);font-synthesis:none}
input,textarea,select,button{font-family:inherit}
h1,h2,h3,h4{font-family:var(--display);text-transform:none}
a:hover{color:var(--link-hover)}
:focus-visible{outline-color:var(--oxygen,#2A62C6)}

/* frosted header bars and cards, like the website's nav and panels */
:root:not([data-theme="dark"]) .s-bar{background:rgba(245,243,239,.74);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
:root:not([data-theme="dark"]) .p-nav{background:rgba(251,250,247,.7);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
:root:not([data-theme="dark"]) .p-brand .tag{background:rgba(251,250,247,.6)}

/* the brand name gets the sun full stop, like "oxyn." on the website */
.p-brand b::after{content:".";color:var(--sun,#EE8547)}

/* login: website nav and links, and the dark panel in night blue */
.oxh-nav a{font-size:13.5px;color:var(--muted)}
.oxh-nav a:hover,.oxh-nav a[aria-current="page"]{color:var(--ink)}
.box,.side{border-radius:24px}
:root:not([data-theme="dark"]) .box{background:rgba(251,250,247,.82);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.box h1 .serif,.side h2 .serif{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400}
.perks .ic{background:var(--dark-3)}
