.light-theme {
  color-scheme: light;
  --light-page-background: #f6f8fa;
  --background: color-mix(in srgb, var(--light-page-background) 95%, black);
  --foreground: #001444;
  --home-title-blue: #1748a5;
  --card: #fff;
  --card-foreground: var(--foreground);
  --popover: #fff;
  --popover-foreground: var(--foreground);
  --primary: oklch(75% .18 170);
  --primary-foreground: oklch(18% .04 260);
  --secondary: #e7f3f1;
  --secondary-foreground: var(--foreground);
  --muted: #eef2f5;
  --muted-foreground: #43566b;
  --accent: #e7f3f1;
  --accent-foreground: #006d60;
  --border: #d3dfe6;
  --input: #bdcdd7;
  --ring: var(--primary);
  --content-card-gradient: linear-gradient(145deg, #fff 56%, #eef6f7);
}

.light-theme.theme-home header {
  --background: var(--light-page-background);
  background: rgb(255 255 255 / .97);
  border-color: var(--border);
}
.light-theme.theme-home header > .header-inner > div:last-child a > button[data-slot="button"] {
  color: var(--primary-foreground);
}
.light-theme.theme-home header :is(.mega-move-icon, .mega-product-card img, .mega-ai-in-tanthim-card img) {
  mix-blend-mode: normal;
}

.light-theme .home-hero {
  background: #081527;
}
.light-theme .home-hero-content {
  --foreground: #f6fbff;
}
.light-theme .home-hero-shade {
  background: linear-gradient(90deg, rgb(4 17 35 / .5), rgb(4 17 35 / .1));
}
.light-theme .home-hero-fade {
  background: linear-gradient(0deg, #081527, rgb(8 21 39 / .76) 54%, transparent);
}
.light-theme .home-product-links {
  background: #fff;
  border-top: 1px solid var(--border);
}
.light-theme .home-product-links .text-primary\/80 {
  color: var(--primary);
}
.light-theme .home-product-links img {
  mix-blend-mode: normal;
}
.light-theme .home-product-links :is(.text-white, .text-white\/90),
.light-theme main :is(h2, h3, h4):not([data-dark-surface] *, .site-parallax *),
.light-theme :is(.move-overview-page, .product-overview-page) p.text-foreground:is(.font-bold, .font-semibold):not([data-dark-surface] *),
.light-theme .home-page .mobile-icon-card-label {
  color: var(--home-title-blue);
}
.light-theme .home-product-links :is(.text-white\/50, .text-white\/60, .text-white\/70) {
  color: var(--muted-foreground);
}
.light-theme .home-product-links .divide-x > :not(:last-child) {
  border-color: var(--border);
}

.light-theme .home-differentiators-grid {
  gap: 12px;
  background: none;
  border: 0;
}
.light-theme .home-differentiators-grid .move-subpage-card {
  border: 1px solid var(--border);
  border-radius: 10px;
}
.light-theme .home-page > .site-parallax {
  background-color: #081527;
}
.light-theme .home-ai-cta :is(p, small) {
  color: #dbe9f4;
}
.light-theme .console-demo-cta {
  border-color: #c1dad8;
  background: linear-gradient(110deg, #e8f6f3, #f6fafb);
  box-shadow: none;
}
.light-theme .home-page > .bg-card a .border-primary {
  color: var(--foreground);
}

.theme-ready .theme-switch:not([hidden]) {
  display: inline-grid;
  inline-size: 42px;
  block-size: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--border), var(--foreground) 18%);
  border-radius: 50%;
  color: var(--foreground);
  background: transparent;
  cursor: pointer;
}
.theme-ready .theme-switch:hover {
  border-color: var(--primary);
  background: var(--secondary);
}
.theme-ready .theme-switch:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.theme-ready:not(.light-theme) .theme-switch-moon,
.theme-ready.light-theme .theme-switch-sun {
  display: none;
}
.theme-ready:not(.light-theme) .home-product-links {
  background: rgb(0, 19, 68);
}
@media (min-width: 1101px) {
  .theme-ready header > .header-inner {
    padding-inline: calc(clamp(24px, 4vw, 60px) - 20px);
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    column-gap: clamp(12px, 1.4vw, 24px);
  }
}
@media (max-width: 1100px) {
  .theme-ready header > .header-inner {
    padding-inline: 12px;
  }
  .theme-ready header > .header-inner > .theme-header-actions {
    gap: 8px;
  }
}

/* Preserve the source styling for imagery, white partner logos, and shared dark chrome. */
.light-theme [data-dark-surface] {
  color-scheme: dark;
  color: var(--foreground);
}
.light-theme header[data-dark-surface] {
  background: rgb(8 21 39 / .97);
  border-color: var(--border);
}
.theme-ready.theme-home .header-logo {
  width: calc(1.725rem * 1768 / 348);
}
.light-theme.theme-home .header-logo {
  content: url("/assets/images/tanthim-logo-light.png");
}
.light-theme .architecture-tinted {
  background: var(--muted);
}
.light-theme .features-table tbody tr:nth-child(even) {
  background: var(--background);
}
.light-theme .contact-field-error {
  color: #9f2020;
}
.light-theme main .text-white:not([data-dark-surface] *, .home-hero *, .home-page .site-parallax *, .home-product-links *) {
  color: var(--foreground);
}
.light-theme main :is(.text-white\/60, .text-white\/70, .text-white\/80, .text-white\/85):not([data-dark-surface] *, .home-hero *, .home-page .site-parallax *, .home-product-links *) {
  color: var(--muted-foreground);
}

/* Carry the console's pale, teal-edged frame treatment into the app galleries. */
.light-theme :is(.passenger-screens-panel, .driver-mdt-screen-panel) {
  border: 1px solid rgba(20, 197, 210, .3);
  background: linear-gradient(140deg, rgba(16, 198, 177, .2), rgba(17, 111, 177, .11) 44%, rgba(0, 0, 0, .04));
  box-shadow: 0 0 64px rgba(11, 185, 190, .14);
}
.light-theme :is(.passenger-screen-figure, .driver-mdt-screen-figure) {
  border-color: rgba(20, 197, 210, .3);
  background: linear-gradient(155deg, #fff, #f0f6fa);
  box-shadow: 0 14px 38px rgba(9, 38, 65, .12);
}
