/* Neverhold family — light default, dark optional.
   Light mode: bright surfaces + full neon accents.
   Page :root blocks load AFTER this file — light tokens use !important. */

/* Light tokens only when light (never on bare :root — that blocked dark toggle). */
html[data-theme="light"],
html:not([data-theme]) {
  color-scheme: light;
  --bg: #f4fafc !important;
  --card: #ffffff !important;
  --accent: #5ef0ff !important;
  --accent-2: #9f7bff !important;
  --text: #0a1220 !important;
  --muted: #3d4a5c !important;
  --border: rgba(94, 240, 255, 0.4) !important;
  --glow: rgba(94, 240, 255, 0.45) !important;
  --chrome-bg: rgba(255, 255, 255, 0.96) !important;
  --chrome-bg-2: rgba(244, 250, 252, 0.96) !important;
  --chrome-border: rgba(94, 240, 255, 0.35) !important;
  --chrome-link: #3d4a5c !important;
  --chrome-link-active: #0891b2 !important;
  --chrome-subnav-bg: rgba(230, 250, 255, 0.95) !important;
  --chrome-dropdown-bg: #ffffff !important;
  --chrome-dropdown-border: rgba(94, 240, 255, 0.4) !important;
  --surface: rgba(94, 240, 255, 0.1) !important;
  --surface-border: rgba(94, 240, 255, 0.3) !important;
  --cta-on: #050910 !important;
  --theme-color: #f4fafc !important;
  --input-bg: #ffffff !important;
  --danger: #e11d48 !important;
  --glass: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050910 !important;
  --card: #0f1624 !important;
  --accent: #5ef0ff !important;
  --accent-2: #9f7bff !important;
  --text: #e8f0ff !important;
  --muted: #9ba6b8 !important;
  --border: rgba(94, 240, 255, 0.15) !important;
  --glow: rgba(94, 240, 255, 0.4) !important;
  --chrome-bg: rgba(5, 9, 16, 0.98) !important;
  --chrome-bg-2: rgba(5, 9, 16, 0.88) !important;
  --chrome-border: rgba(94, 240, 255, 0.15) !important;
  --chrome-link: #9ba6b8 !important;
  --chrome-link-active: #5ef0ff !important;
  --chrome-subnav-bg: rgba(8, 20, 28, 0.85) !important;
  --chrome-dropdown-bg: rgba(8, 14, 24, 0.98) !important;
  --chrome-dropdown-border: rgba(94, 240, 255, 0.18) !important;
  --surface: rgba(255, 255, 255, 0.03) !important;
  --surface-border: rgba(255, 255, 255, 0.08) !important;
  --cta-on: #050910 !important;
  --theme-color: #050910 !important;
  --input-bg: rgba(5, 9, 16, 0.6) !important;
  --danger: #ff5f7e !important;
  --glass: rgba(15, 22, 36, 0.85) !important;
}

html[data-theme="dark"] body {
  color: #e8f0ff !important;
  background: #050910 !important;
}

/* ——— Light mode surfaces ——— */
html[data-theme="light"] body {
  color: #0a1220 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 240, 255, 0.22), transparent 40%),
    radial-gradient(circle at 82% 8%, rgba(159, 123, 255, 0.16), transparent 38%),
    #f4fafc !important;
}

html[data-theme="light"] .vignette,
html[data-theme="light"] .scanlines {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: none !important;
}

/* Kill dark glass / black gradient cards */
html[data-theme="light"] .card,
html[data-theme="light"] .section-card,
html[data-theme="light"] .link-card,
html[data-theme="light"] .tile,
html[data-theme="light"] .step,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .panel,
html[data-theme="light"] .glass,
html[data-theme="light"] .highlight,
html[data-theme="light"] .flow-step,
html[data-theme="light"] .bento-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .mock-card,
html[data-theme="light"] .subscribe,
html[data-theme="light"] .launch-form,
html[data-theme="light"] .why-list li,
html[data-theme="light"] .aether-mockup,
html[data-theme="light"] .contact-card-mockup,
html[data-theme="light"] .mockup-tile,
html[data-theme="light"] .mockup-header,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .plan-card,
html[data-theme="light"] .download-card,
html[data-theme="light"] .info-card,
html[data-theme="light"] .grid > div {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(94, 240, 255, 0.35) !important;
  box-shadow: 0 10px 28px rgba(94, 240, 255, 0.14) !important;
  color: #0a1220 !important;
}

html[data-theme="light"] .section-card .link-card,
html[data-theme="light"] .card .input,
html[data-theme="light"] .section-card .input {
  box-shadow: none !important;
}

