.hem-v251-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.hem-v251-hero {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(34, 197, 94, 0.08));
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
}

.hem-v251-kicker {
    margin: 0 0 .5rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    color: #166534;
}

.hem-v251-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.hem-v251-lead {
    max-width: 780px;
    margin: 1rem 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #334155;
}

.hem-v251-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.hem-v251-primary,
.hem-v251-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.hem-v251-primary {
    background: #0f172a;
    color: #fff;
}

.hem-v251-secondary {
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: #0f172a;
    background: rgba(255,255,255,.72);
}

.hem-v251-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.hem-v251-card,
.hem-v251-checklist,
.hem-v251-calculator,
.hem-v251-band {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1.25rem;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hem-v251-card h2,
.hem-v251-checklist h2,
.hem-v251-band h2 {
    margin-top: 0;
}

.hem-v251-step {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #14532d;
    font-weight: 900;
    margin-bottom: .75rem;
}

.hem-v251-card ul,
.hem-v251-checklist ol {
    padding-left: 1.2rem;
}

.hem-v251-card li,
.hem-v251-checklist li {
    margin: .35rem 0;
}

.hem-v251-band {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #f8fafc;
}

.hem-v251-warning {
    border-color: rgba(245, 158, 11, 0.35);
    background: #fffbeb;
}

.hem-v251-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.hem-v251-form-grid label {
    display: grid;
    gap: .4rem;
    font-weight: 800;
}

.hem-v251-form-grid input {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: .9rem;
    padding: .8rem .9rem;
    font: inherit;
}

.hem-v251-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #f1f5f9;
}

.hem-v251-result p {
    margin: .35rem 0;
}

.hem-v251-note {
    color: #475569;
    font-size: .95rem;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .hem-v251-page {
        padding-inline: .75rem;
    }

    .hem-v251-actions,
    .hem-v251-band {
        align-items: stretch;
        flex-direction: column;
    }

    .hem-v251-primary,
    .hem-v251-secondary {
        width: 100%;
    }
}
