/* Ezvo design tokens (the app was called TAKEOVER until Oct 20 2026). Locked Oct 20 2026: black + flat silver.
   No grey UI, no neon, no glow or gradient behind content. The videos carry the colour.
   Two themes: dark (default) and light (<html data-theme="light">). Pages must use these tokens,
   never hard-coded hex or rgba for surfaces, lines, text or overlays, so both themes work. */
:root{
  /* surfaces */
  --bg:#000000;          /* page */
  --panel:#111113;       /* sidebar-level panels, cards on the page */
  --card:#1c1c1e;        /* controls and cards inside panels */
  --card2:#2c2c2e;       /* raised controls, chips */
  --well:#0a0a0b;        /* sunken areas: drop frames, segmented tracks */
  --sheet:#141416;       /* sheets, command palette */
  --menu:#1c1c1e;        /* pop-up menus */
  --scrim:rgba(0,0,0,.6);/* behind sheets */
  --hover:rgba(255,255,255,.04); /* row and item hover */
  --glass:rgba(30,30,32,.55);    /* floating controls over video (HUD) */
  --shadow:0 24px 50px -24px rgba(0,0,0,.9);
  --shadow-lg:0 40px 90px rgba(0,0,0,.85);
  --rim:inset 0 1px 0 rgba(255,255,255,.14); /* the lit top edge of a card lifted on hover: on black a drop shadow cannot show, the rim and a brighter fill do */

  /* line art (the drawings on the Home cards): a screen, the shapes on it, their outline, the small marks */
  --art-well:#0a0a0b;
  --art-fill:#2c2c2e;    /* 1.42:1 on --art-well */
  --art-line:rgba(255,255,255,.14);
  --art-mark:#5a5a5f;

  /* lines */
  --line:rgba(255,255,255,.08);
  --line2:rgba(255,255,255,.14);
  --lit:inset 0 1px 0 rgba(255,255,255,.06);

  /* text */
  --t1:#f5f5f7;          /* primary, 19.6:1 on black */
  --mark:#f5f5f7;        /* the Ezvo logo: white on black */
  --t2:#8e8e93;          /* secondary, 5.9:1 on black */
  --t3:#5a5a5f;          /* tertiary, decorative only */

  /* brand: the one accent (main buttons, selection, playhead, pins, thumbs) */
  --silver:#cfcfd4;
  --silver2:#e5e5ea;     /* accent hover */
  --on:#000000;          /* text on the accent, 13.4:1 */
  --on-media:#e5e5ea;    /* light marks drawn over a picture or video: the same in both themes (light mode does not change it) */

  /* status (used sparingly: dots and small words only) */
  --ok:#30d158;
  --warn:#ff9f0a;
  --bad:#ff453a;

  /* type */
  --sf:-apple-system,BlinkMacSystemFont,'SF Pro Text',system-ui,sans-serif;
  --mono:ui-monospace,'SF Mono',Menlo,monospace;

  /* motion */
  --ease:cubic-bezier(.2,.8,.2,1);
  --expo:cubic-bezier(.16,1,.3,1);

  /* layout */
  --sb:236px;
  --r-lg:22px; --r:14px; --r-sm:10px;
  color-scheme:dark;
}

/* Light: white paper, graphite accent. The accent flips from silver to near-black so it still reads. */
:root[data-theme="light"]{
  --bg:#ffffff;
  --panel:#f7f7f8;
  --card:#ffffff;
  --card2:#ececef;
  --well:#f2f2f4;
  --sheet:#ffffff;
  --menu:#ffffff;
  --scrim:rgba(0,0,0,.22);
  --hover:rgba(0,0,0,.035);
  --glass:rgba(30,30,32,.55);
  --shadow:0 24px 50px -24px rgba(0,0,0,.22);
  --shadow-lg:0 40px 90px rgba(0,0,0,.18);
  --rim:0 1px 2px rgba(0,0,0,.05);
  --art-well:#f4f4f6;
  --art-fill:#d1d1d6;    /* 1.40:1 on --art-well, the same step as dark: shapes read as drawn, not as a grey wash */
  --art-line:rgba(0,0,0,.2);
  --art-mark:#8e8e93;
  --line:rgba(0,0,0,.08);
  --line2:rgba(0,0,0,.14);
  --lit:0 1px 2px rgba(0,0,0,.05);
  --t1:#1d1d1f;          /* 16.8:1 on white */
  --mark:#0a0a0b;        /* the Ezvo logo: near-black on white */
  --t2:#6e6e73;          /* 5.1:1 on white */
  --t3:#a1a1a6;
  --silver:#1d1d1f;
  --silver2:#3a3a3c;
  --on:#ffffff;
  --ok:#248a3d;
  --warn:#c93400;
  --bad:#d70015;
  color-scheme:light;
}
