/**
 * ProTuLox landing — light theme.
 * Default light: html.landingTheme--light (landing + legal).
 * Dark override: /landing?theme=dark
 * Chrome (header/footer): charcoal #303338
 * Accent (sparingly): muted technical green #3F7A5C — primary CTA, checks, badges, hovers
 */

html.landingTheme--light {
  --bg: #f5f7fa;
  --panel: #ffffff;
  --line: #d5dbe3;
  --text: #1a2332;
  --muted: #5b6573;
  --btn: #eef1f5;
  --btnLine: #c5ccd6;
  --chrome: #303338;
  --accent: #3f7a5c;
  --accent-rgb: 63, 122, 92;
  --accent-hover: #35684e;
  /* Neutral charcoal for secondary controls (not the accent) */
  --primary: #303338;
  --primary-rgb: 48, 51, 56;
  --primaryText: #ffffff;
  --input-bg: #eef1f5;
  --hover: rgba(63, 122, 92, 0.09);
  --shadow: 0 1px 3px rgba(26, 35, 50, 0.08);
  --landing-band: #eef1f5;
}

html.landingTheme--light body {
  color: var(--text);
  background: var(--bg);
}

/* Progress — subtle accent */
html.landingTheme--light .landingScrollProgress__bar {
  background: var(--accent);
}

/* Light theme: white header + dark logo */
html.landingTheme--light .topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  color: var(--text);
}

html.landingTheme--light .landingBrand__logo--onDark {
  display: none;
}

html.landingTheme--light .landingBrand__logo--onLight {
  display: block;
}

html.landingTheme--light .topbar__login,
html.landingTheme--light .landingNav__link {
  color: var(--muted);
}

html.landingTheme--light .landingNav__link:hover,
html.landingTheme--light .topbar__login:hover {
  color: var(--accent);
  background: var(--hover);
}

html.landingTheme--light .langSwitch {
  border-color: var(--line);
}

html.landingTheme--light .langSwitch__btn {
  color: var(--muted);
  background: transparent;
}

html.landingTheme--light .langSwitch__btn:hover {
  color: var(--text);
  background: rgba(48, 51, 56, 0.06);
}

html.landingTheme--light .langSwitch__btn.is-active,
html.landingTheme--light .langSwitch__btn[aria-pressed="true"],
html.landingTheme--light .langSwitch__btn[aria-current="page"] {
  color: #ffffff;
  background: var(--accent);
  font-weight: 600;
}

/* Hero: faint measurement-grid dots (almost invisible) */
html.landingTheme--light .landingSection--hero {
  position: relative;
  isolation: isolate;
}

html.landingTheme--light .landingSection--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: radial-gradient(circle, #3f7a5c 0.9px, transparent 1.1px);
  background-size: 26px 26px;
  background-position: 12px 8px;
}

html.landingTheme--light .landingSection--hero > * {
  position: relative;
  z-index: 1;
}

/* Primary CTA = accent (only the filled trial button) */
html.landingTheme--light .landingHero__cta:not(.landingHero__cta--secondary) {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(63, 122, 92, 0.28);
}

html.landingTheme--light .landingHero__cta:not(.landingHero__cta--secondary):hover {
  filter: none;
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

/* Secondary CTA stays neutral charcoal outline */
html.landingTheme--light .landingHero__cta--secondary {
  background: transparent;
  color: var(--chrome);
  border-color: var(--chrome);
  box-shadow: none;
}

html.landingTheme--light .landingHero__cta--secondary:hover {
  background: rgba(48, 51, 56, 0.06);
}

html.landingTheme--light .landingHero__link {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
}

html.landingTheme--light .landingHero__link:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.35);
  background: var(--hover);
}

html.landingTheme--light .landingHero__link--demo {
  border-color: rgba(var(--accent-rgb), 0.35);
  color: var(--accent);
}

html.landingTheme--light .landingHero__link--demo:hover {
  background: var(--hover);
}

html.landingTheme--light .landingHero__videoWrap {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(26, 35, 50, 0.06);
}

html.landingTheme--light .landingBenefits__icon {
  color: var(--accent);
}

html.landingTheme--light .landingVideo__badge {
  color: var(--accent);
}

/* Soft bands — only background; same content inset as every other section */
html.landingTheme--light .landingSection--video,
html.landingTheme--light .landingSection--pricing,
html.landingTheme--light #workflow.landingSection {
  background: var(--landing-band);
  border-radius: 0;
}

html.landingTheme--light .landingVideo__playerWrap {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: 0 2px 12px rgba(26, 35, 50, 0.06);
}

html.landingTheme--light .landingCard {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
}

/* Step numbers: soft accent, not heavy fills */
html.landingTheme--light .landingStep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  border-radius: 999px;
}

html.landingTheme--light .landingPricingTier {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

html.landingTheme--light .landingPricingPanel {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

html.landingTheme--light .landingPricing__introOffer,
html.landingTheme--light .landingSection--pricing .landingPricingIntroBlock .landingPricing__introOffer {
  color: var(--text);
}

html.landingTheme--light .landingSection--pricing .landingPricingIntroBlock .landingPricing__note--lead,
html.landingTheme--light .landingPricingAddons__title {
  color: var(--muted);
}

html.landingTheme--light .landingPricingTier__title,
html.landingTheme--light .landingPricingTier__priceHeroAmount,
html.landingTheme--light .landingPricing__current {
  color: var(--text);
}

html.landingTheme--light .landingPricingTier__seats,
html.landingTheme--light .landingPricingTier__priceCompare,
html.landingTheme--light .landingPricing__note,
html.landingTheme--light .landingPricing__micro {
  color: var(--muted);
}

html.landingTheme--light .landingPricingTier__priceWas {
  color: #8b95a5;
}

html.landingTheme--light .landingPricing__features {
  color: #3d4654;
}

html.landingTheme--light .landingPricing__features li::before {
  background: var(--accent);
}

/* Pricing: primary CTA accent, secondary neutral */
html.landingTheme--light .landingPricing__cta:not(.landingPricing__cta--secondary) {
  background: var(--accent);
  color: #ffffff;
}

html.landingTheme--light .landingPricing__cta:not(.landingPricing__cta--secondary):hover {
  background: var(--accent-hover);
  color: #ffffff;
}

html.landingTheme--light .landingPricing__cta--secondary {
  background: transparent;
  color: var(--chrome);
  border-color: var(--chrome);
}

html.landingTheme--light .landingPricing__cta--secondary:hover {
  background: rgba(48, 51, 56, 0.06);
}

html.landingTheme--light .landingSection--benefits {
  background: transparent;
}

html.landingTheme--light .landingFooter {
  background: var(--chrome);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
}

html.landingTheme--light .landingFooter a:hover {
  color: #ffffff;
}

html.landingTheme--light a:focus-visible,
html.landingTheme--light .landingHero__cta:focus-visible,
html.landingTheme--light .landingHero__link:focus-visible,
html.landingTheme--light .landingPricing__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