html[data-theme="light"] footer {
  background: #eef8fb !important;
  background-image: none !important;
  border-top: 1px solid rgba(94, 240, 255, 0.28) !important;
  color: #3d4a5c !important;
}

html[data-theme="light"] footer a {
  color: #3d4a5c !important;
}

html[data-theme="light"] footer a:hover {
  color: #0891b2 !important;
  text-shadow: none !important;
}

/* Bright primary buttons — full neon, no dark wash */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .cta,
html[data-theme="light"] .site-chrome__cta,
html[data-theme="light"] a.btn-primary,
html[data-theme="light"] button.btn-primary,
html[data-theme="light"] .tap-chrome__cta,
html[data-theme="light"] a.cta,
html[data-theme="light"] button.cta {
  background: linear-gradient(135deg, #5ef0ff 0%, #9f7bff 100%) !important;
  background-image: linear-gradient(135deg, #5ef0ff 0%, #9f7bff 100%) !important;
  color: #050910 !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 10px 32px rgba(94, 240, 255, 0.45), 0 4px 14px rgba(159, 123, 255, 0.3) !important;
  filter: none !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #050910 !important;
}

html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .btn-secondary {
  background: #ffffff !important;
  color: #0a1220 !important;
  border: 1px solid rgba(94, 240, 255, 0.5) !important;
  box-shadow: 0 4px 16px rgba(94, 240, 255, 0.12) !important;
  -webkit-text-fill-color: #0a1220 !important;
}

html[data-theme="light"] .btn-ghost:hover {
  background: rgba(94, 240, 255, 0.18) !important;
  border-color: #5ef0ff !important;
}

/* Form fields — white, not charcoal */
html[data-theme="light"] .input,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="password"],
html[data-theme="light"] input[type="search"],
html[data-theme="light"] input[type="tel"],
html[data-theme="light"] input[type="url"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  background: #ffffff !important;
  background-image: none !important;
  color: #0a1220 !important;
  border: 1px solid rgba(94, 240, 255, 0.4) !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #0a1220 !important;
}

html[data-theme="light"] .input::placeholder,
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #6b7a8f !important;
  opacity: 1 !important;
}

html[data-theme="light"] .input:focus,
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus {
  border-color: #5ef0ff !important;
  box-shadow: 0 0 0 3px rgba(94, 240, 255, 0.25) !important;
}

html[data-theme="light"] label,
html[data-theme="light"] .subscribe label,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] p,
html[data-theme="light"] .bullet,
html[data-theme="light"] .section p {
  color: inherit;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3 {
  color: #0a1220 !important;
}

html[data-theme="light"] .bullet,
html[data-theme="light"] .section p,
html[data-theme="light"] .muted,
html[data-theme="light"] .lede {
  color: #3d4a5c !important;
}

html[data-theme="light"] .bullet strong,
html[data-theme="light"] .section strong {
  color: #0891b2 !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .badge,
html[data-theme="light"] .pill {
  background: rgba(94, 240, 255, 0.18) !important;
  border-color: rgba(94, 240, 255, 0.5) !important;
  color: #0891b2 !important;
}

/* Hero photo: light wash, not black fade */
html[data-theme="light"] .splash__bg {
  background:
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(94, 240, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 70%, rgba(159, 123, 255, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(244, 250, 252, 0.15) 0%, rgba(244, 250, 252, 0.55) 50%, rgba(244, 250, 252, 0.95) 100%),
    url('/images/tap-phones.png') center 28% / cover no-repeat !important;
}

html[data-theme="light"] .hero-panel,
html[data-theme="light"] .stage,
html[data-theme="light"] .mockup-frame,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .aether-card {
  background-color: #ffffff !important;
}

html[data-theme="light"] .nh-cc-banner,
html[data-theme="light"] .nh-cc-modal,
html[data-theme="light"] [class*="cookie"] {
  color: #0a1220;
}

/* Theme toggle */
.site-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--chrome-border);
  background: var(--surface);
  color: var(--chrome-link);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1;
}

.site-theme-toggle:hover {
  color: var(--chrome-link-active);
  border-color: var(--chrome-link-active);
}

.site-theme-toggle svg {
  display: block;
  flex-shrink: 0;
}

.site-theme-toggle .theme-label {
  display: none;
}

@media (min-width: 1100px) {
  .site-theme-toggle .theme-label {
    display: inline;
  }
}

.nav .site-theme-toggle {
  margin-left: auto;
}
