/* Open source — GitHub org landing */

.pr-open-source {
    background: var(--pr-paper, #fffaf6);
    color: var(--pr-ink, #1a1714);
}

.pr-open-source__band {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.pr-open-source__band--hero {
    background:
        radial-gradient(ellipse 70% 50% at 92% 0%, rgba(255, 97, 0, 0.08), transparent 58%),
        linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
    border-bottom: 1px solid var(--pr-line, rgba(26, 23, 20, 0.08));
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.pr-open-source__band--catalogue {
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.pr-open-source__hero {
    max-width: 44rem;
}

.pr-open-source__display {
    margin: 0 0 1rem;
    max-width: 20ch;
    font-size: clamp(2.2rem, 4.6vw, 3.65rem);
    line-height: 1.03;
    letter-spacing: -0.048em;
    font-weight: 600;
    text-wrap: balance;
}

.pr-open-source__lead {
    margin: 0 0 0.75rem;
    max-width: 38rem;
    font-size: clamp(1rem, 1.12vw, 1.08rem);
    line-height: 1.65;
    color: var(--pr-muted, rgba(26, 23, 20, 0.58));
}

.pr-open-source__tagline {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 97, 0, 0.88);
    font-weight: 650;
}

.pr-open-source__pitch {
    margin: 0 0 1.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--pr-line, rgba(26, 23, 20, 0.08));
    max-width: 38rem;
    font-size: 0.88rem;
    line-height: 1.62;
    color: rgba(26, 23, 20, 0.52);
}

.pr-open-source__section-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    letter-spacing: -0.02em;
    font-weight: 650;
}

.pr-open-source__catalogue-lead {
    margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
    max-width: 36rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(26, 23, 20, 0.52);
}

.pr-open-source__repos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.8vw, 1rem);
}

.pr-open-source__repo {
    display: grid;
    gap: 0.65rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    border: 1px solid var(--pr-line, rgba(26, 23, 20, 0.08));
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(20, 16, 12, 0.04);
}

.pr-open-source__repo-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.pr-open-source__repo-name {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
    font-weight: 650;
}

.pr-open-source__repo-release {
    flex-shrink: 0;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 97, 0, 0.08);
    color: var(--pr-accent, #ff6100);
    font-size: 0.62rem;
    font-weight: 650;
}

.pr-open-source__repo-desc {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(26, 23, 20, 0.56);
}

.pr-open-source__repo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-size: 0.72rem;
    color: rgba(26, 23, 20, 0.4);
}

.pr-open-source__repo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-top: 0.35rem;
}

.pr-open-source__repo-link {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--pr-ink, #1a1714);
    text-decoration: none;
}

.pr-open-source__repo-link:hover {
    color: var(--pr-accent, #ff6100);
}

.pr-open-source__repo-link--primary {
    color: var(--pr-accent, #ff6100);
}

.pr-open-source__building {
    padding: clamp(1.35rem, 2.8vw, 1.85rem);
    border: 1px dashed rgba(255, 97, 0, 0.22);
    border-radius: 1rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 242, 0.92) 100%);
}

.pr-open-source__building-title {
    margin: 0 0 0.55rem;
    font-size: 1rem;
    font-weight: 650;
}

.pr-open-source__building-copy {
    margin: 0 0 1rem;
    max-width: 38rem;
    font-size: 0.9rem;
    line-height: 1.62;
    color: rgba(26, 23, 20, 0.56);
}

@media (max-width: 768px) {
    .pr-open-source__repos {
        grid-template-columns: 1fr;
    }

    .pr-open-source__display {
        max-width: none;
    }
}
