:root {
    /* Logo Primary Colors */
    --color-primary: #56ABAE; /* Light Teal from logo */
    --color-primary-dark: #335C64; /* Dark Teal from logo */
    
    /* Additional Logo Colors */
    --color-secondary: #56ABAE; /* Secondary teal from logo */
    --color-tertiary: #335C64; /* Dark teal from logo */
    
    /* Complementary Colors (derived from logo) */
    --color-complementary: #AE5659; /* Complementary to teal */
    --color-accent: #E6A156; /* Warm accent */
    
    /* Neutral Colors - Enhanced for accessibility */
    --color-dark: #1A2C2F; /* Darker version of the dark teal with increased contrast */
    --color-light: #F2F9FA; /* Lighter teal tint */
    --color-gray: #5A6D71; /* Muted teal gray with improved contrast */
    
    /* Accessibility Colors */
    --color-focus: #2563EB; /* Focus outline color */
    --color-error: #DC2626; /* Error message color */
    
    /* Gradient Variables */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-complementary));
    --gradient-accent: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-subtle: linear-gradient(135deg, rgba(86, 171, 174, 0.05), rgba(51, 92, 100, 0.05));
    
    /* Rhythm and Proportion Variables (based on golden ratio) */
    --base-unit: 1rem; /* 16px base */
    --ratio: 1.618; /* Golden ratio */
    
    /* Vertical Rhythm Spacing */
    --space-xs: calc(var(--base-unit) / var(--ratio)); /* ~0.618rem */
    --space-sm: var(--base-unit); /* 1rem */
    --space-md: calc(var(--base-unit) * var(--ratio)); /* ~1.618rem */
    --space-lg: calc(var(--space-md) * var(--ratio)); /* ~2.618rem */
    --space-xl: calc(var(--space-lg) * var(--ratio)); /* ~4.236rem */
    --space-xxl: calc(var(--space-xl) * var(--ratio)); /* ~6.854rem */
    
    /* Typography Scale (based on golden ratio) */
    --text-xs: calc(var(--base-unit) / var(--ratio)); /* ~0.618rem */
    --text-sm: calc(var(--base-unit) * 0.875); /* 0.875rem */
    --text-base: var(--base-unit); /* 1rem */
    --text-md: calc(var(--base-unit) * var(--ratio)); /* ~1.618rem */
    --text-lg: calc(var(--text-md) * var(--ratio)); /* ~2.618rem */
    --text-xl: calc(var(--text-lg) * var(--ratio)); /* ~4.236rem */
    --text-xxl: calc(var(--text-xl) * var(--ratio)); /* ~6.854rem */

    --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 4px 6px -2px rgba(0, 0, 0, 0.05);

  }


  html {
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    font-size: 100%; /* Ensures 1rem = 16px */
    line-height: var(--ratio); /* Golden ratio for line height (1.618) */
  }

  html,
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: var(--color-dark);
    background: var(--gradient-subtle), var(--color-light);
    background-attachment: fixed;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* Base typography with vertical rhythm */
  h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--space-md);
    line-height: 1.2;
  }
  
  h1 { font-size: var(--text-xl); }
  h2 { font-size: var(--text-lg); }
  h3 { font-size: var(--text-md); }
  h4 { font-size: calc(var(--text-base) * 1.25); }
  h5 { font-size: var(--text-base); }
  h6 { font-size: var(--text-sm); }
  
  p, ul, ol, dl, table {
    margin-top: 0;
    margin-bottom: var(--space-md);
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
  }
  
  /* Improved focus styles for keyboard navigation */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
    border-radius: 2px;
  }

  .container {
    width: 100%;
    max-width: 1200px; /* 75rem - maintains golden ratio with content max-width */
    margin: 0 auto;
    padding: 0 var(--space-md);
  }

  .btn {
    display: inline-block;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
  }
  
  /* Make buttons keyboard accessible */
  .btn:focus {
    outline: none;
  }
  
  .btn:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
  }

  .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .btn-primary:hover::before {
    opacity: 1;
  }

  .btn-outline {
    background-color: transparent;
    border: 2px solid transparent;
    position: relative;
    color: var(--color-primary);
    background-clip: padding-box;
    z-index: 1;
  }

  .btn-outline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    z-index: -1;
    border-radius: 0.5rem;
  }

  .btn-outline:hover {
    background-image: var(--gradient-primary);
    color: white;
    border-color: transparent;
  }
  
  /* Skip link for keyboard navigation */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary-dark);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
  }
  
  .skip-link:focus {
    top: 0;
    outline: none;
  }
  
  /* Utility classes for screen readers */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  
  /* For animation control, provides a no-animation option for vestibular disorders */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }