/* =========================================================================
   Component — the map of the SIDES NEO MCP, and the band that carries it
   -------------------------------------------------------------------------
   The KI-Apps page's hero (U-2286) and the home page's teaser band under its
   hero draw the same map: an inline SVG, so its words are the page's words in
   each tree and its colours are tokens. It sits on the dark ground in both
   themes. No literal colour; every value comes from tokens.css.
   ========================================================================= */

.ai-map {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
}

.ai-map .bond {
  fill: none;
  stroke: var(--brand-mint);
  stroke-opacity: .35;
  stroke-width: 1.6;
}

.ai-map .bond-hot {
  stroke-opacity: 1;
  stroke-dasharray: 6 6;
}

.ai-map .glow {
  fill: var(--brand-mint);
  fill-opacity: .12;
}

.ai-map .node {
  fill: var(--hero-ground);
  stroke: var(--brand-mint);
  stroke-opacity: .55;
  stroke-width: 1.6;
}

.ai-map .core {
  fill: var(--brand-mint);
}

.ai-map .app {
  fill: var(--brand-on-dark);
}

.ai-map text {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  fill: var(--hero-ink-lead);
}

.ai-map .core-t {
  font-size: 13px;
  font-weight: 700;
  fill: var(--brand-mint-ink);
}

.ai-map .app-t {
  font-weight: 700;
  fill: var(--brand-mint-ink);
}

.ai-map .sub {
  font-size: 10px;
  font-weight: 400;
  fill: var(--hero-ink-quiet);
}

.ai-map .app-sub {
  fill: var(--brand-mint-ink);
}

/* ---- The teaser band on the home page ---------------------------------- *
 * Dark in both themes like the hero above it, the copy beside the map from
 * 1024 px, the map under the copy below. */
/* The section that holds it ends at the band: the next section's own top
   padding is the gap, as on the canvas. Three classes, because the marketing
   sheet's `:is(.marketing-page, .splash-page) .section` is two and loads later. */
.splash-sections .section.ai-teaser-section {
  padding-bottom: 0;
}

.ai-teaser {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-lg);
  padding: 40px clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(420px 300px at 85% 50%, var(--hero-glow), transparent 70%),
    var(--hero-ground);
  color: var(--brand-on-dark);
}

@media (min-width: 1024px) {
  .ai-teaser {
    grid-template-columns: 1fr 420px;
  }
}

.ai-teaser-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ai-teaser p.eyebrow {
  color: var(--brand-mint);
}

.ai-teaser h2 {
  margin: 0;
  font: var(--font-display-md);
  color: var(--brand-on-dark);
}

.ai-teaser p.lede {
  color: var(--hero-ink-lead);
}

/* Paper: the band's ground is dropped, so its words take the page's ink
   (print.css restores `.on-brand`; the eyebrow and the map's card are the
   parts it cannot reach — the card's fill and its words both turn #262626). */
@media print {
  .ai-teaser p.eyebrow {
    color: var(--doc-ink);
  }

  .ai-map .app {
    fill: transparent;
    stroke: var(--doc-ink);
    stroke-width: 1;
  }
}
