.loader {
    gap: 100px;
    margin-top: var(--hero-top);
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

/* Typography comes from .page-title in public/base.css. */
.loader__title {
    text-align: center;
}

.loader__text__below {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.loader__lede {
    font-size: var(--font-size-small);
    line-height: 1.6;
    color: var(--text-dim);
}

.loader__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px;
}

.loader__actions .button {
    padding: 1.5rem 2.7rem;
    font-size: var(--font-size-medium);
}

.loader__meta {
    margin-top: 15px;
    max-width: 42ch;
    font-size: var(--font-size-small);
    line-height: 1.6;
    color: var(--dim);
}

.loader__meta a {
    color: var(--text-dim);
    text-decoration: none;
    border-bottom: 1px solid var(--edge-2);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.loader__meta a:hover {
    color: var(--text);
    border-bottom-color: var(--accent-solid);
}

.loader__meta a:focus-visible {
    outline: 2px solid var(--accent-solid);
    outline-offset: 3px;
}

/* Right column: quick facts */

.facts {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--edge);
}

.facts__row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--edge);
}

.facts__label {
    margin: 0;
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.facts__value {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-dim);
}

.facts__value b {
    color: var(--text);
    font-weight: 600;
}

.facts__link {
    color: var(--accent-solid);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease;
}

.facts__link:hover {
    border-bottom-color: var(--accent-solid);
}

.facts__link:focus-visible {
    outline: 2px solid var(--accent-solid);
    outline-offset: 3px;
}

.included {
    margin: 150px auto;
    max-width: 1000px;
}

.changelog-content {
    font-size: var(--font-size-small);
    line-height: 1.6;
}

.changelog-content h1,
.changelog-content h2,
.changelog-content h3 {
    margin: 1.5em 0 0.6em;
}

.changelog-content h1:first-child,
.changelog-content h2:first-child,
.changelog-content h3:first-child {
    margin-top: 0;
}

.changelog-content p {
    margin: 0 0 1em;
}

.changelog-content ul,
.changelog-content ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.changelog-content li {
    margin-bottom: 0.4em;
}

.changelog-content a {
    color: var(--text-dim);
}

.changelog-content code {
    font-family: var(--mono);
    background: var(--raise);
    border: 1px solid var(--edge);
    border-radius: 4px;
    padding: 0.1em 0.4em;
    font-size: 0.9em;
}

.changelog-content pre {
    background: var(--raise);
    border: 1px solid var(--edge);
    border-radius: var(--r);
    padding: 1em;
    overflow-x: auto;
}

.changelog-content pre code {
    border: none;
    padding: 0;
}

.changelog-content blockquote {
    margin: 0 0 1em;
    padding-left: 1em;
    border-left: 3px solid var(--edge-2);
    color: var(--text-dim);
}

.changelog-content img {
    max-width: 100%;
}

.changelog-content hr {
    border: none;
    border-top: 1px solid var(--edge);
    margin: 1.5em 0;
}

.changelog-content del {
    color: var(--text-dim);
}

.changelog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1em;
    font-size: 0.9em;
}

.changelog-content th,
.changelog-content td {
    border: 1px solid var(--edge);
    padding: 0.5em 0.9em;
    text-align: left;
}

.changelog-content th {
    background: var(--raise);
    font-weight: bold;
}

.changelog-content ul:has(> li > input[type="checkbox"]) {
    list-style: none;
    padding-left: 0;
}

.changelog-content li:has(> input[type="checkbox"]) {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
}

.changelog-content input[type="checkbox"] {
    accent-color: var(--accent-solid);
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.version-item {
    border-radius: var(--r);
    overflow: hidden;
    background-color: var(--panel);
}

.version-item[open] {
    border-color: var(--edge-2);
}

.version-item__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    cursor: pointer;
    list-style: none;
    font-size: var(--font-size-small);
    user-select: none;
}

.version-item__summary::-webkit-details-marker {
    display: none;
}

.version-item__summary::marker {
    content: "";
}

.version-item__chevron {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-right: 2px solid var(--text-dim);
    border-bottom: 2px solid var(--text-dim);
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

.version-item[open] .version-item__chevron {
    transform: rotate(45deg);
}

.version-item__name {
    font-weight: bold;
}

.version-item__date {
    color: var(--text-dim);
    margin-left: auto;
}

.version-item__body {
    padding: 28px 28px 28px;
    border-top: 1px solid var(--edge);
}

.version-item__download {
    display: flex;
    justify-content: flex-end;
    margin: 24px 0;
}

.download-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 4.1rem;
    height: 3rem;
    padding: 0;
    background: var(--raise-2);
    border: none;
    border-radius: 8px;
    color: var(--text-dim);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Same red wash as .button in button.css, so this matches the "Download Loader" button above.
   No border: only the background warms up. */
.download-button:hover {
    background: #341a19;
    color: #ffffff;
}

.download-button:active {
    background: #421a19;
}

.download-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgb(210 28 22 / 0.35);
}
