/* THE B[AI]NG OFFICE — generated from tokens.json */
:root, [data-theme="light"] {
  --office-green: #2e7d4f; /* The AI colour. [AI] brackets, buttons, links, anything an agent did. On deep grounds it becomes Mint. */
  --deep-green: #1f5a3c; /* Dark sections, covers, closing slides. White or Mint text on it. */
  --ink: #1c2329; /* Text and the person. */
  --paper: #f2f2ee; /* Default page and slide background. */
  --white: #ffffff; /* Cards and raised surfaces on Paper. */
  --leaf-tint: #dcefe3; /* Soft highlight, agent output, [AI] WORKING chips. */
  --stone: #6b7075; /* Secondary text at 14px+ or bold only (4.4:1 on Paper). */
  --body-grey: #4e5357; /* Body copy and small secondary text (7:1 on Paper). */
  --logo-grey: #8a8f94; /* THE and OFFICE in the logo only. Not for text. */
  --mint: #8fd9ae; /* Brackets and accents on dark grounds. Never as text on light grounds. */
  --pale-mint: #b9d6c4; /* Hairlines and secondary text on Deep Green. */
  --signal-green: #3cc872; /* Live status dots only. Never text. */
  --amber: #f0b23e; /* Flags, hard hats, freight and 'needs you' states only. */
  --sand: #efe8dc; /* Warm ground for products, cartons and factory scenes. */
  --line: #e3e4df; /* Hairlines, card borders, table rules. */
  --panel: #e9eae5; /* Inset panels and image wells. */
  --product-blue: #3d6e9e; /* Illustration only: clothing and products. */
  --product-clay: #b86b4b; /* Illustration only: clothing, products, carton tape. */
  --shadow-card: 0 1px 3px rgba(28,35,41,0.08); /* Cards on Paper. */
  --shadow-float: 0 10px 28px rgba(28,35,41,0.10); /* Floating task cards over illustrations. */
  --shadow-button: 0 6px 16px rgba(46,125,79,0.28); /* Primary button. */
  --shadow-task: 0 10px 30px -14px rgba(28,35,41,0.2); /* Agent task cards floating near a person. */
}
[data-theme="deep"] {
  --office-green: #8fd9ae;
  --deep-green: #1f5a3c;
  --ink: #ffffff;
  --paper: #1f5a3c;
  --white: #24653f;
  --leaf-tint: #2a6f4b;
  --stone: #b9d6c4;
  --body-grey: #dcefe3;
  --logo-grey: #b9d6c4;
  --mint: #8fd9ae;
  --pale-mint: #b9d6c4;
  --signal-green: #3cc872;
  --amber: #f0b23e;
  --sand: #efe8dc;
  --line: #2e7d4f;
  --panel: #24653f;
  --product-blue: #3d6e9e;
  --product-clay: #b86b4b;
}
:root {
  --space-1: 4px; /* Icon gaps. */
  --space-2: 8px; /* Chip padding, tight stacks. */
  --space-3: 12px; /* Between label and value. */
  --space-4: 16px; /* Card inner gaps. */
  --space-6: 24px; /* Card padding; gap between cards. */
  --space-8: 32px; /* Section inner padding. */
  --space-12: 48px; /* Page margins on web. */
  --space-16: 64px; /* Between page sections. */
  --space-24: 96px; /* Hero breathing room. */
  --radius-chip: 4px; /* Status chips and tags. */
  --radius-card: 10px; /* Cards and buttons. */
  --radius-panel: 12px; /* Panels and image wells. */
  --radius-app: 24px; /* [AI] app tiles (about 23% of the side). */
  --stroke-icon: 1.6px; /* Flat UI icons on the 24 grid. */
  --stroke-bracket: 4px; /* Bracket frame corners at card size. */
  --font-sans: Montserrat, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-zh: "Noto Sans SC", Montserrat, sans-serif;
  --text-display: 800 72px/1.02 var(--font-sans); /* Covers and hero statements. One per page. */
  --text-h1: 700 48px/1.08 var(--font-sans); /* Page and slide titles. */
  --text-h2: 700 32px/1.15 var(--font-sans); /* Section titles. */
  --text-h3: 600 22px/1.25 var(--font-sans); /* Card and block titles. */
  --text-lead: 400 19px/1.5 var(--font-sans); /* Intro paragraphs. */
  --text-body: 400 16px/1.55 var(--font-sans); /* Body copy. */
  --text-small: 400 13px/1.45 var(--font-sans); /* Captions and footnotes, in body-grey. */
  --text-label: 500 12px/1.2 var(--font-mono); /* Tags, chips, eyebrows. Uppercase. */
  --text-data: 400 14px/1.4 var(--font-mono); /* Figures, tables, trade terms. */
}
.display {
  font-family: var(--font-sans);
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.h1 {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}
.h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
}
.lead {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.data {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---- GLOW family (website v3.0). Only AI/agent or "done" elements glow. ---- */
:root, [data-theme="light"] {
  --glow-green-soft: 0 0 18px 2px rgba(60,200,114,.40); /* Resting halo on the primary CTA, light grounds. Breathes 3.4s. */
  --glow-green-peak: 0 0 30px 6px rgba(60,200,114,.65); /* Peak of the CTA breathing cycle. */
  --glow-green-dot: 0 0 8px 2px rgba(60,200,114,.85); /* Live dots and agent dots. */
  --glow-green-bar: 0 0 12px 3px rgba(60,200,114,.90); /* Progress bars, slider fill, stat bars on light grounds. */
  --glow-mint-cta: 0 0 20px 3px rgba(143,217,174,.50); /* CTA on Deep Green grounds. */
  --glow-mint-bar: 0 0 20px 5px rgba(143,217,174,.85); /* Big percentage bars on Deep Green grounds. */
  --glow-logo-ai: radial-gradient(closest-side, rgba(60,200,114,.7), rgba(60,200,114,0));
}
@keyframes cta-glow { 50% { box-shadow: var(--shadow-button), var(--glow-green-peak); } }
@keyframes bar-glow { 50% { box-shadow: 0 0 20px 6px rgba(60,200,114,.95); } }
@keyframes bar-glow-mint { 50% { box-shadow: 0 0 28px 8px rgba(143,217,174,1); } }
@keyframes ai-glow { 50% { opacity: .35; } }
.glow-cta { box-shadow: var(--shadow-button), var(--glow-green-soft); animation: cta-glow 3.4s ease-in-out infinite; }
[data-theme="deep"] .glow-cta { box-shadow: var(--glow-mint-cta); }
.glow-dot { box-shadow: var(--glow-green-dot); }
.glow-bar { box-shadow: var(--glow-green-bar); animation: bar-glow 3s ease-in-out infinite; }
[data-theme="deep"] .glow-bar { box-shadow: var(--glow-mint-bar); animation-name: bar-glow-mint; }
.glow-logo { position: relative; }
.glow-logo::before { content: ""; position: absolute; left: 26%; width: 23%; top: -40%; bottom: -40%; border-radius: 50%; background: var(--glow-logo-ai); filter: blur(4px); animation: ai-glow 3.2s ease-in-out infinite; z-index: -1; }
@media (prefers-reduced-motion: reduce) { .glow-cta, .glow-bar, .glow-logo::before { animation: none; } }
