@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  input, button, textarea, select {
    font: inherit;
  }
  
  button {
    cursor: pointer;
    border: none;
    background: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul, ol {
    list-style: none;
  }
}

@layer tokens {
  :root {
    --color-primary: #1a4d2e;
    --color-primary-light: #2d6a4f;
    --color-accent: #f59e0b;
    --color-accent-light: #fbbf24;
    
    --color-bg: #fafaf9;
    --color-bg-alt: #f5f5f4;
    --color-surface: #ffffff;
    --color-surface-hover: #fefefe;
    
    --color-text: #1c1917;
    --color-text-light: #57534e;
    --color-text-muted: #78716c;
    
    --color-border: #e7e5e4;
    --color-border-light: #f5f5f4;
    
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-sm: 
      0 1px 2px rgba(0, 0, 0, 0.04),
      0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-md: 
      0 2px 4px rgba(0, 0, 0, 0.04),
      0 4px 8px rgba(0, 0, 0, 0.03),
      0 8px 16px rgba(0, 0, 0, 0.02);
    --shadow-lg: 
      0 4px 8px rgba(0, 0, 0, 0.04),
      0 8px 16px rgba(0, 0, 0, 0.03),
      0 16px 32px rgba(0, 0, 0, 0.02);
    --shadow-glow: 
      0 0 20px rgba(245, 158, 11, 0.15),
      0 0 40px rgba(245, 158, 11, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@layer layout {
  body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  section {
    padding: var(--space-2xl) 0;
  }
  
  @media (max-width: 768px) {
    section {
      padding: var(--space-xl) 0;
    }
  }
}

@layer components {
  #progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    z-index: 9999;
    transition: width 0.1s ease;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-md);
  }
  
  .logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
  }
  
  .logo:hover img {
    opacity: 0.8;
  }
  
  .main-nav {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
  }
  
  .main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
    transition: var(--transition);
    padding: var(--space-xs) 0;
  }
  
  .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
  }
  
  .main-nav a:hover,
  .main-nav a.active {
    color: var(--color-primary);
  }
  
  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 100%;
  }
  
  .mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
  }
  
  .mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  @media (max-width: 768px) {
    .mobile-toggle {
      display: flex;
    }
    
    .main-nav {
      position: fixed;
      top: 73px;
      right: -100%;
      width: 280px;
      height: calc(100vh - 73px);
      background: var(--color-surface);
      flex-direction: column;
      align-items: flex-start;
      padding: var(--space-lg);
      gap: var(--space-md);
      border-left: 1px solid var(--color-border);
      box-shadow: var(--shadow-lg);
      transition: var(--transition);
    }
    
    .main-nav.active {
      right: 0;
    }
    
    .main-nav a {
      width: 100%;
      padding: var(--space-sm) 0;
    }
  }
  
  .hero {
    background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
  }
  
  .hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
  }
  
  .hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
  }
  
  .hero-visual {
    position: relative;
  }
  
  .hero-frame {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-surface);
  }
  
  .hero-frame img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  @media (max-width: 968px) {
    .hero {
      padding: var(--space-xl) 0;
    }
    
    .hero-content {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
    
    .hero-visual {
      order: -1;
    }
  }
  
  .btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 
      var(--shadow-sm),
      0 0 0 rgba(26, 77, 46, 0.3);
  }
  
  .btn-primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 
      var(--shadow-md),
      0 4px 16px rgba(26, 77, 46, 0.2);
  }
  
  .btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
  }
  
  .btn-outline:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
  
  .section-header {
    max-width: 800px;
    margin-bottom: var(--space-xl);
  }
  
  .section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
  }
  
  .section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .intro-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .intro-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .intro-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .intro-image {
    position: relative;
  }
  
  .intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  
  @media (max-width: 968px) {
    .intro-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }
  
  .provincial-overview {
    background: var(--color-bg-alt);
  }
  
  .tabs-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  
  .tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
  }
  
  .tab-button {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--color-text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
  }
  
  .tab-button:hover {
    color: var(--color-primary);
    background: var(--color-surface-hover);
  }
  
  .tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
    background: var(--color-surface);
  }
  
  .tabs-content {
    padding: var(--space-xl);
  }
  
  .tab-panel {
    display: none;
  }
  
  .tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
  }
  
  .tab-text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .tab-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .feature-list {
    list-style: none;
    margin-top: var(--space-lg);
  }
  
  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 1rem;
    color: var(--color-text-light);
  }
  
  .feature-list i {
    color: var(--color-accent);
    margin-top: 4px;
    flex-shrink: 0;
  }
  
  .tab-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
  }
  
  @media (max-width: 968px) {
    .tabs-nav {
      flex-direction: column;
    }
    
    .tab-button {
      border-bottom: 1px solid var(--color-border);
      border-left: 2px solid transparent;
    }
    
    .tab-button.active {
      border-bottom-color: var(--color-border);
      border-left-color: var(--color-accent);
    }
    
    .tabs-content {
      padding: var(--space-lg);
    }
    
    .tab-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }
  
  .comparison-table-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .comparison-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  
  .comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
  }
  
  .comparison-table thead {
    background: var(--color-bg-alt);
    border-bottom: 2px solid var(--color-border);
  }
  
  .comparison-table th {
    padding: var(--space-md);
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.05rem;
  }
  
  .comparison-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .comparison-table tbody tr:last-child td {
    border-bottom: none;
  }
  
  .comparison-table tbody tr:hover {
    background: var(--color-bg-alt);
  }
  
  @media (max-width: 768px) {
    .comparison-table {
      font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
      padding: var(--space-sm);
    }
  }
  
  .net-metering-section {
    background: var(--color-bg-alt);
  }
  
  .net-metering-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
  }
  
  .net-metering-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .net-metering-content > p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
  }
  
  .concept-cards {
    display: grid;
    gap: var(--space-md);
  }
  
  .concept-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    transition: var(--transition);
  }
  
  .concept-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-accent);
  }
  
  .concept-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }
  
  .concept-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
  }
  
  .concept-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
  }
  
  .net-metering-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  
  @media (max-width: 968px) {
    .net-metering-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }
  
  .participation-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
  }
  
  .participation-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
  }
  
  .participation-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-accent);
  }
  
  .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 16px rgba(26, 77, 46, 0.25);
  }
  
  .participation-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .participation-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .faq-section {
    background: var(--color-bg-alt);
  }
  
  .faq-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: var(--transition);
  }
  
  .faq-item:hover {
    box-shadow: var(--shadow-sm);
  }
  
  .faq-question {
    width: 100%;
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
  }
  
  .faq-question:hover {
    color: var(--color-primary-light);
  }
  
  .faq-question i {
    transition: var(--transition);
    color: var(--color-accent);
  }
  
  .faq-item.active .faq-question i {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .faq-item.active .faq-answer {
    max-height: 1000px;
  }
  
  .faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
  }
  
  .cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.5;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.8;
    }
  }
  
  .cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
  }
  
  .cta-content p {
    font-size: 1.15rem;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
    line-height: 1.7;
  }
  
  .cta-section .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text);
  }
  
  .cta-section .btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  }
  
  .cta-section .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
  }
  
  .cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .footer-brand img {
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
  }
  
  .footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
  }
  
  .footer-links h4,
  .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: white;
  }
  
  .footer-links a {
    display: block;
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    opacity: 1;
    padding-left: var(--space-xs);
  }
  
  .footer-contact p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: var(--space-sm);
  }
  
  .footer-contact i {
    margin-right: var(--space-xs);
    color: var(--color-accent);
  }
  
  .footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
  }
  
  @media (max-width: 968px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: var(--space-lg);
    }
    
    .footer-brand {
      grid-column: 1 / -1;
    }
  }
  
  @media (max-width: 568px) {
    .footer-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .page-hero {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  
  .page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
  }
  
  .page-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .mission-section {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }
  
  .mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .mission-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .mission-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .mission-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  
  @media (max-width: 968px) {
    .mission-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }
  
  .approach-section {
    background: var(--color-bg-alt);
  }
  
  .approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
  }
  
  .approach-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
  }
  
  .approach-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-accent);
  }
  
  .approach-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: var(--space-sm);
    line-height: 1;
  }
  
  .approach-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .approach-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .research-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .research-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .research-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .research-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  
  @media (max-width: 968px) {
    .research-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  }
  
  .values-section {
    background: var(--color-bg-alt);
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
  }
  
  .value-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
  }
  
  .value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-accent);
  }
  
  .value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  }
  
  .value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .value-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .scope-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .scope-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .scope-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .scope-content > p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
  }
  
  .scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
  }
  
  .scope-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
  }
  
  .scope-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .scope-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .pathway-intro {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }
  
  .intro-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .intro-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .ontario-pathway,
  .alberta-pathway,
  .nova-scotia-pathway {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
  }
  
  .pathway-header {
    max-width: 800px;
    margin-bottom: var(--space-xl);
  }
  
  .pathway-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .pathway-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
  }
  
  .pathway-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .pathway-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .pathway-text h3:first-child {
    margin-top: 0;
  }
  
  .pathway-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .pathway-visual {
    position: sticky;
    top: calc(73px + var(--space-md));
  }
  
  .pathway-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
  }
  
  .pathway-highlights {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
  }
  
  .pathway-highlights h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .pathway-highlights ul {
    list-style: none;
  }
  
  .pathway-highlights li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
  }
  
  .pathway-highlights i {
    color: var(--color-accent);
    margin-top: 4px;
    flex-shrink: 0;
  }
  
  .pathway-details {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
  }
  
  .pathway-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .pathway-details p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .pathway-details p:last-child {
    margin-bottom: 0;
  }
  
  @media (max-width: 968px) {
    .pathway-content-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
    
    .pathway-visual {
      position: static;
    }
  }
  
  .comparison-deep-dive {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .comparison-table.detailed tbody tr {
    border-bottom: 1px solid var(--color-border-light);
  }
  
  .comparison-table.detailed tbody tr:last-child {
    border-bottom: none;
  }
  
  .considerations-section {
    background: var(--color-bg-alt);
  }
  
  .considerations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
  }
  
  .consideration-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition);
  }
  
  .consideration-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-accent);
  }
  
  .consideration-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .consideration-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
  }
  
  .terminology-intro {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }
  
  .terminology-content {
    background: var(--color-bg-alt);
  }
  
  .term-category {
    margin-bottom: var(--space-2xl);
  }
  
  .term-category:last-child {
    margin-bottom: 0;
  }
  
  .term-category h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
  }
  
  .term-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .term-item h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .term-item p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
  }
  
  .terminology-usage {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  
  .usage-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .usage-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .usage-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .contact-section {
    background: var(--color-bg-alt);
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
  }
  
  .contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .contact-info > p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
  }
  
  .contact-details {
    display: grid;
    gap: var(--space-lg);
  }
  
  .contact-detail-item {
    display: flex;
    gap: var(--space-md);
  }
  
  .detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }
  
  .detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
  }
  
  .detail-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
  }
  
  .contact-form-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
  }
  
  .contact-form {
    display: grid;
    gap: var(--space-lg);
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .form-group label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-bg);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 400;
  }
  
  .checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
  }
  
  .checkbox-label a {
    color: var(--color-accent);
    text-decoration: underline;
  }
  
  .checkbox-label a:hover {
    color: var(--color-accent-light);
  }
  
  @media (max-width: 968px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
    
    .contact-form-container {
      padding: var(--space-lg);
    }
  }
  
  .map-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
  }
  
  .map-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
  }
  
  .map-container {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  
  .map-container iframe {
    display: block;
    width: 100%;
  }
  
  .thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
  }
  
  .thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .thanks-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 8px 24px rgba(26, 77, 46, 0.3);
  }
  
  .thanks-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
  }
  
  .thanks-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }
  
  .thanks-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
  }
  
  .legal-page {
    background: var(--color-bg-alt);
    padding: var(--space-2xl) 0;
  }
  
  .legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
  }
  
  .legal-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  .legal-date {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
  }
  
  .legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
  }
  
  .legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
  }
  
  .legal-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
  }
  
  .legal-content ul {
    list-style: disc;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .legal-content li {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xs);
  }
  
  .legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
  }
  
  .legal-content a:hover {
    color: var(--color-accent-light);
  }
  
  @media (max-width: 768px) {
    .legal-content {
      padding: var(--space-lg);
    }
  }
  
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    padding: var(--space-lg);
    z-index: 9998;
    transform: translateY(100%);
    transition: var(--transition);
  }
  
  .cookie-banner.show {
    transform: translateY(0);
  }
  
  .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
  }
  
  .cookie-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    flex: 1;
  }
  
  .cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
  }
  
  .cookie-buttons .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  @media (max-width: 968px) {
    .cookie-content {
      flex-direction: column;
      align-items: stretch;
    }
    
    .cookie-buttons {
      flex-direction: column;
    }
    
    .cookie-buttons .btn {
      width: 100%;
    }
  }
  
  .cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  .cookie-modal.show {
    opacity: 1;
    pointer-events: all;
  }
  
  .cookie-modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
  }
  
  .cookie-modal.show .cookie-modal-content {
    transform: scale(1);
  }
  
  .cookie-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
  }
  
  .cookie-category {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
  }
  
  .cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
  }
  
  .cookie-category input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
  }
  
  .cookie-category input[type="checkbox"]:disabled {
    cursor: not-allowed;
  }
  
  .cookie-category p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-top: var(--space-xs);
    padding-left: calc(18px + var(--space-sm));
  }
  
  .cookie-modal-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }
  
  .cookie-modal-buttons .btn {
    flex: 1;
  }
  
  @media (max-width: 568px) {
    .cookie-modal-content {
      padding: var(--space-lg);
    }
    
    .cookie-modal-buttons {
      flex-direction: column;
    }
  }
}

@layer utilities {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .text-center {
    text-align: center;
  }
  
  .hidden {
    display: none;
  }
}