/* SyncroNova brand layer: Refined Graphite (brand guide 2026).
   Everything brand-specific lives here. site.css and demos.css only read these tokens.
   Gold is the primary accent and stays identical in light and dark. Graphite gives structure; lilac softens.
   Contrast rules from the guide: gold is never text on the light canvas (2.08:1). Gold text is fine on Deep (5.37:1).
   Buttons are graphite text on gold. */

@font-face{font-family:'Open Sans';src:url(fonts/OpenSans-Regular.woff?v=89e07f91d7) format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Open Sans';src:url(fonts/OpenSans-Semibold.woff?v=6456720387) format('woff');font-weight:600;font-style:normal;font-display:swap}

:root{
  --font-display:'Open Sans',Arial,sans-serif;
  --font-body:'Open Sans',Arial,sans-serif;
  --font-code:ui-monospace,'Cascadia Mono','SFMono-Regular',Consolas,monospace;

  /* Brand colours (guide page 08) */
  --gold:#D6A738;
  --ink:#30313D;
  --deep:#353642;
  --lilac:#ABA0C8;
  --canvas:#F8F7FA;
  --reverse:#F7F6FB;

  /* Derived surfaces and text */
  --night:#2B2C36;            /* deepest graphite, for depth inside dark panels */
  --night-2:var(--deep);
  --night-3:#41424F;
  --paper:var(--canvas);
  --paper-2:#EFECF5;          /* quiet lilac-tinted band */
  --card:#FFFFFF;
  --ink-2:#3F404D;
  --muted:#636474;            /* 5.8:1 on canvas */
  --line:#E3E0EB;
  --line-strong:#CFCADC;
  --on-dark:var(--reverse);
  --on-dark-muted:#C3BBD9;    /* lilac, lifted for small text on Deep */
  --dark-line:rgba(171,160,200,.18);

  /* Accents */
  --accent:var(--gold);
  --gold-2:#B98B22;
  --gold-soft:#F7EED8;
  --gold-ink:#7A5A10;         /* gold-family text on light, 6:1 */
  --lilac-ink:#5D5486;        /* accent text and links on light, 7:1 */
  --lilac-soft:#ECE8F5;
  --accent-on-dark:var(--gold);
  --alert:#D9776A;

  /* Gradients and glow: quiet, never metallic on the logo */
  --grad-gold:linear-gradient(180deg,#E2B547 0%,#D6A738 55%,#C99A2E 100%);
  --glow-gold:rgba(214,167,56,.42);
  --glow-lilac:rgba(171,160,200,.45);

  /* 3D icon tiles */
  --tile-a:#4A4B5A; --tile-b:#2B2C36;          /* graphite tile, gold icon */
  --tile-lilac-a:#C7BEDF; --tile-lilac-b:#9A8EBE;
  --tile-gold-a:#E8C463; --tile-gold-b:#C2922A;

  /* Depth */
  --radius:20px;
  --radius-sm:14px;
  --shadow:0 1px 1px rgba(48,49,61,.04),0 2px 6px rgba(48,49,61,.04),0 14px 30px -12px rgba(48,49,61,.14),0 34px 64px -34px rgba(93,84,134,.28);
  --shadow-hover:0 1px 1px rgba(48,49,61,.05),0 6px 14px rgba(48,49,61,.07),0 24px 44px -14px rgba(48,49,61,.2),0 48px 84px -34px rgba(93,84,134,.38);
  --shadow-dark:0 30px 70px -24px rgba(30,31,40,.55),0 0 0 1px rgba(171,160,200,.12);
}

/* SVG gradient stops used inside the animations */
.stop-a{stop-color:var(--tile-a)}
.stop-b{stop-color:var(--tile-b)}
.stop-gold-a{stop-color:var(--tile-gold-a)}
.stop-gold-b{stop-color:var(--tile-gold-b)}
.stop-lilac-a{stop-color:var(--tile-lilac-a)}
.stop-lilac-b{stop-color:var(--tile-lilac-b)}

/* Logo: supplied outlined SVG artwork (brand pack). Never retype it.
   Guide: prefer 220px+ wide in a desktop header, minimum 180px, 0.5H clear space. */
.brand{display:inline-flex;align-items:center;padding:6px 0;text-decoration:none}
.brand img{display:block;width:200px;height:auto}
