/* Econbee — generated from tokens.json */
:root, [data-theme="light"] {
  --canvas: #dde8e3; /* Page background — the sage ground every Econbee screen sits on. Never put long body text directly on it; set it on `surface`. */
  --canvas-2: #e9f0ed; /* Alternate section band on long pages, and the inner well of the app frame. */
  --surface: #ffffff; /* Cards, calculators, nav bar, chart panels. The default ground for all text. */
  --surface-sunk: #f2f6f4; /* Inset wells inside a card: chip backgrounds, slider tracks, input fill, result rows, segmented-control track. */
  --surface-glass: rgba(255,255,255,0.72); /* Frosted floating panels (sticky nav, player card, mobile bottom nav) with backdrop blur. */
  --line: #e1e9e5; /* Hairline dividers inside cards and table rows. Decorative only. */
  --line-strong: #74897f; /* Control borders (inputs, secondary buttons, checkboxes). Holds 3:1 on `surface` and `surface-sunk` in both themes. */
  --chart-grid: #e6edea; /* Chart gridlines and axis rules. Deliberately faint — never carries meaning. */
  --ink: #0f1f19; /* Headings, figures and primary text on `surface`, `surface-sunk`, `canvas` and all pastel `-soft` tints. */
  --ink-2: #34463e; /* Body copy and labels on `surface`, `surface-sunk` and `canvas`. */
  --ink-3: #52645c; /* Muted meta text, axis labels, captions on `surface`, `surface-sunk` and `canvas` (≥4.5:1 in both themes). */
  --ink-inverse: #ffffff; /* Text on an `ink` fill (dark tooltip, inverse chips). */
  --forest: #0a4526; /* Econbee's deep green: app sidebar, hero slabs, primary button fill, footer. Pair with `on-forest` text. */
  --forest-2: #0f5a33; /* Hover state of `forest` fills and the second stop of forest panels. */
  --on-forest: #ffffff; /* Text and icons on `forest` and `forest-2`. */
  --on-forest-2: #b7d6c3; /* Muted text on `forest` (sidebar labels, footer meta). */
  --pollen: #5acf1f; /* Electric lime — the active state: selected nav item, highlighted bar, live dot, primary CTA on dark. Fill only; text on it is `on-pollen`. */
  --on-pollen: #082a12; /* Text and icons on `pollen` fills. */
  --pollen-soft: #e2f6d4; /* Resting bars next to a highlighted `pollen` bar; success tint. */
  --pollen-deep: #3a8f0f; /* Lime as a chart mark or text on `surface` (holds 3:1+ where `pollen` would not). */
  --honey: #f5b731; /* The bee. Brand accent fill: gauge arcs, highlights, the logo dot, promo panels. Text on it is `on-honey`; as a thin mark on white use `honey-deep`. */
  --on-honey: #2a1c00; /* Text and icons on `honey` fills. */
  --honey-soft: #fcefcf; /* Honey tint: callout and KPI-card backgrounds, `Details` pills. */
  --honey-deep: #a86d00; /* Honey as text or a thin chart mark on `surface` (≥3:1 for marks, 4.5:1 for 14px+ bold text in light). */
  --teal: #267a6b; /* Primary data line (your plan / this period), spotlight card base, links in charts. */
  --teal-2: #56c2a5; /* Second stop of the spotlight-card glow and area-fill highlight. Never text. */
  --teal-soft: #d5ece6; /* Teal tint: timer chips, teal KPI cards, area fills under `teal` lines. */
  --coral: #d94f43; /* Comparison/benchmark line (drawn dotted), abandoned/negative series, alert dots. */
  --coral-soft: #fbe3e0; /* Coral tint: KPI card for a cost or outflow, hot card background. */
  --violet: #6b3fe0; /* Data series (internal, secondary category), segmented donut ring. */
  --violet-soft: #ece6fc; /* Lavender KPI card background. */
  --indigo: #3a44b8; /* Data series — the big category in bubble and stacked charts. */
  --indigo-soft: #e5e7fa; /* Periwinkle KPI card background. */
  --orchid: #a8389f; /* Data series (instant, tertiary), activity bars, sparkline in market cards. */
  --orchid-soft: #f7e4f4; /* Pink KPI card background. */
  --gain: #0f7542; /* Positive deltas and returns. Always paired with a ▲/+ sign — never colour alone. */
  --gain-soft: #dff3e7; /* Background of a gain delta pill. */
  --loss: #b3302a; /* Negative deltas and errors. Always paired with a ▼/– sign. */
  --loss-soft: #fbe3e0; /* Background of a loss delta pill or error field. */
  --warn: #8f5b00; /* Caution text and icons (assumption warnings in calculators). */
  --warn-soft: #fcefcf; /* Caution callout background. */
  --focus: #0a4526; /* Keyboard focus ring: 2px solid, 2px offset, on every interactive element. ≥3:1 on every surface. */
  --chart-1: var(--teal); /* Series 1 — the user's own number. */
  --chart-2: var(--coral); /* Series 2 — benchmark / comparison (draw dotted). */
  --chart-3: var(--honey-deep); /* Series 3. */
  --chart-4: var(--violet); /* Series 4. */
  --chart-5: var(--indigo); /* Series 5. */
  --chart-6: var(--orchid); /* Series 6. */
  --chart-7: var(--pollen-deep); /* Series 7. */
  --shadow-sm: 0 1px 2px rgba(15,31,25,0.06); /* Chips, selected segment, date tile. */
  --shadow-card: 0 1px 0 rgba(15,31,25,0.03), 0 14px 34px -18px rgba(15,31,25,0.18); /* Every resting card. */
  --shadow-float: 0 4px 10px rgba(15,31,25,0.05), 0 30px 60px -22px rgba(15,31,25,0.32); /* Floating cards that break the grid (player card, tilted card), hover state of cards, tooltips. */
  --shadow-glow: 0 18px 40px -16px rgba(42,134,118,0.55); /* Under the teal spotlight card and primary chart markers. */
  --shadow-pollen: 0 10px 24px -10px rgba(90,207,31,0.8); /* Under the active lime nav bubble and pollen buttons. */
}
[data-theme="dark"] {
  --canvas: #0c1411;
  --canvas-2: #111c18;
  --surface: #16221d;
  --surface-sunk: #1d2b25;
  --surface-glass: rgba(22,34,29,0.78);
  --line: #263630;
  --line-strong: #6a8278;
  --chart-grid: #22312b;
  --ink: #eef5f1;
  --ink-2: #bccbc4;
  --ink-3: #93a69d;
  --ink-inverse: #0f1f19;
  --forest: #0e3a24;
  --forest-2: #14502f;
  --on-forest: #ffffff;
  --on-forest-2: #a9cdb7;
  --pollen: #7be33f;
  --on-pollen: #082a12;
  --pollen-soft: #1d3a15;
  --pollen-deep: #8be85a;
  --honey: #f5c04e;
  --on-honey: #2a1c00;
  --honey-soft: #3a2c0d;
  --honey-deep: #f5c04e;
  --teal: #4fc2ae;
  --teal-2: #7fdcc6;
  --teal-soft: #133630;
  --coral: #ff7e72;
  --coral-soft: #3e1c19;
  --violet: #a58cff;
  --violet-soft: #261e45;
  --indigo: #8a92f5;
  --indigo-soft: #1d2147;
  --orchid: #e48ddc;
  --orchid-soft: #3a1b37;
  --gain: #4dd58c;
  --gain-soft: #123a26;
  --loss: #ff8a7e;
  --loss-soft: #3e1c19;
  --warn: #f5c04e;
  --warn-soft: #3a2c0d;
  --focus: #7be33f;
  --chart-1: var(--teal);
  --chart-2: var(--coral);
  --chart-3: var(--honey-deep);
  --chart-4: var(--violet);
  --chart-5: var(--indigo);
  --chart-6: var(--orchid);
  --chart-7: var(--pollen-deep);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --shadow-card: 0 1px 0 rgba(0,0,0,0.4), 0 14px 34px -14px rgba(0,0,0,0.7);
  --shadow-float: 0 4px 10px rgba(0,0,0,0.5), 0 30px 60px -22px rgba(0,0,0,0.85);
  --shadow-glow: 0 18px 40px -16px rgba(79,194,174,0.45);
  --shadow-pollen: 0 10px 24px -10px rgba(123,227,63,0.6);
}
:root {
  --space-1: 4px; /* Icon-to-text gap inside chips; dot gaps in dot matrices. */
  --space-2: 8px; /* Gap between chips, legend rows. */
  --space-3: 12px; /* Gap inside list rows; small card padding on mobile. */
  --space-4: 16px; /* Default gap between cards on mobile; field padding. */
  --space-5: 20px; /* Card padding on mobile; gap between cards on web. */
  --space-6: 24px; /* Card padding on web. */
  --space-8: 32px; /* Calculator panel padding; gap between card groups. */
  --space-10: 40px; /* Hero inner padding on mobile. */
  --space-12: 48px; /* Section spacing on mobile. */
  --space-16: 64px; /* Section spacing on web. */
  --space-24: 96px; /* Hero top padding on web. */
  --radius-xs: 8px; /* Timer chips, tooltips, small tags. */
  --radius-sm: 12px; /* Inputs inside cards, list-row icons, date tiles. */
  --radius-md: 18px; /* Inner wells, stat rows, nav items. */
  --radius-lg: 24px; /* Cards, chart panels, KPI cards — the Econbee default. */
  --radius-xl: 32px; /* Calculators, hero panels, feature slabs. */
  --radius-2xl: 44px; /* The outer app frame and large showcase panels. */
  --radius-pill: 999px; /* Buttons, chips, segmented controls, bars in bar charts, nav bars. */
  --dur-instant: 120ms; /* Press feedback, colour changes. */
  --dur-quick: 220ms; /* Hover lifts, segmented indicator slide, tooltip fade. */
  --dur-calm: 600ms; /* Bars growing, donut segments, gauge sweep, count-ups. */
  --dur-draw: 1200ms; /* Line-chart path draw on first reveal. */
  --dur-ambient: 4800ms; /* Looping ambient motion: floating cards bob, live dot pulse. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* Default for entrances, hovers and chart growth. */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* Small overshoot for markers, dots and badges popping in. */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* Path draws and looping ambient motion. */
  --container: 1240px; /* Max content width on web. */
  --container-narrow: 760px; /* Reading width for articles and calculator explanations. */
  --gutter: 24px; /* Page side padding ≥ 960px; 16px below 640px. */
  --nav-height: 68px; /* Web top nav; mobile app bar is 56px. */
  --sidebar-width: 88px; /* Forest icon rail (sidebar option C). */
  --sidebar-panel-width: 256px; /* Hive panel sidebar, expanded (option A, the default). Collapses to 84px. */
  --tap-target: 44px; /* Minimum touch target on mobile. */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-hero-xl: 700 76px/78px var(--font-display); /* Homepage hero only. 44/48px under 640px. */
  --text-hero: 700 56px/60px var(--font-display); /* Calculator and landing page titles. 36/40px on mobile. */
  --text-h1: 700 40px/46px var(--font-display); /* Section titles. */
  --text-h2: 600 30px/36px var(--font-display); /* Card-group headings ("Statistics", "Ongoing calls"). */
  --text-h3: 600 22px/28px var(--font-display); /* Card titles. */
  --text-h4: 600 17px/24px var(--font-display); /* Small card titles, list-row names. */
  --text-figure-xl: 700 64px/64px var(--font-display); /* The one hero number on a card or result panel. Tabular numerals. */
  --text-figure-lg: 700 40px/44px var(--font-display); /* Calculator result total. */
  --text-figure-md: 700 28px/34px var(--font-display); /* KPI card values. */
  --text-figure-sm: 600 18px/24px var(--font-display); /* Values in list rows and legends. */
  --text-lead: 500 19px/30px var(--font-sans); /* Intro paragraph under a hero or section title. 17/27px on mobile. */
  --text-body: 500 16px/26px var(--font-sans); /* Default paragraph text. */
  --text-body-sm: 500 14px/22px var(--font-sans); /* Card descriptions, helper text. */
  --text-label: 600 13px/18px var(--font-sans); /* Form labels, buttons-sm, legend names. */
  --text-eyebrow: 700 12px/16px var(--font-sans); /* Uppercase overlines above titles and on floating cards. */
  --text-caption: 500 12px/16px var(--font-sans); /* Meta text, chart footnotes. */
  --text-mono: 500 12px/16px var(--font-mono); /* Timer chips, IDs, axis tick labels, codes. */
}
.hero-xl {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 78px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 60px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h1 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.h4 {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.figure-xl {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 64px;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.figure-lg {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.figure-md {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.figure-sm {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.caption {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
