/* Landing pages (birthday, youth, BYU-I). Loads after sections.css. */

.landing-page #content {
    font-size: 1.0625em;
    line-height: 1.6;
}

.landing-page #content section {
    padding: 4.5em 20px;

    background-color: #FFF;
}

.landing-page #content section.landing-alt {
    background-color: #F3F4F1;
}

.landing-page #content h2 {
    margin: 0 0 0.4em;

    font-size: 2em;
    line-height: 1.15;
    color: #111;
}

.landing-page #content h3 {
    margin: 0 0 0.35em;

    font-size: 1.25em;
    line-height: 1.25;
    color: #111;
}

.landing-section-intro {
    max-width: 680px;
    margin: 0 0 2.25em;

    font-size: 1.125em;
    color: #444;
}

.landing-eyebrow {
    display: block;
    margin-bottom: 0.6em;

    font-size: 0.8125em;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5FA032;
}

/* Hero */

.landing-page #content section.landing-hero {
    display: flex;
    align-items: flex-end;
    min-height: 560px;
    padding: 6em 20px 4em;

    color: #FFF;

    background-color: #111;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.landing-hero > div {
    width: 100%;
}

.landing-page #content .landing-hero h1 {
    max-width: 780px;
    min-width: 0;
    margin: 0 0 0.35em;

    font-size: 3.25em;
    line-height: 1.05;
    color: #FFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.landing-hero-sub {
    max-width: 620px;
    margin: 0 0 1.75em;

    font-size: 1.25em;
    line-height: 1.5;
    color: #E8E8E8;
}

.landing-page #content .landing-hero .landing-eyebrow {
    color: #8FD65F;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.85em 1.5em;

    font-size: 1.0625em;
    font-weight: bold;
    line-height: 1.2;
    color: #000;
    text-decoration: none;

    background: #75BF44;
    border: 2px solid #75BF44;
    border-radius: 6px;
}

.landing-button svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.landing-page #content .landing-button:hover,
.landing-page #content .landing-button:focus {
    color: #000;
    text-decoration: none;

    background: #8FD65F;
    border-color: #8FD65F;
}

.landing-page #content .landing-button-ghost {
    color: #FFF;

    background: transparent;
    border-color: rgba(255, 255, 255, 0.85);
}

.landing-page #content .landing-button-ghost:hover,
.landing-page #content .landing-button-ghost:focus {
    color: #000;

    background: #FFF;
    border-color: #FFF;
}

/* Trust strip under the hero */

.landing-page #content section.landing-trust {
    padding: 1.25em 20px;

    color: #FFF;

    background-color: #000;
}

#content .landing-trust ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75em 2em;
    margin: 0;
    padding: 0;

    list-style: none;
}

.landing-trust li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0;

    font-weight: bold;
}

.landing-trust svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;

    color: #75BF44;
}

/* Card grids */

.landing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25em;
}

.landing-cards-two {
    grid-template-columns: repeat(2, 1fr);
}

.landing-cards + .landing-cards {
    margin-top: 1.25em;
}

.landing-card {
    display: flex;
    flex-direction: column;
    padding: 1.75em 1.5em;

    background: #FFF;
    border: 1px solid #E2E4DE;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.landing-alt .landing-card {
    border-color: #DADDD4;
}

.landing-card p {
    margin: 0 0 0.75em;
}

.landing-card p:last-child {
    margin-bottom: 0;
}

.landing-card-featured {
    border: 2px solid #75BF44;
}

.landing-price {
    display: block;
    margin: 0.1em 0 0.35em;

    font-size: 2.75em;
    font-weight: bold;
    line-height: 1;
    color: #111;
}

.landing-price small {
    font-size: 0.35em;
    font-weight: normal;
    color: #666;
}

#content .landing-card ul {
    margin: 0.5em 0 1em;
    padding: 0;

    list-style: none;
}

.landing-card li {
    position: relative;
    margin: 0 0 0.4em;
    padding-left: 1.6em;
}

.landing-card li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1em;
    height: 1em;

    background-color: #75BF44;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.landing-card-tag {
    align-self: flex-start;
    margin-bottom: 0.9em;
    padding: 0.3em 0.75em;

    font-size: 0.75em;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;

    background: #75BF44;
    border-radius: 999px;
}

