/* ============================================================
   DATA + ANALYTICS · Block Gemini
   Cyan/blue/mint accent. Uses inf-* base patterns + dat-specific.
============================================================ */

/* Reuse the inf-* and cv-* base utilities from styles-cv.css.
   This file adds Data + Analytics-specific dashboard visuals. */

/* DAT command center card */
.dat-cmd { border: 1px solid var(--site-line); background: linear-gradient(180deg, rgba(15,21,48,0.6), rgba(5,7,15,0.4)); }
.dat-cmd-chrome {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--site-line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--site-text-3);
}
.dat-cmd-chrome .live { color: var(--site-mint); display: inline-flex; align-items: center; gap: 6px; }
.dat-cmd-chrome .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--site-mint); box-shadow: 0 0 8px var(--site-mint); animation: inf-pulse 1.4s infinite; }
.dat-cmd-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dat-cmd-row {
  padding: 14px 18px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--site-line); border-right: 1px solid var(--site-line);
  font-family: var(--font-mono); font-size: 11px; color: var(--site-text-2); letter-spacing: 0.04em;
}
.dat-cmd-row:nth-child(2n) { border-right: 0; }
.dat-cmd-row b { color: #fff; font-weight: 500; }
.dat-cmd-row b.ok { color: var(--site-mint); }

/* KPI sparkline tiles */
.dat-cmd-kpis { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--site-line); }
.dat-kpi { padding: 14px 18px; border-right: 1px solid var(--site-line); display: flex; flex-direction: column; gap: 8px; }
.dat-kpi:last-child { border-right: 0; }
.dat-kpi-l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--site-text-3); }
.dat-kpi-v { font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 500; line-height: 1; }
.dat-kpi-d { font-family: var(--font-mono); font-size: 10.5px; color: var(--site-mint); }
.dat-kpi-d.dn { color: var(--site-amber); }
.dat-kpi svg { width: 100%; height: 30px; display: block; }

/* Pipeline strip in console */
.dat-cmd-pipe { grid-column: 1/-1; padding: 16px 18px; border-bottom: 1px solid var(--site-line); }
.dat-cmd-pipe-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--site-text-3); margin-bottom: 10px; }
.dat-cmd-pipe-flow { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dat-cmd-pipe-node {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid var(--site-line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--site-text-2);
  background: rgba(255,255,255,0.02);
}
.dat-cmd-pipe-node .d { width: 6px; height: 6px; border-radius: 50%; background: var(--site-mint); box-shadow: 0 0 6px var(--site-mint); }
.dat-cmd-pipe-arr { color: var(--site-cyan); font-family: var(--font-mono); font-size: 12px; opacity: 0.6; }

.dat-cmd-alerts { grid-column: 1/-1; padding: 14px 18px; }
.dat-cmd-alerts-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--site-text-3); margin-bottom: 8px; }
.dat-alert { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--site-line); font-family: var(--font-mono); font-size: 11px; }
.dat-alert:last-child { border-bottom: 0; }
.dat-alert .sev { width: 6px; height: 6px; border-radius: 50%; background: var(--site-amber); margin-top: 5px; box-shadow: 0 0 6px var(--site-amber); }
.dat-alert .sev.crit { background: #FF7A95; box-shadow: 0 0 6px #FF7A95; }
.dat-alert .msg { color: var(--site-text); font-family: var(--font-sans); font-size: 12.5px; }
.dat-alert .ts { color: var(--site-text-3); letter-spacing: 0.06em; }

/* Pipeline source-cards (sec 5) */
.dat-pipe-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--site-line); }
@media (max-width: 1100px) { .dat-pipe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .dat-pipe-grid { grid-template-columns: 1fr; } }
.dat-pipe-card { padding: 24px 20px; border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); display: flex; flex-direction: column; gap: 6px; }
.dat-pipe-card .num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--site-cyan); }
.dat-pipe-card h4 { font-family: var(--font-display); font-size: 17px; color: #fff; font-weight: 500; margin: 6px 0 6px; letter-spacing: -0.01em; }
.dat-pipe-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dat-pipe-card ul li { font-size: 12.5px; line-height: 1.5; color: var(--site-text-2); padding-left: 12px; position: relative; }
.dat-pipe-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--site-cyan); }

