/* Minimal shared base for the HM2/SQ2 static specimens. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--brand-section-text, #2d2438);
  background: var(--brand-section-base, #fff);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-accent, #695695); text-decoration: none; }
a:hover { color: var(--brand-accent-hover, #552a7a); }
:focus-visible { outline: 2px solid var(--brand-header-focus-ring, var(--brand-accent, #695695)); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.2;
}
code, pre { font-family: 'JetBrains Mono', SFMono-Regular, Consolas, monospace; }

/* Small Bootstrap-independent geometry fallback. */
.container { width: 100%; margin-right: auto; margin-left: auto; padding-right: .75rem; padding-left: .75rem; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--site-gutter-y, 0));
  margin-right: calc(-.5 * var(--site-gutter-x, 1.5rem));
  margin-left: calc(-.5 * var(--site-gutter-x, 1.5rem));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--site-gutter-x, 1.5rem) * .5);
  padding-left: calc(var(--site-gutter-x, 1.5rem) * .5);
  margin-top: var(--site-gutter-y, 0);
}
.gy-5 { --site-gutter-y: 3rem; }
.col-6 { flex: 0 0 auto; width: 50%; }
@media (min-width: 768px) { .col-md-4 { flex: 0 0 auto; width: 33.333333%; } }
@media (min-width: 992px) {
  .col-12 { flex: 0 0 auto; width: 100%; }
  .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
}

.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-start { justify-content: flex-start !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: .5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.list-unstyled { padding-left: 0; list-style: none; }

.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.navbar > .container { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }
.navbar-brand { padding-top: .3125rem; padding-bottom: .3125rem; margin-right: 1rem; font-size: 1.25rem; white-space: nowrap; }
.navbar-toggler { padding: .25rem .75rem; font-size: 1.25rem; line-height: 1; background: transparent; border: 1px solid rgba(0,0,0,.15); border-radius: .375rem; }
.navbar-toggler-icon { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: middle; background: center / 100% 100% no-repeat; background-image: linear-gradient(var(--brand-header-link, #4b5563), var(--brand-header-link, #4b5563)), linear-gradient(var(--brand-header-link, #4b5563), var(--brand-header-link, #4b5563)), linear-gradient(var(--brand-header-link, #4b5563), var(--brand-header-link, #4b5563)); background-size: 100% 2px, 100% 2px, 100% 2px; background-position: center top, center, center bottom; }
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin-top: 0; margin-bottom: 0; list-style: none; }
.navbar-nav .nav-link { display: block; padding: .5rem 1rem; }
.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
.collapse:not(.show) { display: none; }
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler { display: none; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
}

.badge { display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; line-height: 1; border-radius: .375rem; }
.bg-success { color: #fff; background: #198754; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
