html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
                 Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: var(--primary-1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;  
    background-color: #FFFFFF;
  }

  p {
    font-size: 16px;
    line-height: 26px;
  }
  
  a {
      text-decoration: none;
      cursor: pointer;
      color: inherit;
  }
  
  :root {
      --primary-1: #212121;
      --primary-2: #919191;
      --primary-3: #636666;
      --primary-4: #e5e5e5;
      --primary-5: #dde1f1;
      --primary-6: #e37943;
      --primary-7: #4272b4;
      --primary-8: #5c7fbc;
      --primary-9: #748fc5;
      --primary-10: #8ca0cf;
      --primary-11: #a5b4da;
      --primary-12: #c0cae5;
  }

/* Page load animations */

.nav-pill{
  animation: navFadeDown 0.8s ease-out both;
}

.hero-content{
  animation: heroFadeLeft 0.9s ease-out 0.2s both;
}

.hero-image{
  animation: heroFadeRight 0.9s ease-out 0.2s both;
}

@keyframes navFadeDown{
  from{
    opacity: 0;
    transform: translateX(-50%) translateY(-24px);
  }
  to{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroFadeLeft{
  from{
    opacity: 0;
    transform: translateX(-40px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeRight{
  from{
    opacity: 0;
    transform: translateX(40px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  .nav-pill,
  .hero-content,
  .hero-image{
    animation: none;
  }
}


/* Navbar layout */
  
  /* Shadow when scrolling */
  
  .nav-pill.nav-scrolled{
    box-shadow: 0px 4px 20px 0px var(--primary-5);
  }
  
  .nav-pill{
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 4px 20px 0px var(--primary-5);
  
    width: min(1320px, calc(100% - 40px));
    background: #fff;
    border-radius: 999px;
    padding: 8px;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  
    z-index: 1000;
    transition: box-shadow 0.25s ease;
  }
  
  /* Left group (logo + links) */
  
  .nav-logo{
    display: flex;
    align-items: center;
    padding-left: 15px;
  }
  
  .logo-primary{
    width: 105px;
    height: auto;
    display: block;
    padding-top: 4px;
  }
  
  .nav-link-wrapper{
    display: flex;
    align-items: center;
    gap: 40px;          /* spacing between items */
    padding-left: 6px;
  }
  
  /* Keep your divider as its own “link” but style it like a separator */
  .nav-link:first-child{
    margin: 0;          /* override your margins */
  }
  
  .Nav-Seperation{
    margin: 0;
    line-height: 1;
    transform: translateY(1px);
    color: var(--primary-7);
  }
  
  /* Links */
  
  .nav-link{
    margin: 0;          /* remove the big margins you had */
    display: flex;
    align-items: center;
  }
  
  .nav-link a{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }
  
  .link-text{
    margin: 0;
    line-height: 1;
    color: var(--primary-1);
    font-weight: 500;

    transition: color 0.25s ease, color 0.25s ease;
  }
  
  /* Right group (buttons) */
  
  .nav-button-wrapper{
    margin-left: auto; 
    display: flex;
    align-items: center;
  }
  
  .nav-buttons{
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .login-button,
  .button-secondary,
  .button-primary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px 13px 32px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease;
  }
  
  .login-button{
    background: transparent; 
    color: var(--primary-1);
  }
  
  .button-secondary{
    background-color: var(--primary-5);
    color: var(--primary-7);
  }

  .button-primary{
    background-color: var(--primary-7);
    color: #FFFFFF;
  }
  
  /* Hover state */
  .nav-link a:hover .link-text,
  .login-button:hover{
    color: var(--primary-7);
  }

  .button-secondary:hover{
    background-color: var(--primary-12);
  }

  .button-primary:hover{
    background-color: var(--primary-8);
  }

  /* Mobile menu (hidden on desktop) */
.nav-burger{
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
  
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
  }
  
  .nav-burger span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-1);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  /* Dropdown panel */
  .nav-mobile{
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
  
    width: min(320px, calc(100vw - 40px));
    background: #fff;
    border-radius: 18px;
    padding: 14px;
  
    box-shadow: 0px 10px 30px rgba(0,0,0,0.10);
  }
  
  .nav-mobile-link{
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    color: var(--primary-1);
    font-weight: 600;
  }
  
  .nav-mobile-link:hover{
    background: var(--primary-5);
  }
  
  .nav-mobile-actions{
    display: flex;
    gap: 10px;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  
  /* Open state */
  .nav-pill.is-open .nav-mobile{
    display: block;
  }
  
  .nav-pill.is-open .nav-burger span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .nav-pill.is-open .nav-burger span:nth-child(2){
    opacity: 0;
  }
  .nav-pill.is-open .nav-burger span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Mobile breakpoint */
  @media (max-width: 900px){
    .nav-link-wrapper,
    .nav-button-wrapper{
      display: none;
    }
  
    .nav-burger{
      display: inline-flex;
    }
  
    /* reduce left padding on logo so it centers nicely */
    .nav-logo{
      padding-left: 10px;
    }
  }
  
  /* Hero */
  
  .hero-wrapper{
    background: #DDE1F1;
    background: linear-gradient(0deg,rgba(221, 225, 241, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 75%, rgba(221, 225, 241, 1) 100%);
    width: 100%;
  }

  /* HERO SECTION */

.hero{
    padding: 110px 40px 90px 40px;
}

.hero-container{
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

/* LEFT SIDE */

.hero-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 60px;
    padding-top: 30px;
}

/* Heading spacing */

.hero-title{
    margin: 0;
    font-weight: 700;
    font-size: 60px;
    line-height: 68px;
}

/* Paragraph spacing */

.hero-description{
    margin: 0;
}

/* Buttons */

.hero-buttons{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* RIGHT SIDE */

.hero-image{
    max-width: 500px;
    justify-self: center;  
}

.hero-image img{
    width: 100%;
    height: auto;
    display: block;
}

/* RESPONSIVE */

@media (max-width: 900px){

    .hero-container{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image{
        order: -1;
        display: none;
    }

    .hero-title {
        font-size: 45px;
        line-height: 55px;
    }

    .hero{
        padding: 120px 40px 80px 40px;
    }

}

/* Stats */

.stats{
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: stretch;
    padding: 90px 20px;
    flex-wrap: wrap;
  }
  
  .stat-card{
    width: min(400px, 100%);
    max-width: 420px;
    min-height: 240px;
  
    border: 2px solid var(--primary-7);
    border-radius: 25px;
  
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
  
    padding: 32px 40px;
    background: #fff;
    box-sizing: border-box;
    transition: background-color 0.25s ease, color 0.25s ease;
  }

  .stat-card:hover{
    background-color: var(--primary-5);
  }
  
  .stat-value{
    color: var(--primary-7);
    font-weight: 800;
    font-size: 60px;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
  }
  
  .stat-label{
    color: var(--primary-1);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
  }

  /* Uses your existing tokens:
   --primary-1, --primary-5, --primary-7, etc. */

/* Card wrapper */
.feature-card{
    padding: 0px 40px 90px 40px;
    display: flex;
    justify-content: center;
  }
  
  .feature-card-inner{
    width: min(1300px, 100%);
    background: var(--primary-5);
    border-radius: 18px;
    padding: 40px 25px 40px 25px;
    box-sizing: border-box;
  }
  
  /* Hide radios but keep them accessible */
  .feature-tab-input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  /* Tabs pill */
  .feature-tabs{
    width: min(520px, 100%);
    margin: 0px auto 0px auto;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    background: #fff;
    border-radius: 999px;
    padding: 8px;
    gap: 6px;
    box-sizing: border-box;
  }
  
  .feature-tab{
    text-align: center;
    padding: 12px 24px;
    border-radius: 999px;
  
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  
    color: var(--primary-1);
    cursor: pointer;
    user-select: none;

    transition: background-color 0.25s ease, color 0.25s ease;
  }
  
  /* Active tab styling (based on checked radio) */
  #tab-health:checked ~ .feature-card-inner .feature-tabs label[for="tab-health"],
  #tab-research:checked ~ .feature-card-inner .feature-tabs label[for="tab-research"],
  #tab-returns:checked ~ .feature-card-inner .feature-tabs label[for="tab-returns"]{
    background: var(--primary-5);
  }
  
  /* Panels layout */
  .feature-panels{
    position: relative;
  }
  
  .feature-panel{
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  
    align-items: center;
    padding: 60px 60px 60px 60px;
  }
  
  /* Show panel based on checked radio */
  #tab-health:checked ~ .feature-card-inner .feature-panel[data-panel="health"],
  #tab-research:checked ~ .feature-card-inner .feature-panel[data-panel="research"],
  #tab-returns:checked ~ .feature-card-inner .feature-panel[data-panel="returns"]{
    display: grid;
  }
  
  /* Left content */
  .feature-content{
    padding: 18px 6px 18px 6px;
    max-width: 500px;
  }
  
  .feature-title{
    margin: 0 0 14px 0;
    font-size: 45px;
    line-height: 55px;
    font-weight: 700;
    color: var(--primary-1);
  }
  
  .feature-desc{
    margin: 30px 0 30px 0;
    color: var(--primary-1);
    font-weight: 500;
    max-width: 500px;
  }
  
  
  /* Right illustration: keep bottom aligned */
  .feature-illustration{
    display: flex;
    align-items: flex-end;    
    padding: 10px 0 0 0;
  }
  
  .feature-media{
    width: 100%;
    height: 250px;
    padding-top: 40px;
    display: flex;
    align-items: flex-end;   /* ← pushes image to bottom */
    justify-content: center;
  }

  .feature-media img,
    .feature-media svg{
    width: 100%;
    height: auto;
    display: block;
    }
  
  /* Responsive */
  @media (max-width: 900px){
    .feature-card{
      padding: 20px;
    }
  
    .feature-card-inner{
      padding: 18px;
    }
  
    .feature-panel{
      grid-template-columns: 1fr;
      padding: 20px;
    }
  
    .feature-illustration{
      display: none;
    }
  
    .feature-media{
      width: 360px;
      height: 170px;
    }
  
    .feature-tabs{
      width: 100%;
    }
  
    .feature-tab{
      font-size: 13px;
      padding: 10px 10px;
    }
  }

  /* Banner above footer */

  .footer-banner{
    background: var(--primary-5);
    padding: 14px 40px;
  }
  
  .footer-banner-inner{
    width: min(1200px, 100%);
    margin: 0 auto;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  
  .footer-banner-title{
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--primary-1);
  }
  
  /* Reuse your .button-primary, just tweak sizing for this banner */
  .footer-banner-cta.button-primary{
    padding: 14px 26px;
    font-size: 16px;
    gap: 10px;
  }
  
  /* Footer */
  .site-footer{
    background: var(--primary-7);
    color: #fff;
    padding: 80px 40px 120px 40px;
  }
  
  .site-footer a{
    color: #fff;
  }
  
  .site-footer-inner{
    width: min(1200px, 100%);
    margin: 0 auto;
  }
  
  .footer-top{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  
  .footer-logo{
    width: 130px;
    height: auto;
    display: block;
  }
  
  .footer-tagline{
    margin: 40px 0 0 0;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
  }
  
  .footer-heading{
    margin: 0 0 40px 0;
    font-size: 22px;
    font-weight: 700;
  }
  
  .footer-links{
    list-style: disc;
    padding-left: 18px;
    margin: 0;
    display: grid;
    gap: 14px;
  }
  
  .footer-links a{
    color: rgba(255,255,255,0.92);
  }
  
  .footer-links a:hover{
    color: #fff;
    text-decoration: underline;
  }
  
  .footer-divider{
    border: 0;
    height: 2px;
    background: rgba(255,255,255,0.55);
    margin: 80px 0px 40px 0px;
  }
  
  .footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
  }
  
  .footer-copy{
    margin: 0;
    color: rgba(255,255,255,0.9);
  }
  
  .footer-locale{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
  }
  
  .footer-flag{
    font-size: 22px;
    line-height: 1;
  }
  
  /* Responsive */
  @media (max-width: 900px){
    .footer-banner{
      padding: 22px 20px;
    }
  
    .footer-banner-inner{
      flex-direction: column;
      align-items: flex-start;
    }
  
    .footer-banner-title{
      font-size: 28px;
    }
  
    .site-footer{
      padding: 55px 20px 40px 20px;
    }
  
    .footer-top{
      grid-template-columns: 1fr;
      gap: 36px;
    }
  
    .footer-bottom{
      flex-direction: column;
      align-items: flex-start;
    }
  }