/* Dashboard cards grid */
.dat-dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--site-line); }
@media (max-width: 1100px) { .dat-dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dat-dash-grid { grid-template-columns: 1fr; } }
.dat-dash-card { padding: 22px 20px; border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.dat-dash-card h4 { font-family: var(--font-display); font-size: 17px; color: #fff; font-weight: 500; margin: 8px 0 6px; letter-spacing: -0.01em; }
.dat-dash-card .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--site-cyan); }
.dat-dash-card ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.dat-dash-card ul li { font-size: 12.5px; line-height: 1.5; color: var(--site-text-2); padding-left: 12px; position: relative; }
.dat-dash-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--site-mint); }

/* Mock dashboard preview (executive command center) */
.dat-dash-preview { border: 1px solid var(--site-line); background: linear-gradient(180deg, rgba(15,21,48,0.6), rgba(5,7,15,0.4)); padding: 0; overflow: hidden; }
.dat-dash-pre-chrome { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--site-line); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--site-text-3); }
.dat-dash-pre-body { padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dat-dash-tile { border: 1px solid var(--site-line); padding: 12px 14px; background: rgba(255,255,255,0.02); }
.dat-dash-tile .l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--site-text-3); margin-bottom: 6px; }
.dat-dash-tile .v { font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 500; line-height: 1; margin-bottom: 8px; }
.dat-dash-tile .d { font-family: var(--font-mono); font-size: 10.5px; color: var(--site-mint); }
.dat-dash-tile .d.dn { color: #FF7A95; }
.dat-dash-tile svg { width: 100%; height: 32px; display: block; margin-top: 6px; }

/* NL query panel */
.dat-nl { border: 1px solid var(--site-line); background: linear-gradient(180deg, rgba(15,21,48,0.6), rgba(5,7,15,0.4)); padding: 24px; }
.dat-nl-q { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--site-line); background: rgba(0,0,0,0.3); font-family: var(--font-mono); font-size: 12.5px; color: var(--site-text); }
.dat-nl-q::before { content: ">"; color: var(--site-cyan); }
.dat-nl-a { padding: 16px; border-left: 2px solid var(--site-mint); background: rgba(94,255,164,0.04); margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--site-text); }
.dat-nl-a b { color: var(--site-mint); }

/* AI Analytics cards */
.dat-aa-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--site-line); }
@media (max-width: 1000px) { .dat-aa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dat-aa-grid { grid-template-columns: 1fr; } }
.dat-aa { padding: 24px 22px; border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.dat-aa-ico { width: 28px; height: 28px; color: var(--site-cyan); }
.dat-aa h4 { font-family: var(--font-display); font-size: 18px; color: #fff; font-weight: 500; margin: 14px 0 8px; letter-spacing: -0.01em; }
.dat-aa ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dat-aa ul li { font-size: 12.5px; line-height: 1.5; color: var(--site-text-2); padding-left: 12px; position: relative; }
.dat-aa ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--site-cyan); }

/* AI Readiness cards */
.dat-ready-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--site-line); }
@media (max-width: 1000px) { .dat-ready-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dat-ready-grid { grid-template-columns: 1fr; } }
.dat-ready { padding: 22px 20px; border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.dat-ready h4 { font-family: var(--font-display); font-size: 16px; color: #fff; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.dat-ready ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dat-ready ul li { font-size: 12.5px; color: var(--site-text-2); padding-left: 12px; position: relative; }
.dat-ready ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--site-mint); }

/* Solution types grid */
.dat-sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--site-line); }
@media (max-width: 1100px) { .dat-sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dat-sol-grid { grid-template-columns: 1fr; } }
.dat-sol { padding: 24px 22px; border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.dat-sol h4 { font-family: var(--font-display); font-size: 17px; color: #fff; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.dat-sol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dat-sol ul li { font-size: 12.5px; color: var(--site-text-2); padding-left: 12px; position: relative; }
.dat-sol ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--site-cyan); }

