.landing-page {
    margin: 0;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- LANDING CARD ----------*/

.landing-card {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Auto margins centre short public pages and collapse on tall documents. */
main.landing-page:not(.admin-editor) > .landing-card {
    margin-block: auto;
}

/* ---------- COVER ART ----------*/

.cover-art {
    width: 60%;
    background: transparent;
}

/* ---------- HEADER ----------*/

.landing-text {
    position: relative;
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 16px;
    margin: 0;
}

.landing-divider {
    width: 36px;
    height: 1px;
    margin: 14px 0 1px;
    background: rgba(255, 255, 255, 0.33);
}

.landing-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;

    text-align: center;

    padding: 0 0 4px 0;
    margin: 0;

    width: 100%;

    word-break: break-word;
    overflow-wrap: break-word;
}

.landing-description {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--secondary-font-color);

    text-align: center;

    padding: 0;
    margin: 0;

    width: 100%;

    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---------- BUTTONS ----------*/
.button-group {
    display:flex;
    flex-direction: column;
    width: 75%;
    gap: 8px;
}

.platform-button {
    position: relative;
    width: 100%;
    min-height: 56px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 16px;
    text-decoration: none;

    transition: background var(--transition-duration) ease, transform var(--transition-duration) ease;
}

.platform-button:hover {
    background: rgba(255, 255, 225, 0.11);
}

.platform-button:focus-visible,
.footer a:focus-visible {
    outline: 2px solid #b0d0ff;
    outline-offset: 3px;
}

.platform-button:active {
    transform: scale(0.98);
}

.platform-icon-text {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.platform-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 28px;
}

.platform-icon-text span {
    text-align: left;
    color: var(--secondary-font-color);
    font-size: 0.85rem;
    font-weight: 400;
    padding-left: 12px;

    min-width: 0;
    overflow-wrap: anywhere;
}

.button-cta {
    display: inline-flex;
    min-width: 0;
    max-width: 55%;
    gap: 5px;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-font-color);
}

.button-cta-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.button-cta .lucide-arrow-up-right {
    flex: none;
    opacity: 0.8;
}

/* Lucide draws the head first. Keep its tip anchored to the diagonal stem. */
.button-cta .lucide-arrow-up-right path:first-child {
    transform-box: fill-box;
    transform-origin: top right;
    transform: scale(0.7);
}

@media (prefers-reduced-motion: reduce) {
    .platform-button,
    .footer a {
        transition: none;
    }
}

/* ---------- FOOTER ----------*/

.footer {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.footer a {
    display: grid;
    place-items: center;
    min-height: 44px;
    min-width: 44px;
    color: var(--secondary-font-color);
    font-size: 0.6rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 250ms ease, color 250ms ease;
}

.footer a:hover{
    color: var(--primary-font-color);
    text-decoration-color: currentColor;
}

.sidebar-section textarea {
    min-height: 80px;
    resize: vertical;
}









.cover-art {
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
.platform-button {
    font-family: inherit;
    cursor: pointer;
}
.policy-content {
    width: min(38rem, 100%);
    margin: 2rem auto;
    padding: 0 1.25rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.policy-content a { color: inherit; }
.policy-content button {
    background: var(--secondary-bg-color);
    color: var(--primary-font-color);
    font: inherit;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.cover-sources { display: block; width: 60%; line-height: 0; }
.cover-sources > .cover-art { display: block; width: 100%; }
