/* Keyword Keg landing page. Composes the shared tools.css primitives
 * (.tools-grid / .tool-card for the tool cards, .tool-info for the FAQ);
 * only the page's own sections live here. */

.kk-section {
    margin-bottom: 40px;
}

.kk-heading {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink-900);
}

.kk-lead {
    margin: 0 0 18px;
    color: var(--ink-500);
}

/* The old Keyword Keg name above each card title. */
.kk-was {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #c14246;
}

.kk-card .tool-icon {
    color: #c14246;
}

.kk-sources {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-sources a {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
}

.kk-sources a span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-500);
}

.kk-sources a:hover {
    border-color: #c14246;
    color: var(--ink-900);
}

.kk-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--ink-500);
}

.kk-changes {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0;
    margin: 0;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.kk-changes dt,
.kk-changes dd {
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ink-200);
}

.kk-changes dt {
    font-weight: 700;
    color: var(--ink-900);
    background: var(--ink-50);
}

.kk-changes dd {
    color: var(--ink-700);
}

.kk-changes dt:last-of-type,
.kk-changes dd:last-of-type {
    border-bottom: 0;
}

.kk-all {
    margin: 28px 0 0;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 640px) {
    .kk-sources {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kk-changes {
        grid-template-columns: minmax(0, 1fr);
    }
    .kk-changes dt {
        padding-bottom: 8px;
        padding-top: 8px;
        border-bottom: 0;
    }
    .kk-changes dd {
        padding-top: 10px;
    }
}