/* Reveal */
.dat-reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms cubic-bezier(.22,.61,.36,1), transform 600ms cubic-bezier(.22,.61,.36,1); }
.dat-reveal.on, .dat-reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Section heading typography (override colors_and_type.css default h2 color) ---------- */
.bg-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--site-cyan); text-transform: uppercase; margin-bottom: 18px;
}
h2.bg-h2, .bg-h2 {
  font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05;
  letter-spacing: -0.025em; color: #fff; font-weight: 500; margin: 0;
}
.bg-p { font-size: 15px; line-height: 1.65; color: var(--site-text-2); margin: 0; }
.inf-cap-h { color: #fff; }
.inf-cap-p { color: var(--site-text-2); }
.inf-cap-num { color: var(--site-text-3); }
.inf-hero-h { color: #fff; }
.inf-cmp-h { color: #fff; }

/* ---------- "What this does" — rich 6-step flow ---------- */
.dat-what-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--site-line);
  background: linear-gradient(180deg, rgba(79,200,255,0.04), rgba(5,7,15,0.4));
  margin: 28px 0 36px;
}
.dat-what-strip-item {
  padding: 18px 22px; border-right: 1px solid var(--site-line);
  display: flex; flex-direction: column; gap: 4px;
}
.dat-what-strip-item:last-child { border-right: 0; }
.dat-what-strip-v {
  font-family: var(--font-display); font-size: 28px; color: #fff;
  font-weight: 500; letter-spacing: -0.02em; line-height: 1;
}
.dat-what-strip-l {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--site-text-3); text-transform: uppercase;
}
@media (max-width: 900px) {
  .dat-what-strip { grid-template-columns: repeat(2, 1fr); }
  .dat-what-strip-item:nth-child(2) { border-right: 0; }
  .dat-what-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--site-line); }
}

.dat-flow-rich { gap: 0 !important; align-items: stretch !important; }
.dat-flow-node {
  flex: 1 1 200px !important; min-width: 200px !important; max-width: 240px !important;
  padding: 22px 18px !important;
  border: 1px solid var(--site-line);
  background: linear-gradient(180deg, rgba(15,21,48,0.45), rgba(5,7,15,0.35));
  align-items: flex-start !important; text-align: left !important;
  position: relative;
}
.dat-flow-node + .dat-flow-arrow + .dat-flow-node { border-left: 0; }
.dat-flow-node .aa-cv-flow-ring { margin-bottom: 14px; align-self: flex-start; width: 64px; height: 64px; }
.dat-flow-node .aa-cv-flow-h { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.dat-flow-desc {
  font-size: 12.5px; line-height: 1.55; color: var(--site-text-2);
  margin-bottom: 14px;
}
.dat-flow-list {
  list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 5px;
  width: 100%;
}
.dat-flow-list li {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--site-text-2); padding-left: 12px; position: relative;
  line-height: 1.4;
}
.dat-flow-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 1px; background: var(--site-cyan);
}
.dat-flow-node.ac-mt .dat-flow-list li::before { background: var(--site-mint); }
.dat-flow-node.ac-am .dat-flow-list li::before { background: #FFB44D; }
.dat-flow-metric {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--site-line);
  display: flex; flex-direction: column; gap: 2px; width: 100%;
}
.dat-flow-metric-v {
  font-family: var(--font-display); font-size: 22px; color: #fff;
  font-weight: 500; letter-spacing: -0.01em; line-height: 1;
}
.dat-flow-node.ac-cy .dat-flow-metric-v { color: var(--site-cyan); }
.dat-flow-node.ac-mt .dat-flow-metric-v { color: var(--site-mint); }
.dat-flow-node.ac-am .dat-flow-metric-v { color: #FFB44D; }
.dat-flow-metric-l {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--site-text-3); text-transform: uppercase;
}
.dat-flow-arrow {
  display: flex !important; align-items: center; justify-content: center;
  padding: 0 !important; width: 22px; flex: 0 0 22px;
  font-family: var(--font-mono); font-size: 18px; color: var(--site-cyan); opacity: 0.5;
}
@media (max-width: 1100px) {
  .dat-flow-rich { flex-wrap: wrap; gap: 6px !important; }
  .dat-flow-node { flex-basis: 45% !important; min-width: 240px !important; max-width: none !important; }
  .dat-flow-arrow { display: none !important; }
}

