/* Auto-generated by @irios-sesame/homero token build — DO NOT EDIT */

/* Inter Tight, JetBrains Mono: OFL, shipped in fonts/ (no Google request). */
@font-face {
  font-family: "Inter Tight";
  src: url("../../fonts/inter-tight-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../../fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* Sesame Pixel (OFL, thinned Jersey 15), the pixel font; one cut for 400–700. */
@font-face {
  font-family: "Sesame Pixel";
  src: url("../../fonts/sesame-pixel-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 90%;
}

/* ========== Light theme (default) ==========
   The corporate v2 web (corporate-webs-theme sq1): light grey page, white cards,
   cobalt and ink pill buttons. Dark stays opt-in. */
:root,
[data-theme="light"] {
  color-scheme: light;

  --bg-base: #f5f5f7;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-hover: #edeef1;
  --bg-input: #ffffff;
  --text-primary: #25292e;
  --text-secondary: #3e444b;
  --text-tertiary: #474d55;
  --text-inverse: #ffffff;
  --border-subtle: rgba(37,41,46,0.06);
  --border-default: rgba(37,41,46,0.12);
  --border-strong: rgba(37,41,46,0.20);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.10);
  --shadow-md: 0 8px 24px rgba(37,41,46,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --status-success: #07522e;
  --status-success-muted: rgba(7,82,46,0.08);
  --status-success-strong: rgba(7,82,46,0.16);
  --status-warning: #6b3600;
  --status-warning-muted: rgba(107,54,0,0.08);
  --status-warning-strong: rgba(107,54,0,0.16);
  --status-error: #93001a;
  --status-error-muted: rgba(147,0,26,0.08);
  --status-error-strong: rgba(147,0,26,0.16);
  --status-info: #1729a6;
  --status-info-muted: rgba(23,41,166,0.08);
  --status-info-strong: rgba(23,41,166,0.16);
  --chart-1: #415bff;
  --chart-2: #a66a00;
  --chart-3: #c73a24;
  --chart-4: #177a63;
  --chart-5: #1f7a34;
  --chart-6: #c23b74;
  --chart-7: #7c3fc4;
  --chart-8: #3a5fa8;
  --chart-9: #5c5240;
  --chart-10: #425466;
  --chart-sequential-1: #415bff;
  --chart-sequential-2: #2f48e5;
  --chart-sequential-3: #1a33d1;
  --chart-sequential-4: #1729a6;
  --chart-sequential-5: #172482;
  --chart-sequential-6: #111850;
  --chart-divergent-1: #7c3fc4;
  --chart-divergent-2: #5a3fa8;
  --chart-divergent-3: #2f48e5;
  --chart-divergent-4: #7f7f7f;
  --chart-divergent-5: #177a63;
  --chart-divergent-6: #0f6350;
  --chart-divergent-7: #0a4c3f;
  --accent: var(--brand-600);
  --accent-muted: rgba(65, 91, 255, 0.08);
  --accent-strong: rgba(65, 91, 255, 0.16);
  --accent-solid: var(--brand-700);
  --accent-solid-hover: var(--brand-800);
  --ink: #25292e;
  --on-ink: #f8fafc;
  --accent-ui: var(--brand-500);
  --accent-display: var(--brand-500);
  --accent-text: var(--brand-700);
  --border-input: #e4eaf0;
  --focus-halo: rgba(65, 91, 255, 0.10);
  --text-placeholder: #6b7280;
  --border-control: #7c838c;
}

:root {
  /* Brand */
  --brand-50: #eef1ff;
  --brand-100: #e0e5ff;
  --brand-200: #c6ceff;
  --brand-300: #a3b0ff;
  --brand-400: #7b8cff;
  --brand-500: #415bff;
  --brand-600: #2f48e5;
  --brand-700: #1a33d1;
  --brand-800: #1729a6;
  --brand-900: #172482;
  --brand-950: #111850;

  /* Accent (overridable per service), set per theme above and below. AAA: as text it must clear 7:1, so dark
     text uses brand-200 and white sits on brand-700 (validateAccentContrast).
     The brand blue itself (500) is kept for what only needs 3:1 or 4.5:1:
     --accent-ui (focus rings, spinners, indicators) and --accent-display
     (large text, >=24px or >=18.66px bold). Not overridden per service. */

  /* Brand highlight: a fill with --on-highlight text, never text itself. */
  --highlight: #f4f082;
  --on-highlight: #25292e;

  /* Brand cream: a card or section fill with --on-cream text, never the page. */
  --cream: #f1ece2;
  --on-cream: #25292e;

  /* sq1 creative palette (ads, videos; not app UI) and the web's seven-stop sweep */
  --sq1-ink: #25292e;
  --sq1-cobalt: #415bff;
  --sq1-page: #f5f5f7;
  --sq1-white: #ffffff;
  --sq1-yellow: #ecdf30;
  --sq1-cobalt-on-ink: #bec7ff;
  --sq1-sweep: linear-gradient(90deg, #415bff 0%, #ecdf30 20%, #ecdf30 30%, #415bff 50%, #ecdf30 70%, #ecdf30 80%, #415bff 100%);
  --sq1-sweep-on-ink: linear-gradient(90deg, #bec7ff 0%, #ecdf30 20%, #ecdf30 30%, #bec7ff 50%, #ecdf30 70%, #ecdf30 80%, #bec7ff 100%);

  /* Typography */
  --font-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-pixel: 'Sesame Pixel', 'Inter Tight', monospace;
  --font-xs: 0.6875rem;
  --font-sm: 0.8125rem;
  --font-base: 0.875rem;
  --font-lg: 1rem;
  --font-xl: 1.25rem;
  --font-2xl: 2rem;
  --font-3xl: 2.75rem;

  /* Tracking */
  --tracking-display: -0.02em;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-field: 12px;
  --radius-xl: 20px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  /* Motion */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --sidebar-width: 256px;
  --header-height: 56px;
}

/* ========== Dark theme (opt-in) ========== */
[data-theme="dark"] {
  color-scheme: dark;

  --bg-base: #17191c;
  --bg-surface: #1f2226;
  --bg-elevated: #25292e;
  --bg-hover: #2e3338;
  --bg-input: #1b1e21;
  --text-primary: #f5f5f7;
  --text-secondary: #cdd1d6;
  --text-tertiary: #bec4cb;
  --text-inverse: #17191c;
  --border-subtle: rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.16);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --status-success: #6ee0ae;
  --status-success-muted: rgba(110,224,174,0.08);
  --status-success-strong: rgba(110,224,174,0.24);
  --status-warning: #f5cf5c;
  --status-warning-muted: rgba(245,207,92,0.08);
  --status-warning-strong: rgba(245,207,92,0.24);
  --status-error: #ffb3b3;
  --status-error-muted: rgba(255,179,179,0.08);
  --status-error-strong: rgba(255,179,179,0.24);
  --status-info: #c6ceff;
  --status-info-muted: rgba(198,206,255,0.08);
  --status-info-strong: rgba(198,206,255,0.24);
  --chart-1: #7b8cff;
  --chart-2: #efb118;
  --chart-3: #ff725c;
  --chart-4: #6cc5b0;
  --chart-5: #5fd97a;
  --chart-6: #e0527f;
  --chart-7: #b48cf7;
  --chart-8: #97bbf5;
  --chart-9: #c99770;
  --chart-10: #b3b8c4;
  --chart-sequential-1: #eef1ff;
  --chart-sequential-2: #e0e5ff;
  --chart-sequential-3: #c6ceff;
  --chart-sequential-4: #a3b0ff;
  --chart-sequential-5: #7b8cff;
  --chart-sequential-6: #415bff;
  --chart-divergent-1: #b48cf7;
  --chart-divergent-2: #a3b0ff;
  --chart-divergent-3: #7b8cff;
  --chart-divergent-4: #8c8c8c;
  --chart-divergent-5: #6cc5b0;
  --chart-divergent-6: #3fbf9c;
  --chart-divergent-7: #1f9c7d;
  --accent: var(--brand-200);
  --accent-muted: rgba(65, 91, 255, 0.12);
  --accent-strong: rgba(65, 91, 255, 0.24);
  --accent-solid: var(--brand-700);
  --accent-solid-hover: var(--brand-800);
  --ink: #f8fafc;
  --on-ink: #25292e;
  --accent-ui: var(--brand-400);
  --accent-display: var(--brand-300);
  --accent-text: var(--brand-200);
  --border-input: rgba(255,255,255,0.16);
  --focus-halo: rgba(65, 91, 255, 0.24);
  --text-placeholder: #bec4cb;
  --border-control: #7d858e;
}

/* ========== System preference ========== */
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    color-scheme: dark;

    --bg-base: #17191c;
    --bg-surface: #1f2226;
    --bg-elevated: #25292e;
    --bg-hover: #2e3338;
    --bg-input: #1b1e21;
    --text-primary: #f5f5f7;
    --text-secondary: #cdd1d6;
    --text-tertiary: #bec4cb;
    --text-inverse: #17191c;
    --border-subtle: rgba(255,255,255,0.06);
    --border-default: rgba(255,255,255,0.10);
    --border-strong: rgba(255,255,255,0.16);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --status-success: #6ee0ae;
    --status-success-muted: rgba(110,224,174,0.08);
    --status-success-strong: rgba(110,224,174,0.24);
    --status-warning: #f5cf5c;
    --status-warning-muted: rgba(245,207,92,0.08);
    --status-warning-strong: rgba(245,207,92,0.24);
    --status-error: #ffb3b3;
    --status-error-muted: rgba(255,179,179,0.08);
    --status-error-strong: rgba(255,179,179,0.24);
    --status-info: #c6ceff;
    --status-info-muted: rgba(198,206,255,0.08);
    --status-info-strong: rgba(198,206,255,0.24);
    --chart-1: #7b8cff;
    --chart-2: #efb118;
    --chart-3: #ff725c;
    --chart-4: #6cc5b0;
    --chart-5: #5fd97a;
    --chart-6: #e0527f;
    --chart-7: #b48cf7;
    --chart-8: #97bbf5;
    --chart-9: #c99770;
    --chart-10: #b3b8c4;
    --chart-sequential-1: #eef1ff;
    --chart-sequential-2: #e0e5ff;
    --chart-sequential-3: #c6ceff;
    --chart-sequential-4: #a3b0ff;
    --chart-sequential-5: #7b8cff;
    --chart-sequential-6: #415bff;
    --chart-divergent-1: #b48cf7;
    --chart-divergent-2: #a3b0ff;
    --chart-divergent-3: #7b8cff;
    --chart-divergent-4: #8c8c8c;
    --chart-divergent-5: #6cc5b0;
    --chart-divergent-6: #3fbf9c;
    --chart-divergent-7: #1f9c7d;
    --accent: var(--brand-200);
    --accent-muted: rgba(65, 91, 255, 0.12);
    --accent-strong: rgba(65, 91, 255, 0.24);
    --accent-solid: var(--brand-700);
    --accent-solid-hover: var(--brand-800);
    --ink: #f8fafc;
    --on-ink: #25292e;
    --accent-ui: var(--brand-400);
    --accent-display: var(--brand-300);
    --accent-text: var(--brand-200);
    --border-input: rgba(255,255,255,0.16);
    --focus-halo: rgba(65, 91, 255, 0.24);
    --text-placeholder: #bec4cb;
    --border-control: #7d858e;
  }
}

/* ========== Per-service accent overrides ========== */
[data-service="kraken"] { --accent: #1a33d1; }
[data-service="cerberus"] { --accent: #094c5b; }
[data-theme="dark"][data-service="kraken"], [data-theme="dark"] [data-service="kraken"] { --accent: #c6ceff; }
[data-theme="dark"][data-service="cerberus"], [data-theme="dark"] [data-service="cerberus"] { --accent: #7ee7f7; }
@media (prefers-color-scheme: dark) {
  [data-theme="system"][data-service="kraken"], [data-theme="system"] [data-service="kraken"] { --accent: #c6ceff; }
  [data-theme="system"][data-service="cerberus"], [data-theme="system"] [data-service="cerberus"] { --accent: #7ee7f7; }
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
