.ex {
    --fp-acc: #1e7d4f;
    --fp-soft: #e6f5ec;
    --fp-line: #e3ece6;
    --ex-ink: #0f2419;
    --ex-mint: #eaf5ee;
    --ex-cell: #edf2ee;
}

.ex-hero {
    position: relative;
    isolation: isolate;
    margin-top: -64px;
    padding: 156px 0 96px;
    overflow: clip;
    background: linear-gradient(180deg, #f1f8f3, #fff 80%);
}

.ex-hero__bg i {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(30, 125, 79, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 125, 79, .07) 1px, transparent 1px);
    background-size: 96px 28px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 25%, transparent 75%);
}

.ex-hero__copy {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ex-hero .fp-desc {
    margin-left: auto;
    margin-right: auto;
}

.ex-center {
    justify-content: center;
}

.ex-book {
    max-width: 1040px;
    margin: 60px auto 0;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 60px 110px -60px rgba(15, 60, 35, .45);
    overflow: hidden;
}

.ex-book__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7faf8;
    border-bottom: 1px solid var(--fp-line);
}

.ex-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
}

.ex-file .fp-ico {
    color: var(--fp-acc);
}

.ex-mode {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--fp-soft);
    color: var(--fp-acc);
}

.ex-book__acts {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.ex-book__acts i,
.ex-book__acts em {
    height: 32px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    transition: transform .15s, box-shadow .3s;
}

.ex-book__acts i {
    border: 1px solid var(--fp-line);
    background: #fff;
}

.ex-book__acts em {
    background: var(--ex-ink);
    color: #fff;
}

.ex-book__acts .is-press {
    transform: scale(.94);
    box-shadow: 0 0 0 4px rgba(30, 125, 79, .18);
}

.ex-grid {
    font-size: 13px;
}

.ex-row {
    display: grid;
    grid-template-columns: 40px 1fr 1.6fr .9fr .8fr .7fr 1.1fr;
    border-bottom: 1px solid var(--ex-cell);
    transition: background .4s;
}

.ex-row > span {
    padding: 10px 12px;
    border-right: 1px solid var(--ex-cell);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ex-row > span:first-child {
    text-align: center;
    color: #9aa79f;
    background: #f7faf8;
    font-size: 12px;
}

.ex-row--letters > span {
    padding: 6px 12px;
    text-align: center;
    background: #f7faf8;
    color: #9aa79f;
    font-size: 11.5px;
    font-weight: 600;
}

.ex-row--head > span {
    font-weight: 700;
    background: #fbfdfc;
}

.ex-row .is-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.ex-row .is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ex-row .is-empty {
    background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(215, 80, 60, .07) 6px 12px);
}

.ex-row .is-cur {
    text-align: center;
    font-weight: 600;
    color: #557363;
}

.ex-row.is-cur {
    background: #f3faf6;
}

.ex-st {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 12px;
}

.ex-st i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 11px;
    color: #fff;
    animation: ex-pop .35s cubic-bezier(.2, .7, .2, 1);
}

@keyframes ex-pop {
    from { transform: scale(.4); opacity: 0; }
}

.ex-st.is-ok { color: #1e7d4f; }
.ex-st.is-ok i { background: #2fa36b; }
.ex-st.is-skip { color: #8a7a3c; }
.ex-st.is-skip i { background: #d9b84a; }
.ex-st.is-err { color: #b8462f; }
.ex-st.is-err i { background: #d85d43; }

.ex-book__foot {
    padding: 14px 16px 16px;
    background: #fbfdfc;
}

.ex-prog {
    height: 6px;
    border-radius: 999px;
    background: var(--ex-cell);
    overflow: hidden;
}

.ex-prog i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #8fd3ad, #1e7d4f);
    transition: width .5s cubic-bezier(.2, .7, .2, 1);
}

.ex-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.ex-tiles span {
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--fp-line);
}

.ex-tiles small {
    display: block;
    font-size: 11.5px;
    color: var(--fp-mute);
}

.ex-tiles b {
    font-size: 20px;
    font-variant-numeric: tabular-nums;
}

.ex-tiles .is-ok b { color: #1e7d4f; }
.ex-tiles .is-skip b { color: #a08a2c; }
.ex-tiles .is-err b { color: #c14f37; }

.ex-hero .fp-chips {
    margin-top: 36px;
}

.ex-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ex-type {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--fp-line);
    background: #fff;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.ex-type:hover {
    transform: translateY(-3px);
    border-color: #bfe3cd;
    box-shadow: 0 24px 40px -30px rgba(15, 60, 35, .4);
}

.ex-type.is-wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff, var(--ex-mint));
}

.ex-type__ic {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--fp-soft);
    color: var(--fp-acc);
    margin-bottom: 16px;
}

.ex-type b {
    display: block;
    font-size: 16px;
}

.ex-type small {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fp-mute);
}

.ex-type__acts {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.ex-type__acts i {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--fp-line);
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #436452;
}

.ex-type__acts .fp-ico {
    width: 13px;
    height: 13px;
}

.ex-sec--mint {
    background: var(--ex-mint);
}

.ex-split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.ex-split--rev {
    grid-template-columns: 1.15fr .85fr;
}

.ex-split > * {
    min-width: 0;
}

.ex-modes {
    padding: 18px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--fp-line);
    box-shadow: 0 40px 80px -56px rgba(15, 60, 35, .45);
}

.ex-seg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: #f1f6f3;
}

