:root {
  color-scheme: dark;
}

html.light {
  color-scheme: light;
}

/* Signature Pure-CSS Ambient Background (Zero Images for 99+ PageSpeed) */
body,
body.bg-\[\#0F0F0F\] {
  background-color: #0B0F17;
  background-image:
    radial-gradient(ellipse 58% 460px at 36% 240px, rgba(239, 68, 68, 0.13), transparent 72%),
    radial-gradient(ellipse 54% 440px at 66% 240px, rgba(16, 185, 129, 0.1), transparent 72%),
    radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 100% 780px, 100% 780px, 24px 24px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: top center, top center, 0 0;
  color: #F1F5F9;
}

html.light body,
html.light body.bg-\[\#0F0F0F\] {
  background-color: #FAFAFC;
  background-image:
    radial-gradient(ellipse 60% 480px at 35% 240px, rgba(239, 68, 68, 0.08), transparent 72%),
    radial-gradient(ellipse 56% 460px at 66% 240px, rgba(16, 185, 129, 0.07), transparent 72%),
    radial-gradient(rgba(203, 213, 225, 0.34) 1px, transparent 1px);
  background-size: 100% 780px, 100% 780px, 24px 24px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: top center, top center, 0 0;
  color: #0F172A;
}

/* Dark Mode Refined Slate-Charcoal Surfaces */
.bg-\[\#0F0F0F\] {
  background-color: #0B0F17;
}

.bg-\[\#0F0F0F\]\/95,
header.sticky {
  background-color: rgba(11, 15, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bg-\[\#1F1F1F\] {
  background-color: #141923;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px -18px rgba(0, 0, 0, 0.65);
}

.bg-\[\#272727\] {
  background-color: #1C2331;
}

.bg-\[\#161616\],
.bg-\[\#141414\] {
  background-color: #0F141D;
}

.border-\[\#323232\] {
  border-color: #232B3A;
}

.border-\[\#323232\]\/70 {
  border-color: rgba(35, 43, 58, 0.85);
}

.border-\[\#444444\] {
  border-color: #334155;
}

.divide-\[\#323232\] > :not([hidden]) ~ :not([hidden]) {
  border-color: #232B3A;
}

.hover\:bg-\[\#323232\]:hover {
  background-color: #252E40;
}

.hover\:bg-\[\#272727\]:hover {
  background-color: #1E2636;
}

.hover\:border-\[\#555555\]:hover {
  border-color: #475569;
}

/* Light Mode Crisp Porcelain & Elevated White Cards */
html.light .bg-\[\#0F0F0F\] {
  background-color: #F4F6FA;
}

html.light input.bg-\[\#0F0F0F\],
html.light select.bg-\[\#0F0F0F\],
html.light textarea.bg-\[\#0F0F0F\] {
  background-color: #F8FAFC;
}

html.light .bg-\[\#0F0F0F\]\/95,
html.light header.sticky {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.light .bg-\[\#1F1F1F\] {
  background-color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -16px rgba(15, 23, 42, 0.1);
}

html.light .bg-\[\#272727\] {
  background-color: #F1F5F9;
}

html.light .bg-\[\#161616\],
html.light .bg-\[\#141414\] {
  background-color: rgba(255, 255, 255, 0.9);
}

html.light footer.bg-\[\#141414\] {
  background-color: #FFFFFF;
}

html.light .border-\[\#323232\] {
  border-color: #E5E7EB;
}

html.light .border-\[\#323232\]\/70 {
  border-color: #E5E7EB;
}

html.light .border-\[\#444444\] {
  border-color: #CBD5E1;
}

html.light .divide-\[\#323232\] > :not([hidden]) ~ :not([hidden]) {
  border-color: #E5E7EB;
}

html.light .text-\[\#F1F1F1\] {
  color: #0F172A;
}

html.light .text-\[\#E5E5E5\] {
  color: #1E293B;
}

html.light .text-\[\#DCDCDC\] {
  color: #334155;
}

html.light .text-\[\#CCCCCC\] {
  color: #475569;
}

html.light .text-\[\#AAAAAA\] {
  color: #525B6B;
}

html.light .text-\[\#888888\] {
  color: #64748B;
}

html.light .text-\[\#2BA640\] {
  color: #15803D;
}

html.light .text-\[\#FF4E45\] {
  color: #DC2626;
}

html.light .text-\[\#F59E0B\] {
  color: #B45309;
}

html.light .hover\:bg-\[\#323232\]:hover {
  background-color: #E2E8F0;
}

html.light .hover\:bg-\[\#272727\]:hover {
  background-color: #EEF2F7;
}

html.light .hover\:border-\[\#555555\]:hover {
  border-color: #94A3B8;
}

html.light .hover\:text-\[\#F1F1F1\]:hover {
  color: #0F172A;
}

html.light #toast > div {
  background-color: #0F172A;
  border-color: #334155;
  color: #F8FAFC;
}

html.light #toast .text-\[\#F1F1F1\] {
  color: #F8FAFC;
}

/* Hero & Pill Tabs Parity for Localized Sub-Sites */
.hero-gradient-text {
  background: linear-gradient(135deg, #F87171 0%, #FB923C 58%, #FBBF24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.light .hero-gradient-text {
  background: linear-gradient(135deg, #DC2626 0%, #EA580C 60%, #F97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-surface {
  background-color: rgba(20, 25, 35, 0.72);
  background-image:
    radial-gradient(ellipse 58% 72% at 32% 0%, rgba(239, 68, 68, 0.11), transparent 70%),
    radial-gradient(ellipse 56% 70% at 70% 0%, rgba(16, 185, 129, 0.09), transparent 70%);
  border: 1px solid #232B3A;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 42px -24px rgba(0, 0, 0, 0.75);
}

html.light .hero-surface {
  background-color: rgba(255, 255, 255, 0.78);
  background-image:
    radial-gradient(ellipse 58% 75% at 32% 0%, rgba(239, 68, 68, 0.075), transparent 70%),
    radial-gradient(ellipse 56% 72% at 70% 0%, rgba(16, 185, 129, 0.065), transparent 70%);
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 44px -22px rgba(15, 23, 42, 0.12);
}

.hero-search-shell {
  background-color: #0B0F17;
  border: 1px solid #2D374B;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.6);
}

html.light .hero-search-shell {
  background-color: #FFFFFF;
  border: 1px solid #D8DEE9;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 14px 32px -14px rgba(15, 23, 42, 0.14);
}

.hero-search-shell:focus-within {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.16), 0 14px 32px -14px rgba(15, 23, 42, 0.16);
}

.tabs-pill-container {
  background-color: #141923;
  border: 1px solid #232B3A;
}

html.light .tabs-pill-container {
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
}

#explore-menu-panel {
  width: min(560px, calc(100vw - 2rem));
}

/* WCAG AA Contrast Override for Any Legacy Red CTA Classes on Static Pages */
.bg-\[\#FF0000\] {
  background-color: #DC2626;
}

.hover\:bg-\[\#CC0000\]:hover {
  background-color: #B91C1C;
}

html[dir='rtl'] body {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
}

html[dir='ltr'] body {
  font-family: 'Inter', system-ui, sans-serif;
}

html[lang='hi'] body {
  font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif;
}

html[lang='zh'] body {
  font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
}

body,
input,
select,
textarea,
.tabular-nums {
  font-variant-numeric: lining-nums tabular-nums;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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