body {
    overflow: auto !important;
}

.measurement-tool-nav {
    padding: 10px 0 18px;
}

.measurement-tool-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.measurement-tool-nav a {
    display: block;
    padding: 9px 16px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.measurement-tool-nav a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.measurement-tool-nav a.is-active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

h1 {
    margin: 10px !important;
}

.step {
    font-size: 16px !important;
}

.step-content p {
    line-height: 2;
}

.step-content a,
.faq-container a {
    color: var(--primary-color);
    text-decoration: none;
}

#calibrate {
    padding: 100px 0;
}

#related-tools {
    padding: 72px 0;
    background: #f8fafc;
}

.related-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.related-tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.related-tool-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.related-tool-card p {
    flex: 1;
    margin: 0 0 22px;
    color: #475569;
    line-height: 1.8;
}

.related-tool-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.related-tool-card a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .related-tool-grid {
        grid-template-columns: 1fr;
    }
}
