/* BotSetu Neural. Only on pages that include this file. Light and dark each set their own text and panel colours.
   Specificity is above nebula.css (`html[data-theme] body:not(#_)` and the violet button rules). */

html[data-theme="dark"] body.at-neural:not(#_) {
  --page-bg: #080d19;
  --surface-1: #10192b;
  --surface-2: #162238;
  --surface-3: #1c2c46;
  --text-primary: #f4f8ff;
  --text-secondary: #a5b4ca;
  --text-inverse: #062028;
  --border-soft: rgba(164, 190, 220, 0.14);
  --border-strong: rgba(164, 190, 220, 0.32);
  --accent-cyan: #37d9e8;
  --accent-teal: #13b8b1;
  --accent-violet: #8777f8;
  --success: #35d49b;
  --warning: #f2b75c;
  --danger: #f17483;
  --focus-ring: #37d9e8;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-elevated: 0 18px 50px rgba(0, 0, 0, 0.4);
  --at-bg: #080d19;
  --at-bg-2: #10192b;
  --at-elev: #162238;
  --at-cyan: #37d9e8;
  --at-teal: #13b8b1;
  --at-violet: #8777f8;
  --at-text: #f4f8ff;
  --at-muted: #a5b4ca;
  --at-line: rgba(164, 190, 220, 0.14);
  --nb-bg: #080d19;
  --nb-tx: #f4f8ff;
  --nb-mu: #a5b4ca;
  --nb-a: #37d9e8;
  --nb-grad: linear-gradient(90deg, #13b8b1, #37d9e8);
  --nb-grad2: linear-gradient(90deg, #13b8b1, #37d9e8);
  background: #080d19 !important;
  background-color: #080d19 !important;
  color: #f4f8ff !important;
}

html[data-theme="light"] body.at-neural:not(#_) {
  --page-bg: #f7fafd;
  --surface-1: #ffffff;
  --surface-2: #eef4f9;
  --surface-3: #e4edf5;
  --text-primary: #101827;
  --text-secondary: #53657b;
  --text-inverse: #f4f8ff;
  --border-soft: rgba(35, 55, 79, 0.15);
  --border-strong: rgba(35, 55, 79, 0.32);
  --accent-cyan: #0b6280;
  --accent-teal: #0a6b66;
  --accent-violet: #5b4ed4;
  --success: #0d7a45;
  --warning: #8a5a00;
  --danger: #a33b4a;
  --focus-ring: #0b6280;
  --shadow-soft: 0 10px 28px rgba(16, 24, 39, 0.06);
  --shadow-elevated: 0 18px 40px rgba(16, 24, 39, 0.1);
  --at-bg: #f4f8ff;
  --at-bg-2: #e7eef8;
  --at-elev: #ffffff;
  --at-cyan: #0e7490;
  --at-teal: #0a6b66;
  --at-violet: #6d5ef0;
  --at-text: #080d19;
  --at-muted: #3e4e66;
  --at-line: rgba(8, 13, 25, 0.12);
  --nb-bg: #f4f8ff;
  --nb-tx: #080d19;
  --nb-mu: #3e4e66;
  --nb-a: #0a6b66;
  --nb-grad: linear-gradient(90deg, #0c7f7a, #0e7490);
  --nb-grad2: linear-gradient(90deg, #0c7f7a, #0e7490);
  background: #f4f8ff !important;
  background-color: #f4f8ff !important;
  color: #080d19 !important;
}

html[data-theme] body.at-neural:not(#_)::before {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(55, 217, 232, 0.18), transparent 62%),
    radial-gradient(760px 480px at -6% 12%, rgba(19, 184, 177, 0.14), transparent 60%),
    radial-gradient(680px 420px at 50% 110%, rgba(135, 119, 248, 0.08), transparent 62%) !important;
}

html[data-theme="dark"] body.at-neural:not(#_) :is(h1, h2, h3) {
  color: #f4f8ff !important;
}
html[data-theme="light"] body.at-neural:not(#_) :is(h1, h2, h3) {
  color: #080d19 !important;
}
html[data-theme] body.at-neural:not(#_) :is(h1, h2) em:not(#_) {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--at-cyan) !important;
  -webkit-text-fill-color: var(--at-cyan) !important;
}
/* nebula forces every hero heading and paragraph to #eef1ff. Beat that rule inside these pages. */
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_) :is(h1, h2, h3, b, strong) {
  color: #080d19 !important;
  -webkit-text-fill-color: #080d19 !important;
}
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_) :is(p, li, .sub, .lead, .at-note, .at-support, .at-langline) {
  color: #3e4e66 !important;
  -webkit-text-fill-color: #3e4e66 !important;
}
html[data-theme="dark"] body.at-neural:not(#_) .hero:not(#_) :is(h1, h2, h3, b, strong) {
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
}
html[data-theme="dark"] body.at-neural:not(#_) .hero:not(#_) :is(p, li, .sub, .lead, .at-note, .at-support, .at-langline) {
  color: #a5b4ca !important;
  -webkit-text-fill-color: #a5b4ca !important;
}
html[data-theme] body.at-neural:not(#_) .hero:not(#_) :is(h1, h2) em:not(#_) {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--at-cyan) !important;
  -webkit-text-fill-color: var(--at-cyan) !important;
}
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_) :is(h1, h2) em:not(#_) {
  color: #0b6280 !important;
  -webkit-text-fill-color: #0b6280 !important;
}
/* nebula.css paints .hero with a dark navy gradient in both themes. In light mode that sits under #080D19 text. */
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_) {
  background-color: #f4f8ff !important;
  background-image:
    radial-gradient(900px 500px at 80% 0%, rgba(55, 217, 232, 0.28), transparent 62%),
    radial-gradient(800px 500px at 0% 100%, rgba(19, 184, 177, 0.18), transparent 62%),
    linear-gradient(160deg, #f4f8ff, #e7eef8 58%, #f4f8ff) !important;
  color: #080d19 !important;
}
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_)::before,
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_)::after {
  background: radial-gradient(circle, rgba(55, 217, 232, 0.16), transparent 68%) !important;
  opacity: 0.4 !important;
  filter: none !important;
}
html[data-theme="light"] body.at-neural:not(#_) .hero:not(#_) .pill:not(#_) {
  background: #ffffff !important;
  border-color: rgba(8, 13, 25, 0.16) !important;
  color: #080d19 !important;
  -webkit-text-fill-color: #080d19 !important;
}
html[data-theme="dark"] body.at-neural:not(#_) .at-card em:not(#_) {
  color: #37d9e8 !important;
  -webkit-text-fill-color: #37d9e8 !important;
}

