/* Shared theme controls and light palette for all five pages. */
:root { color-scheme: dark; }
.hero-line { display: block; }
.header-actions { gap: 12px; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #f4f4f5;
  background: transparent;
  border: 1px solid #ffffff29;
  border-radius: 50%;
  cursor: pointer;
}
.theme-toggle:hover { background: #ffffff12; }
.theme-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-moon { display: none; }
:root[data-theme="light"] { color-scheme: light; }
[data-theme="light"] .theme-sun { display: none; }
[data-theme="light"] .theme-moon { display: block; }
[data-theme="light"] .theme-toggle { color: #17202d; border-color: #17202d33; }
[data-theme="light"] .theme-toggle:hover { background: #17202d0d; }
[data-theme="light"] body { background: #fafbfc; color: #17202d; }
[data-theme="light"] ::selection { background: #17202d; color: #fff; }
[data-theme="light"] [class~="bg-theme-dark"] { background-color: #fafbfc; }
[data-theme="light"] [class~="bg-theme-dark/80"] { background-color: #fafbfcee; }
[data-theme="light"] [class~="bg-theme-dark-500"] { background-color: #fff; }
[data-theme="light"] [class~="bg-white"] { background-color: #17202d; }
[data-theme="light"] [class~="bg-white/3"] { background-color: #17202d05; }
[data-theme="light"] [class~="bg-white/5"] { background-color: #17202d08; }
[data-theme="light"] [class~="bg-white/10"] { background-color: #17202d0d; }
[data-theme="light"] [class~="text-white"] { color: #17202d; }
[data-theme="light"] [class~="text-white/80"] { color: #384457; }
[data-theme="light"] [class~="text-white/60"] { color: #556174; }
[data-theme="light"] [class~="text-white/40"] { color: #667184; }
[data-theme="light"] [class~="text-zinc-400"] { color: #556174; }
[data-theme="light"] [class~="text-zinc-50"] { color: #17202d; }
[data-theme="light"] [class~="text-theme-dark-50"] { color: #384457; }
[data-theme="light"] [class~="text-theme-dark-500"] { color: #fff; }
[data-theme="light"] [class~="border-white/10"] { border-color: #17202d20; }
[data-theme="light"] [class~="border-white/20"] { border-color: #17202d33; }
[data-theme="light"] [class~="border-white/40"] { border-color: #17202d66; }
[data-theme="light"] [class~="border-white/60"] { border-color: #17202d99; }
[data-theme="light"] [class~="ring-white/40"] { --tw-ring-color: #17202d66; }
[data-theme="light"] [class~="hover:text-white"]:hover,
[data-theme="light"] nav a:hover { color: #17202d; }
[data-theme="light"] [class~="hover:bg-white/5"]:hover,
[data-theme="light"] [class~="hover:bg-white/10"]:hover { background-color: #17202d0d; }
[data-theme="light"] [class~="hover:bg-white/20"]:hover { background-color: #17202d1a; }
[data-theme="light"] [class~="hover:bg-white/50"]:hover { background-color: #17202d33; }
[data-theme="light"] [class~="hover:bg-white/90"]:hover,
[data-theme="light"] [class~="hover:bg-gray-100"]:hover { background-color: #2e3b50; }
[data-theme="light"] [class~="hover:border-white/60"]:hover { border-color: #17202d99; }
[data-theme="light"] [class~="focus:border-white/30"]:focus,
[data-theme="light"] [class~="focus:border-white/50"]:focus { border-color: #52688f; }
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: #667184; }
[data-theme="light"] svg [stroke="white"] { stroke: currentColor; }
[data-theme="light"] svg [fill="white"] { fill: currentColor; }
[data-theme="light"] img[src="images/logo.svg"],
[data-theme="light"] img[src^="images/clients/"] { filter: invert(1); }
[data-theme="light"] [class~="bg-linear-to-b"][class~="from-white"] {
  color: #17202d;
  background-image: none;
  background-color: #e6ecf6;
}
[data-theme="light"] nav [class~="bg-white"]:hover { color: #fff; }
@media (max-width: 1023px) {
  .header-actions { gap: 4px; }
  .header-actions > .ml-5 { margin-left: 4px; }
}
[data-theme="light"] [class~="bg-white"] { color: #fff; }
[data-theme="light"] [class~="bg-white"] svg [stroke="#060606"] { stroke: currentColor; }
@media (max-width: 480px) {
  header img[src="images/logo.svg"] { width: 182px; max-width: calc(100vw - 160px); height: auto; }
}

/* Light mode uses airy, translucent color instead of inverted dark artwork. */
[data-theme="light"] .glow-layer > img,
[data-theme="light"] .glow-feature > img[src="images/shape-3.png"] { display: none; }
[data-theme="light"] .glow-layer {
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  translate: none;
}
[data-theme="light"] .glow-hero {
  background:
    radial-gradient(ellipse 55% 55% at 35% 100%, #dcecfb 0%, transparent 100%),
    radial-gradient(ellipse 45% 50% at 72% 100%, #e9e2f8 0%, transparent 100%);
}
[data-theme="light"] .glow-price {
  background: radial-gradient(ellipse 85% 50% at 100% 0%, #e4e0f5 0%, transparent 100%);
}
[data-theme="light"] .glow-cta {
  background:
    radial-gradient(ellipse 65% 95% at 15% 100%, #e4eef9 0%, transparent 100%),
    radial-gradient(ellipse 55% 90% at 100% 20%, #eee9f7 0%, transparent 100%);
}
[data-theme="light"] .glow-support {
  background: radial-gradient(ellipse 100% 70% at 0% 0%, #e5ebf9 0%, transparent 100%);
}
[data-theme="light"] .glow-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 100% 100%, #e6eafa 0%, transparent 100%);
  opacity: 0;
  transition: opacity .3s ease;
}
[data-theme="light"] .glow-feature:hover::before,
[data-theme="light"] .glow-feature:focus-within::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  [data-theme="light"] .glow-feature::before { transition: none; }
}
