/* ==========================================================================
   1. GLOBAL ARCHITECTURE, SYSTEM TOKENS & RESET
   ========================================================================== */
:root {
  /* Typography System Baseline */
  --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --line-height-base: 1.6;
  --line-height-heading: 1.2;

  /* Semantic Color Palette (Strict 60-30-10 Architecture) */
  --color-bg-main: #f8fafc;       /* 60% Dominant Muted off-white */
  --color-bg-surface: #ffffff;    /* Surface card backgrounds */
  --color-text-primary: #0f172a;  /* 30% Structural deep ink text */
  --color-text-secondary: #475569;/* Secondary context labels */
  --color-accent: #0284c7;        /* 10% Sky Blue Focal point */
  --color-accent-hover: #0369a1;  /* Interactive hover state */
  --color-border: #e2e8f0;        /* Low-weight dividers */

  /* Design Token Scalings (8px Grid Baseline) */
  --space-xs: 0.5rem;  /* 8px */
  --space-sm: 1rem;    /* 16px */
  --space-md: 1.5rem;  /* 24px */
  --space-lg: 3rem;    /* 48px */
  --max-width: 1200px;
  
  /* Geometric Profiles */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1) 250ms;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. HIGH-FIDELITY FLUID TYPOGRAPHY
   ========================================================================== */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: var(--line-height-heading);
  font-weight: 800;
  color: #1E3A8A; /* Deep Navy to preserve corporate brand identity */
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

/* ==========================================================================
   3. REUSABLE DRY LAYOUT COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color var(--transition-smooth), transform var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background-color: #1E3A8A;
  color: white;
}

.btn-primary:hover {
  background-color: #152960;
}