/*
 * Style specyficzne dla /roadmapa/. Tokeny, reset, nagłówek/stopka i wspólne
 * komponenty (page-hero, info-note) są wspólne - patrz ../../assets/theme.css.
 */

.roadmap-section {
    max-width: 880px;
    padding-block: 22px;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

.roadmap-section:last-of-type {
    border-bottom: 0;
}

.roadmap-section h2 {
    margin-bottom: 12px;
    font-size: 24px;
}

.roadmap-section p {
    margin-bottom: 12px;
}

.roadmap-section a {
    color: var(--accent);
    font-weight: 700;
}

.roadmap-muted {
    color: var(--muted);
}

.roadmap-notice {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.roadmap-section:has(.roadmap-grid) {
    max-width: none;
}

.roadmap-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.roadmap-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.roadmap-card p {
    margin: 10px 0 0;
}

.roadmap-pill,
.roadmap-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.roadmap-pill {
    background: var(--gold-soft);
    color: #855e13;
    text-transform: uppercase;
}

.roadmap-pill--verify {
    background: var(--teal-soft);
    color: var(--teal);
}

.roadmap-tag {
    background: var(--surface-soft);
    color: var(--muted);
}

.roadmap-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-steps li {
    counter-increment: step;
    position: relative;
    padding: 12px 0 12px 50px;
    border-bottom: 1px dashed var(--border);
}

.roadmap-steps li:last-child {
    border-bottom: 0;
}

.roadmap-steps li:before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 900;
}

.roadmap-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.roadmap-sources a {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    text-decoration: none;
}

.roadmap-sources a:hover {
    border-color: var(--gold);
}
