/* guides and FAQ — triangle disclosure marker, pill chips, anchors; no theme colors */
.guide-faq__title {
    letter-spacing: -0.01em;
}

.guide-faq__chip {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.guide-faq__group {
    scroll-margin-top: 5rem;
}

.guide-faq__question {
    cursor: pointer;
}

.guide-faq__question::-webkit-details-marker {
    display: none;
}

/* A small solid triangle drawn with borders in the text color; it turns down when the item opens. */
.guide-faq__marker {
    width: 0;
    height: 0;
    border-top: 0.35rem solid transparent;
    border-bottom: 0.35rem solid transparent;
    border-left: 0.45rem solid currentColor;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.guide-faq) {
        scroll-behavior: smooth;
    }

    .guide-faq__marker {
        transition: transform 150ms ease;
    }
}

.guide-faq__item[open] .guide-faq__marker {
    transform: rotate(90deg);
}

.guide-faq__link {
    text-underline-offset: 4px;
}


/* manual: the project's own logo */
.corner-bar__mark-img, .quiet-foot__mark-img { display: block; height: 2rem; width: auto; }

/* manual: repository facts instead of the limits block */
.repo-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.25rem 2rem; margin: 0.5rem 0 0; text-align: left; }
.repo-facts__item { min-width: 0; }
.repo-facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.repo-facts dd { margin: 0.3rem 0 0; font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }
.repo-facts__link { display: inline-block; margin-top: 1.25rem; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* manual: repository facts as a slim one-line strip */
*:has(> .repo-facts) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 1.5rem !important;
    gap: 0.5rem !important;
    border-radius: 0.75rem !important;
    box-shadow: none !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    justify-content: center !important;
    text-align: center !important;
}
*:has(> .repo-facts) > h2 {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-style: normal !important;
    margin: 0 0.75rem 0 0 !important;
    opacity: 0.7;
}
.repo-facts {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem 0;
    margin: 0 !important;
}
.repo-facts__item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}
.repo-facts__item + .repo-facts__item::before {
    content: "·";
    margin: 0 0.6rem;
    opacity: 0.4;
}
.repo-facts dt {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}
.repo-facts dd {
    margin: 0;
    font-size: 0.9rem;
}
.repo-facts__link {
    margin: 0 0 0 1rem !important;
    font-size: 0.85rem;
}

/* The typed phrase changes length: reserve three lines and keep the media column pinned to the top, so nothing jumps while it types. */
.app-showcase__typed {
    min-height: 3em;
}

@media (min-width: 1024px) {
    .app-showcase__hero {
        align-items: start !important;
    }

    .app-showcase__stage {
        margin-top: 2rem;
    }
}