.dat-what-foot {
  margin-top: 28px; padding: 16px 20px;
  border: 1px solid rgba(94,255,164,0.22);
  background: rgba(94,255,164,0.04);
  display: flex; align-items: center; gap: 16px;
}
.dat-what-foot-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--site-mint); flex-shrink: 0;
}
.dat-what-foot-text {
  font-size: 13.5px; line-height: 1.55; color: var(--site-text-1);
}
.dat-what-foot-text em {
  color: var(--site-mint); font-style: normal; font-weight: 500;
}


/* ============================================================
   Industries cinema widget (Section 11)
============================================================ */
.dat-ind-cinema {
  display: grid; grid-template-columns: 280px 1fr;
  border: 1px solid var(--site-line);
  background: linear-gradient(180deg, rgba(15,21,48,0.55), rgba(3,5,10,0.6));
  min-height: 460px; overflow: hidden;
}
@media (max-width: 980px) { .dat-ind-cinema { grid-template-columns: 1fr; } }
.dat-ind-rail {
  border-right: 1px solid var(--site-line);
  background: rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
}
.dat-ind-rail-h {
  padding: 14px 18px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--site-text-3);
  border-bottom: 1px solid var(--site-line);
}
.dat-ind-rail-list { flex: 1; overflow-y: auto; max-height: 460px; }
.dat-ind-rail-row {
  width: 100%; background: transparent; border: 0; outline: none;
  padding: 11px 18px; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px;
  align-items: center; cursor: pointer; text-align: left;
  border-bottom: 1px solid rgba(79,200,255,0.06);
  transition: background 200ms, color 200ms;
}
.dat-ind-rail-row:hover { background: rgba(79,200,255,0.04); }
.dat-ind-rail-row .n {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--site-text-3);
}
.dat-ind-rail-row .t { font-size: 13px; color: var(--site-text-1); }
.dat-ind-rail-row .c {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em;
  color: var(--site-text-3);
}
.dat-ind-rail-row.on {
  background: linear-gradient(90deg, rgba(79,200,255,0.18), rgba(79,200,255,0.04));
  border-left: 2px solid var(--site-cyan); padding-left: 16px;
}
.dat-ind-rail-row.on .t { color: #fff; }
.dat-ind-rail-row.on .c { color: var(--site-cyan); }

.dat-ind-stage { padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.dat-ind-stage-head { display: flex; justify-content: space-between; align-items: center; }
.dat-ind-stage-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--site-mint); padding: 5px 10px;
  border: 1px solid rgba(94,255,164,0.3); background: rgba(94,255,164,0.05);
}
.dat-ind-stage-tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--site-mint);
  box-shadow: 0 0 8px var(--site-mint);
  animation: dat-pulse 1.4s ease-in-out infinite;
}
@keyframes dat-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.dat-ind-stage-prog { display: flex; gap: 3px; }
.dat-ind-stage-prog span {
  width: 14px; height: 2px; background: rgba(255,255,255,0.12);
  transition: background 300ms;
}
.dat-ind-stage-prog span.on { background: var(--site-cyan); }
.dat-ind-stage-title {
  font-family: var(--font-display); font-size: 38px; color: #fff;
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.05;
  animation: dat-fade-in 500ms ease-out;
}
.dat-ind-stage-desc {
  font-size: 14px; line-height: 1.55; color: var(--site-text-2);
  max-width: 720px; animation: dat-fade-in 600ms ease-out;
}
@keyframes dat-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dat-ind-stage-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--site-line);
}
.dat-ind-kpi {
  padding: 14px 16px; border-right: 1px solid var(--site-line);
  background: rgba(0,0,0,0.2);
  animation: dat-fade-in 600ms ease-out;
}
.dat-ind-kpi:last-child { border-right: 0; }
.dat-ind-kpi-l {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--site-text-3); text-transform: uppercase; margin-bottom: 6px;
}
.dat-ind-kpi-v {
  font-family: var(--font-display); font-size: 22px; color: #fff;
  font-weight: 500; letter-spacing: -0.01em; line-height: 1;
}
.dat-ind-stage-chart {
  border: 1px solid var(--site-line); padding: 14px 18px;
  background: rgba(0,0,0,0.25); flex: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.dat-ind-stage-chart-h {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--site-text-3);
}
.dat-ind-stage-chart-h .hi { color: var(--site-cyan); }
.dat-ind-stage-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 80px;
}
.dat-ind-bar {
  flex: 1; background: linear-gradient(180deg, var(--site-cyan), rgba(79,200,255,0.2));
  min-height: 6px; transform-origin: bottom;
  animation: dat-bar-rise 500ms ease-out backwards;
}
@keyframes dat-bar-rise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

