/* National Breast Cancer Foundation design system: base.
   The site's own Avenir Next Pro files, served from this site; reset; body
   defaults; type roles as classes; the page shell. */

@font-face { font-family: "Avenir Next Pro"; src: url("/assets/fonts/avenir-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Pro"; src: url("/assets/fonts/avenir-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Pro"; src: url("/assets/fonts/avenir-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Pro"; src: url("/assets/fonts/avenir-700.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--size-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

a { color: var(--color-accent); text-decoration: none; transition: color var(--duration) var(--ease), background-color var(--duration) var(--ease), border-color var(--duration) var(--ease); }
a:hover { color: var(--color-ink); }

/* Focus: the live site shows none; added so keyboard users can see where they are. */
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--color-focus-on-dark); }

/* Type roles */
.t-display { font-size: var(--size-display); font-weight: var(--weight-black); line-height: var(--leading-display); }
.t-h2 { font-size: var(--size-h2); font-weight: var(--weight-semibold); line-height: var(--leading-heading); }
.t-h3 { font-size: var(--size-h3); font-weight: var(--weight-semibold); line-height: var(--leading-heading-loose); }
.t-h4 { font-size: var(--size-h4); font-weight: var(--weight-semibold); line-height: var(--leading-heading-loose); }
.t-lead { font-size: var(--size-lead); font-weight: var(--weight-regular); line-height: var(--leading-lead); }
.t-body { font-size: var(--size-body); line-height: var(--leading-body); }
.t-label { font-size: var(--size-label); font-weight: var(--weight-semibold); text-transform: uppercase; letter-spacing: var(--tracking-label); line-height: 1; }
.t-fine { font-size: var(--size-fine); line-height: 1.6; }

/* Page shell */
.wrapper { width: 90%; max-width: var(--container); margin: 0 auto; }
.wrapper--mid { max-width: var(--container-mid); }
.wrapper--narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--color-paper); color: var(--color-ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); }
.skip-link:focus { top: var(--space-4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 747px) {
  .wrapper { width: auto; margin: 0 20px; }
}

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