@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Quicksand:wght@700&display=swap');

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

:root {
  --ll-teal: #007B7F;
  --ll-teal-dark: #006366;
  --ll-teal-light: #E8F4F4;
  --ll-orange: #E8820C;
  --ll-orange-light: #F5A623;
  --ll-orange-dark: #D4700A;
  --ll-text-dark: #03161d;
  --ll-white: #FFFFFF;
  --ll-gray-border: #CCCCCC;
  --ll-gray-light: #F5F7F7;
}

 .ll-container {
   font-family: 'Nunito', sans-serif;
   background-color: var(--ll-white);
   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: linear-gradient(180deg, var(--ll-orange-light) 0%, var(--ll-orange) 50%, var(--ll-orange-dark) 100%);
   color: var(--ll-white);
   font-family: 'Nunito', sans-serif;
   font-size: 16px;
   font-weight: 700;
   padding: 14px 45px;
   border: none;
   border-radius: 38px;
   cursor: pointer;
   box-shadow: 0 4px 0 #B85D00, 0 6px 9px rgba(0, 0, 0, 0.15);
   transition: transform 0.15s ease, box-shadow 0.15s ease;
   text-decoration: none;
   margin-top: 11px;
 }

 .ll-cta-button:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 0 #B85D00, 0 9px 15px rgba(0, 0, 0, 0.2);
 }

 .ll-cta-button:active {
   transform: translateY(3px);
   box-shadow: 0 2px 0 #B85D00, 0 3px 6px rgba(0, 0, 0, 0.15);
 }

 .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-orange);
   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: 28px 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;
 }

 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: #f3f4f6;
   padding: 12px 20px;
   width: 100%;
   position: relative;
 }

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

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


.ll-logo-text {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  font-optical-sizing: auto;
  color: #0f766e;
}

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

 .ll-nav-link {
   color: #0f766e;
   font-size: 18px;
   font-weight: 500;
   text-decoration: none;
   transition: color 0.2s ease;
 }

 .ll-nav-link:hover {
   color: #115e59;
 }

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

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

 .ll-btn-primary {
   background-color: #0f766e;
   color: white;
   font-size: 16px;
   font-weight: 600;
   padding: 10px 24px;
   border-radius: 9999px;
   text-decoration: none;
   transition: background-color 0.2s ease;
 }

 .ll-btn-primary:hover {
   background-color: #115e59;
 }

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

 .ll-hamburger svg {
   display: block;
 }

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

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


 /* 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: #0f766e;
   font-family: 'Nunito', sans-serif;
   font-size: 17px;
   font-weight: 500;
   text-decoration: none;
   transition: background-color 0.15s ease;
 }

 .ll-mobile-menu-link:hover {
   background-color: #f3f4f6;
 }

 .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) {
  .ll-logo-text {
    font-family: 'Quicksand', sans-serif;
    font-optical-sizing: auto;
    font-size: 24px;
  }

  /* On mobile, swap desktop logo for auth logo (links to /main) */
  .ll-logo-mobile-auth {
    display: flex;
  }
  .ll-logo-desktop:has(~ .ll-logo-mobile-auth) {
    display: none;
  }

  /* 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-btn-primary {
    font-size: 14px;
    padding: 8px 16px;
  }
}