.landing-card-footer {
    margin-top: auto;
    padding-top: 0.75em;

    font-size: 0.9375em;
    color: #555;
}

/* Example total callout */

.landing-total {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-top: 1.5em;
    padding: 1.25em 1.5em;

    color: #FFF;

    background: #111;
    border-radius: 10px;
}

.landing-total p {
    margin: 0;
    padding: 0;
}

.landing-total strong {
    font-size: 1.75em;
    color: #8FD65F;
}

/* Numbered steps */

.landing-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25em;

    list-style: none;
    counter-reset: landing-step;
}

/* Beat the site-wide "#content ol" margin */
#content .landing-steps {
    margin: 0;
    padding: 0;
}

.landing-steps-five {
    grid-template-columns: repeat(5, 1fr);
}

.landing-steps li {
    position: relative;
    margin: 0;
    padding-top: 3.25em;

    counter-increment: landing-step;
}

.landing-steps li:before {
    content: counter(landing-step);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2em;
    height: 2.2em;

    font-size: 1.125em;
    font-weight: bold;
    color: #000;

    background: #75BF44;
    border-radius: 50%;
}

.landing-steps strong {
    display: block;
    margin-bottom: 0.25em;

    font-size: 1.0625em;
}

/* Split: text beside a photo */

.landing-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3em;
}

.landing-split img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#content .landing-checklist {
    margin: 1em 0 0;
    padding: 0;

    list-style: none;
}

.landing-checklist-columns {
    columns: 2;
    column-gap: 2em;
}

.landing-checklist-columns li {
    break-inside: avoid;
}

.landing-checklist li {
    position: relative;
    margin: 0 0 0.85em;
    padding-left: 2em;
}

.landing-checklist li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.3em;
    height: 1.3em;

    background-color: #75BF44;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* FAQ */

.landing-faq {
    max-width: 820px;
}

.landing-faq details {
    margin: 0 0 0.75em;

    background: #FFF;
    border: 1px solid #DADDD4;
    border-radius: 8px;
}

.landing-faq summary {
    position: relative;
    padding: 1em 3em 1em 1.25em;

    font-size: 1.0625em;
    font-weight: bold;
    color: #111;

    cursor: pointer;
    list-style: none;
}

.landing-faq summary::-webkit-details-marker {
    display: none;
}

.landing-faq summary:after {
    content: '+';
    position: absolute;
    right: 1.1em;
    top: 50%;

    font-size: 1.5em;
    font-weight: normal;
    line-height: 1;
    color: #5FA032;

    transform: translateY(-50%);
}

.landing-faq details[open] summary:after {
    content: '\2212';
}

.landing-faq details p {
    margin: 0;
    padding: 0 1.25em 1.1em;

    color: #333;
}

/* Final call to action */

.landing-page #content section.landing-cta {
    padding: 4em 20px 5em;

    text-align: center;
    color: #000;

    background-color: #75BF44;
}

.landing-page #content .landing-cta h2 {
    margin-bottom: 0.3em;

    font-size: 2.25em;
    color: #000;
}

.landing-cta p {
    max-width: 640px;
    margin: 0 auto 1.5em;

    font-size: 1.125em;
}

.landing-cta .landing-actions {
    justify-content: center;
}

.landing-page #content .landing-cta .landing-button {
    color: #FFF;

    background: #000;
    border-color: #000;
}

.landing-page #content .landing-cta .landing-button:hover,
.landing-page #content .landing-cta .landing-button:focus {
    color: #FFF;

    background: #222;
    border-color: #222;
}

.landing-page #content .landing-cta .landing-button-ghost {
    color: #000;

    background: transparent;
    border-color: #000;
}

.landing-page #content .landing-cta .landing-button-ghost:hover,
.landing-page #content .landing-cta .landing-button-ghost:focus {
    color: #75BF44;

    background: #000;
}

#content .landing-fine-print {
    margin-top: 2em;

    font-size: 0.8125em;
    color: #1F3A0C;
}

#content .landing-related {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75em;
    margin: 2em 0 0;
    padding: 0;

    list-style: none;
}

/* Related guides as outlined pill buttons on the green CTA */
.landing-page #content .landing-related a {
    display: inline-block;
    padding: 0.5em 1.1em;

    font-weight: bold;
    color: #000;
    text-decoration: none;

    border: 2px solid #000;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.landing-page #content .landing-related a:hover,