@media (max-width: 720px) {
  .dat-ind-stage-kpis { grid-template-columns: repeat(2, 1fr); }
  .dat-ind-kpi:nth-child(2) { border-right: 0; }
  .dat-ind-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--site-line); }
}

/* ============================================================
   Departments cinema widget (Section 12)
============================================================ */
.dat-dept-cinema {
  border: 1px solid var(--site-line);
  background: linear-gradient(180deg, rgba(15,21,48,0.5), rgba(3,5,10,0.5));
}
.dat-dept-tabs {
  display: grid; grid-template-columns: repeat(10, 1fr);
  border-bottom: 1px solid var(--site-line);
}
@media (max-width: 1100px) { .dat-dept-tabs { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px) { .dat-dept-tabs { grid-template-columns: repeat(2, 1fr); } }
.dat-dept-tab {
  background: transparent; border: 0; outline: none;
  padding: 14px 12px; cursor: pointer;
  border-right: 1px solid var(--site-line);
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  text-align: left; transition: background 200ms;
  position: relative;
}
.dat-dept-tab:last-child { border-right: 0; }
.dat-dept-tab:hover { background: rgba(79,200,255,0.04); }
.dat-dept-tab .n {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--site-text-3);
}
.dat-dept-tab .t { font-size: 12px; color: var(--site-text-1); line-height: 1.25; }
.dat-dept-tab.on { background: rgba(79,200,255,0.08); }
.dat-dept-tab.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--site-cyan);
}
.dat-dept-tab.on .t { color: #fff; }
.dat-dept-tab.on .n { color: var(--site-cyan); }

.dat-dept-stage { padding: 24px 28px 20px; }
.dat-dept-stage-bar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--site-text-3); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--site-line);
}
.dat-dept-stage-bar .l { display: inline-flex; align-items: center; gap: 8px; color: var(--site-mint); }
.dat-dept-stage-bar .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--site-mint);
  box-shadow: 0 0 8px var(--site-mint);
  animation: dat-pulse 1.4s ease-in-out infinite;
}
.dat-dept-stage-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 20px;
}
@media (max-width: 900px) { .dat-dept-stage-grid { grid-template-columns: 1fr; } }
.dat-dept-stage-main { display: flex; flex-direction: column; gap: 16px; }
.dat-dept-stage-title {
  font-family: var(--font-display); font-size: 30px; color: #fff;
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.1;
  animation: dat-fade-in 500ms ease-out;
}
.dat-dept-stage-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--site-line); background: rgba(0,0,0,0.25);
}
@media (max-width: 720px) { .dat-dept-stage-stats { grid-template-columns: repeat(2, 1fr); } }
.dat-dept-stat {
  padding: 14px 16px; border-right: 1px solid var(--site-line);
  animation: dat-fade-in 600ms ease-out backwards;
}
.dat-dept-stat.ds-0 { animation-delay: 0ms; }
.dat-dept-stat.ds-1 { animation-delay: 80ms; }
.dat-dept-stat.ds-2 { animation-delay: 160ms; }
.dat-dept-stat.ds-3 { animation-delay: 240ms; }
.dat-dept-stat:last-child { border-right: 0; }
.dat-dept-stat-l {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em;
  color: var(--site-text-3); text-transform: uppercase; margin-bottom: 6px;
}
.dat-dept-stat-v {
  font-family: var(--font-display); font-size: 22px; color: var(--site-cyan);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1;
}
.dat-dept-stat.ds-1 .dat-dept-stat-v { color: var(--site-mint); }
.dat-dept-stat.ds-3 .dat-dept-stat-v { color: #FFB44D; }
.dat-dept-spark {
  width: 100%; height: 60px; border: 1px solid var(--site-line);
  background: rgba(0,0,0,0.3);
}
.dat-dept-stage-side {
  border: 1px solid var(--site-line); padding: 16px 18px;
  background: rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 12px;
}
.dat-dept-side-h {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--site-text-3);
}
.dat-dept-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.dat-dept-side-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--site-text-1);
}
.dat-dept-side-list li .d {
  width: 6px; height: 6px; background: var(--site-cyan);
  box-shadow: 0 0 6px var(--site-cyan);
  flex-shrink: 0;
}
.dat-dept-side-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--site-line);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px;
  font-family: var(--font-mono); font-size: 10.5px;
}
.dat-dept-side-foot .k { color: var(--site-text-3); letter-spacing: 0.1em; }
.dat-dept-side-foot .v { color: var(--site-text-1); text-align: right; }
.dat-dept-stage-prog {
  display: flex; gap: 4px; margin-top: 18px; justify-content: center;
}
.dat-dept-stage-prog span {
  width: 22px; height: 2px; background: rgba(255,255,255,0.12);
  transition: background 300ms;
}
.dat-dept-stage-prog span.on { background: var(--site-cyan); }