.ex-seg button {
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #557363;
    cursor: pointer;
}

.ex-seg button.is-on {
    background: #fff;
    color: var(--ex-ink);
    box-shadow: 0 3px 10px -4px rgba(15, 60, 35, .25);
}

.ex-mrows {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.ex-mrows li {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 6px;
    border-top: 1px solid #f0f5f2;
}

.ex-mrows .is-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: #557363;
}

.ex-mrows b {
    display: block;
    font-size: 14.5px;
}

.ex-mrows small {
    font-size: 12px;
    color: var(--fp-mute);
}

.ex-mrows em {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ex-mrows em.is-upd {
    background: #e6f0fb;
    color: #2b5f9e;
}

.ex-mrows em.is-new {
    background: var(--fp-soft);
    color: var(--fp-acc);
}

.ex-mrows em.is-skip {
    background: #f3f1ea;
    color: #8a7f68;
}

.ex-mrows em.is-flip {
    animation: ex-pop .4s cubic-bezier(.2, .7, .2, 1);
}

.ex-test {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.ex-test > img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    object-fit: cover;
    border-radius: 28px;
}

.ex-test__card {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    width: 340px;
    margin: 0 -24px -28px 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px -30px rgba(15, 40, 25, .5);
}

.ex-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    border-radius: 14px;
    border: 1.5px dashed #b7dcc6;
    background: #f6fbf8;
    text-align: center;
}

.ex-drop > span {
    color: var(--fp-acc);
}

.ex-drop b {
    font-size: 13px;
}

.ex-drop small {
    font-size: 11.5px;
    color: var(--fp-mute);
}

.ex-scan {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 2px;
    font-size: 12.5px;
}

.ex-scan i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #cfe7d8;
    border-top-color: var(--fp-acc);
    animation: ex-spin .8s linear infinite;
}

.ex-test.is-done .ex-scan i {
    animation: none;
    border-color: var(--fp-acc);
    background: var(--fp-acc);
}

@keyframes ex-spin {
    to { transform: rotate(360deg); }
}

.ex-scan {
    flex-wrap: wrap;
}

.ex-scan em {
    flex-basis: 100%;
    padding-left: 22px;
    font-style: normal;
    font-size: 11.5px;
    color: var(--fp-mute);
}

.ex-errs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.ex-errs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #f7faf8;
    font-size: 13px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s, transform .4s;
}

.ex-errs li.is-on {
    opacity: 1;
    transform: none;
}

.ex-errs span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.ex-errs .is-err { background: #d85d43; }
.ex-errs .is-warn { background: #d9b84a; }
.ex-errs .is-ok { background: #2fa36b; }

.ex-errs small {
    margin-left: auto;
    color: var(--fp-mute);
    font-size: 12px;
}

.ex-test__copy {
    grid-column: 2;
    grid-row: 1;
}

.ex-cur {
    display: grid;
    gap: 10px;
}

.ex-cur__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--fp-line);
    transition: transform .4s, box-shadow .4s, border-color .4s;
}

.ex-cur__row.is-on {
    transform: translateX(8px);
    border-color: #a9dbbf;
    box-shadow: 0 18px 30px -22px rgba(15, 60, 35, .45);
}

.ex-cur__code {
    width: 52px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--ex-ink);
    color: #8fd3ad;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    font-weight: 700;
}

.ex-cur__row b {
    display: block;
    font-size: 14.5px;
}

.ex-cur__row small {
    font-size: 12.5px;
    color: var(--fp-mute);
}

.ex-cur__row em {
    margin-left: auto;
    font-style: normal;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ex-sec--ink {
    background: var(--ex-ink);
    color: #fff;
}

.ex-sec--ink .fp-kicker {
    color: #8fd3ad;
}

.ex-bg {
    position: relative;
}

.ex-note {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 340px;
    max-width: 100%;
    margin: 0 0 -18px auto;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    color: var(--ex-ink);
    box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .5s, transform .5s;
}

.ex-note.is-on {
    opacity: 1;
    transform: none;
}

.ex-note__ic {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--fp-soft);
    color: var(--fp-acc);
}

