/* africa.finance design tokens v1.0.0 (candidate). Built on RWA.io Design System v4.0.5. Day is the default; Night via [data-theme="night"] or the OS setting. */
:root {
  color-scheme: light;
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --surface-2: #F2F3F4;
  --line: #E3E5EB;
  --ink: #241F20;
  --text: #241F20;
  --text-muted: #6D6768;
  --primary: #0057FF;
  --primary-hover: #0045D7;
  --on-primary: #FFFFFF;
  --link: #0057FF;
  --border-input: #6B6E73;
  --focus: #0057FF;
  --globe: #0B0D17;
  --africa: #E36414;
  --accent-text: #B04A0E;
  --live: #1CB096;
  --success: #0F7A66;
  --warning: #8E570B;
  --danger: #C0453A;
  --success-bg: #E9F6F2;
  --warning-bg: #FDF3E3;
  --danger-bg: #FBEDEB;
  --shadow-1: 0 1px 3px rgba(11,13,23,.04);
  --shadow-2: 0 4px 16px rgba(11,13,23,.07);
  --shadow-3: 0 12px 40px rgba(11,13,23,.10);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-btn: 8px;
  --radius-full: 50%;
  --font-display: 'Afacad', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, Menlo, monospace;
  --target-min: 44px;
  --control-h: 48px;
  --focus-width: 3px;
  --focus-offset: 2px;
  --content-max: 1120px;
  --measure: 68ch;
  --text-display: 2.5rem;
  --text-display-lh: 1.05;
  --text-h1: 2rem;
  --text-h1-lh: 1.1;
  --text-h2: 1.5rem;
  --text-h2-lh: 1.15;
  --text-h3: 1.25rem;
  --text-h3-lh: 1.3;
  --text-body: 1rem;
  --text-body-lh: 1.6;
  --text-small: 0.875rem;
  --text-small-lh: 1.5;
  --text-mono: 0.875rem;
  --text-mono-lh: 1.5;
}
@media (min-width: 768px) {
  :root {
    --text-display: 3.5rem;
    --text-h1: 2.75rem;
    --text-h2: 2rem;
    --text-h3: 1.375rem;
    --text-body: 1.0625rem;
    --text-small: 0.875rem;
    --text-mono: 0.875rem;
  }
}
[data-theme="night"] {
  color-scheme: dark;
  --bg: #0B0D17;
  --surface: #1F212E;
  --surface-2: #31334D;
  --line: #31334D;
  --ink: #F4F5F8;
  --text: #CDD0DC;
  --text-muted: #A4A6B8;
  --primary: #5BE5BC;
  --primary-hover: #7EEBCB;
  --on-primary: #0B0D17;
  --link: #7AA8FF;
  --border-input: #8A8D99;
  --focus: #7AA8FF;
  --globe: #F4F5F8;
  --africa: #E36414;
  --accent-text: #F5915A;
  --live: #1CB096;
  --success: #3FCFA6;
  --warning: #F0B04A;
  --danger: #FF8A7A;
  --success-bg: #12302A;
  --warning-bg: #33280F;
  --danger-bg: #3A1E1C;
  --shadow-1: none;
  --shadow-2: none;
  --shadow-3: 0 0 0 1px #31334D;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) {
    color-scheme: dark;
    --bg: #0B0D17;
    --surface: #1F212E;
    --surface-2: #31334D;
    --line: #31334D;
    --ink: #F4F5F8;
    --text: #CDD0DC;
    --text-muted: #A4A6B8;
    --primary: #5BE5BC;
    --primary-hover: #7EEBCB;
    --on-primary: #0B0D17;
    --link: #7AA8FF;
    --border-input: #8A8D99;
    --focus: #7AA8FF;
    --globe: #F4F5F8;
    --africa: #E36414;
    --accent-text: #F5915A;
    --live: #1CB096;
    --success: #3FCFA6;
    --warning: #F0B04A;
    --danger: #FF8A7A;
    --success-bg: #12302A;
    --warning-bg: #33280F;
    --danger-bg: #3A1E1C;
    --shadow-1: none;
    --shadow-2: none;
    --shadow-3: 0 0 0 1px #31334D;
  }
}
