/* ===== Shared page styles ===== */

:root {
  --ll-teal: #0F6F86;
  --ll-teal-dark: #006366;
  --ll-teal-light: #00B8B0;
  --ll-gold: #FDAC09;
  --ll-text-dark: #2E2E2E;
  --ll-text-light: #6B7C7C;
  --ll-white: #FFFFFF;
  --ll-gray-border: #E6EAEA;
  --ll-gray-light: #F5F7F7;
}

body { background-color: #f9fbfd; }
main { background-color: #f9fbfd; }

 .ll-container {
   font-family: 'Nunito', sans-serif;
   background-color: #f9fbfd;
   color: var(--ll-text-dark);
   font-size: 18px;
   font-weight: 500;
   line-height: 1.5;
   min-height: 50vh;
   display: flex;
   justify-content: center;
   padding: 20px 20px;
   margin-bottom: 40px;
 }

 .ll-content-wrapper {
   max-width: 560px;
   width: 100%;
 }

 .ll-logo-section {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-bottom: 16px;
 }

 .ll-heart-logo {
   width: 90px;
   height: 80px;
 }

 .ll-heart-logo svg {
   width: 100%;
   height: 100%;
 }

 .ll-cta-button {
   background: var(--ll-gold);
   color: var(--ll-text-dark);
   font-family: 'Nunito', sans-serif;
   font-size: 16px;
   font-weight: 800;
   padding: 12px 45px;
   border: none;
   border-radius: 38px;
   cursor: pointer;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
   transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
   text-decoration: none;
   margin-top: 11px;
 }

 .ll-cta-button:hover {
   transform: translateY(-2px);
   box-shadow: 0 7px 14px rgba(0, 0, 0, 0.13);
   filter: brightness(1.05);
 }

 .ll-cta-button:active {
   transform: translateY(2px);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.10);
 }

 .ll-cta-section {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 16px;
 }

 .ll-error-message {
   background-color: #f9e8d9;
   border: 1px solid #ef6101;
   border-radius: 8px;
   color: #DC2626;
   font-family: 'Nunito', sans-serif;
   font-size: 14px;
   font-weight: 600;
   padding: 12px 16px;
   text-align: center;
   margin-top: 32px;
   margin-bottom: 16px;
   display: none;
 }

 .ll-error-message.visible {
   display: block;
 }

 @media (max-width: 480px) {
   .ll-container { padding: 20px 6px; }
   .ll-heart-logo { width: 75px; height: 65px; }

   .ll-pill {
     font-size: 14px;
     padding: 8px 24px;
   }

   .ll-question-title {
     font-size: 20px;
   }

   .ll-cta-button {
     font-size: 15px;
     padding: 12px 38px;
   }
 }

 /* ===== Question / form shared styles ===== */

 /* Progress Pill */
 .ll-progress-pill {
   display: flex;
   justify-content: center;
   margin-bottom: 28px;
 }

 .ll-pill {
   background: var(--ll-white);
   border: 2px solid var(--ll-gold);
   border-radius: 50px;
   padding: 10px 28px;
   font-family: 'Nunito', sans-serif;
   font-size: 16px;
   font-weight: 600;
   color: var(--ll-text-dark);
 }

 /* Question Card */
 .ll-question-card {
   background: var(--ll-white);
   border: 2px solid var(--ll-teal-light);
   border-radius: 20px;
   padding: 24px;
   box-shadow: 0 4px 20px rgba(0, 123, 127, 0.08);
 }

 .ll-question-title {
   font-family: 'Nunito', sans-serif;
   font-size: 22px;
   font-weight: 700;
   color: var(--ll-text-dark);
   text-align: center;
   line-height: 1.3;
   margin-bottom: 8px;
 }

 .ll-question-subtitle {
   font-size: 16px;
   color: var(--ll-text-dark);
   text-align: center;
   margin-bottom: 24px;
   opacity: 0.8;
 }

 /* Options */
 .ll-options-list {
   display: flex;
   flex-direction: column;
   gap: 14px;
 }

 .ll-option-item {
   display: flex;
   align-items: center;
   gap: 14px;
   cursor: pointer;
 }

 .ll-option-item input {
   display: none;
 }

 /* Radio buttons - circle with inner dot */
 .ll-radio-circle {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   border: 2.5px solid var(--ll-teal);
   background-color: var(--ll-white);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   transition: all 0.2s;
 }

 .ll-radio-circle .ll-radio-dot {
   width: 14px;
   height: 14px;
   border-radius: 50%;
   background-color: transparent;
   transition: all 0.2s;
 }

 .ll-option-item input:checked + .ll-radio-circle .ll-radio-dot {
   background-color: var(--ll-teal);
 }

 /* Checkboxes - square with checkmark */
 .ll-checkbox-square {
   width: 28px;
   height: 28px;
   border-radius: 4px;
   border: 2.5px solid var(--ll-teal);
   background-color: var(--ll-white);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   transition: all 0.2s;
 }

 .ll-option-item input:checked + .ll-checkbox-square {
   background-color: var(--ll-teal);
 }

 .ll-option-item input:checked + .ll-checkbox-square .ll-checkmark {
   display: block;
 }

 .ll-checkmark {
   display: none;
   color: white;
   font-size: 16px;
   font-weight: bold;
 }

 .ll-option-label {
   font-family: 'Nunito', sans-serif;
   font-size: 18px;
   font-weight: 500;
   color: var(--ll-text-dark);
 }

 /* Question Pills */
 .ll-question-pills {
   display: flex;
   gap: 12px;
   margin-bottom: 24px;
 }

 .ll-question-pill {
   flex: 1;
   background: var(--ll-teal-light);
   border: 2px solid transparent;
   border-radius: 12px;
   padding: 14px 12px;
   text-align: center;
   font-family: 'Nunito', sans-serif;
   font-size: 14px;
   font-weight: 600;
   color: var(--ll-text-dark);
   cursor: pointer;
   transition: all 0.2s;
 }

 .ll-question-pill:hover {
   border-color: var(--ll-teal);
 }

 /* CTA */
 .ll-cta-container {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-top: 6px;
 }

 @media (max-width: 480px) {
   .ll-cta-container {
     margin-top: 0;
   }
 }

 h1.ll-vbold,
h2.ll-vbold {
  font-weight: 700;
}

/* ===== Info page shared styles ===== */

 .ll-page-title {
   font-family: 'Nunito', sans-serif;
   font-size: 28px;
   font-weight: 800;
   color: var(--ll-teal);
   margin-top: 4px;
 }

 .ll-content {
   color: #03161d;
   font-size: 18px;
   line-height: 1.5;
   font-weight: 600;
   margin-bottom: 24px;
 }

 .ll-content p {
   margin-bottom: 18px;
 }

 .ll-content p:last-child {
   margin-bottom: 0;
 }

 .ll-intro {
   color: #03161d;
   font-size: 18px;
   line-height: 1.5;
   font-weight: 600;
   margin-bottom: 20px;
 }

 .ll-section-header {
   font-family: 'Nunito', sans-serif;
   font-size: 22px;
   font-weight: 800;
   color: var(--ll-teal);
   margin-bottom: 16px;
 }

 .ll-last-updated {
   font-weight: 600;
   color: var(--ll-text-dark);
   margin-bottom: 20px;
 }

 .ll-divider {
   border: none;
   border-top: 1px solid #E5E5E5;
   margin: 28px 0;
 }

 /* ===== Header styles ===== */

 .ll-header {
   font-family: 'Nunito', sans-serif;
   background-color: #ffffff;
   padding: 12px 20px;
   width: 100%;
   position: relative;
 }

 .ll-header-content {
   display: flex;
   align-items: center;
   gap: 32px;
   max-width: 1200px;
   margin: 0 auto;
 }

 .ll-logo {
   display: flex;
   align-items: center;
   gap: 8px;
   text-decoration: none;
   flex-shrink: 0;
 }


 .ll-nav {
   display: flex;
   align-items: center;
   gap: 32px;
   margin-left: auto;
 }

 .ll-nav-link {
   color: var(--ll-text-dark);
   font-size: 18px;
   font-weight: 500;
   text-decoration: none;
   transition: color 0.2s ease, font-weight 0.2s ease;
 }

 .ll-nav-link:hover {
   color: var(--ll-teal);
   font-weight: 700;
 }

 .ll-nav-link-with-icon {
   display: inline-flex;
   align-items: center;
   gap: 5px;
 }

 .ll-nav-icon {
   width: 20px;
   height: 20px;
 }

 .ll-nav-dropdown {
   position: relative;
   display: flex;
   align-items: center;
 }

 .ll-nav-dropdown-toggle {
   background: none;
   border: none;
   cursor: pointer;
   padding: 0;
   font-family: inherit;
   line-height: inherit;
 }

 .ll-nav-chevron {
   margin-left: 2px;
   transition: transform 0.2s ease;
 }

 .ll-nav-dropdown:hover .ll-nav-chevron,
 .ll-nav-dropdown:focus-within .ll-nav-chevron {
   transform: rotate(180deg);
 }

 .ll-nav-dropdown-menu {
   position: absolute;
   top: 100%;
   left: 0;
   margin-top: 8px;
   min-width: 320px;
   background: #ffffff;
   border-radius: 12px;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
   padding: 8px;
   display: none;
   z-index: 50;
 }

 .ll-nav-dropdown-menu::before {
   content: "";
   position: absolute;
   top: -16px;
   left: 0;
   right: 0;
   height: 16px;
 }

 .ll-nav-dropdown:hover .ll-nav-dropdown-menu,
 .ll-nav-dropdown:focus-within .ll-nav-dropdown-menu {
   display: block;
 }

 .ll-nav-dropdown-item {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   padding: 10px 12px;
   border-radius: 8px;
   text-decoration: none;
   color: var(--ll-text-dark);
   transition: background-color 0.15s ease;
 }

 .ll-nav-dropdown-item:hover {
   background-color: #f5f9fa;
 }

 .ll-nav-dropdown-icon {
   width: 22px;
   height: 22px;
   flex-shrink: 0;
   margin-top: 2px;
 }

 .ll-nav-dropdown-text {
   display: flex;
   flex-direction: column;
   gap: 2px;
 }

 .ll-nav-dropdown-title {
   font-size: 16px;
   font-weight: 600;
   color: var(--ll-teal);
 }

 .ll-nav-dropdown-subtitle {
   font-size: 13px;
   color: var(--ll-text-dark);
   opacity: 0.75;
 }

 .ll-nav-cta {
   background: var(--ll-gold);
   color: var(--ll-text-dark);
   font-family: 'Nunito', sans-serif;
   font-size: 15px;
   font-weight: 800;
   padding: 7px 22px;
   border: none;
   border-radius: 9999px;
   text-decoration: none;
   box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);
   transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
 }

 .ll-nav-cta:hover {
   transform: translateY(-1px);
   box-shadow: 0 5px 12px rgba(0, 0, 0, 0.13);
   filter: brightness(1.05);
 }

 .ll-nav-cta:active {
   transform: translateY(2px);
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.10);
 }

 /* Mobile hamburger button */
 .ll-hamburger {
   display: none;
   background: none;
   border: none;
   cursor: pointer;
   padding: 4px;
   flex-shrink: 0;
   margin-left: auto;
 }

 .ll-hamburger svg {
   display: block;
 }

 /* Mobile logo hidden by default on desktop */
 .ll-logo-mobile {
   display: none;
 }

 /* Mobile CTA shown only on mobile for non-auth */
 .ll-mobile-cta {
   display: none;
   margin-left: auto;
 }


 /* Mobile dropdown menu */
 .ll-mobile-menu {
   display: none;
   position: absolute;
   top: 100%;
   right: 20px;
   background: white;
   border-radius: 12px;
   box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
   padding: 8px 0;
   min-width: 200px;
   z-index: 50;
 }

 .ll-mobile-menu.is-open {
   display: block;
 }

 .ll-mobile-menu-link {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 12px 20px;
   color: var(--ll-text-dark);
   font-family: 'Nunito', sans-serif;
   font-size: 17px;
   font-weight: 500;
   text-decoration: none;
   transition: background-color 0.15s ease, color 0.15s ease, font-weight 0.15s ease;
 }

 .ll-mobile-menu-link:hover {
   background-color: #f3f4f6;
   color: var(--ll-teal);
   font-weight: 700;
 }

 .ll-mobile-menu-icon {
   width: 20px;
   height: 20px;
 }

 /* Invisible overlay to close menu when tapping outside */
 .ll-menu-overlay {
   display: none;
   position: fixed;
   inset: 0;
   z-index: 40;
 }

 .ll-menu-overlay.is-open {
   display: block;
 }

