/* The AI Citation: design tokens. The single copy, linked first on every page.
   Dark is the base, light (the default theme) overrides. Edit colours here only. */
:root{
  --bg:#0A0F0C;
  --bg-lift:#111814;
  --bg-card:#141C17;
  --ink:#FFFFFF;
  --muted:#9DB0A5;
  --muted-2:#8A9A91;
  --accent:#34D399;
  --accent-deep:#10B981;
  --accent-rgb:52,211,153;
  --on-accent:#04160E;
  --back-bg:#0E1A12;
  --hair-rgb:255,255,255;
  --line:rgba(255,255,255,0.10);
  --line-strong:rgba(255,255,255,0.18);
  --nav-bg:rgba(10,15,12,0.82);
  --shadow-card:rgba(0,0,0,0.5);
  --panel:rgba(255,255,255,0.035);
  --good:#34D399;
  --mid:#E0A64B;
  --bad:#E06A4B;
  --display:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ease:cubic-bezier(0.16,1,0.3,1);
}
:root[data-theme="light"]{
  --bg:#FFFFFF;
  --bg-lift:#F1F7F3;
  --bg-card:#FFFFFF;
  --ink:#0F1A15;
  --muted:#51605A;
  --muted-2:#5F6D66;
  --accent:#047857;
  --accent-deep:#065F46;
  --accent-rgb:4,120,87;
  --on-accent:#FFFFFF;
  --back-bg:#ECFBF3;
  --hair-rgb:15,26,21;
  --line:rgba(15,26,21,0.12);
  --line-strong:rgba(15,26,21,0.20);
  --nav-bg:rgba(255,255,255,0.86);
  --shadow-card:rgba(6,55,38,0.13);
  --panel:rgba(6,55,38,0.03);
  --good:#047857;
  --mid:#8F5F12;
  --bad:#C2462A;
}

/* Calendly popup (with assets/book.js): a 44px close button, visible on any backdrop */
body .calendly-overlay .calendly-popup-close{top:14px;right:14px;width:44px;height:44px;border-radius:50%;background-color:rgba(0,0,0,0.6);background-size:16px 16px;background-position:center;background-repeat:no-repeat;}
body .calendly-overlay .calendly-popup-close:focus-visible{outline:2px solid #fff;outline-offset:2px;}
