/* =========================================================================
   NIGHTDESK THEME TOKENS & TYPOGRAPHY
   ========================================================================= */

/* Font Definitions */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../fonts/poppins-500.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../fonts/poppins-600.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../fonts/inter-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../fonts/inter-500.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Typography Variables */
  --nd-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette — Warm Light Theme */
  --nd-bg: #FFFFFF;
  --nd-bg-raised: #FAF8F6;
  --nd-text: #1A1614;
  --nd-muted: #6B625C;
  --nd-border: #E8E3DE;
  --nd-accent: #C2521B;
  --nd-accent-ink: #FFFFFF;
  --nd-accent-soft: #FBF0E9;
  --nd-danger: #A32D2D;
  --nd-danger-bd: #E8BFBF;
  --nd-danger-strong: #C05B5B;
  --nd-caution: #8A6100;
  --nd-warn: #B35309;
  --nd-placeholder: #F2EEEA;
  --nd-shadow: rgba(26, 22, 20, 0.06);
}

/* Base Body & UI Typography */
body {
  font-family: var(--nd-font-body);
}

/* Headings & Editorial Titles */
h1,
h2,
h3,
.nd-hero-title,
.nd-single-title,
.nd-arch-title,
.nd-legal-title,
.nd-legal-section-title,
.nd-pageintro-title,
.nd-latest-title,
.nd-catgrid-title,
.nd-picks-title,
.nd-write-title,
.nd-contrib-title,
.nd-news-title,
.nd-cover-title,
.nd-std-title,
.nd-cta-title,
.nd-contact-title,
.nd-sub-title,
.nd-catdir-title,
.nd-cstats-title,
.nd-cdir-title,
.nd-guide-title,
.nd-faq-title,
.nd-edlist-title,
.nd-auth-title,
.nd-hero-card-title,
.nd-latest-card-title,
.nd-arch-card-title,
.nd-picks-feature-title,
.nd-catgrid-card-title,
.nd-catdir-card-title,
.nd-single-body h2,
.nd-single-body h3 {
  font-family: var(--nd-font-heading);
}

/* UI Elements and Sub-item Cards Explicitly on Body Font */
.nd-guide-item-title,
.nd-std-item-title,
.nd-write-step-title,
.nd-sub-gate-title,
label,
button,
input,
select,
textarea {
  font-family: var(--nd-font-body);
}

/* Tabular Numerals for Stat Blocks & Aligned Numbers */
.nd-hero-stat-value,
.nd-pageintro-stat-value,
.nd-cstats-value,
.nd-dash-stat-value,
.nd-catgrid-card-count,
.nd-catdir-card-count,
.nd-sub-wordcount,
.nd-sub-counter,
.nd-arch-pag a,
.nd-arch-pag span,
.nd-acct-pagination a,
.nd-acct-pagination span,
.nd-404-code {
  font-variant-numeric: tabular-nums;
}

