/* iSmart Suite brand kit - shared by every surface. Source: docs/brand-tokens/ */
@font-face{font-family:"Manrope";src:url("/brand/fonts/Manrope-Variable.ttf") format("truetype");font-weight:200 800;font-display:swap}
@font-face{font-family:"Inter";src:url("/brand/fonts/Inter-Variable.ttf") format("truetype");font-weight:100 900;font-display:swap}
/* The two rules above are the complete fonts (1.0 MB together) and are now only a fallback: a browser
   fetches them when a page shows a letter outside the Latin set below, which an English page never
   does. Everything else is drawn from these two compact files (128 KB together). Later rules win
   for the characters they list, so the order matters. */
@font-face{font-family:"Manrope";src:url("/assets/fonts/manrope-latin.woff2") format("woff2");font-weight:200 800;font-display:swap;unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2199,U+21A9-21AA,U+2212,U+2215,U+2248,U+2260,U+2264-2265,U+221E,U+232B,U+25B2,U+25BC,U+25CF,U+2605-2606,U+2713-2714,U+2717,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";src:url("/assets/fonts/inter-latin.woff2") format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0020-007E,U+00A0-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2199,U+21A9-21AA,U+2212,U+2215,U+2248,U+2260,U+2264-2265,U+221E,U+232B,U+25B2,U+25BC,U+25CF,U+2605-2606,U+2713-2714,U+2717,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";src:url("/brand/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");font-weight:100 800;font-display:swap}
:root{
  /* ---- Brand System 2.0 ("Bioluminescent + DeFi Dawn"), Nov 2026 -------------------------------
     Named as the guide names them. The variable names are unchanged from 1.0 so every surface that
     already reads them picks the new palette up; only the values moved.

     THE RULE THAT IS EASIEST TO BREAK: phosphor and sunrise are SURFACES, not text colours.
     Phosphor on white measures 1.41:1 and sunrise 2.38:1 — both fail at any size. Foundation ON
     phosphor is 11.52:1 and ON sunrise 6.85:1, which is how they are meant to be used: a bright
     fill carrying dark text. Phosphor as text is legal only on foundation (11.52:1).

     Composition, from the guide: 70% quiet base, 20% secondary structure, 10% accents. Phosphor is
     reserved for a primary action or one piece of key emphasis; sunrise is the signature dot. */
  --iss-foundation:#0D2137;  /* primary type and structure  */
  --iss-phosphor:#00F5C4;    /* primary highlight — a fill, not a text colour on light */
  --iss-depth:#001F3F;       /* depth and overlap */
  --iss-twilight:#2F3B62;    /* secondary surfaces */
  --iss-sunrise:#F78E0E;     /* dots and small accents */

  /* 1.0 names kept as aliases: app.css, shop.css, guide.css and the kiosk all read these. */
  --iss-navy:#0D2137;--iss-cobalt:#2F3B62;--iss-aqua:#00F5C4;--iss-overlap:#001F3F;--iss-orange:#F78E0E;
  --iss-ice:#F3F7F8;--iss-ink:#0D2137;--iss-muted:#4D6275;--iss-white:#fff;--iss-line:#D7E2E7;
  --iss-success:#16734B;--iss-warning:#8A5200;--iss-error:#B42338;
  /* the inverse mark's folds, so the symbol stays visible on foundation */
  --iss-inverse-fold:#4E799F;--iss-inverse-lobe:#91A6D8;

  --iss-font-display:"Manrope",ui-sans-serif,system-ui,sans-serif;
  --iss-font-body:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --iss-font-mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;

  /* 4px unit; 8px corners for controls, 16px for panels; circles for dots and avatars. */
  --iss-radius-control:8px;--iss-radius-panel:16px;--iss-radius-hero:24px;--iss-space-unit:4px;

  /* Motion: 160-240ms for feedback, per the guide. */
  --iss-dur-fast:160ms;--iss-dur:200ms;--iss-dur-slow:240ms;

  --iss-grad:linear-gradient(90deg,#00F5C4,#2F3B62);
  --iss-grad-dark:linear-gradient(165deg,#0D2137 0%,#001F3F 46%,#15294A 72%,#2F3B62 100%);
}
h1,h2,h3,.display{font-family:var(--iss-font-display)}
.money,.mono{font-family:var(--iss-font-mono);font-variant-numeric:tabular-nums}
