/* =========================================================================
   Alphaiota Solution — Light bands + animated infographics
   Additive layer. Nothing in styles.css is modified.
   ========================================================================= */

/* -------------------------------------------------------------------------
   LIGHT BAND
   Re-declares the design tokens locally, so every component inside a
   .band-light section adapts automatically (they all consume var(--...)).
   ------------------------------------------------------------------------- */
.band-light {
  --bg:        #F4F7FC;
  --bg-2:      #EAF0F9;
  --surface:   #FFFFFF;
  --surface-2: #F7FAFE;
  --text:      #08101F;
  --text-dim:  #4C5B75;
  --text-faint:#7A88A3;
  --line:        rgba(11, 23, 45, 0.10);
  --line-strong: rgba(11, 23, 45, 0.17);
  --grad-text: linear-gradient(120deg, #0B1120 0%, #24408F 45%, #5B4BFF 110%);
  background: var(--bg);
  color: var(--text);
  position: relative;
}

/* Soft seam so dark→light never reads as a hard cut */
.band-light::before,
.band-seam-top::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 120px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  opacity: .9; pointer-events: none; z-index: 0;
}
.band-light > * { position: relative; z-index: 1; }

/* Components that hard-code dark values need a light counterpart */
.band-light .principle {
  background: linear-gradient(180deg, #FFFFFF, #F7FAFE);
  box-shadow: 0 14px 34px -26px rgba(11, 23, 45, .5);
}
.band-light .principle__node {
  background: rgba(36, 107, 253, .07);
  border-color: rgba(36, 107, 253, .22);
  color: #2A55C8;
}
.band-light .btn-ghost {
  background: rgba(11, 23, 45, .02);
  border-color: var(--line-strong);
  color: var(--text);
}
.band-light .btn-ghost:hover { background: rgba(11, 23, 45, .05); }
.band-light .eyebrow { color: #35538F; }
.band-light .sol__label { background: rgba(11,23,45,.03); }
.band-light .grid-veil {
  background-image:
    linear-gradient(rgba(11,23,45,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,23,45,0.05) 1px, transparent 1px);
}
.band-light .orbit__core {
  background: radial-gradient(circle at 40% 35%, rgba(36,107,253,.16), #FFFFFF);
  box-shadow: 0 0 50px -14px rgba(91,75,255,.4), inset 0 1px 0 rgba(255,255,255,.9);
}
.band-light .industries__list li:hover .idx { color: var(--indigo); }

/* Shared bits for the new sections */
.ig-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 64px); }
.ig-head h2 { font-size: clamp(28px, 4.2vw, 50px); margin: 16px 0 18px; }
.ig-note {
  margin-top: 26px; font-size: 13.5px; color: var(--text-faint);
  display: flex; align-items: center; gap: 10px;
}
.ig-note i { width: 6px; height: 6px; border-radius: 2px; background: var(--violet); flex-shrink: 0; }

/* =========================================================================
   1 — PURPOSE-BUILT vs PLUG-IN STACK
   ========================================================================= */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: stretch; }
