/* Operation Atlas — cross-sell network band.
 * Self-contained + themeable. Each host page sets --an-accent (and optionally
 * --an-surface / --an-ink / --an-muted) on the .atlas-network element so the band
 * matches that Territory's palette. No dependency on the host site's CSS. */

.atlas-network {
  --an-accent: #6366F1;
  --an-surface: #0f172a;
  --an-card: #1e293b;
  --an-ink: #f8fafc;
  --an-muted: #94a3b8;
  --an-line: rgba(148, 163, 184, .18);
  font-family: inherit;
  background: var(--an-surface);
  color: var(--an-ink);
  padding: 64px 20px;
}
.atlas-network * { box-sizing: border-box; }
.atlas-network .an-wrap { max-width: 1080px; margin: 0 auto; }
.atlas-network .an-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--an-accent); margin-bottom: 18px;
}
.atlas-network .an-eyebrow::before { content: "◆"; font-size: .65rem; }
.atlas-network .an-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: var(--an-card);
  border: 1px solid var(--an-line);
  border-radius: 18px; padding: 36px 38px;
}
.atlas-network h2 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
.atlas-network .an-copy p { color: var(--an-muted); font-size: 1.02rem; line-height: 1.6; margin: 0 0 22px; }
.atlas-network .an-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--an-accent); color: #fff; text-decoration: none; font-weight: 700;
  padding: 13px 24px; border-radius: 10px; font-size: .98rem;
  transition: transform .15s ease, filter .15s ease;
}
.atlas-network .an-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.atlas-network .an-incentive { margin-top: 14px; font-size: .85rem; color: var(--an-muted); }
.atlas-network .an-incentive b { color: var(--an-ink); }

/* the 4-node network map showing where this product sits in the chain */
.atlas-network .an-chain { display: flex; flex-direction: column; gap: 10px; }
.atlas-network .an-node {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--an-line); background: rgba(255, 255, 255, .02);
}
.atlas-network .an-node .an-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto;
  background: var(--node, var(--an-muted));
}
.atlas-network .an-node .an-name { font-weight: 700; font-size: .95rem; }
.atlas-network .an-node .an-role { color: var(--an-muted); font-size: .8rem; }
.atlas-network .an-node.is-here {
  border-color: var(--an-accent);
  box-shadow: 0 0 0 1px var(--an-accent) inset;
}
.atlas-network .an-node.is-here .an-here-tag {
  margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--an-accent);
}
.atlas-network .an-arrow { text-align: center; color: var(--an-muted); font-size: .8rem; line-height: 0; }

/* footer network strip — the four Territories, linked */
.atlas-strip {
  --an-accent: #6366F1; --an-muted: #94a3b8; --an-line: rgba(148, 163, 184, .18);
  font-family: inherit;
  border-top: 1px solid var(--an-line);
  margin-top: 28px; padding-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-size: .85rem; color: var(--an-muted);
}
.atlas-strip .as-label { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: var(--an-accent); }
.atlas-strip a { color: inherit; text-decoration: none; opacity: .9; }
.atlas-strip a:hover { opacity: 1; text-decoration: underline; }
.atlas-strip .as-sep { opacity: .4; }

@media (max-width: 760px) {
  .atlas-network .an-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .atlas-network h2 { font-size: 1.4rem; }
}
