/* Smart Select Marketing — Base theme overlay (PR1)
   Loads AFTER Bootstrap. Keep this file minimal — component restyling lives in later PRs. */

body {
  background-color: var(--ssm-canvas);
  color: var(--ssm-ink-900);
  font-family: var(--ssm-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings — keep Bootstrap's sizing, just adjust typeface and tracking */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ssm-font-sans);
  color: var(--ssm-ink-900);
  letter-spacing: 0;
}

/* Tabular numerals everywhere numbers appear */
table, .table, td, th,
.num, [class*="num-"] {
  font-variant-numeric: tabular-nums;
}

/* Plain links use the brand color; component links own their own colors. */
a:not([class]) {
  color: var(--ssm-brand-600);
}
a:not([class]):hover {
  color: var(--ssm-brand-700);
}

/* Focus ring — accessibility */
:focus-visible {
  outline: 2px solid var(--ssm-brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.ssm-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 0.6rem 0.85rem;
  border-radius: var(--ssm-radius-ctrl);
  background: var(--ssm-brand-700);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--ssm-shadow-pop);
  transition: transform 0.16s ease;
}

.ssm-skip-link:focus,
.ssm-skip-link:focus-visible {
  transform: translateY(0);
  color: #fff;
}
