/**
 * Noruzzaman Design System Tokens
 * Architecture: Modern High-Scale Systems & Core Engineer
 * Colorway: Deep Pine Teal (#227F79) & Soft Ice Mint Canvas (#F0FAF6)
 * Typography: Geist (Sans) & Geist Mono (Monospace)
 * Version: 1.0.2
 */

/* 1. Self-hosted Variable Font Definitions */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-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: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-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 {
  /* Surfaces & Canvas */
  --surface: #f0faf6;
  --surface-deep: #e2f1ea;
  --surface-well: #e6f3ed;
  --surface-card: #ffffff;
  --surface-dark: #0e0f13;

  /* Typography Colors */
  --fg: #111c19;
  --fg-muted: #364b47;
  --fg-muted-line: #5b6c6a;
  --fg-muted-on-dark: #9aa1ae;
  --fg-on-dark-soft: #c3c8d1;
  --fg-ghost: #879693;
  --fg-ghost-on-dark: #575d69;
  --fg-inverse: #ffffff;

  /* Borders & Controls */
  --border: rgba(11, 63, 59, 0.10);
  --border-control: #227f79;
  --border-focus: #1a6a65;

  /* Accents & Brand Actions */
  --accent: #227f79;
  --accent-hover: #1a6a65;
  --accent-soft: #0f5f5a;
  --accent-subtle: #d6efea;
  --accent-gradient: linear-gradient(135deg, #227f79, #0b5f5a);
  --accent-rgb: 34, 127, 121;

  /* Status & Semantic Colors */
  --success: #0f7a44;
  --success-subtle: #dcfce7;
  --warning: #9d6507;
  --warning-subtle: #fef3c7;
  --expired: #c33a34;
  --expired-subtle: #fee2e2;

  /* Typography Stacks */
  --font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --body-weight: 400;

  /* Font Sizing & Scale */
  --text-micro: 12px;
  --text-xs: 13px;
  --text-sm: 14px;
  --h1-size: clamp(34px, 24.34px + 2.476vw, 60px);
  --track-caps: 0.08em;
  --track-tight: -0.022em;

  /* Radii & Organic Inked Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 63, 59, 0.06);
  --shadow-card: 0 2px 4px rgba(11, 63, 59, 0.04), 0 12px 32px rgba(11, 63, 59, 0.08);
  --shadow-paper: 0 10px 26px rgba(11, 63, 59, 0.10);
  --shadow-modal: 0 30px 90px rgba(11, 63, 59, 0.18);
  --shadow-dropdown: 0 24px 60px -20px rgba(11, 63, 59, 0.16);

  /* Layout Spacing */
  --gutter: clamp(20px, 5vw, 72px);
  --gutter-wide: clamp(24px, 6.667vw, 96px);
  --page-max: 1440px;
  --header-h: 77px;
  --hero-overlap: clamp(60px, 50px + 2vw, 100px);
}

@media (max-width: 767.98px) {
  :root {
    --header-h: 58px;
  }
}
