/* The Aging Rule — Prime Chapter Design Tokens & Self-Hosted Fonts */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-normal-400-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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-normal-400-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: 'Noto Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-sans-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: 'Noto Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-sans-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: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-sans-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: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-sans-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 {
  --tar-cobalt: #1E466E;
  --tar-cobalt-dark: #173655;
  --tar-midnight: #122B45;
  --tar-marigold: #F0AD28;
  --tar-marigold-hover: #CE9422;
  --tar-marigold-ink: #111827;
  --tar-on-dark-accent: #F0AD28;

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

  --tar-font-display: 'Plus Jakarta Sans', sans-serif;
  --tar-font-body: 'Noto Sans', sans-serif;

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

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

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