/**
 * Zettai TrustOps — single source of truth design tokens.
 * Copied into web/ at build time. Do not duplicate by hand.
 */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/noto-sans-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

:root {
  /* Parent Brand Alignment (Zettai Systems) */
  --primary-color: #005498;
  --secondary-color: #1c70ac;
  --accent-color: #2b8bc4;
  --navy: #14283c;
  --background-color: #f4f7fb;
  --surface-color: #ffffff;
  --text-color: #0c1b33;
  --muted-text-color: #5a6b82;
  --border-color: rgba(20, 40, 60, 0.1);
  --theme-color: #005498;

  --gradient-brand: linear-gradient(135deg, #005498 0%, #003d6e 48%, #1c70ac 100%);
  --gradient-soft: linear-gradient(160deg, #e8f1f8 0%, #f4f7fb 55%, #eef3f7 100%);
  --gradient-hero: radial-gradient(ellipse 70% 55% at 12% 18%, rgba(0,84,152,0.15), transparent 58%), radial-gradient(ellipse 55% 45% at 88% 12%, rgba(28,112,172,0.12), transparent 52%), radial-gradient(ellipse 50% 40% at 78% 88%, rgba(192,208,220,0.5), transparent 55%), linear-gradient(165deg, #f5f9fc 0%, #e8f0f7 42%, #f0f4f8 100%);

  /* Typography */
  --font-display: "Manrope", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "IBM Plex Sans", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-indic: "Noto Sans Devanagari", "Noto Sans", var(--font-sans);

  --text-display: 2.25rem;
  --text-h1: 1.5rem;
  --text-h2: 1.25rem;
  --text-h3: 1rem;
  --text-body: 0.875rem;
  --text-small: 0.75rem;
  --text-micro: 0.6875rem;

  /* Brand blues (WCAG-oriented primary = 600) */
  --to-blue-50: #eff6ff;
  --to-blue-100: #dbeafe;
  --to-blue-200: #bfdbfe;
  --to-blue-500: #3b82f6;
  --to-blue-600: #1d4ed8;
  --to-blue-700: #1e40af;
  --to-blue-900: #172554;

  /* Neutrals */
  --to-slate-0: #ffffff;
  --to-slate-50: #f8fafc;
  --to-slate-100: #f1f5f9;
  --to-slate-200: #e2e8f0;
  --to-slate-300: #cbd5e1;
  --to-slate-400: #94a3b8;
  --to-slate-500: #64748b;
  --to-slate-600: #475569;
  --to-slate-700: #334155;
  --to-slate-800: #1e293b;
  --to-slate-900: #0f172a;
  --to-slate-950: #020617;

  /* Semantic surfaces */
  --bg-page: var(--to-slate-50);
  --bg-primary: var(--to-slate-50);
  --bg-secondary: var(--to-slate-100);
  --surface: var(--to-slate-0);
  --surface-soft: var(--to-slate-50);
  --surface-muted: var(--to-slate-100);
  --surface-elevated: var(--to-slate-0);

  --text-main: var(--to-slate-900);
  --text-primary: var(--to-slate-900);
  --text-secondary: var(--to-slate-700);
  --text-muted: var(--to-slate-600);
  --text-subtle: var(--to-slate-600);
  --text-inverse: var(--to-slate-0);

  --border-subtle: var(--to-slate-200);
  --border-strong: var(--to-slate-300);

  --primary: var(--primary-color, #005498);
  --primary-hover: var(--secondary-color, #1c70ac);
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;
  --primary-ring: rgba(0, 84, 152, 0.24);
  --accent-primary: var(--primary-color, #005498);
  --accent-secondary: var(--secondary-color, #1c70ac);

  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --success-text: #047857;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-text: #b45309;
  --error-bg: #fff1f2;
  --error-border: #fecdd3;
  --error-text: #be123c;
  --info-bg: var(--to-blue-50);
  --info-border: var(--to-blue-200);
  --info-text: var(--to-blue-700);

  --dpdpa-bg: #f0fdfa;
  --dpdpa-border: #99f6e4;
  --dpdpa-text: #0f766e;
  --ai-bg: #f5f3ff;
  --ai-border: #ddd6fe;
  --ai-text: #6d28d9;

  --accent-sky: #0284c7;
  --accent-emerald: #047857;
  --accent-rose: #be123c;

  /* Chrome (Strict Light-Only) */
  --sidebar-bg: #ffffff;
  --sidebar-border: var(--to-slate-200);
  --sidebar-text: var(--to-slate-900);
  --sidebar-text-muted: var(--to-slate-500);
  --sidebar-active-bg: #eff6ff;
  --sidebar-active-text: #0284c7;
  --sidebar-glow: none;
  --ink-deep: var(--to-slate-950);
  --navy-950: var(--to-slate-900);
  --navy-800: var(--to-slate-800);

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 40px -16px rgba(15, 23, 42, 0.14);
  --shadow-modal: 0 24px 48px -12px rgba(15, 23, 42, 0.2);

  --focus-ring: 0 0 0 3px var(--primary-ring), 0 1px 2px rgba(15, 23, 42, 0.05);

  --card-bg: var(--surface);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);

  /* Motion tokens */
  --motion-fast: 120ms;
  --motion-standard: 200ms;
  --motion-slow: 360ms;
  --motion-stagger: 40ms;
  --duration-quick: 160ms;
  --duration-base: 280ms;
  --duration-slow: 480ms;
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 480ms;
  --dur-hero: 800ms;
  --ease-out-expo: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out-soft: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --gradient-border-light: linear-gradient(180deg, rgba(15, 23, 42, 0.06), transparent);
  --gradient-border-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Breakpoints (reference for JS/docs) */
  --bp-sm: 375px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1440px;

  /* Legacy aliases used by landing/auth */
  --blue: var(--primary);
  --ink: var(--text-main);
  --mute: var(--text-muted);
  --line: var(--border-subtle);
  --soft: var(--surface-soft);

  /* Aurora Shard surface (Strict Light) */
  --aurora-base: #ffffff;
  --aurora-fg: #0f172a;
  --aurora-fg-muted: #475569;
  --aurora-glow-blue: rgba(2, 132, 199, 0.12);
  --aurora-glow-teal: rgba(13, 148, 136, 0.10);
  --aurora-glow-violet: rgba(99, 102, 241, 0.08);
  --aurora-shard-border: rgba(2, 132, 199, 0.12);
  --aurora-shard-fill: rgba(2, 132, 199, 0.04);
  --glass-selected: rgba(2, 132, 199, 0.10);
  --glass-selected-border: rgba(2, 132, 199, 0.40);
}

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0ms;
    --motion-standard: 0ms;
    --motion-slow: 0ms;
    --motion-stagger: 0ms;
  }
}

/* Strict Product-Wide Light Scheme */
html,
body,
html.landing,
body.landing,
body.landing-premium {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --surface-glass: rgba(255, 255, 255, 0.94);
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.10);
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-soft: #eff6ff;
  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-2: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --aurora-base: #ffffff;
  --aurora-fg: #0f172a;
  --aurora-fg-muted: #475569;
  --aurora-glow-blue: rgba(2, 132, 199, 0.12);
  --aurora-glow-teal: rgba(13, 148, 136, 0.10);
  --aurora-glow-violet: rgba(99, 102, 241, 0.08);
  --aurora-shard-border: rgba(2, 132, 199, 0.12);
  --aurora-shard-fill: rgba(2, 132, 199, 0.04);
  --bg-page: #f8fafc;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
}
