/* Design tokens and self-hosted fonts (same values as moneyfrog.in). No Google Fonts. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-normal-300-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: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-normal-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-italic-300-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: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-italic-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/instrument-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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/instrument-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+1E00-1E9F, U+2113, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-500-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-normal-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }


:root {
  --bg: #f9f8f4;
  --band: #f3efe5;
  --topbar: #eae3d9;
  --surface: #ffffff;
  --card: #fcfaf5;
  --line: #e7e2d8;
  --line-2: #ddd6c7;
  --ink: #16191d;
  --ink-2: #4c525a;
  --gold-ink: #8a6a1f;
  --muted: #838a93;          /* footer copyright only, as on moneyfrog.in */
  --gold-ink-strong: #7a5c17; /* 4.89:1 on --topbar; for small text on the top bar */
  --gold: #c29a2c;
  --gold-soft: #e3c66a;
  --btn-ink: #241b05;
  --night: #0b0f14;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 6vw, 77px);
  --wrap: 1126px;
  --radius: 12px;
  --gold-grad: linear-gradient(160deg, #e2c46b 0%, #d4b24f 45%, #c29c35 100%);
  --shadow-card: 0 1px 2px rgba(40, 30, 10, .04), 0 28px 56px -30px rgba(70, 52, 18, .32);
  --sec-pad: clamp(44px, 5.2vw, 72px); /* header/footer only */

  /* Blog layer: density tokens (type scale, spacing, radii). Header and footer do not use these. */
  --fs-body: 15px;          /* UI and listing text */
  --fs-article: 16.5px;     /* single-post body */
  --fs-small: 12px;         /* meta, dates, labels */
  --fs-excerpt: 14px;       /* card and row excerpts */
  --fs-eyebrow: 10.5px;     /* mono eyebrows */
  --fs-card: 17px;          /* list and card titles */
  --fs-pick: 15px;          /* editor's picks titles */
  --fs-featured: 22px;      /* featured story title */
  --fs-display: clamp(26px, 2.6vw, 34px);  /* archive H1 */
  --fs-h1: clamp(26px, 3vw, 36px);         /* post H1 */
  --fs-h2: clamp(20px, 2vw, 26px);         /* section headings */
  --fs-h3: 18px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 40px;
  --gap-section: 40px;
  --card-pad: 14px;
  --grid-gap: 16px;
  --radius-card: 10px;
  --fs-ui: 13px;            /* pills, chips, sort, breadcrumb, small controls */
  --fs-btn: 13.5px;
  --fs-micro: 11.5px;
  --fs-invest: 20px;        /* dark invest card lead */
  --fs-post-h2: 22px;
  --fs-quote: 19px;
  --fs-quote-sm: 18px;
  --line-3: #e2dbcd;        /* pill, search and pagination borders */
  --line-gold: #c9b98f;
  --field: #faf9f5;
  --ink-on-dark: #c9cdd2;
  --ink-on-dark-2: #aeb3ba;
}
@media (max-width: 600px) { :root { --gap-section: 28px; } }
