/* Global Standards - Typography, Spacing, & Colors */
:root {
  /* Colors */
  --primary: #1a2e89;
  --primary-dark: #1a308b;
  --primary-light: #233a91;
  --secondary: #1e4fb5;
  --accent: #1b66c9;
  --accent-light: #b0d4ff;
  --light: #ffffff;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
  --text-gradient: linear-gradient(90deg, var(--primary), var(--secondary));

  /* === UNIFIED TYPOGRAPHY SCALE === */
  /* All font sizes use these variables ONLY */
  --type-h1: clamp(2.4rem, 5vw, 3.5rem);
  --type-h2: clamp(2rem, 4vw, 2.8rem);
  --type-h3: 1.4rem;
  --type-h4: 1.2rem;
  --type-h5: 1rem;
  --type-h6: 0.95rem;
  --type-body: clamp(0.95rem, 2vw, 1.05rem);
  --type-subhead: clamp(1rem, 2.5vw, 1.15rem);
  --type-button: clamp(0.9rem, 2.2vw, 1rem);
  --type-label: 0.95rem;

  /* === UNIFIED SPACING === */
  /* Single vertical spacing token for ALL sections */
  --section-space-y: clamp(4rem, 8vw, 6rem);
  
  /* Container System */
  --header-height: 80px;
  --container-max-width: 1200px;
  --container-padding: clamp(16px, 4vw, 32px);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  font-family: "Noto Sans", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for Firefox */
html {
  scrollbar-width: none;
}

/* Standard Typography Application */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-display: swap;
}

h1 {
  font-size: var(--type-h1);
}

h2 {
  font-size: var(--type-h2);
}

h3 {
  font-size: var(--type-h3);
}

h4 {
  font-size: var(--type-h4);
}

h5 {
  font-size: var(--type-h5);
}

h6 {
  font-size: var(--type-h6);
}

p {
  margin-bottom: 1rem;
  font-size: var(--type-body);
  color: var(--gray);
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* Utility Classes */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Spacing Wrapper */
section {
  padding-top: var(--section-space-y);
  padding-bottom: var(--section-space-y);
}

/* Mobile Responsive - Clamp handles this automatically */
/* No need to override breakpoints - clamp() adapts smoothly */

@media (max-width: 768px) {
  /* Clamp values already account for smaller screens */
  body {
    font-size: var(--type-body);
  }
}

@media (max-width: 480px) {
  /* Clamp values automatically adjust */
  body {
    font-size: var(--type-body);
  }
}