/* Retirement Place USA — Sunlit Charter Design Tokens & Self-Hosted Fonts */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-600-800-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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-600-800-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: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-italic-400-700-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: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-italic-400-700-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: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-normal-400-700-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: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-hyperlegible-next-normal-400-700-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 {
  --rpu-cobalt: #B8430E;
  --rpu-cobalt-dark: #8F340A;
  --rpu-midnight: #142438;
  --rpu-marigold: #1D3557;
  --rpu-marigold-hover: #182D4A;
  --rpu-marigold-ink: #FFFFFF;
  --rpu-on-dark-accent: #F4C430;

  --rpu-bg: #FFFFFF;
  --rpu-surface: #F6F8FB;
  --rpu-tint: #EEF4FA;
  --rpu-ink: #111827;
  --rpu-body: #243042;
  --rpu-muted: #4B5563;
  --rpu-subtle: #64748B;
  --rpu-rule: #DCE3EC;
  --rpu-rule-strong: #C5D0DF;

  --rpu-font-display: 'Bricolage Grotesque', sans-serif;
  --rpu-font-body: 'Atkinson Hyperlegible Next', sans-serif;

  --rpu-body-size: clamp(1.0625rem, 1.02rem + 0.22vw, 1.15625rem);
  --rpu-h1-size: clamp(2rem, 1.45rem + 2.1vw, 2.75rem);
  --rpu-h2-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --rpu-h3-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);

  --rpu-max: 1240px;
  --rpu-reading: 760px;
  --rpu-sidebar: 312px;
  --rpu-gutter: clamp(16px, 3vw, 32px);
  --rpu-r-sm: 4px;
  --rpu-r-md: 8px;
  --rpu-r-lg: 12px;

  --color-primary: var(--rpu-cobalt);
  --color-primary-hover: var(--rpu-cobalt-dark);
  --color-heading: var(--rpu-ink);
  --color-accent: var(--rpu-marigold);
  --color-text-dark: var(--rpu-ink);
  --color-text-medium: var(--rpu-muted);
  --color-text-light: var(--rpu-subtle);
  --color-background: var(--rpu-bg);
  --color-background-light: var(--rpu-surface);
  --color-border: var(--rpu-rule);
  --color-footer-bg: var(--rpu-midnight);
}