.ex-note b {
    display: block;
    font-size: 14px;
}

.ex-note small {
    font-size: 12px;
    color: var(--fp-mute);
}

.ex-note em {
    margin-left: auto;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9px;
    background: var(--ex-ink);
    color: #fff;
}

.ex-hist {
    padding: 34px 18px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
}

.ex-hist__t {
    display: flex;
    justify-content: space-between;
    margin: 0 4px 10px;
    font-size: 14px;
    font-weight: 600;
}

.ex-hist__t small {
    font-size: 12px;
    color: #8fa598;
}

.ex-hist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ex-hist li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 6px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.ex-hist li b {
    display: block;
    font-size: 14px;
}

.ex-hist li small {
    font-size: 12px;
    color: #8fa598;
}

.ex-hist li em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.ex-hist li.is-ok em { background: rgba(143, 211, 173, .14); color: #8fd3ad; }
.ex-hist li.is-part em { background: rgba(217, 184, 74, .16); color: #e5c96c; }
.ex-hist li.is-err em { background: rgba(216, 93, 67, .16); color: #f08d75; }
.ex-hist li.is-run em { background: rgba(143, 180, 255, .14); color: #a9c4ff; }

.ex-hist__bar {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 4px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
}

.ex-hist__bar i {
    display: block;
    height: 100%;
    width: 40%;
    background: #a9c4ff;
    animation: ex-run 2.4s ease-in-out infinite;
}

@keyframes ex-run {
    from { transform: translateX(-100%); }
    to { transform: translateX(260%); }
}

.ex-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
    background: var(--ex-mint);
    padding: 96px 40px;
    text-align: center;
}

.ex-cta__cells {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 1fr;
}

.ex-cta__cells i {
    border-right: 1px solid rgba(30, 125, 79, .1);
    border-bottom: 1px solid rgba(30, 125, 79, .1);
    animation: ex-cell 8s ease-in-out infinite;
}

.ex-cta__cells i:nth-child(7n) { animation-delay: -1s; }
.ex-cta__cells i:nth-child(5n) { animation-delay: -3s; }
.ex-cta__cells i:nth-child(11n) { animation-delay: -5s; }
.ex-cta__cells i:nth-child(3n + 1) { animation: none; }

@keyframes ex-cell {
    0%, 70%, 100% { background: transparent; }
    80% { background: rgba(143, 211, 173, .35); }
}

.ex-cta__copy {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 24px;
    background: radial-gradient(closest-side, var(--ex-mint) 70%, transparent);
}

.ex-cta .fp-lead {
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .ex-split,
    .ex-split--rev {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .ex-split--rev .fp-head {
        order: -1;
    }

    .ex-types {
        grid-template-columns: 1fr 1fr;
    }

    .ex-test {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ex-test__copy {
        grid-column: 1;
        grid-row: 2;
    }

    .ex-test__card {
        margin: 0 12px -28px 0;
    }
}

@media (max-width: 720px) {
    .ex-hero {
        padding: 116px 0 72px;
    }

    .ex-book {
        margin-top: 44px;
        border-radius: 18px;
    }

    .ex-mode,
    .ex-book__acts i {
        display: none;
    }

    .ex-row {
        grid-template-columns: 26px 1fr 1.3fr .8fr 34px;
    }

    .ex-st {
        justify-content: center;
    }

    .ex-row > span:nth-child(5),
    .ex-row > span:nth-child(6) {
        display: none;
    }

    .ex-row > span {
        padding: 9px 8px;
        font-size: 12px;
    }

    .ex-st b {
        display: none;
    }

    .ex-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .ex-types {
        grid-template-columns: 1fr;
    }

    .ex-type.is-wide {
        grid-column: auto;
    }

    .ex-seg {
        grid-template-columns: 1fr;
    }

    .ex-modes {
        padding: 12px;
        border-radius: 22px;
    }

    .ex-mrows li {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ex-mrows .is-mono {
        display: none;
    }

    .ex-test > img {
        aspect-ratio: 4 / 3;
        border-radius: 22px;
    }

    .ex-test__card {
        width: calc(100% - 24px);
        margin: 0 12px -60px 12px;
        justify-self: center;
    }

    .ex-test__copy {
        padding-top: 40px;
    }

    .ex-cur__row {
        padding: 12px;
    }

    .ex-cur__row em {
        font-size: 15px;
    }

    .ex-cta {
        padding: 72px 20px;
        border-radius: 26px;
    }

    .ex-cta__cells {
        grid-template-columns: repeat(6, 1fr);
    }
}
