.feature-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.feature-header h1 {
    margin: 0 0 var(--space-3);
    color: var(--text-primary);
    font-size: var(--text-5xl);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.feature-header p {
    max-width: 620px;
    margin: 0;
    color: var(--text-tertiary);
    font-size: var(--text-lg);
    line-height: 1.6;
}

.feature-header-actions {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

.feature-index {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.feature-index a {
    color: var(--text-muted);
    font-size: var(--text-base);
}

.feature-index a:hover {
    color: var(--text-primary);
}

.feature-section {
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--border-subtle);
    scroll-margin-top: 80px;
}

.feature-section-header {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.feature-section-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.feature-section-header p {
    max-width: 560px;
    margin: 0;
    color: var(--text-muted);
    font-size: var(--text-md);
    line-height: 1.65;
}

.feature-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin: 0 0 var(--space-8);
    padding: 0;
    list-style: none;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
}

.feature-steps li {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--bg-primary);
}

.feature-step-number {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
}

.feature-steps strong {
    color: var(--text-secondary);
    font-size: var(--text-base);
    font-weight: 600;
}

.feature-steps li > span:last-child {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.feature-list {
    margin: 0;
    border-top: 1px solid var(--border-subtle);
}

.feature-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--space-8);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.feature-row dt {
    color: var(--text-secondary);
    font-size: var(--text-base);
    font-weight: 500;
}

.feature-row dd {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
}

.feature-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-12) 0 0;
}

.feature-footer h2 {
    margin: 0 0 var(--space-2);
    color: var(--text-primary);
    font-size: var(--text-xl);
    font-weight: 600;
}

.feature-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: var(--text-base);
}

@media (max-width: 900px) {
    .feature-header,
    .feature-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-section-header,
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .feature-step-row,
    .feature-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-header h1 { font-size: var(--text-4xl); }
}

@media (max-width: 520px) {
    .feature-steps { grid-template-columns: 1fr; }
}