@media (max-width: 640px) {
  /* Tighter vertical padding on mobile header */
  .ll-header {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /* On mobile, swap desktop logo for mobile-specific tagline logo */
  .ll-logo-desktop {
    display: none;
  }
  .ll-logo-mobile {
    display: flex;
  }
  .ll-logo-mobile img {
    width: 154px;
    height: auto;
  }

  /* Hide the desktop nav on mobile */
  .ll-nav {
    display: none;
  }

  /* Show hamburger */
  .ll-hamburger {
    display: block;
  }

  /* Show mobile CTA for non-auth */
  .ll-mobile-cta {
    display: inline-block;
  }

  .ll-header-content {
    gap: 12px;
  }

  .ll-nav-cta {
    font-size: 13px;
    padding: 7px 16px;
  }
}

/* ===== Footer styles ===== */

.ll-footer {
  font-family: 'Nunito', sans-serif;
  background-color: #ffffff;
  padding: 48px 20px;
  width: 100%;
}

.ll-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.ll-footer-decoration {
  margin-bottom: 32px;
}

.ll-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 48px;
}

.ll-footer-link {
  color: var(--ll-text-dark);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.ll-footer-link:hover {
  color: var(--ll-teal);
  font-weight: 700;
}

.ll-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.ll-footer-social-link {
  color: #1f2937;
  transition: color 0.2s ease;
}

.ll-footer-social-link:hover {
  color: #4b5563;
}

@media (max-width: 640px) {
  .ll-footer-nav {
    gap: 12px 32px;
  }

  .ll-footer-link {
    font-size: 16px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
