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

:root {
  --primary: var(--p-primary-500);
  --p-primary-50:  #eef7e8;
  --p-primary-100: #d4edc7;
  --p-primary-200: #b2db96;
  --p-primary-300: #91c866;
  --p-primary-400: #79ba43;
  --p-primary-500: #67AD26;
  --p-primary-600: #5c9922;
  --p-primary-700: #4f831d;
  --p-primary-800: #426e18;
  --p-primary-900: #365a14;
  --p-primary-950: #27420e;

  --cta: var(--p-primary-500);
  --cta-hover: #2DA465;

  --text-dark: #333;
  --text-light: #dddddd;
  --text-header-font: 'Nunito', sans-serif;
  --text-header-weight: 700;
  --text-header-size: clamp(24px, 4vw, 40px);
  --text-header-color: #0D2E8C;
  --text-subheader-size: clamp(19px, 2vw, 24px);
  --text-subheader-weight: 300;
  --text-subheader-font: var(--body-text-font);
  --text-subheader-color: var(--text-dark);

  --body-text-font: 'Nunito', serif;
  --body-text-weight: 400;

  --body-bg: white;
  --bg-dark: #0D2E8C;
  --bg-light: #F7F7F7;

  --container-max-width: 1330px;

  --header-bg: white;
  --header-color: black;
  --header-padding-y: 5px;
  --header-logo-height: 79px;
  --header-main-nav-text-size: 16px;
  --header-main-links-xl-gap: 40px;
  --header-font-weight: 600;
  --header-active-color: var(--text-dark);
  --header-main-nav-underline-color: var(--primary);
  --header-toggle-bg: var(--bg-dark);
  --header-toggle-bg-hover: var(--cta);
  --header-mobile-color: var(--text-dark);
  --header-mobile-hover-color: var(--text-inverse);

  --top-header-height: 36px;
  --top-header-text-size: 12px;
  --top-header-hover: var(--primary);

  --footer-dso-logo-height: 79px;
  --footer-text-size: 16px;
  --footer-text-color: var(--text-medium);
  --footer-nav-bg: var(--bg-light);

  --page-header-max-height: 310px;
  --page-header-padding-bottom: 60px;
  --page-header-subtitle-margin-top: 16px;

  --home-subtitle-size: clamp(19px, 2vw, 24px);
  --home-subtitle-weight: 300;
  --home-banner-overlay-opacity: 0.8;
  --home-banner-bg-color: #0057a4;
  --home-banner-title-size: clamp(36px, 4vw, 55px);
  --home-banner-title-weight: 800;
  --home-banner-title-1-color: var(--text-light);
  --home-banner-title-2-color: var(--primary);
  --home-banner-subtitle-color: var(--text-light);
  --home-banner-subtitle-weight: 600;
  --home-banner-subtitle-size: 20px;
  --home-banner-form-title-size: 15px;
  --home-banner-form-title-weight: 600;
  --home-main-banner-container-padding-top: 80px;
  --banner-form-btn-color: var(--text-inverse);
  --banner-form-btn-size: 16px;
  --banner-form-btn-sm-size: 16px;

  --home-plans-bg: var(--bg-light);
  --home-plan-card-max-width: 455px;
  --home-plans-header-padding-top: 70px;
  --home-plans-header-padding-bottom: 55px;
  --home-plan-card-top-bg: var(--bg-dark);
  --home-plan-card-title-size: clamp(25px, 3vw, 30px);
  --home-plan-card-subtitle-size: 14px;
  --home-plan-card-subtitle-color: var(primary);
  --home-plan-card-subtitle-weight: 400;
  --home-plan-card-price-size: 56px;
  --home-plan-card-perks-title-weight: 600;
  --home-plan-card-perks-item-margin-top: 16px;
  --home-plan-card-perk-icon-color: var(--primary);

  --home-why-bg-color: #0057a4;

  --home-how-subtitle-color: var(--text-header-color);
  --home-how-icon-size: 138px;
  --home-how-arrow-color: var(--text-header-color);
  --home-how-card-title-size: clamp(24px, 2vw, 30px);
  --home-how-subtitle-max-width: 960px;

  --home-support-background: var(--bg-dark);

  --custom-table-header-size: clamp(15px, 2vw, 18px);
  --custom-table-header-padding-y: 20px;
  --custom-table-header-bg: var(--primary);
  --custom-table-header-full-bg: var(--bg-dark);
  --custom-table-header-full-size: clamp(18px, 2vw, 22px);
  --custom-table-body-size: clamp(16px, 2vw, 20px);
  --custom-table-body-color: var(--text-header-color);
  --custom-table-body-weight: 400;
  --custom-table-body-padding-y: 20px;
  --custom-table-footer-full-size: clamp(18px, 2vw, 24px);
  --custom-table-body-last-col-weight: var(--text-header-weight);

  --savings-summary-note-color: #888;
  --savings-table-section-pt: 0;

  --find-content-bg: var(--bg-light);
  --find-office-card-active-border: var(--bg-dark);
  --find-office-details-title-size: 20px;
  --find-office-details-title-color: var(--text-header-color);
  --find-office-details-icon-color: var(--primary);
  --find-office-details-content-size: 16px;
  --find-office-details-content-weight: 600;
  --find-office-details-phone-color: var(--text-header-color);
  --find-map-border-color: var(--bg-dark);
  --find-steps-active-icon-color: var(--primary);
  --find-steps-completed-icon-color: var(--primary);
  --find-steps-complete-check-color: var(--text-header-color);
  --find-steps-inactive-bg: #C4CCDA;
  --find-steps-inactive-icon-color: #50668E;
  --find-steps-text-size: clamp(15px, 2vw, 20px);
  --find-steps-number-text-size: clamp(17px, 2vw, 20px);
  --find-steps-number-text-weight: 700;
  --find-steps-number-size: 41px;
  --find-steps-weight: 700;
  --find-steps-completed-bg: transparent;
  --find-form-border-color: var(--bg-dark);
  --find-form-search-btn-office-label-display: none;
  --find-results-title-font: var(--body-text-font);
  --find-results-title-weight: 700;
  --find-office-select-btn-height: 42px;
  --find-office-select-btn-min-width: 120px;
  --find-office-select-btn-font-size: 19px;
  --find-office-select-btn-border-radius: 10px;
  --find-map-border-width: 1px;

  --faq-entry-title-color: var(--text-header-color);
  --faq-entry-title-weight: 700;
  --faq-entry-title-font: var(--body-text-font);
  --faq-entry-title-size: clamp(17px, 2vw, 20px);
  --faq-answer-color: var(--text-medium);
  --faq-answer-size: clamp(15px, 2vw, 18px);
  --faq-answer-weight: 500;
  --faq-open-icon-bg: var(--primary);
  --faq-contact-bg: var(--bg-dark);
  --faq-contact-info-title-size: clamp(24px, 4vw, 40px);
  --faq-contact-info-title-color: var(--text-inverse);
  --faq-contact-info-text-color: var(--text-inverse);
  --faq-contact-info-text-size: clamp(16px, 2vw, 21px);
  --faq-contact-info-text-weight: 400;
  --faq-contact-img-left-radius: 46px;
  --faq-contact-img-right-radius: 46px;
  --faq-contact-img-wrapper-padding-left: 0;
  --faq-contact-img-border-width: 8px;
  --faq-contact-img-width: 70%;
  --faq-contact-img-wrapper-margin-bottom: -60px;
  --faq-contact-info-md-align: start;
  --faq-contact-info-title-md-text-alight: left;

  --support-page-bg: var(--bg-light);
  --support-info-bg: var(--bg-dark);
  --support-info-title-size: clamp(20px, 2vw, 24px);
  --support-info-text-size: 14px;
  --support-info-text-weight: 600;
  --support-links-flex-direction: row-reverse;
  --support-form-label-color: var(--text-header-color);
  --support-form-label-weight: 500;
  --support-form-label-size: 14px;

  --join-now-title-justify: center;
  --signup-content-bg: var(--bg-light);
  --signup-summary-border: none;
  --signup-title-size: 19px;
  --signup-title-font: var(--body-text-font);
  --signup-title-weight: var(--text-header-weight);
  --signup-label-color: var(--text-header-color);
  --signup-summary-header-font: var(--body-text-font);
  --signup-summary-header-size: 32px;
  --signup-summary-title-font: var(--body-text-font);
  --signup-summary-body-entry-weight: 500;
  --signup-summary-annual-title-size: 18px;
  --signup-summary-fee-entry-weight: 600;
  --signup-summary-totals-border-color: var(--bg-dark);
  --signup-summary-annual-cost-bg: #BDFBFF;
  --signup-summary-annual-cost-weight: 600;
  --signup-summary-due-now-bg: var(--bg-dark);
  --signup-summary-due-now-color: var(--text-inverse);
  --signup-summary-due-now-weight: 700;

  --login-form-subtitle-display: block;
  --login-form-title-font: var(--body-text-font);
  --login-form-subtitle-size: 14px;
  --login-form-label-color: var(--text-header-color);
  --login-form-label-size: 14px;
  --login-form-label-weight: 600;

  --button-height: 45px;
  --button-sm-height: 45px;
  --button-text-size: 16px;
  --button-sm-text-size: 16px;
  --button-text-weight: 500;
  --button-border-radius: 999px;
  --button-padding-x: 20px;
  --button-xl-min-width: 300px;
  --button-lg-min-width: 300px;
  --button-md-min-width: 230px;
  --button-min-width: 150px;
}