.compare__vs {
  align-self: center; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--text-dim); border: 1px solid var(--line-strong); background: var(--surface);
}
.panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--surface); padding: 28px 26px 30px;
  display: flex; flex-direction: column;
}
.panel--risk { border-color: rgba(226, 90, 106, .3); }
.panel--own  { border-color: rgba(36, 107, 253, .34); box-shadow: 0 20px 50px -34px rgba(36,107,253,.6); }
.panel__tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 8px;
}
.panel--risk .panel__tag { color: #D2445A; }
.panel--own  .panel__tag { color: #2A55C8; }
.panel h3 { font-size: 21px; margin-bottom: 8px; }
.panel > p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 22px; }

/* stacked plug-in tiles */
.stackrow {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 9px;
  border: 1px dashed rgba(226, 90, 106, .38);
  background: rgba(226, 90, 106, .05);
  font-size: 14px; color: var(--text);
  opacity: 0; transform: translateX(-14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-in .stackrow { opacity: 1; transform: none; }
.stackrow__leak {
  margin-left: auto; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #D2445A; display: inline-flex; align-items: center; gap: 6px;
}
.stackrow__leak i {
  width: 7px; height: 7px; border-radius: 50%; background: #E25A6A;
  animation: leakpulse 2.2s var(--ease-in-out) infinite; animation-delay: var(--d, 0s);
}
@keyframes leakpulse { 0%,100% { opacity: .35; } 50% { opacity: 1; box-shadow: 0 0 0 4px rgba(226,90,106,.18); } }

/* the single owned block */
.monolith {
  border-radius: 14px; border: 1px solid rgba(36,107,253,.34);
  background: linear-gradient(160deg, rgba(36,107,253,.10), rgba(122,92,255,.07));
  padding: 20px 18px; margin-bottom: 10px;
  opacity: 0; transform: scale(.95);
  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: .35s;
}
.is-in .monolith { opacity: 1; transform: none; }
.monolith__bar {
  height: 34px; border-radius: 8px; margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(36,107,253,.22), rgba(122,92,255,.16));
  display: flex; align-items: center; padding: 0 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.monolith__bar:last-child { margin-bottom: 0; }
.panel__seal {
  margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #1D8F63;
}
.panel__seal svg { width: 18px; height: 18px; }

/* =========================================================================
   2 — ARCHITECTURE STACK
   ========================================================================= */
.stack { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.layers { display: flex; flex-direction: column; gap: 12px; }
.layer {
  position: relative; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--surface); padding: 17px 20px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), border-color .3s, box-shadow .3s;
  transition-delay: var(--d, 0s);
  cursor: default;
}
.is-in .layer { opacity: 1; transform: none; }
.layer:hover { border-color: rgba(36,107,253,.45); box-shadow: 0 14px 34px -26px rgba(36,107,253,.8); }
.layer__i {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: #2A55C8;
  background: rgba(36,107,253,.08); border: 1px solid rgba(36,107,253,.2);
}
.layer__i svg { width: 19px; height: 19px; }
.layer h3 { font-size: 16px; margin-bottom: 3px; }
.layer p { font-size: 13.5px; color: var(--text-dim); }
.layer__n {
  margin-left: auto; font-family: var(--font-display); font-size: 12px;
  color: var(--text-faint); letter-spacing: .1em; flex-shrink: 0;
}

/* =========================================================================
   3 — OPERATION MAP  (where every system sits)
   ========================================================================= */
.opmap { position: relative; }
.opmap__svg { width: 100%; height: auto; display: block; overflow: visible; }
.opmap.ig-ready .draw {
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.5s var(--ease-in-out); transition-delay: var(--d, 0s);
}
.opmap.ig-ready.is-in .draw { stroke-dashoffset: 0; }
.opmap.ig-ready .pop {
  opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center;
  transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s);
}
.opmap.ig-ready.is-in .pop { opacity: 1; transform: none; }
.opmap__label { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--text); }
.opmap__sub   { font-family: var(--font-body); font-size: 10px; fill: var(--text-faint); }
.opmap__zone  { font-family: var(--font-body); font-size: 9.5px; font-weight: 700; letter-spacing: .16em; fill: var(--text-faint); }

/* =========================================================================
   4 — CAPABILITY MATRIX
   ========================================================================= */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 660px; }
