.features-page {
    overflow: hidden;
    background: var(--paper);
}

.features-hero {
    position: relative;
    padding: 176px 0 112px;
    background:
        linear-gradient(rgba(14, 12, 25, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 12, 25, .035) 1px, transparent 1px),
        radial-gradient(circle at 86% 8%, rgba(230, 80, 46, .13), transparent 30%),
        var(--paper);
    background-size: 72px 72px, 72px 72px, auto, auto;
}

.features-hero__layout {
    display: grid;
    grid-template-columns: 1.08fr .62fr;
    gap: clamp(64px, 9vw, 132px);
    align-items: center;
}

.features-hero h1 {
    max-width: 820px;
    margin-bottom: 30px;
    font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
    font-size: clamp(62px, 7vw, 102px);
    font-weight: 780;
    line-height: .96;
    letter-spacing: -.06em;
}

.features-hero h1 em {
    display: inline-block;
    margin-top: 8px;
}

.features-hero__lead {
    max-width: 735px;
    margin-bottom: 36px;
    color: var(--ink-soft);
    font-size: 19px;
    line-height: 1.68;
}

.features-hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.features-hero__rail {
    padding: 30px;
    color: rgba(255, 255, 255, .72);
    border-radius: 18px;
    background: var(--ink);
    box-shadow: 18px 18px 0 rgba(14, 12, 25, .1);
}

.features-hero__rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.features-hero__rail-head small {
    color: var(--teal);
    font-size: 9px;
}

.features-hero__rail ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-hero__rail li {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.features-hero__rail a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.features-hero__rail a span {
    color: var(--teal);
    font-size: 10px;
    letter-spacing: .08em;
}

.features-index {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, .94);
}

.features-index .shell {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 34px;
    align-items: center;
    min-height: 86px;
}

.features-index .shell > span {
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.features-index ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-index a {
    display: block;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: var(--chip-radius);
    background: #fff;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.features-workflow {
    padding: 122px 0 138px;
    background: var(--warm);
}

.features-workflow__intro {
    display: grid;
    grid-template-columns: 1.1fr .7fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 78px;
}

.features-workflow__intro h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.features-workflow__intro > p {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.7;
}

.features-stages {
    border-top: 1px solid var(--ink);
}

.features-stage {
    scroll-margin-top: 104px;
    display: grid;
    grid-template-columns: 82px .82fr 1.18fr;
    gap: clamp(28px, 5vw, 74px);
    align-items: start;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

.features-stage__index {
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
}

.features-stage__title > span {
    display: block;
    margin-bottom: 12px;
    color: var(--teal-deep);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.features-stage__title h3 {
    max-width: 430px;
    margin: 0;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.08;
}

.features-stage__detail > p {
    max-width: 610px;
    margin: 0 0 24px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
}

.features-stage__detail ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-stage__detail li {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: var(--chip-radius);
    background: var(--paper);
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
}

.features-control {
    padding: 118px 0;
    color: rgba(255, 255, 255, .7);
    background:
        radial-gradient(circle at 8% 0, rgba(230, 80, 46, .12), transparent 32%),
        var(--ink);
}

.features-control__layout {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(70px, 10vw, 145px);
    align-items: start;
}

.features-control h2 {
    color: #fff;
    font-size: clamp(48px, 5.6vw, 74px);
}

.features-control__intro > p:last-child {
    max-width: 620px;
    margin-bottom: 0;
    font-size: 17px;
}

.features-control ol {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    list-style: none;
}

.features-control li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.features-control li > span {
    color: var(--teal);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
}

.features-control li strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 20px;
}

.features-control li p {
    margin: 0;
    font-size: 15px;
}

.features-cta {
    padding: 112px 0;
    background: var(--paper);
}

.features-cta__card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr .55fr;
    gap: 72px;
    align-items: center;
    padding: 74px;
    border-radius: var(--panel-radius);
    background: var(--cta-orange);
    box-shadow: 0 30px 70px rgba(153, 47, 25, .18);
}

.features-cta__card::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 20% 100%;
}

.features-cta__card > * {
    position: relative;
    z-index: 1;
}

.features-cta .eyebrow {
    color: rgba(14, 12, 25, .65);
}

.features-cta .eyebrow > span {
    background: var(--ink);
}

.features-cta h2 {
    max-width: 750px;
    color: #fff;
    font-size: clamp(48px, 5.4vw, 74px);
}

.features-cta h2 em {
    color: var(--ink);
}

.features-cta__card > div:first-child > p:last-child {
    max-width: 670px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
}

.features-cta__actions {
    display: grid;
    gap: 18px;
    justify-items: stretch;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, .32);
}

.features-cta__actions > a:last-child {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 960px) {
    .features-hero__layout,
    .features-workflow__intro,
    .features-control__layout,
    .features-cta__card {
        grid-template-columns: 1fr;
    }

    .features-hero__layout,
    .features-workflow__intro,
    .features-control__layout {
        gap: 56px;
    }

    .features-hero__rail {
        max-width: 680px;
    }

    .features-stage {
        grid-template-columns: 64px .85fr 1.15fr;
        gap: 30px;
    }

    .features-cta__actions {
        padding: 28px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .32);
        border-left: 0;
    }
}

@media (max-width: 680px) {
    .features-hero {
        padding: 132px 0 82px;
        background-size: 36px 36px, 36px 36px, auto, auto;
    }

    .features-hero h1 {
        font-size: clamp(50px, 15vw, 68px);
    }

    .features-hero__lead,
    .features-workflow__intro > p {
        font-size: 16px;
    }

    .features-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .features-hero__actions .button {
        width: 100%;
    }

    .features-hero__rail {
        padding: 24px;
        box-shadow: 10px 10px 0 rgba(14, 12, 25, .1);
    }

    .features-index .shell {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .features-workflow {
        padding: 88px 0 96px;
    }

    .features-workflow__intro {
        margin-bottom: 52px;
    }

    .features-stage {
        grid-template-columns: 42px 1fr;
        gap: 18px;
        padding: 36px 0;
    }

    .features-stage__detail {
        grid-column: 2;
    }

    .features-stage__detail > p {
        font-size: 16px;
    }

    .features-control {
        padding: 90px 0;
    }

    .features-control h2 {
        font-size: clamp(43px, 13vw, 60px);
    }

    .features-cta {
        padding: 76px 0;
    }

    .features-cta__card {
        gap: 44px;
        padding: 46px 28px;
    }
}
