/* ═══════════════════════════════════════════════════════════════════════════
   NEW COMPONENTS — Option 03 "Quiet Confidence"
   Introduced when the raster assets were replaced with live markup.
   Load after styles.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Inline icons ─────────────────────────────────────────────────────── */
.ico {
  display: inline-block;
  vertical-align: middle;
  flex: none;
  color: currentColor;
}

.ico-step {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

/* ── Theme toggle ─────────────────────────────────────────────────────── */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--card-hi);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* ── Hero stats ───────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0 0;
  padding: 0;
}

.hero-stats > div {
  min-width: 6.5rem;
}

.hero-stats dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.3rem;
}

.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

/* ── Feature cards ────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.15rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--elev-1);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.feature-ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-2);
  margin-bottom: 1rem;
}

.feature-ico--primary {
  background: var(--primary-muted);
  color: var(--primary);
}
.feature-ico--warning {
  background: var(--warning-muted);
  color: var(--warning);
}
.feature-ico--accent {
  background: var(--accent-muted);
  color: var(--accent);
}

/* ── SVG diagram labels ───────────────────────────────────────────────── */
.fd-t {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  fill: var(--text);
}

.fd-s {
  font-family: var(--font-body);
  font-size: 12.5px;
  fill: var(--muted);
}

.how-diagram svg,
.team-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.how-diagram {
  margin: 2.75rem 0 0;
}

/* ── CTA band ─────────────────────────────────────────────────────────────
   Replaces the raster store-feature-graphic. Deliberately typographic: the
   design document uses type and callouts to carry weight, never a logo slab.
   No <img> here, which also sidesteps the legacy `.demo-banner img
   { width: 100% }` rule that used to inflate any icon to full width.       */
.cta-band {
  margin: 0 0 var(--s-8);
  padding: var(--s-9) var(--s-6);
  text-align: center;
  border-radius: var(--r-4);
  border: 1px solid var(--primary);
  background:
    radial-gradient(ellipse 70% 120% at 15% 0%, rgb(var(--primary-rgb) / 0.14), transparent 62%),
    var(--primary-muted);
}

.cta-band-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.cta-band-line {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: -0.026em;
  color: var(--text);
}

.cta-band-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.cta-band-flow em {
  font-style: normal;
  color: var(--border-strong);
}

/* .lv-field lives in mockups.css — it must use the `N * var(--u)` form. */

/* ── Pill ─────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  background: var(--primary-muted);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ── Live mockups sit where <img> used to, so give them room ──────────── */
.purpose-phones,
.showcase-rail {
  align-items: start;
}

.phone-row {
  align-items: stretch;
}

/* Monospace team code, one step up */
.lv-mono--lg {
  font-size: calc(14 * var(--u));
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-stats {
    gap: 1.4rem;
  }
  .hero-stats dd {
    font-size: 1.6rem;
  }
}