/* ===== theme: globe ===== */
/* Globe theme: standalone. Owns its colours and fonts; inherits nothing.
   Values are the Globe design template's own palette (Theme 1 "Globe").
   Light = :root / [data-theme="light"]. Dark = [data-theme="dark"].
   The manifest sets defaultMode "dark", so first-time visitors get dark. */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/Inter-Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/Inter-Medium.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/Inter-SemiBold.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/Inter-Bold.woff') format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/BricolageGrotesque-Regular.woff') format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700 800; font-style: normal; font-display: swap; src: url('/fonts/BricolageGrotesque-Bold.woff') format('woff'); }

:root,
[data-theme="light"] {
  --theme-primary: #12160d;
  --theme-primary-hover: #2a3120;
  --theme-primary-foreground: #f4f5ef;
  --theme-primary-rgb: 18, 22, 13;
  --theme-accent: #12160d;
  --theme-accent-hover: #2a3120;
  --theme-accent-foreground: #f4f5ef;
  --theme-accent-soft: #e9ece0;
  --theme-accent-soft-text: #12160d;
  --theme-accent-soft-border: #d6dacb;
  --theme-brand-ink: #12160d;

  --theme-info: #5a6252;
  --theme-success: #2e8b3d;
  --theme-warning: #b45309;
  --theme-error: #c2413b;
  --theme-success-soft: #d1fae5;
  --theme-success-soft-text: #065f46;
  --theme-success-soft-border: #a7f3d0;
  --theme-warning-soft: #fef3c7;
  --theme-warning-soft-text: #92400e;
  --theme-warning-soft-border: #fde68a;
  --theme-error-soft: #fee2e2;
  --theme-error-soft-text: #991b1b;
  --theme-error-soft-border: #fecaca;
  --theme-info-soft: #eef0e6;
  --theme-info-soft-text: #3f463a;
  --theme-info-soft-border: #d6dacb;

  --theme-text-primary: #12160d;
  --theme-text-secondary: #5a6252;
  --theme-text-inverse: #f4f5ef;

  --theme-background: #f4f5ef;
  --theme-surface: #ffffff;
  --theme-surface-muted: #e9ece0;
  --theme-surface-inverse: #12160d;

  --theme-border: #d6dacb;
  --theme-border-strong: #b7bda8;
  --theme-border-inverse: #2a3035;
  --theme-focus-ring: #12160d;
  --theme-focus-ring-inverse: #d2f53c;

  --theme-font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --theme-font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --theme-font-size-sm: 14px;
  --theme-font-size-base: 16px;
  --theme-font-size-lg: 18px;
  --theme-font-size-xl: 24px;
  --theme-font-size-2xl: 32px;

  --theme-spacing-xs: 4px;
  --theme-spacing-sm: 8px;
  --theme-spacing-md: 16px;
  --theme-spacing-lg: 24px;
  --theme-spacing-xl: 32px;

  --theme-radius-sm: 8px;
  --theme-radius-md: 12px;
  --theme-radius-lg: 16px;
  --theme-radius-2xl: 22px;
  --theme-radius-3xl: 28px;
  --theme-radius-full: 9999px;

  --theme-shadow-sm: 0 1px 2px 0 rgb(18 22 13 / 0.06);
  --theme-shadow-md: 0 6px 16px -4px rgb(18 22 13 / 0.12);
  --theme-shadow-lg: 0 18px 40px -12px rgb(18 22 13 / 0.18);

  --theme-glow-color: rgba(18, 22, 13, 0.24);
  --theme-canvas-node: #12160d;
  --theme-canvas-line: rgb(18, 22, 13);

  --theme-transition-speed: 200ms;
  --theme-animation-duration: 350ms;

  /* ---- Globe hero (consumed by hero-globe.css) ---- */
  --theme-hero-bg: radial-gradient(ellipse at 72% 45%, #ffffff 0%, #f4f5ef 66%);
  --theme-hero-accent-rgb: 18 22 13;
  --theme-hero-hi: #12160d;
  --theme-hero-up: #2e8b3d;
  --theme-hero-card-bg: rgb(255 255 255 / 0.88);
  --theme-hero-field-bg: #edf0e5;
  --theme-hero-offer-bg: #f8f9f4;
  --theme-hero-chip-bg: rgb(255 255 255 / 0.94);
  --theme-hero-ghost-bg: rgb(18 22 13 / 0.05);
  --theme-hero-ghost-border: rgb(18 22 13 / 0.28);
  --theme-hero-sub: #4a5242;
  --theme-hero-glow-a: 0.12;
  --theme-hero-glow-b: 0.24;
  --theme-hero-shine: rgb(255 255 255 / 0.35);
  --theme-hero-radius-card: 28px;
  --theme-hero-radius-field: 18px;
  --theme-hero-radius-btn: 16px;
  --theme-hero-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --theme-hero-ease-spring: cubic-bezier(0.3, 1.6, 0.5, 1);

  /* ---- Globe canvas (consumed by utils/globe.ts) ---- */
  --theme-globe-line-rgb: 18 22 13;
  --theme-globe-arc-rgb: 18 22 13;
  --theme-globe-hub-fill: #ffffff;
  --theme-globe-hub-text-rgb: 18 22 13;
  --theme-globe-label-bg: rgb(255 255 255 / 0.94);
  --theme-globe-glow: #12160d;
  --theme-globe-boost: 0.6;
  --theme-globe-line-a: 0.5;
  --theme-globe-back-a: 0.08;
}

[data-theme="dark"] {
  --theme-primary: #d2f53c;
  --theme-primary-hover: #e2ff6b;
  --theme-primary-foreground: #13170e;
  --theme-primary-rgb: 210, 245, 60;
  --theme-accent: #d2f53c;
  --theme-accent-hover: #e2ff6b;
  --theme-accent-foreground: #13170e;
  --theme-accent-soft: #1e2327;
  --theme-accent-soft-text: #e6f7a0;
  --theme-accent-soft-border: #3a4248;
  --theme-brand-ink: #f1f4ea;

  --theme-info: #8d968a;
  --theme-success: #6fd27f;
  --theme-warning: #f0a23b;
  --theme-error: #ff8a7a;
  --theme-success-soft: rgb(16 185 129 / 0.14);
  --theme-success-soft-text: #7be08b;
  --theme-success-soft-border: rgb(16 185 129 / 0.38);
  --theme-warning-soft: rgb(217 119 6 / 0.16);
  --theme-warning-soft-text: #f5b861;
  --theme-warning-soft-border: rgb(217 119 6 / 0.4);
  --theme-error-soft: rgb(239 68 68 / 0.14);
  --theme-error-soft-text: #ff9a8f;
  --theme-error-soft-border: rgb(239 68 68 / 0.38);
  --theme-info-soft: #1e2327;
  --theme-info-soft-text: #a9b39b;
  --theme-info-soft-border: #2a3035;

  --theme-text-primary: #f1f4ea;
  --theme-text-secondary: #8d968a;
  --theme-text-inverse: #13170e;

  --theme-background: #0b0d0f;
  --theme-surface: #15191c;
  --theme-surface-muted: #1e2327;
  --theme-surface-inverse: #f1f4ea;

  --theme-border: #2a3035;
  --theme-border-strong: #3a4248;
  --theme-border-inverse: #d6dacb;
  --theme-focus-ring: #d2f53c;
  --theme-focus-ring-inverse: #12160d;

  --theme-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.4);
  --theme-shadow-md: 0 6px 16px -4px rgb(0 0 0 / 0.5);
  --theme-shadow-lg: 0 18px 40px -12px rgb(0 0 0 / 0.6);

  --theme-glow-color: rgba(210, 245, 60, 0.6);
  --theme-canvas-node: #d2f53c;
  --theme-canvas-line: rgb(210, 245, 60);

  --theme-hero-bg: radial-gradient(ellipse at 72% 45%, #16200a 0%, #0a0c0e 62%);
  --theme-hero-accent-rgb: 210 245 60;
  --theme-hero-hi: #e6f7a0;
  --theme-hero-up: #6fd27f;
  --theme-hero-card-bg: rgb(11 13 15 / 0.8);
  --theme-hero-field-bg: #1e2327;
  --theme-hero-offer-bg: #161b1f;
  --theme-hero-chip-bg: rgb(10 12 14 / 0.85);
  --theme-hero-ghost-bg: rgb(255 255 255 / 0.07);
  --theme-hero-ghost-border: rgb(241 244 234 / 0.28);
  --theme-hero-sub: #a9b39b;
  --theme-hero-glow-a: 0.25;
  --theme-hero-glow-b: 0.6;
  --theme-hero-shine: rgb(255 255 255 / 0.6);

  --theme-globe-line-rgb: 210 245 60;
  --theme-globe-arc-rgb: 244 255 192;
  --theme-globe-hub-fill: #0a0c0e;
  --theme-globe-hub-text-rgb: 230 247 160;
  --theme-globe-label-bg: rgb(10 12 14 / 0.85);
  --theme-globe-glow: #d2f53c;
  --theme-globe-boost: 1;
  --theme-globe-line-a: 0.5;
  --theme-globe-back-a: 0.09;
}