html[data-theme="dark"] body.at-neural:not(#_) :is(.sub, .at-note, .at-support, .at-langline, .hero p) {
  color: #a5b4ca !important;
}
html[data-theme="light"] body.at-neural:not(#_) :is(.sub, .at-note, .at-support, .at-langline, .hero p) {
  color: #3e4e66 !important;
}

html[data-theme="dark"] body.at-neural:not(#_) :is(.at-panel, .at-person, .at-lead, .pf-hero, .at-card) {
  background: #162238 !important;
  color: #f4f8ff !important;
  border: 1px solid rgba(164, 190, 220, 0.14) !important;
}
html[data-theme="light"] body.at-neural:not(#_) :is(.at-panel, .at-person, .at-lead, .pf-hero, .at-card) {
  background: #ffffff !important;
  color: #080d19 !important;
  border: 1px solid rgba(8, 13, 25, 0.12) !important;
}
html[data-theme="dark"] body.at-neural:not(#_) :is(.at-panel, .at-lead, .pf-hero) :is(p, li, summary) {
  color: #a5b4ca !important;
}
html[data-theme="light"] body.at-neural:not(#_) :is(.at-panel, .at-lead, .pf-hero) :is(p, li, summary) {
  color: #3e4e66 !important;
}
html[data-theme="dark"] body.at-neural:not(#_) :is(.at-panel, .pf-hero) :is(h2, h3) {
  color: #f4f8ff !important;
}
html[data-theme="light"] body.at-neural:not(#_) :is(.at-panel, .pf-hero) :is(h2, h3) {
  color: #080d19 !important;
}

