/* ==========================================================================
   Stock Atlas Analytics — hero (marketing site only)
   --------------------------------------------------------------------------
   Mirrors the Collection Tiles hero: brand lockup + copy + waitlist on the
   left, an auto-cycling mock analytics dashboard on the right (built by
   /assets/demo/atlas-hero.js). Self-contained — this page doesn't load
   tiles-hero.css, so the two-column hero + lockup are defined here too.
   ========================================================================== */

/* ---- Two-column hero ----------------------------------------------------- */
.hero__inner--atlas {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__inner--atlas h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }

/* Dashboard is illustrative — never intercept clicks or get announced. */
.hero__showcase { pointer-events: none; }

@media (max-width: 900px) {
  .hero__inner--atlas { grid-template-columns: 1fr; }
  .hero__showcase { margin-top: 24px; }
}

/* ---- Brand lockup (mark + two-tone "Stock Atlas") ------------------------ */
.atlas-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.atlas-lockup__mark {
  width: 64px;
  height: auto;
  flex: none;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(8, 14, 32, .35);
}
.atlas-lockup__word {
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.atlas-lockup__a { color: #fff; }
.atlas-lockup__b {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 480px) { .atlas-lockup__mark { width: 54px; } }

/* ---- Waitlist block ------------------------------------------------------ */
.atlas-notify { margin-top: 30px; max-width: 480px; }
.atlas-notify .waitlist { margin: 18px 0 0; }  /* left-align (override centred default) */
.atlas-notify__alt { margin: 16px 0 0; }

/* ==========================================================================
   Mock analytics dashboard card
   ========================================================================== */
.atlas-dash__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 20px 18px;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

/* Header: title + time-range segmented control */
.atlas-dash__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.atlas-dash__title { margin: 0; font-size: 1.02rem; color: var(--ink); }

/* Segmented controls (range + category) — auto-driven, look interactive */
.atlas-seg { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.atlas-seg--cat { width: 100%; }
.atlas-seg__btn {
  font: inherit; font-size: .82rem; font-weight: 600; padding: 6px 12px; border: 0;
  background: #fff; color: var(--text-soft); border-right: 1px solid var(--border);
  transition: background .35s ease, color .35s ease; white-space: nowrap;
}
.atlas-seg--cat .atlas-seg__btn { flex: 1; text-align: center; }
.atlas-seg__btn:last-child { border-right: 0; }
.atlas-seg__btn.is-active { background: var(--accent); color: #fff; }

/* Stat cards */
.atlas-dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.atlas-dash__stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 13px; }
.atlas-dash__stat-label { font-size: .74rem; color: var(--text-soft); margin-bottom: 5px; white-space: nowrap; }
.atlas-dash__stat-value {
  font-size: 1.45rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.05;
}

/* Chart */
.atlas-dash__chart-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 8px; }
.atlas-dash__chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.atlas-dash__chart-head h4 { margin: 0; font-size: .9rem; color: var(--ink); }
.atlas-dash__legend { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-soft); }
.atlas-dash__legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); display: inline-block; }
.atlas-dash__chart { width: 100%; height: auto; display: block; }
.atlas-dash__chart .grid-line { stroke: var(--border); stroke-width: 1; }
.atlas-dash__chart .axis-label { fill: var(--text-faint); font-size: 11px; }
.atlas-dash__chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }

@media (max-width: 380px) {
  .atlas-dash__stat-value { font-size: 1.25rem; }
  .atlas-dash__stat { padding: 10px; }
}
