/* ═══════════════════════════════════════════
   WV TYPOGRAPHY — Global type classes  (v7)
   ═══════════════════════════════════════════

   Authoritative source: Woodstock Vitamins Website Style Guide
   Designer sign-off: April 2026

   Additive system — does not replace existing component-specific
   heading styles. New page templates should use these classes
   instead of defining one-off heading styles per component.

   All values derived from wv-tokens.css variables.
   Do not hardcode font values — always use token variables.
   Do not modify without updating the style guide page first.

   Font families:
   --wv-font-primary  General Grotesque — Light 300, Regular 400, Demi 600, Bold 700
   --wv-font-mono     General Grotesque Mono — Regular 400, Demi 500
   --wv-font-serif    Office Times Round — Regular 400

   All classes: line-height 1, letter-spacing -0.03em

   CHANGELOG
   ─────────
   v7 — 2026-06-04: Pass 2 of responsive type refactor. No change in
        this file — Pass 2 lives entirely at the token layer in
        wv-tokens.css (mobile baseline in :root, tablet and desktop
        overrides in two @media blocks). Ten tokens locked, nine scale.
        Class rules continue to read font-size from var(--wv-fs-*),
        so they pick up the responsive values automatically.
   v6 — 2026-06-04: Pass 1 of responsive type refactor. All font-size
        declarations now reference --wv-fs-* tokens defined in
        wv-tokens.css. Values unchanged (current = desktop tier).
        Pass 2 will add mobile/tablet @media overrides in wv-tokens.css
        at the token layer, leaving these class rules untouched.
   v5 — 2026-04-23: Added .wv-h-serif-lg (Office Times Round 80px with
        1px outside stroke, accent color). Used for oversized brand
        display headings (Comparison Table "Woodstock").
   v4 — 2026-04-16: Added .wv-prose content class for body copy lists,
        links, and paragraph spacing
   v3 — 2026-04-15: Body classes line-height 1 → 1.5 (WCAG 1.4.12)
   v2 — 2026-04-15: Added .wv-h-serif-sm (Office Times Round 36px)
   v1 — Initial frozen layer
   ═══════════════════════════════════════════ */


/* ════════════════════════════════
   HEADINGS
   ════════════════════════════════ */

