.feature-detail-page {
    --detail-ink: #123239;
    --detail-green: #2f7758;
    --detail-mint: #e7f4ec;
    --detail-line: #cfe1d7;
    background: #f7faf8;
    color: var(--detail-ink);
}

.feature-detail-hero {
    background: linear-gradient(135deg, #14383d 0%, #245f4d 58%, #3d8060 100%);
    color: #fff;
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.feature-detail-hero__inner {
    max-width: 900px;
}

.feature-detail-eyebrow,
.feature-detail-label {
    color: #7cc49b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: .8rem;
    text-transform: uppercase;
}

.feature-detail-hero h1 {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    margin-bottom: 1.25rem;
}

.feature-detail-hero p:last-child {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
    margin: 0;
    max-width: 760px;
}

.feature-detail-content {
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.feature-detail-content > .container {
    max-width: 1120px;
}

.feature-detail-section {
    margin-bottom: clamp(3rem, 7vw, 5rem);
}

.feature-detail-section h2,
.feature-detail-sources h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}

.feature-detail-section > p:not(.feature-detail-label) {
    color: #466166;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 900px;
}

.feature-detail-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.feature-detail-grid article,
.feature-detail-panel {
    background: #fff;
    border: 1px solid var(--detail-line);
    border-radius: 1.25rem;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.feature-detail-grid i {
    align-items: center;
    background: var(--detail-mint);
    border-radius: 50%;
    color: var(--detail-green);
    display: flex;
    font-size: 1.3rem;
    height: 3rem;
    justify-content: center;
    margin-bottom: 1.2rem;
    width: 3rem;
}

.feature-detail-grid h3 {
    font-size: 1.15rem;
    font-weight: 800;
}

.feature-detail-grid p,
.feature-detail-workflow p {
    color: #51696e;
    line-height: 1.65;
    margin-bottom: 0;
}

.feature-detail-note {
    border-left: 3px solid var(--detail-green);
    font-size: .95rem !important;
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.feature-detail-workflow {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.feature-detail-workflow li {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--detail-line);
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
}

.feature-detail-workflow li > span {
    align-items: center;
    background: var(--detail-green);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 2.5rem;
    font-weight: 800;
    height: 2.5rem;
    justify-content: center;
}

.feature-detail-workflow strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: .3rem;
}

.feature-detail-sources {
    border-top: 1px solid var(--detail-line);
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding-top: 2rem;
}

.feature-detail-sources h2 {
    font-size: 1.4rem;
    margin-bottom: .2rem;
}

.feature-detail-sources a {
    color: var(--detail-green);
    font-weight: 700;
    width: fit-content;
}

.feature-detail-sources a:hover {
    color: #18523a;
}

@media (max-width: 767px) {
    .feature-detail-grid {
        grid-template-columns: 1fr;
    }

    .feature-detail-hero {
        padding: 3.5rem 0;
    }

    .feature-detail-content {
        padding: 3rem 0;
    }
}