@layer components {
  /*  CTA */
  .submit-reset-btn,
  .login-forgot-submit-btn,
  .login-btn,
  .checkout-success-btn,
  .terms-accept-btn,
  .start-btn,
  .find-select-office-btn,
  .find-clear-filters-btn,
  .find-form-search-btn,
  .savings-summary-btn,
  .home-how-btn,
  .home-savings-table-btn,
  .home-why-join-btn,
  .header-join-now-btn,
  .header-logout-btn,
  .home-plans-join-btn {
    background-color: var(--cta);
    border-color: var(--cta);
    color: var(--text-inverse);

    &:hover:not(:disabled) {
      border-color: var(--cta-hover);
      background-color: var(--cta-hover);
    }
  }

  /* White Button */
  .faq-contact-btn,
  .home-support-faq-btn {
    background-color: white;
    color: var(--text-header-color);

    &:hover {
      background-color: #f2f2f2;
    }
  }

  /* Outlined White */
  .support-faq-link {
    background-color: transparent;
    border-color: white;
    color: white;
    border-width: 1px;

    &:hover {
      background-color: white;
      color: var(--text-header-color);
    }
  }

  /* Outlined Primary */
  .home-support-contact-btn {
    background-color: transparent;
    border-color: var(--cta);
    color: var(--text-inverse);
    border-width: 1px;

    &:hover {
      background-color: white;
      color: var(--text-header-color);
    }
  }

  /* Dark Button */
  .support-send-btn {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--text-inverse);
  }

  /* Outlined Blue */
  .login-go-back-btn,
  .add-dependent-btn,
  .find-form-clear-btn {
    background-color:  transparent;
    border-color: var(--bg-dark);
    color: var(--text-header-color);

    &:hover {
      background-color: #D3D8E0;
    }
  }

  /* Fixed width small btn */
  .home-support-contact-btn,
  .home-support-faq-btn {
    min-width: 150px;
  }

  .faq-contact-btn {
    min-width: 300px;
    width: 300px;
  }

  /* auto size btn */
  .login-go-back-btn,
  .login-forgot-submit-btn,
  .terms-accept-btn,
  .add-dependent-btn,
  .support-send-btn,
  .support-faq-link,
  .support-link,
  .find-select-office-btn,
  .find-form-clear-btn,
  .find-form-search-btn {
    min-width: auto;
  }

  /* Square btn */
  .submit-reset-btn,
  .login-go-back-btn,
  .login-forgot-submit-btn,
  .login-btn,
  .start-btn,
  .support-faq-link,
  .find-select-office-btn {
    border-radius: 10px;
    min-width: 120px;
  }

  /* Support Links */
  .support-link.btn-sm {
    border-radius: 8px;
    font-size: 12px;
    background-color: var(--body-bg);
    color: var(--text-header-color);
    border-color: var(--border-light);
    height: 32px;
  }
}

.home {
  --custom-table-margin-top: 32px;
  --custom-table-header-bg: var(--primary);

  --header-bg: transparent;
  --header-color: white;
  --header-logo-display: none;
  --header-logo-alt-display: block;
  --header-position: fixed;
  --header-fixed-bg: var(--bg-dark);
  --header-main-nav-underline-color: var(--text-inverse);
  --header-toggle-bg: var(--cta);
  --header-toggle-bg-hover: var(--cta-hover);
  --header-open-bg: var(--bg-dark);
  --header-mobile-nav-bg: var(--bg-dark);
  --header-mobile-color: var(--text-inverse);
  --top-header-fixed-bg: var(--primary);
  --top-header-fixed-hover: var(--text-header-color);
}

.savings-summary {
  --savings-table-section-bg: var(--bg-light);
  --page-header-title-wrapper-bg-color: var(--bg-light);
}