/* ============================================================
   Section 08 · Integrations — plain-English flow
============================================================ */
.dat-hub-v2 .aa-cv-head { text-align: center; }
.dat-hub-v2 .aa-cv-head .aa-cv-kicker { max-width: 640px; margin-left: auto; margin-right: auto; }
.dat-hub-flow {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(340px, 1fr); gap: 24px;
  align-items: stretch; margin-top: 36px;
}
.dat-hub-col { min-width: 0; }
.dat-hub-out-card { min-width: 0; }
@media (max-width: 900px) { .dat-hub-flow { grid-template-columns: 1fr; } }
.dat-hub-col-h {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--site-text-3); margin-bottom: 12px;
}
.dat-hub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.dat-hub-src {
  border: 1px solid var(--site-line); padding: 12px 14px;
  background: linear-gradient(180deg, rgba(15,21,48,0.55), rgba(3,5,10,0.5));
  display: grid; grid-template-columns: 28px 1fr; row-gap: 2px; column-gap: 10px;
  align-items: center;
}
.dat-hub-src-i {
  grid-row: 1 / span 2; font-size: 18px; align-self: center;
}
.dat-hub-src-l { font-size: 13px; color: #fff; font-weight: 500; }
.dat-hub-src-e {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em;
  color: var(--site-text-3); line-height: 1.3;
}
.dat-hub-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-width: 160px;
}
.dat-hub-arrow-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(79,200,255,0), var(--site-cyan), rgba(94,255,164,0));
  position: relative;
}
.dat-hub-arrow-line::after {
  content: '›'; position: absolute; right: -2px; top: -14px;
  color: var(--site-mint); font-size: 22px;
}
.dat-hub-arrow-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--site-cyan); text-align: center;
}
@media (max-width: 900px) {
  .dat-hub-arrow { min-width: 0; padding: 8px 0; }
  .dat-hub-arrow-line { width: 1px; height: 32px; background: linear-gradient(180deg, rgba(79,200,255,0), var(--site-cyan), rgba(94,255,164,0)); }
  .dat-hub-arrow-line::after { content: '↓'; right: -8px; top: auto; bottom: -10px; }
}
.dat-hub-out-card {
  border: 1px solid rgba(94,255,164,0.35);
  background: linear-gradient(180deg, rgba(94,255,164,0.06), rgba(3,5,10,0.5));
  padding: 22px 22px; height: 100%;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 0 24px rgba(94,255,164,0.08) inset;
}
.dat-hub-out-i { font-size: 26px; }
.dat-hub-out-l { font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.dat-hub-out-e { font-size: 13px; line-height: 1.5; color: var(--site-text-2); }
.dat-hub-out-list {
  list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 7px;
  border-top: 1px solid rgba(94,255,164,0.2); padding-top: 12px;
}
.dat-hub-out-list li {
  display: grid; grid-template-columns: 8px 1fr; align-items: baseline; gap: 10px;
  font-size: 13px; line-height: 1.45; color: var(--site-text-1);
  min-width: 0; white-space: normal;
}
.dat-hub-out-list li > span:first-child {
  width: 6px; height: 6px; background: var(--site-mint); border-radius: 50%;
  box-shadow: 0 0 6px var(--site-mint); flex-shrink: 0; align-self: center;
  display: inline-block;
}
