/* =============================================================================
   Figtree Systems — Life and Disability Claims Management
   Scoped to .ldc-page. Uses the global --fg-* design tokens.
   ============================================================================= */

.ldc-page {
    font-family: 'Open Sans', sans-serif;
    color: var(--fg-text);
    line-height: 1.7;
}

.ldc-page section { position: relative; }

/* Shared inner wrapper ------------------------------------------------------- */
.ldc-inner {
    max-width: var(--fg-max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

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

/* Buttons -------------------------------------------------------------------- */
.ldc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    text-decoration: none;
    border-radius: var(--fg-radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.2;
    white-space: nowrap;
}

.ldc-btn--primary {
    padding: 0.75em 1.8em;
    background: var(--fg-green);
    color: #fff;
}
.ldc-btn--primary:hover,
.ldc-btn--primary:focus-visible {
    background: var(--fg-green-dark);
    color: #fff;
}

.ldc-btn--outline {
    padding: 0.75em 1.8em;
    background: transparent;
    color: var(--fg-green);
    border: 2px solid var(--fg-green);
}
.ldc-btn--outline:hover,
.ldc-btn--outline:focus-visible {
    background: var(--fg-green);
    color: #fff;
}

.ldc-btn--white {
    padding: 0.75em 1.8em;
    background: #fff;
    color: var(--fg-green-dark);
    border: 2px solid transparent;
}
.ldc-btn--white:hover,
.ldc-btn--white:focus-visible {
    background: var(--fg-green-light);
    color: var(--fg-green-dark);
}

.ldc-btn--ghost {
    padding: 0.75em 1.8em;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.ldc-btn--ghost:hover,
.ldc-btn--ghost:focus-visible {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* =============================================================================
   1. HERO
   ============================================================================= */
.ldc-hero {
    position: relative;
    background-color: var(--fg-green-deeper);
    background-size: cover;
    background-position: center 30%;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
}

.ldc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(30, 61, 26, 0.90) 0%,
        rgba(30, 61, 26, 0.72) 55%,
        rgba(30, 61, 26, 0.30) 100%
    );
}

.ldc-hero__inner {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
    width: 100%;
}

.ldc-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 1.1rem;
    letter-spacing: -0.01em;
}

.ldc-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 2rem;
    max-width: 600px;
}

.ldc-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* =============================================================================
   2. AEO INTRO
   ============================================================================= */
.ldc-intro {
    background: var(--fg-off-white);
    padding: 2.5rem 0;
}

.ldc-intro__text {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
    text-align: center;
}

.ldc-intro__text strong {
    color: var(--fg-green-dark);
}

/* =============================================================================
   3. THE FIGTREE ADVANTAGE
   ============================================================================= */
.ldc-advantage {
    background: #fff;
    padding: 5rem 0 4rem;
    text-align: center;
}

.ldc-advantage__label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-green);
    margin-bottom: 0.5rem;
}

.ldc-advantage h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-text);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.ldc-advantage__intro {
    max-width: 820px;
    margin-inline: auto;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-align: left;
}

/* =============================================================================
   4. KEY COMPONENTS & BENEFITS
   ============================================================================= */
.ldc-components {
    background: var(--fg-green-pale);
    padding: 4.5rem 0;
}

.ldc-components__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.ldc-components__col-heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-green-dark);
    margin: 0 0 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--fg-green-light);
}

.ldc-components__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ldc-components__list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.97rem;
    line-height: 1.55;
}

.ldc-components__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--fg-green);
}

/* =============================================================================
   5. ARE YOU ON THE CLOUD?
   ============================================================================= */
.ldc-cloud {
    background-color: var(--fg-green-deeper);
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
}

.ldc-cloud::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 61, 26, 0.82);
}

.ldc-cloud__inner {
    position: relative;
}

.ldc-cloud h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    color: #fff;
    margin: 0 0 1rem;
}

.ldc-cloud p {
    color: rgba(255,255,255,0.90);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.75rem;
}

.ldc-cloud__logo {
    display: block;
    margin: 2rem auto 0;
    max-width: 220px;
    height: auto;
}

/* =============================================================================
   6. EXPERIENCE
   ============================================================================= */
.ldc-experience {
    background: var(--fg-off-white);
    padding: 5rem 0;
}

.ldc-experience__inner {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.ldc-experience h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-green-dark);
    margin: 0 0 1.25rem;
}

.ldc-experience p {
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

.ldc-experience__cta {
    margin-top: 1.5rem;
}

/* =============================================================================
   7. CONTACT CTA BANNER
   ============================================================================= */
.ldc-contact-cta {
    background: var(--fg-green-pale);
    padding: 4rem 0;
    text-align: center;
}

.ldc-contact-cta__inner {
    max-width: 740px;
    margin-inline: auto;
}

.ldc-contact-cta h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    color: var(--fg-text);
    margin: 0 0 1.75rem;
    line-height: 1.4;
}

.ldc-contact-cta__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* =============================================================================
   8. COTS + CERTIFICATIONS
   ============================================================================= */
.ldc-cots {
    background: #fff;
    padding: 5rem 0;
}

.ldc-cots__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.ldc-cots h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.95rem);
    color: var(--fg-green);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.ldc-cots p {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.ldc-cots__badges {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}

.ldc-cots__badge {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
}

.ldc-cots__certs {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
}

.ldc-cots__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* =============================================================================
   9. FAQ
   ============================================================================= */
.ldc-faq {
    background: var(--fg-green-pale);
    padding: 5rem 0;
}

.ldc-faq__heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-text);
    margin: 0 0 0.5rem;
}

.ldc-faq__sub {
    color: #555;
    font-size: 1rem;
    margin: 0 0 2.5rem;
}

.ldc-faq__list {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ldc-faq__item {
    border-bottom: 1px solid var(--fg-green-light);
}

.ldc-faq__item:first-child {
    border-top: 1px solid var(--fg-green-light);
}

.ldc-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--fg-text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

/* Remove default browser marker */
.ldc-faq__question::-webkit-details-marker { display: none; }
.ldc-faq__question::marker { display: none; }

/* +/− icon */
.ldc-faq__question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--fg-green);
    line-height: 1;
    transition: transform 0.2s ease;
}

.ldc-faq__item[open] > .ldc-faq__question::after {
    content: '−';
}

.ldc-faq__question:hover {
    color: var(--fg-green);
}

.ldc-faq__answer {
    padding: 0 0 1.25rem;
}

.ldc-faq__answer p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.7;
    color: #444;
}

/* =============================================================================
   10. FINAL CTA
   ============================================================================= */
.ldc-final-cta {
    background-color: var(--fg-green-deeper);
    padding: 4.5rem 0;
    text-align: center;
}

.ldc-final-cta h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin: 0 0 1.75rem;
}

.ldc-final-cta__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 900px) {

    .ldc-components__cols,
    .ldc-cots__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .ldc-hero {
        min-height: 380px;
        padding: 3.5rem 0 2.5rem;
    }

    .ldc-hero h1 { font-size: 1.75rem; }

    .ldc-hero__ctas {
        flex-direction: column;
    }

    .ldc-hero__ctas .ldc-btn {
        width: 100%;
        justify-content: center;
    }

    .ldc-contact-cta__ctas,
    .ldc-final-cta__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .ldc-contact-cta__ctas .ldc-btn,
    .ldc-final-cta__ctas .ldc-btn {
        justify-content: center;
    }

    .ldc-cots__badges {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
