/* =========================================================
   Onepath / For School
========================================================= */

.fs-hero {
    padding: 92px 0 84px;
    background:
        linear-gradient(
            135deg,
            #f5f7f8,
            #edf1f3
        );
}

.fs-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 64px;
    align-items: center;
}

.fs-en {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.fs-hero h1,
.fs-section h2,
.fs-contact h2 {
    margin: 0;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.fs-hero h1 {
    font-size: clamp(40px, 5.5vw, 70px);
}

.fs-hero h1 em,
.fs-section h2 em {
    font-style: normal;
}

.fs-hero-copy > p {
    max-width: 720px;
    margin: 24px 0 0;
    line-height: 2;
}

.fs-hero-lead {
    font-size: 19px;
    font-weight: 700;
}

.fs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.fs-btn {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.fs-btn-primary {
    background: #111;
    color: #fff;
}

.fs-btn-white {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, .11);
}

.fs-hero-panel {
    padding: 38px;
    border-radius: 28px;
    background: #111;
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .1);
}

.fs-hero-panel > span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    opacity: .55;
}

.fs-hero-panel h2 {
    margin: 16px 0 26px;
    font-size: 29px;
    line-height: 1.5;
}

.fs-hero-panel ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-hero-panel li {
    position: relative;
    padding-left: 24px;
    line-height: 1.7;
}

.fs-hero-panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 900;
}

.fs-section {
    padding: 100px 0;
}

.fs-section-head {
    max-width: 820px;
    margin-bottom: 46px;
}

.fs-section-head h2 {
    font-size: clamp(32px, 4.2vw, 52px);
}

.fs-section-head > p {
    margin: 22px 0 0;
    line-height: 1.9;
}

.fs-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fs-problem-grid article {
    min-height: 320px;
    padding: 32px;
    border-radius: 22px;
    background: #f8f8f8;
}

.fs-problem-grid article > span {
    display: block;
    margin-bottom: 62px;
    font-size: 13px;
    font-weight: 900;
    opacity: .28;
}

.fs-problem-grid h3 {
    margin: 0 0 18px;
    font-size: 25px;
    line-height: 1.5;
}

.fs-problem-grid p {
    margin: 0;
    line-height: 1.85;
}

.fs-value {
    padding-top: 38px;
}

.fs-value-box {
    padding: 58px;
    border-radius: 30px;
    background: #111;
    color: #fff;
}

.fs-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fs-value-grid > div {
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
}

.fs-value-grid strong {
    display: block;
    margin-bottom: 12px;
    font-size: 21px;
}

.fs-value-grid p {
    margin: 0;
    line-height: 1.85;
    opacity: .8;
}

.fs-features {
    background: #fafafa;
}

.fs-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(0, 0, 0, .08);
}

.fs-flow article {
    min-height: 310px;
    padding: 30px;
    background: #fff;
}

.fs-flow-no {
    display: block;
    margin-bottom: 52px;
    font-size: 28px;
    font-weight: 900;
    opacity: .18;
}

.fs-flow small {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    opacity: .45;
}

.fs-flow h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.fs-flow p {
    margin: 0;
    line-height: 1.8;
}

.fs-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fs-info-grid article {
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 18px;
}

.fs-info-grid strong {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
}

.fs-info-grid p {
    margin: 0;
    line-height: 1.8;
}

.fs-policy {
    background: #f3f5f6;
}

.fs-policy-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 72px;
    align-items: start;
}

.fs-policy-grid h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.fs-policy-copy {
    display: grid;
    gap: 24px;
}

.fs-policy-copy p {
    margin: 0;
    line-height: 1.95;
}

.fs-collaboration-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fs-collaboration-grid article {
    padding: 30px;
    border-radius: 20px;
    background: #fafafa;
}

.fs-collaboration-grid article > span {
    display: block;
    margin-bottom: 38px;
    font-weight: 900;
    opacity: .25;
}

.fs-collaboration-grid h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.fs-collaboration-grid p {
    margin: 0;
    line-height: 1.82;
}

.fs-contact-flow {
    background: #111;
    color: #fff;
}

.fs-step-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fs-step-list li {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.fs-step-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.fs-step-list > li > span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    opacity: .6;
}

.fs-step-list h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.fs-step-list p {
    margin: 0;
    line-height: 1.8;
    opacity: .8;
}

.fs-faq {
    background: #fafafa;
}

.fs-faq-list {
    display: grid;
    gap: 12px;
}

.fs-faq-list details {
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.fs-faq-list summary {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 24px 26px;
    cursor: pointer;
    list-style: none;
}

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

.fs-faq-list summary > span {
    font-size: 12px;
    font-weight: 900;
    opacity: .4;
}

.fs-faq-list summary strong {
    line-height: 1.65;
}

.fs-faq-list summary i {
    font-style: normal;
    font-size: 22px;
}

.fs-faq-list details[open] summary i {
    transform: rotate(45deg);
}

.fs-faq-answer {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 0 26px 26px;
}

.fs-faq-answer > span {
    font-weight: 900;
}

.fs-faq-answer p {
    margin: 0;
    line-height: 1.95;
}

.fs-contact {
    padding: 106px 0;
    background:
        linear-gradient(
            135deg,
            #242424,
            #080808
        );
    color: #fff;
}

.fs-contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
    align-items: end;
}

.fs-contact h2 {
    font-size: clamp(34px, 4.7vw, 56px);
}

.fs-contact p {
    max-width: 720px;
    margin: 24px 0 0;
    line-height: 1.9;
    opacity: .78;
}

.fs-contact-actions {
    display: grid;
    gap: 16px;
    min-width: 290px;
}

.fs-contact-sub {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    opacity: .75;
}

@media (hover: hover) {

    .fs-btn,
    .fs-contact-sub {
        transition:
            transform .2s ease,
            opacity .2s ease;
    }

    .fs-btn:hover {
        transform: translateY(-2px);
    }

    .fs-contact-sub:hover {
        opacity: 1;
    }
}

@media (max-width: 980px) {

    .fs-hero-inner,
    .fs-policy-grid,
    .fs-contact-inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .fs-flow,
    .fs-collaboration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fs-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {

    .fs-hero {
        padding: 60px 0 54px;
    }

    .fs-section {
        padding: 70px 0;
    }

    .fs-hero h1 {
        font-size: 39px;
    }

    .fs-hero-copy > p {
        line-height: 1.85;
    }

    .fs-hero-actions {
        display: grid;
    }

    .fs-btn {
        width: 100%;
    }

    .fs-hero-panel,
    .fs-value-box {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .fs-section-head {
        margin-bottom: 32px;
    }

    .fs-section-head h2,
    .fs-policy-grid h2 {
        font-size: 31px;
    }

    .fs-problem-grid,
    .fs-value-grid,
    .fs-flow,
    .fs-info-grid,
    .fs-collaboration-grid {
        grid-template-columns: 1fr;
    }

    .fs-problem-grid article,
    .fs-flow article {
        min-height: auto;
    }

    .fs-problem-grid article > span,
    .fs-flow-no {
        margin-bottom: 28px;
    }

    .fs-step-list li {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fs-faq-list summary {
        grid-template-columns: 38px 1fr auto;
        gap: 10px;
        padding: 20px 18px;
    }

    .fs-faq-answer {
        grid-template-columns: 38px 1fr;
        gap: 10px;
        padding: 0 18px 22px;
    }

    .fs-contact {
        padding: 78px 0;
    }

    .fs-contact h2 {
        font-size: 34px;
    }

    .fs-contact-actions {
        min-width: 0;
    }
}