/* ── .wv-h1 — Page titles ──
   General Grotesque Light 300, 70px
   Used for: hero headings, major page titles
*/
.wv-h1 {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: var(--wv-fs-h1);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h2 — Section headings ──
   General Grotesque Regular 400, 40px
*/
.wv-h2 {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-h2);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h3 — Subsection / card headings ──
   General Grotesque Light 300, 40px
*/
.wv-h3 {
  font-family: var(--wv-font-primary);
  font-weight: 300;
  font-size: var(--wv-fs-h3);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h4 — Product / feature headings ──
   General Grotesque Bold 700, 50px
   Used for: product names, large bold callouts
*/
.wv-h4 {
  font-family: var(--wv-font-primary);
  font-weight: 700;
  font-size: var(--wv-fs-h4);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h5 — Paragraph / section headings ──
   General Grotesque Regular 400, 24px
   Used for: policy body sections, paragraph-level headings
*/
.wv-h5 {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-h5);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h6 — Small headings / compact labels ──
   General Grotesque Demi 600, 16px
   Used for: tab labels, policy section headings, contact block titles
*/
.wv-h6 {
  font-family: var(--wv-font-primary);
  font-weight: 600;
  font-size: var(--wv-fs-h6);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h-serif — Serif display heading ──
   Office Times Round Regular 400, 55px
   Used for: quiz card, large display contexts
*/
.wv-h-serif {
  font-family: var(--wv-font-serif);
  font-weight: 400;
  font-size: var(--wv-fs-h-serif);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h-serif-lg — Large serif display heading ──
   Office Times Round Regular 400, 80px
   With 1px outside text stroke in the same color.
   Used for: oversized display headings on brand-led sections
   (Comparison Table "Woodstock" highlight).
*/
.wv-h-serif-lg {
  font-family: var(--wv-font-serif);
  font-weight: 400;
  font-size: var(--wv-fs-h-serif-lg);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-accent);
  -webkit-text-stroke: 1px var(--wv-color-accent);
  margin: 0;
}

/* ── .wv-h-quiz — Quiz card heading ──
   Office Times Round Regular 400, 48px
*/
.wv-h-quiz {
  font-family: var(--wv-font-serif);
  font-weight: 400;
  font-size: var(--wv-fs-h-quiz);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-h-serif-sm — Small serif heading ──
   Office Times Round Regular 400, 36px
   Used for: blockquotes, smaller serif display contexts
*/
.wv-h-serif-sm {
  font-family: var(--wv-font-serif);
  font-weight: 400;
  font-size: var(--wv-fs-h-serif-sm);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}


/* ════════════════════════════════
   BODY
   ════════════════════════════════ */

/* ── .wv-body-lg — Lead / intro paragraph ──
   General Grotesque Regular 400, 18px
   Used for: hero subheadlines, section intro copy
*/
.wv-body-lg {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-body-lg);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

/* ── .wv-body — Standard body text ──
   General Grotesque Regular 400, 14px
   Used for: paragraph text, descriptions, policies, form help text
*/
.wv-body {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-body);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

/* ── .wv-body-bold — Emphasized body text ──
   General Grotesque Demi 600, 18px
   Used for: inline emphasis, callout text within body copy
*/
.wv-body-bold {
  font-family: var(--wv-font-primary);
  font-weight: 600;
  font-size: var(--wv-fs-body-bold);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

/* ── .wv-body-sm — Small supporting text ──
   General Grotesque Regular 400, 12px
   Used for: captions, disclaimers, small notes
*/
.wv-body-sm {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-body-sm);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-secondary);
  margin: 0;
}


/* ════════════════════════════════
   LABELS
   ════════════════════════════════ */

/* ── .wv-label-reg — UI labels ──
   General Grotesque Regular 400, 12px uppercase
   Used for: status pills, table headers, trust bar, badges
   .wv-label is obsolete but kept as backwards-compatible alias
*/
.wv-label-reg,
.wv-label {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-label-reg);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

/* ── .wv-label-small — TOC / sidebar links (default) ──
   General Grotesque Mono Regular 400, 12px
   Used for: TOC default links, sidebar nav items
*/
.wv-label-small {
  font-family: var(--wv-font-mono);
  font-weight: 400;
  font-size: var(--wv-fs-label-small);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-secondary);
  margin: 0;
}

/* ── .wv-label-small--active — TOC / sidebar active link ──
   Same as .wv-label-small + underline
*/
.wv-label-small--active {
  font-family: var(--wv-font-mono);
  font-weight: 400;
  font-size: var(--wv-fs-label-small);
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: underline;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-label-nav — Navigation labels ──
   General Grotesque Demi 600, 15px
   Used for: "On This Page", breadcrumbs, page nav headers
*/
.wv-label-nav {
  font-family: var(--wv-font-primary);
  font-weight: 600;
  font-size: var(--wv-fs-label-nav);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-label-btn — Button labels ──
   General Grotesque Regular 400, 15px uppercase
   Used for: Add to Cart, primary CTAs, nav button text
   Note: uses --wv-font-primary not --wv-font-mono
*/
.wv-label-btn {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-label-btn);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--wv-color-text-primary);
  margin: 0;
}

/* ── .wv-label-legal — FDA disclaimer and legal text ──
   General Grotesque Regular 400, 11px
   IMPORTANT: font-weight MUST be 700 (bold) when used for FDA disclaimer
   per FDA 21 CFR 101.93(e). This class defines the base — apply
   font-weight: 700 on the element for the FDA statement specifically.
*/
.wv-label-legal {
  font-family: var(--wv-font-primary);
  font-weight: 400;
  font-size: var(--wv-fs-label-legal);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--wv-color-text-secondary);
  margin: 0;
}


/* ════════════════════════════════
   PROSE — Body copy wrapper
   ════════════════════════════════ */

/* ── .wv-prose — Body copy wrapper ──
   Applied to any container with editor-generated or
   long-form body copy: articles, policies, shipping,
   support, account pages.
   Handles: paragraphs, lists, links, horizontal rules.
   Do not use for navigation lists or UI components.
*/
.wv-prose p {
  margin: 0 0 20px;
}
.wv-prose p:last-child {
  margin-bottom: 0;
}

.wv-prose ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.wv-prose ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.7;
}
.wv-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wv-color-accent);
  flex-shrink: 0;
}

.wv-prose ol {
  list-style: decimal;
  margin: 0 0 20px;
  padding-left: 20px;
}
.wv-prose ol li {
  padding-left: 6px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.wv-prose li:last-child {
  margin-bottom: 0;
}

/* Nested lists */
.wv-prose ul ul,
.wv-prose ol ol,
.wv-prose ul ol,
.wv-prose ol ul {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 16px;
}

.wv-prose a {
  color: var(--wv-color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--wv-transition-fast);
}
.wv-prose a:hover {
  color: var(--wv-color-atc-hover);
}

.wv-prose strong,
.wv-prose b {
  font-weight: 600;
  color: var(--wv-color-text-primary);
}

.wv-prose hr {
  border: none;
  border-top: 1px solid var(--wv-color-border);
  margin: 36px 0;
}
