/* ==========================================================================
   URSY COMING SOON — design tokens. Same law as the network: no colour
   literal outside this file. Light is default; [data-theme="dark"] overrides.
   ========================================================================== */
:root{
  --bg:#fbfbfa; --ink:#131518; --ink2:#5c6167; --ink3:#686c72;
  --line:rgba(18,20,24,.08); --line2:rgba(18,20,24,.15); --hover:rgba(18,20,24,.05);
  --glass:rgba(255,255,255,.72); --card:rgba(255,255,255,.82); --topline:rgba(255,255,255,.75);
  --scrim:rgba(250,250,249,.3); --lift:0 30px 90px -30px rgba(16,18,22,.5);
  --neon:#15E7F4; --neon-soft:rgba(21,231,244,.14); --on-neon:#08272b;
  --o1:oklch(.76 .22 208); --o2:oklch(.66 .30 272); --o3:oklch(.86 .21 92); --o4:oklch(.66 .30 312);
  --vig:radial-gradient(130% 90% at 50% -22%, rgba(255,255,255,.6), rgba(255,255,255,0) 56%),
        radial-gradient(130% 100% at 50% 120%, rgba(18,20,24,.075), rgba(18,20,24,0) 52%);
  --field-op:.7; --hue-anim:hueCycle;
  --font-ui:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --header-h:68px; --wrap:1180px;
}

/* Honour the operating system when the visitor has expressed no preference.
   Without this the holding page stays white on a phone set to dark, which is
   the first impression every parked domain makes. The :not([data-theme="light"])
   guard keeps an explicit light choice winning over the OS.
   The html:root selector is deliberate: the estate aurora mu-plugin prints
   `html{background:#fbfbfa}` inline LATER in <head>, so a plain `html` rule
   here would lose the tie on document order. html:root:not([data-theme="light"])
   outranks it on specificity and wins regardless of order. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#050506; --ink:#f6f4f1; --ink2:#a5abb2; --ink3:#8e959d;
    --line:rgba(255,255,255,.085); --line2:rgba(255,255,255,.17); --hover:rgba(255,255,255,.06);
    --glass:rgba(17,17,20,.7); --card:rgba(17,17,20,.8); --topline:rgba(255,255,255,.07);
    --scrim:rgba(5,5,6,.26); --lift:0 34px 100px -30px rgba(0,0,0,.85);
    --neon-soft:rgba(21,231,244,.18);
    --o1:oklch(.72 .25 205); --o2:oklch(.62 .33 274); --o3:oklch(.82 .24 90); --o4:oklch(.64 .33 314);
    --vig:radial-gradient(130% 90% at 50% -22%, rgba(255,255,255,.05), rgba(255,255,255,0) 56%),
          radial-gradient(130% 100% at 50% 120%, rgba(0,0,0,.5), rgba(0,0,0,0) 55%);
    --field-op:.6;
  }
  /* The estate aurora mu-plugin (ursy-aurora-bg.php) paints the html
     background and a full-page veil, and it carries its own copy of this bug:
     it selects on [data-theme] only, so with no attribute a dark-OS visitor
     gets its LIGHT veil — a white scrim over our dark page, which washes the
     hero copy out. We do not edit that file (it is mid-rollout and owned
     elsewhere); we simply restate its own dark values here, for both variable
     generations it has shipped (--ursy-aurora-* in 1.1.0, --aurora-* in 2.0.0).
     Setting a name the installed version does not use is inert.
     Specificity note: 2.0.0's light rule is `:root:not([data-theme])` (0,2,0)
     and prints later in <head>, so html:root:not(...) at (0,2,1) is the
     minimum that reliably wins. */
  html:root:not([data-theme="light"]){
    background:#050506;
    --aurora-veil:#0A0A0A; --aurora-o:.58; --aurora-blend:screen; --aurora-scrim:rgba(9,9,11,.65);
    --ursy-aurora-veil:#0A0A0A; --ursy-aurora-o:.58; --ursy-aurora-blend:screen; --ursy-aurora-scrim:rgba(9,9,11,.65);
  }
}

[data-theme="dark"]{
  --bg:#050506; --ink:#f6f4f1; --ink2:#a5abb2; --ink3:#8e959d;
  --line:rgba(255,255,255,.085); --line2:rgba(255,255,255,.17); --hover:rgba(255,255,255,.06);
  --glass:rgba(17,17,20,.7); --card:rgba(17,17,20,.8); --topline:rgba(255,255,255,.07);
  --scrim:rgba(5,5,6,.26); --lift:0 34px 100px -30px rgba(0,0,0,.85);
  --neon-soft:rgba(21,231,244,.18);
  --o1:oklch(.72 .25 205); --o2:oklch(.62 .33 274); --o3:oklch(.82 .24 90); --o4:oklch(.64 .33 314);
  --vig:radial-gradient(130% 90% at 50% -22%, rgba(255,255,255,.05), rgba(255,255,255,0) 56%),
        radial-gradient(130% 100% at 50% 120%, rgba(0,0,0,.5), rgba(0,0,0,0) 55%);
  --field-op:.6;
}
