/* ===== Design tokens — light (default) & dark themes ===== */
:root {
  /* Brand palette: Pidilite blues and yellow */
  --pp-yellow: #ffd700;
  --pp-sky: #4cade9;
  --navy-950: #011f45;
  --navy-900: #022a5c;
  --navy-800: #024997;
  --navy-700: #03438e;
  --teal-600: #036fa8;
  --teal-500: #058fce;
  --gold-500: #058fce;
  --gold-600: #03438e;

  /* Light theme surface */
  --bg: #f1f1f1;
  --bg-alt: #e6e6e6;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --border: #dcdfe4;
  --border-strong: #b9c0cb;

  --text: #1e1e1e;
  --text-muted: #55606b;
  --text-faint: #7c8792;

  --accent: var(--gold-600);
  --accent-2: var(--teal-600);
  --brand: var(--navy-900);

  --shadow-sm: 0 1px 3px rgba(3, 30, 70, 0.08);
  --shadow-md: 0 8px 24px rgba(3, 30, 70, 0.10);
  --shadow-lg: 0 20px 48px rgba(3, 30, 70, 0.16);
  --shadow-glow: 0 0 0 1px rgba(3, 67, 142, 0.35), 0 8px 32px rgba(3, 67, 142, 0.18);

  --font-serif: "HP Simplified", "HPSimplified", "Open Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  /* HP Simplified is HP's licensed corporate font: it is used where installed; everyone else gets Open Sans. */
  --font-sans: "HP Simplified", "HPSimplified", "Open Sans", -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1180px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.45s;
  --dur-slow: 0.8s;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #031530;
  --bg-alt: #0d1826;
  --surface: #06224a;
  --surface-2: #0a2b5a;
  --border: #173d6e;
  --border-strong: #22508a;

  --text: #eaeef2;
  --text-muted: #a9b6c4;
  --text-faint: #778699;

  --accent: var(--gold-500);
  --accent-2: #4cade9;
  --brand: #eaeef2;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(3, 67, 142, 0.3), 0 8px 32px rgba(3, 67, 142, 0.12);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #031530;
    --bg-alt: #0d1826;
    --surface: #06224a;
    --surface-2: #0a2b5a;
    --border: #173d6e;
    --border-strong: #22508a;

    --text: #eaeef2;
    --text-muted: #a9b6c4;
    --text-faint: #778699;

    --accent: var(--gold-500);
    --accent-2: #4cade9;
    --brand: #eaeef2;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 0 1px rgba(3, 67, 142, 0.3), 0 8px 32px rgba(3, 67, 142, 0.12);
    color-scheme: dark;
  }
}