/* The public CRM drawing keeps its own light card so the preview text stays readable in both themes. */
html[data-theme] body.at-neural:not(#_) .at-crm {
  background: #f4f8ff !important;
  color: #080d19 !important;
}
html[data-theme] body.at-neural:not(#_) .at-crm :is(h1, h2, h3, p, li, span, button) {
  color: #080d19 !important;
}

html[data-theme="dark"] body.at-neural:not(#_) .at-flag {
  background: #123f3c !important;
  color: #b6f6ee !important;
}
html[data-theme="light"] body.at-neural:not(#_) .at-flag {
  background: #d7f6f1 !important;
  color: #085e59 !important;
}

html[data-theme] body.at-neural:not(#_) :is(a, button).at-btn.primary:not(#_),
html[data-theme] body.at-neural:not(#_) a.btn:not(.gh):not(.o):not(.sec):not(#_),
html[data-theme] body.at-neural:not(#_) a.btn[href="/ai-tele-caller/app/"]:not(#_) {
  background: linear-gradient(90deg, #13b8b1, #37d9e8) !important;
  color: #062028 !important;
  -webkit-text-fill-color: #062028 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html[data-theme="dark"] body.at-neural:not(#_) :is(a, button).at-btn:not(.primary) {
  background: #10192b !important;
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
  border: 1px solid rgba(164, 190, 220, 0.28) !important;
}
html[data-theme="light"] body.at-neural:not(#_) :is(a, button).at-btn:not(.primary) {
  background: #ffffff !important;
  color: #080d19 !important;
  -webkit-text-fill-color: #080d19 !important;
  border: 1px solid rgba(8, 13, 25, 0.16) !important;
}
html[data-theme="dark"] body.at-neural:not(#_) a.btn.gh {
  background: #10192b !important;
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
  border: 1px solid rgba(164, 190, 220, 0.28) !important;
}
html[data-theme="light"] body.at-neural:not(#_) a.btn.gh {
  background: #ffffff !important;
  color: #080d19 !important;
  -webkit-text-fill-color: #080d19 !important;
  border: 1px solid rgba(8, 13, 25, 0.16) !important;
}

html[data-theme="dark"] body.at-neural:not(#_) a:not(.btn):not(.at-btn):not(.nu-btn):not(.bsh-mi):not(.bsh-t):not(.bsh-cta):not(.bsh-login):not(.bsh-mcta):not(.bsh-dcta):not(.bs-fab) {
  color: #37d9e8 !important;
}
html[data-theme="light"] body.at-neural:not(#_) a:not(.btn):not(.at-btn):not(.nu-btn):not(.bsh-mi):not(.bsh-t):not(.bsh-cta):not(.bsh-login):not(.bsh-mcta):not(.bsh-dcta):not(.bs-fab) {
  color: #0a6b66 !important;
}

html[data-theme="dark"] body.at-neural:not(#_) header.bsh,
html[data-theme="dark"] body.at-neural:not(#_) header.bsh.sc {
  background: rgba(8, 13, 25, 0.92) !important;
}
html[data-theme="light"] body.at-neural:not(#_) header.bsh,
html[data-theme="light"] body.at-neural:not(#_) header.bsh.sc {
  background: rgba(244, 248, 255, 0.92) !important;
}

.at-command { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
html[data-theme="dark"] body.at-neural:not(#_) .at-command span {
  border: 1px solid rgba(164, 190, 220, 0.28);
  background: #10192b;
  color: #a5b4ca !important;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
html[data-theme="light"] body.at-neural:not(#_) .at-command span {
  border: 1px solid rgba(8, 13, 25, 0.14);
  background: #ffffff;
  color: #3e4e66 !important;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.at-command span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #13b8b1;
}

.at-doc { padding: 28px 20px 88px; display: grid; gap: 16px; }
.at-doc h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.at-doc h2 { margin: 0 0 8px; font-size: 22px; }
.at-doc ul, .at-doc ol { margin: 8px 0 0; padding-left: 18px; }
.at-doc li { margin: 4px 0; }
.at-doc .at-row { display: flex; flex-wrap: wrap; gap: 8px; }
