/* Feature pages build on legal.css for the hero and document styles. */
.feature-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
}

.feature-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.feature-hero .store-badges {
    margin-top: 8px;
}

.feature-shot {
    justify-self: center;
    width: min(100%, 360px);
    height: 560px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.feature-shot picture,
.feature-shot img {
    display: block;
    width: 100%;
    height: 100%;
}

.feature-shot img {
    object-fit: cover;
    object-position: center top;
}

.feature-section {
    padding-block: 56px 0;
}

.feature-section:last-child {
    padding-bottom: 88px;
}

.feature-section > h2 {
    margin-bottom: 24px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.035em;
}

.feature-steps,
.feature-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-steps {
    counter-reset: step;
}

.feature-steps li,
.feature-related li {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.feature-steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 14px;
    color: var(--teal-700);
    font-size: 0.8rem;
    font-weight: 780;
    letter-spacing: 0.12em;
}

.feature-steps h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.35;
}

.feature-steps p,
.feature-related p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.feature-related a {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--teal-800);
    font-weight: 700;
}

.feature-more a,
.feature-page .faq-list a {
    color: var(--teal-800);
}

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

    .feature-shot {
        height: 460px;
    }
}