.matrix th, .matrix td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint); border-bottom: 1px solid var(--line-strong);
}
.matrix tbody th {
  text-align: left; font-family: var(--font-display); font-size: 15px;
  font-weight: 600; color: var(--text); white-space: nowrap;
}
.matrix tbody tr:hover td, .matrix tbody tr:hover th { background: rgba(36,107,253,.045); }
.cell {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  opacity: 0; transform: scale(.5);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-in .cell { opacity: 1; transform: none; }
.cell--yes { background: linear-gradient(140deg, rgba(36,107,253,.9), rgba(122,92,255,.9)); color: #fff; }
.cell--yes svg { width: 14px; height: 14px; }
.cell--no { background: var(--line); }
.cell--no::after { content: ""; width: 8px; height: 2px; border-radius: 2px; background: var(--text-faint); opacity: .55; }

/* =========================================================================
   5 — DEPLOYMENT (cloud / on-prem / hybrid)  — interactive
   ========================================================================= */
.deploy { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.deploy__tabs { display: flex; flex-direction: column; gap: 10px; }
.dtab {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.dtab:hover { border-color: rgba(36,107,253,.4); }
.dtab[aria-selected="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,107,253,.13), 0 18px 40px -30px rgba(36,107,253,.9);
}
.dtab__i {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(36,107,253,.08); border: 1px solid rgba(36,107,253,.2); color: #2A55C8;
}
.dtab__i svg { width: 18px; height: 18px; }
.dtab h3 { font-size: 16px; margin-bottom: 4px; }
.dtab p { font-size: 13.5px; color: var(--text-dim); }
.deploy__stage {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 26px; min-height: 340px; position: relative; overflow: hidden;
}
.deploy__svg { width: 100%; height: auto; display: block; overflow: visible; }
.dnode { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.dnode--off { opacity: .18; }
.dflow {
  stroke-dasharray: 5 7; animation: dflow 1.5s linear infinite;
}
@keyframes dflow { to { stroke-dashoffset: -24; } }
.dperim {
  transition: opacity .5s var(--ease);
}
.deploy__cap {
  margin-top: 18px; font-size: 14px; color: var(--text-dim);
  border-left: 2px solid var(--blue); padding-left: 14px;
}
.deploy__label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; fill: var(--text-faint); }
.deploy__name  { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; fill: var(--text); }

/* =========================================================================
   6 — REACH MAP (dark band, animated)
   ========================================================================= */
.reach { background: #04070E; position: relative; overflow: hidden; }
.reach__svg { width: 100%; height: auto; display: block; overflow: visible; }
.reach.ig-ready .rline {
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.4s var(--ease-in-out); transition-delay: var(--d, 0s);
}
.reach.ig-ready.is-in .rline { stroke-dashoffset: 0; }
.reach.ig-ready .rnode {
  opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center;
  transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d, 0s);
}
.reach.ig-ready.is-in .rnode { opacity: 1; transform: none; }
.reach.ig-ready .rtext {
  opacity: 0; transition: opacity .5s var(--ease); transition-delay: var(--d, 0s);
  font-family: var(--font-body); font-size: 12.5px; fill: #EAF0FF;
}
.reach.ig-ready.is-in .rtext { opacity: 1; }
/* far-column links read as secondary so the two fans never compete */
.reach .rline--far { opacity: .55; }
.reach .rcap {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; fill: #5B86FF;
}
.reach.ig-ready .rbox {
  opacity: 0; transform: translateX(-12px); transform-box: fill-box;
  transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s);
}
.reach.ig-ready.is-in .rbox { opacity: 1; transform: none; }

/* =========================================================================
   7 — FAQ
   ========================================================================= */
.faq { max-width: 900px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 22px 4px; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: clamp(16px, 1.8vw, 19px); font-weight: 600;
  color: var(--text); transition: color .3s;
}
.faq__q:hover { color: var(--indigo); }
.faq__ico {
  margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative;
  transition: background .35s var(--ease), border-color .35s, transform .45s var(--ease);
}
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.faq__ico::before { width: 11px; height: 1.7px; }
.faq__ico::after  { width: 1.7px; height: 11px; }
.faq__item.is-open .faq__ico { background: var(--grad-brand); border-color: transparent; color: #fff; transform: rotate(180deg); }
.faq__item.is-open .faq__ico::after { transform: scaleY(0); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a p { color: var(--text-dim); font-size: 15px; padding: 0 46px 24px 0; max-width: 70ch; }

/* =========================================================================
   8 — PER-SOLUTION MICRO FLOW  (inside existing solution blocks, dark)
   ========================================================================= */
/* grid/flex children must be allowed to shrink, or the nowrap row
   widens its track and pushes the page into horizontal overflow */
.sol__body, .hflow, .hflow__track, .sol { min-width: 0; }

.hflow {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
}
.hflow__cap {
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px;
}
.hflow__track { display: flex; align-items: center; gap: 6px 0; flex-wrap: wrap; }
.hflow__step {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-size: 12.5px; color: var(--text); white-space: nowrap;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s);
}
.is-in .hflow__step { opacity: 1; transform: none; }
.hflow__step b { font-weight: 600; }
.hflow__arrow {
  width: 26px; height: 1.5px; background: linear-gradient(90deg, var(--blue), var(--violet));
  position: relative; flex-shrink: 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease); transition-delay: var(--d, 0s);
}
.is-in .hflow__arrow { transform: scaleX(1); }
.hflow__arrow::after {
  content: ""; position: absolute; right: -1px; top: -2.5px;
  border-left: 6px solid var(--violet);
  border-top: 3px solid transparent; border-bottom: 3px solid transparent;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .stack, .deploy { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 620px) {
  .panel { padding: 22px 18px 24px; }
  .hflow__arrow { width: 16px; }
  .hflow__step { font-size: 11.5px; padding: 7px 10px; }
  .faq__a p { padding-right: 8px; }
  .deploy__stage { padding: 16px; min-height: 260px; }
}

/* Reduced motion — show everything, animate nothing */
@media (prefers-reduced-motion: reduce) {
  .stackrow, .monolith, .layer, .cell, .hflow__step,
  .opmap .pop, .reach .rnode, .reach .rtext, .reach .rbox {
    opacity: 1 !important; transform: none !important;
  }
  .hflow__arrow { transform: scaleX(1) !important; }
  .opmap .draw, .reach .rline { stroke-dashoffset: 0 !important; }
  .dflow { animation: none !important; }
}

/* ---- No-JS / fail-visible guards -------------------------------------- */
.no-js .stackrow, .no-js .monolith, .no-js .layer,
.no-js .hflow__step, .no-js .cell {
  opacity: 1 !important; transform: none !important;
}
.no-js .hflow__arrow { transform: scaleX(1) !important; }

/* =========================================================================
   9 — ADVANCE CHAT SUPPORT SYSTEM (light band, dark console)
   ========================================================================= */
.chat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chat__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #22407F; background: rgba(36,107,253,.07); border: 1px solid rgba(36,107,253,.2);
}
.chat__chip svg { width: 15px; height: 15px; }

.console {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #0B1120, #060A13);
  border: 1px solid #22304C;
  box-shadow: 0 40px 80px -50px rgba(6, 12, 28, .9);
}
.console__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: rgba(3,5,10,.6); border-bottom: 1px solid #1B2740;
}
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A3956; }
.console__dots i:first-child { background: #E2596A; }
.console__dots i:nth-child(2) { background: #E4B44C; }
.console__title { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7F8FAE; }
.console__badge {
  margin-left: auto; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #7A5CFF; border: 1px solid rgba(122,92,255,.4); border-radius: 999px; padding: 4px 9px;
}
.console__picker { display: flex; gap: 8px; padding: 14px 16px 0; flex-wrap: wrap; }
.qbtn {
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.04); border: 1px solid #22304C; color: #A8B6D0;
  transition: background .3s var(--ease), border-color .3s, color .3s;
}
.qbtn:hover { color: #EAF0FF; border-color: #35507F; }
.qbtn[aria-selected="true"] { background: var(--grad-brand); border-color: transparent; color: #fff; }
.console__body { padding: 16px; }
.console__ask {
  font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: #EAF0FF;
  min-height: 44px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid #1D2A45;
}
.console__caret {
  display: inline-block; width: 7px; height: 14px; margin-right: 8px; vertical-align: -2px;
  background: var(--blue); border-radius: 1px; animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 0%,50% { opacity: 1; } 51%,100% { opacity: .15; } }

.console__trace { width: 100%; height: auto; display: block; margin: 14px 0 4px; }
.trace__cap { font-family: var(--font-body); font-size: 8.5px; font-weight: 700; letter-spacing: .16em; fill: #5F6F8E; }
.trace__cap { fill: #5F6F8E; }
.src rect { fill: rgba(255,255,255,.03); stroke: #22304C; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.src text { font-family: var(--font-body); font-size: 11px; fill: #7F8FAE; transition: fill .4s var(--ease); }
.src.is-hit rect { fill: rgba(36,107,253,.16); stroke: #4C86FF; }
.src.is-hit text { fill: #EAF0FF; }

.answer {
  margin-top: 10px; border-radius: 12px; padding: 16px;
  background: rgba(36,107,253,.07); border: 1px solid rgba(36,107,253,.26);
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.answer.is-shown { opacity: 1; transform: none; }
.answer__head { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #EAF0FF; margin-bottom: 12px; }
.answer__rows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.answer__rows li {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 12.5px; color: #A8B6D0; padding-bottom: 7px; border-bottom: 1px solid rgba(148,163,194,.12);
}
.answer__rows li b { color: #EAF0FF; font-weight: 600; white-space: nowrap; }
.answer__drill { font-size: 12px; color: #8FA3C4; border-left: 2px solid var(--violet); padding-left: 10px; }

/* =========================================================================
   10 — CONTINUOUS SUPPORT CYCLE
   ========================================================================= */
.support { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.cycle { max-width: 380px; margin-inline: auto; width: 100%; }
.cycle__svg { width: 100%; height: auto; display: block; }
.cycle__ring { stroke-dasharray: 628; stroke-dashoffset: 628; transition: stroke-dashoffset 1.8s var(--ease-in-out); }
.cycle.is-in .cycle__ring { stroke-dashoffset: 0; }
.cycle__st circle { fill: #FFFFFF; stroke: var(--blue); stroke-width: 2.5; }
.cycle__st text { font-family: var(--font-display); font-size: 14px; font-weight: 600; fill: var(--text); }
.cycle__core { font-family: var(--font-body); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; fill: var(--text-faint); }
.cycle__pulse { transform-origin: 150px 150px; }
.cycle.is-in .cycle__pulse { animation: orbitLoop 9s linear infinite 1.4s; }
@keyframes orbitLoop { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .chat, .support { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .console__caret { animation: none !important; }
  .cycle__ring { stroke-dashoffset: 0 !important; }
  .cycle__pulse { animation: none !important; }
  .answer { opacity: 1 !important; transform: none !important; }
}

/* Footer is two columns now that "Connect" is removed.
   Re-declared at each breakpoint because sections.css loads after styles.css —
   a single unscoped rule here would otherwise beat the media queries there. */
.footer__top { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer__top { grid-template-columns: 1fr; } }

/* Footer email stays an icon only — the address is never rendered as text,
   it lives solely in the mailto: href so clicking still opens a new email. */

/* Success state now carries a real fallback address */
.form-success p { max-width: 42ch; }
.form-success__mail {
  color: #9FC0FF; font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; word-break: break-word;
}
.form-success__mail:hover { color: #fff; }

/* Honeypot — off-screen for bots, invisible and unreachable for people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note.is-error { color: #F5909C; }

/* =========================================================================
   PLAIN-WORDS CONVERSATIONAL INTRO  (sits directly under the hero, dark)
   ========================================================================= */
.chatintro {
  background: linear-gradient(180deg, var(--bg) 0%, #060B16 55%, var(--bg-2) 100%);
  position: relative; overflow: hidden;
}
.chatintro::after {                       /* soft brand aura behind the panel */
  content: ""; position: absolute; right: -8%; top: 12%;
  width: 620px; height: 620px; max-width: 90vw; pointer-events: none;
  background: radial-gradient(circle, rgba(36,107,253,.13), transparent 62%);
}
.ci {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 70px); align-items: center;
}
.ci__stats { display: grid; gap: 14px; margin-top: 32px; }
.ci__stats div {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 16px; border-left: 2px solid rgba(122,92,255,.5);
}
.ci__stats strong {
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text);
  letter-spacing: -.01em;
}
.ci__stats span { font-size: 13.5px; color: var(--text-dim); }

/* ---- the console ---- */
.ci__panel {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(13,20,36,.92), rgba(6,10,19,.96));
  border: 1px solid #22304C;
  box-shadow: 0 50px 100px -60px rgba(0,0,0,.95), 0 0 0 1px rgba(122,92,255,.07);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ci__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; background: rgba(3,5,10,.55); border-bottom: 1px solid #1B2740;
}
.ci__dots { display: flex; gap: 6px; }
.ci__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A3956; }
.ci__dots i:first-child { background: #E2596A; }
.ci__dots i:nth-child(2) { background: #E4B44C; }
.ci__title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #8395B4;
}
.ci__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #5FE3B0;
}
.ci__live i {
  width: 6px; height: 6px; border-radius: 50%; background: #38E1A4;
  animation: cipulse 2.2s var(--ease-in-out) infinite;
}
@keyframes cipulse { 0%,100% { box-shadow: 0 0 0 0 rgba(56,225,164,.5); } 50% { box-shadow: 0 0 0 6px rgba(56,225,164,0); } }

.ci__thread {
  padding: 22px 20px 8px; height: 396px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #2C3B58 transparent;
}
/* Bottom-anchor the thread while it is short, WITHOUT using
   justify-content:flex-end -- that makes overflowing content above the
   scroll area unreachable. Pushing the first child down does both jobs. */
.ci__thread > *:first-child { margin-top: auto; }
.ci__thread::-webkit-scrollbar { width: 6px; }
.ci__thread::-webkit-scrollbar-track { background: transparent; }
.ci__thread::-webkit-scrollbar-thumb {
  background: #2C3B58; border-radius: 3px;
}
.ci__thread::-webkit-scrollbar-thumb:hover { background: #3A4D72; }
.ci__foot {
  padding: 12px 20px 16px; border-top: 1px solid #141F35;
}
.ci__cue { font-size: 11.5px; color: var(--text-faint); letter-spacing: .04em; }

/* message bubbles */
.cim { display: flex; gap: 12px; max-width: 92%; opacity: 0; transform: translateY(12px); }
.cim.in { animation: cimIn .55s var(--ease) forwards; }
@keyframes cimIn { to { opacity: 1; transform: none; } }
.cim--q { align-self: flex-end; flex-direction: row-reverse; }
.cim__av {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid #26324A;
}
.cim__av img { width: 20px; height: auto; }
.cim__b {
  padding: 13px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.6;
}
.cim--q .cim__b {
  background: rgba(255,255,255,.055); border: 1px solid #26324A;
  color: var(--text); border-bottom-right-radius: 5px;
}
.cim--a .cim__b {
  background: linear-gradient(160deg, rgba(36,107,253,.16), rgba(122,92,255,.11));
  border: 1px solid rgba(91,75,255,.34); color: #EDF2FF;
  border-bottom-left-radius: 5px;
}
.cim--a .cim__b b { color: #fff; font-weight: 700; }

/* typing indicator */
.citype { display: flex; gap: 5px; padding: 15px 18px; }
.citype i {
  width: 7px; height: 7px; border-radius: 50%; background: #7FA6FF;
  animation: citype 1.3s var(--ease-in-out) infinite;
}
.citype i:nth-child(2) { animation-delay: .16s; }
.citype i:nth-child(3) { animation-delay: .32s; }
@keyframes citype { 0%,60%,100% { opacity: .28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

@media (max-width: 1024px) { .ci { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .ci__thread { height: 340px; padding: 18px 14px 6px; }
  .cim { max-width: 96%; }
  .cim__b { font-size: 13.5px; padding: 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cim { opacity: 1 !important; transform: none !important; animation: none !important; }
  .citype i, .ci__live i { animation: none !important; }
}

/* question avatar is a text chip, not a mark */
.cim--q .cim__av {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: var(--text-faint); text-transform: uppercase;
}
