/* National Breast Cancer Foundation design system: tokens.
   Measured from the capture of nationalbreastcancer.org (computed colors and
   the site's own stylesheet), then named as roles. Nothing here is invented:
   every value below appears on the live home page. */

:root {
  /* Color. Measured: the computed text, fill and border colors of the home.
     Decided: names by role, not by hue. Ratios are against the surface named. */

  /* Brand reds and berries */
  --color-hero: #d3395d;          /* hero band fill */
  --color-accent: #d2395c;        /* links, hovers; 4.6:1 on paper */
  --color-accent-bright: #ff6185; /* filled Donate button; white text on it 2.9:1 (live value, kept) */
  --color-accent-deep: #b3304f;   /* outline-on-red button hover */
  --color-berry: #72324a;         /* footer, HOPE Kits button, quote stat; white on it 9.6:1 */
  --color-blush: #ffbecf;         /* button outlines, footer headings; 7.9:1 on berry */
  --color-blush-tint: rgba(255, 190, 207, 0.1); /* soft circles behind feature icons */
  --color-blush-line: rgba(255, 190, 207, 0.2); /* footer dividers on phones */

  /* Ink and paper */
  --color-ink: #46363b;           /* all body text and headings; 11.6:1 on paper */
  --color-paper: #ffffff;
  --color-paper-pink: #fff8fa;    /* ratings band */
  --color-paper-gray: #ebe5e5;    /* progress statistic band; ink on it 9.2:1 */
  --color-on-dark: #ffffff;
  --color-on-dark-muted: rgba(255, 255, 255, 0.6); /* footer small print; 4.6:1 on berry */
  --color-shadow-soft: rgba(0, 0, 0, 0.06); /* badge card bottom edge */

  /* Question card tones (from the live carousel) */
  --color-card-slate: #606968;
  --color-card-stone: #9b9d9c;
  --color-card-mist: #c4c4c4;
  --color-card-hover: #5f6565;

  /* Focus. Decided: the capture shows no focus ring; ink ring on light, white on dark. */
  --color-focus: #46363b;
  --color-focus-on-dark: #ffffff;
}

:root {
  /* Type. Measured: Avenir Next Pro everywhere (the site's own files, weights
     400, 500, 600, 700; the hero headline asks for 800 and the browser draws the 700).
     Decided: roles named by use; desktop values are the measured 1440 sizes. */
  --font-sans: "Avenir Next Pro", Helvetica, Arial, sans-serif;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  --size-display: 72px;      /* hero headline, closing call to action */
  --size-h2: 52px;           /* section headings */
  --size-h2-brand: 52px;     /* "Trusted by" heading */
  --size-h3: 42px;           /* section heading, smaller */
  --size-section: 42px;      /* feature trio heading */
  --size-lead: 42px;         /* mission line and progress statistic */
  --size-quote: 32px;        /* testimonial */
  --size-h4: 26px;           /* card titles */
  --size-body: 20px;         /* body copy and buttons */
  --size-nav: 17px;          /* header links */
  --size-label: 15px;        /* eyebrows, footer links */
  --size-small: 16px;        /* quote attribution role */
  --size-fine: 14px;         /* footer small print */
  --size-sup: 34px;          /* the registered mark after the headline */

  --leading-display: 1;      /* 72 on 72 */
  --leading-heading: 1.1;
  --leading-h2-brand: 1.15;
  --leading-heading-loose: 1.2;
  --leading-lead: 1.6;       /* 42 on 67.2 */
  --leading-body: 1.6;       /* 20 on 32 */
  --leading-card: 1.4;
  --leading-label: 1.4;

  --tracking-label: 1px;     /* eyebrows */
  --tracking-footer-head: 1.5px;

  /* Spacing. Measured from the stylesheet (it sets a 10 px root and spaces in rem). */
  --space-1: 5px;
  --space-2: 10px;
  --space-3: 15px;
  --space-4: 20px;
  --space-5: 30px;
  --space-6: 40px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 100px;
  --space-11: 120px;

  /* Containers. Measured: .wrapper 90% up to 1190 px; narrower reading columns. */
  --container: 1190px;
  --container-hero: 1296px;
  --container-mid: 980px;
  --container-narrow: 780px;
  --gutter: 5%;

  /* Radii. Measured: pill buttons 42 px, cards 5 px, round icon buttons. */
  --radius-pill: 42px;
  --radius-card: 5px;
  --radius-badge: 8px;
  --radius-round: 50%;

  /* Elevation */
  --shadow-badge: 0 4px 0 0 var(--color-shadow-soft);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.1);

  /* Motion. Measured: links and buttons ease over .4 s. */
  --ease: ease-in-out;
  --duration: 0.4s;

  /* Header height, measured 99 px at both widths */
  --header-height: 99px;
}

/* Phone values, measured at 390. */
@media (max-width: 747px) {
  :root {
    --size-display: 43px;
    --size-h2: 32px;
    --size-h2-brand: 41.6px;
    --size-h3: 28px;
    --size-section: 33.6px;
    --size-lead: 28px;
    --size-quote: 25.6px;
    --size-h4: 24px;
    --size-body: 19px;
    --size-nav: 17px;
    --leading-h2-brand: 1.15;
  }
}
