/* ==========================================================================
   ONCALLALERT - LIGHT THEME ("Ice Tint")
   Applied only when <html data-theme="light">. Dark is the default and lives in base.css.
   Neon cyan (#00f2fe) is unreadable as text on light, so accent text uses a deeper cyan;
   buttons keep the neon gradient.
   ========================================================================== */

:root[data-theme="light"] {
  color-scheme: light;

  --bg-deep: #eaf6fb;
  --bg-surface: #f4fafd;
  --bg-card: rgb(255 255 255 / 80%);
  --bg-card-hover: rgb(255 255 255 / 95%);
  --border: #c8e1ee;
  --border-light: #b4d3e4;
  --border-glow: rgb(0 169 187 / 45%);
  --accent-cyan: #0a6c94;
  --accent-blue: #1d63e0;
  --text-primary: #071a2b;
  --text-secondary: #3f5a73;
  --text-muted: #4f6a82;
  --text-dim: #5b7388;
  --danger-text: #b91c1c;
  --warning: #b45309;
  --success: #047857;
  --shadow-sm: 0 2px 8px rgb(15 60 90 / 10%);
  --shadow-md: 0 8px 24px rgb(15 60 90 / 12%), 0 1px 0 rgb(255 255 255 / 80%) inset;
  --shadow-lg: 0 20px 50px rgb(15 60 90 / 18%), 0 1px 0 rgb(255 255 255 / 80%) inset;
  --shadow-cyan: 0 0 28px rgb(0 216 230 / 45%);

  /* channel tokens (see base.css) */
  --c-accent: 0 150 180;
  --c-ink: 7 26 43;
  --c-shadow: 15 60 90;
  --c-surf-1: 255 255 255;
  --c-surf-2: 255 255 255;
  --c-surf-3: 244 250 253;
  --c-surf-4: 255 255 255;
  --c-surf-5: 244 250 253;
  --c-surf-6: 255 255 255;
  --c-surf-7: 234 246 251;
  --c-surf-8: 255 255 255;
  --c-surf-9: 234 246 251;
  --c-surf-10: 244 250 253;
  --c-surf-11: 255 255 255;
  --c-surf-12: 240 244 255;
  --c-surf-13: 244 240 255;
  --c-surf-14: 244 250 253;
  --c-surf-15: 244 250 253;
  --c-surf-16: 244 250 253;
  --h-surf-1: #fff;
  --h-surf-2: #f4fafd;
  --h-surf-3: #fff;
  --h-surf-4: #eaf6fb;
}

/* Gradient headline text: white start is invisible on light */
:root[data-theme="light"] .gradient-text,
:root[data-theme="light"] .gradient-cyan {
  background-image: linear-gradient(135deg, #00a9bb 0%, #1d63e0 100%);
}

:root[data-theme="light"] .gradient-text-subtle {
  background-image: linear-gradient(135deg, #071a2b 40%, #3f5a73 100%);
}

:root[data-theme="light"] .brand-text {
  background-image: linear-gradient(135deg, #00a9bb 0%, #1d63e0 100%);
}

/* Dark art: soften particles and ambient glows on light */
:root[data-theme="light"] #canvas-particles {
  opacity: 0.25;
}

:root[data-theme="light"] .ambient-grid {
  background-image:
    linear-gradient(90deg, rgb(15 60 90 / 5%) 1px, transparent 1px),
    linear-gradient(180deg, rgb(15 60 90 / 5%) 1px, transparent 1px);
}

:root[data-theme="light"] .brand-logo-img {
  filter: drop-shadow(0 0 10px rgb(0 169 187 / 35%));
}

/* Text colours that were picked for dark backgrounds */
:root[data-theme="light"] .code-block {
  color: #0369a1;
}

:root[data-theme="light"] .teaser-plan-status {
  color: #92400e;
}

:root[data-theme="light"] .discount-pill,
:root[data-theme="light"] .plan-save {
  color: #065f46;
}

:root[data-theme="light"] .phone-incoming-txt {
  color: #b91c1c;
}

:root[data-theme="light"] .billing-toggle-btn.active,
:root[data-theme="light"] .ai-callout-tag {
  color: var(--text-primary);
}

:root[data-theme="light"] .app-badge-pill {
  color: #854d0e;
}
