/* ==========================================================
   HOME PAGE ONLY
   Visual rhythm adjustments
   ========================================================== */

/* ----------------------------------------------------------
   Hero
---------------------------------------------------------- */

.hero-copy {
    max-width: 640px;
}

.hero-actions {
    margin-top: 12px;
}

.hero-principle {
    margin-top: 28px;
    margin-bottom: 48px;
    max-width: 720px;
}

.hero-principle-label {
    display: block;
    margin-bottom: 10px;

    font-family: "Sora", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-principle p {
    margin: 0;

    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--muted);
}

.hero-principle-explanation {
    margin-top: 24px;
    max-width: 720px;

    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
}

/* ----------------------------------------------------------
   WHY VERIFY
---------------------------------------------------------- */

#why-verify h2 {
    margin-bottom: 42px;
}

/* ---------- Opening ---------- */

.why-opening {
    margin: 0;
    color: var(--muted);

    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.45;
}

.why-opening-emphasis {
    margin: 8px 0 22px;

    font-family: "Sora", sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;

    color: var(--text);
}

/* ---------- Evidence ---------- */

.why-evidence {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));

    /* tighter rows and columns */
    gap: 2px 4px;

    max-width: 620px;

    /* reduce the gap above the grid */
    margin: 20px 0 120px;
}

.why-evidence div {
    font-family: "Sora", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--muted);
    text-align: left;
}

/* ---------- Cost ---------- */

.why-cost {
    margin: 0;

    font-family: "Sora", sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.45;

    color: var(--text);
}

.why-climax {
    margin: 8px 0 28px;

    font-family: "Sora", sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;

    color: var(--text);
}

/* ---------- Resolution ---------- */

.why-resolution {
    position: relative;

    padding: 36px 0;
    margin-bottom: 48px;   /* Space below the whole block */

    font-family: "Sora", sans-serif;
    font-size: 22px;
    line-height: 1.9;
}

.why-resolution::before,
.why-resolution::after {
    content: "";
    position: absolute;
    left: 0;

    width: 64%;

    border-top: 2px solid var(--accent);
}

.why-resolution::before {
    top: 0;
}

.why-resolution::after {
    bottom: 0;
}
/* ---------- Closing ---------- */

.why-ending {
    margin: 0;

    font-family: "Sora", sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.45;

    color: var(--text);
}

.why-ending:last-child {
    margin-top: 8px;

    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
/* ----------------------------------------------------------
   HOW IT WORKS
---------------------------------------------------------- */

#how-it-works h2 {
    margin-bottom: 40px;
}

.flow {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 42px;

    color: var(--muted);

    line-height: 2;
}

.flow strong {
    display: block;

    margin-top: 20px;
    margin-bottom: 10px;

    color: var(--text);

    font-family: "Sora", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.flow strong:first-child {
    margin-top: 0;
}

/* ----------------------------------------------------------
   What Ordius Verifies
---------------------------------------------------------- */

.ordius-verification-principles {
    margin-top: 64px;
    max-width: 820px;
}

.ordius-verification-principles h3 {
    margin: 0 0 40px;

    font-size: 28px;
    font-weight: 600;
}

.ordius-verification-principles h4 {
    margin: 48px 0 12px;

    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.ordius-verification-principles h4:first-of-type {
    margin-top: 20;
}

.ordius-verification-principles p {
    margin: 0 0 30px;

    font-size: 16px;
    line-height: 1.75;
}

.ordius-verification-principles p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------
   Choose Experience
---------------------------------------------------------- */

.pricing-grid {
    margin-top: 42px;
}

/* ----------------------------------------------------------
   Developer Portal
---------------------------------------------------------- */

.section-container > p + .button-primary {
    margin-top: 28px;
}

/* ----------------------------------------------------------
   FAQ
---------------------------------------------------------- */

.section:last-of-type h2 {
    margin-bottom: 48px;
}

.section:last-of-type h3 {
    margin-top: 42px;
    margin-bottom: 14px;

    font-size: 22px;
}

.section:last-of-type h3:first-of-type {
    margin-top: 0;
}

.section:last-of-type p {
    color: var(--muted);
    line-height: 1.9;
}

 /* ----------------------------------------------------------
    Mobile
 ---------------------------------------------------------- */

 @media (max-width: 620px) {

    #why-verify .section-container,
    #how-it-works .section-container,
    .section:last-of-type .section-container {

        max-width: 100%;

    }

    .flow {

        padding: 24px;

    }

    /*
    ==========================================================
    PROPORTIONAL MOBILE TYPOGRAPHY
    ==========================================================
    */

    .why-opening {

        font-size: 19px;
        line-height: 1.5;

    }

    .why-opening-emphasis {

        font-size: 28px;
        line-height: 1.08;

        letter-spacing: -0.025em;

    }

    .why-evidence {

        grid-template-columns: 1fr;

        max-width: 100%;

        gap: 8px;

        margin: 20px 0 72px;

    }

    .why-evidence div {

        font-size: 16px;

    }

    .why-cost {

        font-size: 19px;
        line-height: 1.5;

    }

    .why-climax {

        font-size: 23px;
        line-height: 1.08;

        letter-spacing: -0.025em;

    }

    .why-resolution {

        font-size: 19px;
        line-height: 1.75;

    }

    .why-ending {

        font-size: 19px;
        line-height: 1.5;

    }

    .why-ending:last-child {

        font-size: 23px;
        line-height: 1.08;

        letter-spacing: -0.025em;

    }

    /*
    ==========================================================
    HOW IT WORKS
    ==========================================================
    */

    .flow strong {

        font-size: 18px;

    }

    .ordius-verification-principles h3 {

        font-size: 25px;
        line-height: 1.1;
        margin-top: 48px;
        margin-bottom: 40px;
    
    }
    
    .ordius-verification-principles h4 {
    
        font-size: 19px;
        line-height: 1.4;
        margin-top: 52px;
        margin-bottom: 22px;
    
    }
    
    .ordius-verification-principles p {
    
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 30px;
    
    }

    /*
    ==========================================================
    FINAL SECTION
    ==========================================================
    */

    .section:last-of-type h3 {

        font-size: 19px;
        line-height: 1.4;

    }

    .section:last-of-type p {

        font-size: 15px;
        line-height: 1.7;

    }

}