.landing-page #content .landing-related a:focus {
    color: #75BF44;
    text-decoration: none;

    background: #000;
}

/* Reference guides: long-form reading, galleries and video */

.landing-prose {
    max-width: 760px;
}

.landing-prose p {
    margin: 0 0 1.1em;
}

.landing-prose h2 {
    margin-top: 1.5em;
}

.landing-prose h2:first-child {
    margin-top: 0;
}

.landing-prose ol li,
.landing-prose ul li {
    margin: 0 0 0.75em;
}

.landing-credit {
    font-size: 0.875em;
    color: #555;
}

.landing-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25em;
    margin: 0 0 2.5em;
}

.landing-gallery figure {
    margin: 0;
}

.landing-gallery img {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 10px;
}

.landing-gallery figcaption {
    margin-top: 0.5em;

    font-size: 0.875em;
    color: #555;
}

.landing-video {
    position: relative;
    max-width: 880px;
    margin: 1.5em 0 0;
    padding-top: 56.25%;

    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.landing-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border: 0;
}

.landing-video-wrap {
    max-width: 880px;
}

.landing-card-number {
    display: block;
    margin-bottom: 0.4em;

    font-size: 0.8125em;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5FA032;
}

.landing-card-link {
    display: flex;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Whole card is the link: no underlined text, the card lifts and the button darkens instead */
.landing-page #content a.landing-card-link,
.landing-page #content a.landing-card-link:hover,
.landing-page #content a.landing-card-link:focus,
.landing-page #content a.landing-card-link * {
    color: inherit;
    text-decoration: none;
}

.landing-page #content a.landing-card-link:hover,
.landing-page #content a.landing-card-link:focus {
    border-color: #75BF44;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.landing-card-link p {
    color: #444;
}

.landing-page #content a.landing-card-link .landing-card-number {
    color: #5FA032;
}

.landing-card-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4em;
    margin-top: auto;
    padding: 0.55em 1.1em;

    font-size: 0.9375em;
    font-weight: bold;
    line-height: 1.2;

    background: #75BF44;
    border-radius: 6px;
    transition: background 0.15s ease;
}

/* Leave room above the button; margin-top:auto on the button pins it to the card bottom */
.landing-card-link p,
.landing-card-link p:last-of-type {
    margin-bottom: 1.25em;
}

.landing-card-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
}

.landing-page #content a.landing-card-link .landing-card-more {
    color: #000;
}

.landing-page #content a.landing-card-link:hover .landing-card-more,
.landing-page #content a.landing-card-link:focus .landing-card-more {
    background: #8FD65F;
}

.landing-page #content a.landing-card-link:hover .landing-card-more svg,
.landing-page #content a.landing-card-link:focus .landing-card-more svg {
    transform: translateX(3px);
}

.landing-faq .landing-faq-answer {
    padding: 0 1.25em 1.1em;

    color: #333;
}

/* Answers with their own paragraphs and lists skip the single-paragraph padding above */
.landing-faq .landing-faq-answer p {
    margin: 0 0 0.75em;
    padding: 0;
}

.landing-faq .landing-faq-answer > :last-child {
    margin-bottom: 0;
}

.landing-faq details[id] {
    scroll-margin-top: 1em;
}

@media only screen and (max-width: 900px) {
    .landing-cards,
    .landing-cards-two {
        grid-template-columns: 1fr;
    }

    .landing-steps,
    .landing-steps-five {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-split {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .landing-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .landing-page #content section {
        padding: 3em 16px;
    }

    .landing-page #content section.landing-hero {
        min-height: 480px;
        padding: 5em 16px 2.5em;
    }

    .landing-page #content .landing-hero h1 {
        font-size: 2.25em;
    }

    .landing-hero-sub {
        font-size: 1.0625em;
    }

    .landing-page #content h2 {
        font-size: 1.6em;
    }

    .landing-actions .landing-button {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .landing-trust ul {
        flex-direction: column;
    }

    .landing-steps,
    .landing-steps-five {
        grid-template-columns: 1fr;
    }

    .landing-total strong {
        font-size: 1.5em;
    }

    .landing-checklist-columns {
        columns: 1;
    }

    .landing-gallery {
        grid-template-columns: 1fr;
    }
}
