/* ============================================================================
   US Retirement Life — tokens + self-hosted faces (usrl-theme)
   Loaded first; main.css reads the --color-* / --font-size-* bridge below,
   usrl.css reads the --tp-* tokens.
   ========================================================================= */

/* --- Faces: Epilogue (display, variable 400–800) and Merriweather (text,
       variable 300–900, + italic). latin + latin-ext, downloaded from Google
       Fonts css2 2026-10-07. ------------------------------------------------ */
@font-face {
    font-family: 'Epilogue';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/epilogue-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Epilogue';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/epilogue-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/merriweather-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/merriweather-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/merriweather-italic-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/merriweather-italic-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: light;
    /* --- Palette "Golden hour" (1.1.0, 2026-10-07: the user wants the site to feel like the
       golden years, not a benefits office; the pine palette of 1.0.x is retired).
       WCAG: terracotta #A8431C on cream 5.84 · on tint 5.40 · white on terracotta 6.03
       ink #2B1E16 on gold 9.0 · meta #5E4A3C on cream 8.07 · on tint 7.46
       Gold #F4B740 is a FILL only (timeline suns, the line, number badges), never text. */
    --tp-paper:      #FFFBF3;   /* page ground: warm cream */
    --tp-tint:       #FFF1D6;   /* milestone panels, archive band, newsletter, boxes */
    --tp-soft:       #FFF7E8;   /* related band, footer ground */
    --tp-rule:       #EBDDC4;   /* hairlines */
    --tp-rule-ink:   #2B1E16;
    --tp-ink:        #2B1E16;
    --tp-meta:       #5E4A3C;
    --tp-brick:      #A8431C;   /* the one hue (token name kept from the fork): terracotta links, buttons */
    --tp-brick-dark: #86330F;
    --tp-on-brick:   #FFFFFF;
    --tp-gold:       #F4B740;   /* sun fills only */
    --tp-on-gold:    #2B1E16;

    /* --- Type ---------------------------------------------------------------- */
    --tp-display: 'Epilogue', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --tp-text:    'Merriweather', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
    --tp-size-body: clamp(1.0625rem, 1.03rem + 0.2vw, 1.15rem);   /* 17–18.4px: Merriweather sets large */
    --tp-lh-body:   1.75;
    --tp-lh-head:   1.14;
    --tp-title: clamp(2rem, 1.55rem + 1.5vw, 2.75rem);   /* article + archive H1, capped 44px */
    --tp-h2:    clamp(1.5rem, 1.32rem + 0.7vw, 1.95rem);
    --tp-h3:    clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);

    /* --- Shape & metrics ------------------------------------------------------ */
    --tp-radius:    8px;
    --tp-page-max:  1280px;
    --tp-sidebar:   304px;
    --tp-side-gap:  3rem;
    --tp-gutter:    clamp(1rem, 3vw, 2rem);

    /* --- Bridge to main.css (do not restyle main.css) ------------------------- */
    --font-size-body-min: 1.0625rem;
    --font-size-body-max: 1.15rem;
    --font-size-body-fluid: calc(1.03rem + 0.2vw);
    --font-size-h1-min: 2rem;
    --font-size-h1-max: 2.75rem;
    --font-size-h1-fluid: calc(1.55rem + 1.5vw);
    --font-size-h2-min: 1.5rem;
    --font-size-h2-max: 1.95rem;
    --font-size-h2-fluid: calc(1.32rem + 0.7vw);
    --font-size-h3-min: 1.3rem;
    --font-size-h3-max: 1.55rem;
    --font-size-h3-fluid: calc(1.18rem + 0.45vw);
    --font-size-h4-min: 1.15rem;
    --font-size-h4-max: 1.3rem;
    --font-size-h4-fluid: calc(1.08rem + 0.3vw);
    --font-size-h5-min: 1.0625rem;
    --font-size-h5-max: 1.125rem;
    --font-size-h5-fluid: calc(1rem + 0.2vw);
    --font-size-h6-min: 1rem;
    --font-size-h6-max: 1.0625rem;
    --font-size-h6-fluid: calc(0.96rem + 0.12vw);
    --line-height-body: 1.75;
    --line-height-heading: 1.12;
    --color-primary: #A8431C;
    --color-primary-hover: #86330F;
    --color-heading: #2B1E16;
    --color-accent: #A8431C;
    --color-text-dark: #2B1E16;
    --color-text-medium: #5E4A3C;
    --color-text-light: #5E4A3C;
    --color-background: #FFFBF3;
    --color-background-light: #FFF1D6;
    --color-background-tint: #FFF1D6;
    --color-border: #EBDDC4;
    --color-border-soft: #EBDDC4;
    --color-footer-bg: #FFF7E8;
    --color-error: #B42318;
    --color-warning: #8A5A00;
    --font-family-display: 'Epilogue', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-family-body: 'Merriweather', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
    --font-family: 'Merriweather', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 8px;
    --border-radius: 8px;
    --border-radius-lg: 8px;
    --content-max: 760px;
    --page-max: 1280px;
    --color-border-light: #EBDDC4;
    --color-footer-border: #EBDDC4;
    --color-footer-text: #2B1E16;
    --color-copyright: #5E4A3C;
    --color-facebook: #2B1E16; --color-facebook-hover: #A8431C;
    --color-twitter: #2B1E16; --color-twitter-hover: #A8431C;
    --color-pinterest: #2B1E16; --color-pinterest-hover: #A8431C;
    --color-linkedin: #2B1E16; --color-linkedin-hover: #A8431C;
    --color-error-bg: #F9E3E0; --color-error-text: #8A1C12;
    --color-warning-bg: #F6EBD2; --color-warning-text: #6B4600;
    --font-primary: 'Merriweather', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
    --font-heading: 'Epilogue', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
