/* BoldSpaces Design System v1 — production base and typography. */
@font-face {
  font-family: Newsreader;
  src: url("../fonts/newsreader-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bs-foundation-color-ivory);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bs-semantic-color-canvas);
  color: var(--bs-semantic-color-text-primary);
  font: var(--bs-type-weight-body) var(--bs-type-body-size)/var(--bs-type-body-leading) var(--bs-semantic-type-family-body);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

[hidden] {
  display: none !important;
}

img,
svg,
video {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

a {
  color: var(--bs-semantic-color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--bs-semantic-color-link-hover);
  text-decoration-thickness: 2px;
}

:where(h1, h2, h3, h4) {
  margin-block: 0;
  color: var(--bs-semantic-color-heading-primary);
  font-family: var(--bs-semantic-type-family-display);
  font-weight: var(--bs-type-weight-display);
  letter-spacing: var(--bs-type-display-tracking);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  font-size: var(--bs-semantic-type-display-1-size);
  line-height: var(--bs-semantic-type-display-1-line-height);
}

h2 {
  font-size: var(--bs-semantic-type-display-2-size);
  line-height: var(--bs-semantic-type-display-2-line-height);
}

h3 {
  font-size: var(--bs-semantic-type-heading-1-size);
  line-height: var(--bs-semantic-type-heading-1-line-height);
}

h4 {
  font-size: var(--bs-semantic-type-heading-2-size);
  line-height: var(--bs-semantic-type-heading-2-line-height);
}

:where(p, ul, ol, dl, figure, blockquote) {
  margin-block: 0;
}

:where(p, li, dd) {
  max-inline-size: var(--bs-semantic-type-body-measure);
}

:where(pre, code, samp, kbd) {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.bs-type-editorial {
  font-family: var(--bs-semantic-type-family-display);
  font-size: var(--bs-semantic-type-editorial-title-size);
  font-weight: var(--bs-type-weight-display);
  line-height: var(--bs-semantic-type-editorial-title-line-height);
  letter-spacing: var(--bs-type-display-tracking);
}

.bs-type-body-large {
  font-size: var(--bs-semantic-type-body-large-size);
  line-height: var(--bs-semantic-type-body-large-line-height);
}

.bs-type-technical {
  font-size: var(--bs-semantic-type-technical-size);
  font-weight: var(--bs-type-weight-interface);
  line-height: var(--bs-semantic-type-technical-line-height);
  letter-spacing: var(--bs-semantic-type-technical-letter-spacing);
  text-transform: uppercase;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--bs-focus-ring-width) solid var(--bs-semantic-color-focus-ring);
  outline-offset: var(--bs-focus-ring-offset);
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    border-color: ButtonText;
    outline-color: Highlight;
  }
}
