/* Centered, responsive landing layout (no images). Loaded after style.css */

.banner.banner--no-nav {
    padding: 2rem 0 5rem;
}

.site-main {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.site-main--wide {
    max-width: 56rem;
}

.text-center-children > * {
    text-align: center;
}

.banner .site-main,
.feature .site-main,
.about .site-main,
.download .site-main {
    text-align: center;
}

.white2 {
    float: none !important;
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.banner .site-main h2 {
    margin-bottom: 1.2rem;
}

.banner-subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-top: -0.5rem;
    margin-bottom: 1.2rem;
}

.banner-text {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.banner-text ul {
    padding: 0;
    margin-top: 1.5rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .download-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.download-badge-link {
    display: inline-block;
    width: min(176px, 49.5vw);
    line-height: 0;
    border-radius: 14px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform .15s ease, box-shadow .15s ease;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-caption {
    margin: 0.55rem 0 0;
    font-size: 0.81rem;
    line-height: 1.45;
    color: #fff;
    text-align: center;
}

.download-badge-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

.download-badge {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}


.sectioner-header {
    width: 100% !important;
    max-width: 36rem;
    margin-left: auto !important;
    margin-right: auto !important;
}

.feature .single-feature {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.feature .media {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
}

.feature .media-body {
    margin: 0 !important;
    padding-top: 0.75rem;
}

.feature .media-body.text-left,
.feature .media-body.text-right {
    text-align: center !important;
}

.feature .icon-border {
    margin-top: 0.25rem;
}

.about .icon-box {
    margin-bottom: 2rem;
}

.about .icon-box p {
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.download .section-content {
    margin-top: 2rem;
}

.download .line {
    background: #fff;
}

.download .line::after {
    border-bottom-color: rgba(255, 255, 255, 0.55);
}

.seal-wrap {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 1rem 1rem 2.5rem;
}

.seal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 135px;
    min-height: 102px;
    border-radius: 10px;
    border: 1px solid #ede4f8;
    background: #fff;
    padding: 0.65rem 0.5rem;
    text-decoration: none !important;
    transition: transform .15s ease;
}

.seal-image {
    width: 66px;
    height: 66px;
    object-fit: contain;
    display: block;
}

.donate-icon-image {
    width: 66px;
    height: 66px;
    object-fit: contain;
    display: block;
}

.seal-label {
    margin-top: 0.5rem;
    color: #4b4b4b;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
}

.seal-card:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .seal-wrap {
        gap: 0.35rem;
        flex-wrap: nowrap;
    }

    .seal-card {
        width: 31%;
        min-height: 88px;
        padding: 0.45rem 0.25rem;
    }

    .seal-image,
    .donate-icon-image {
        width: 50px;
        height: 50px;
    }

    .seal-label {
        font-size: 0.66rem;
        line-height: 1.25;
    }
}

body.download-modal-open {
    overflow: hidden;
}

.download-modal[hidden] {
    display: none;
}

.download-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.download-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 38, 0.65);
    backdrop-filter: blur(2px);
}

.download-modal__dialog {
    position: relative;
    width: min(34rem, 100%);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f6f2ff 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #e6dcff;
    padding: 1.3rem 1.2rem 1.1rem;
    text-align: right;
}

.download-modal__title {
    margin: 0;
    font-size: 1.12rem;
    color: #2f1d55;
    font-weight: 700;
}

.download-modal__text {
    margin: 0.85rem 0 1.2rem;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #40375a;
}

.download-modal__meta {
    margin: -0.55rem 0 1.2rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #6b5d87;
}

.download-modal__actions {
    display: flex;
    justify-content: flex-start;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.download-modal__confirm,
.download-modal__cancel {
    border: 0;
    border-radius: 11px;
    padding: 0.62rem 1.15rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.download-modal__confirm {
    background: linear-gradient(135deg, #7f56d9 0%, #5b43bf 100%);
    color: #fff;
    box-shadow: 0 7px 16px rgba(91, 67, 191, 0.35);
}

.download-modal__cancel {
    background: #efe9ff;
    color: #473771;
}

.download-modal__confirm:hover,
.download-modal__cancel:hover {
    transform: translateY(-1px);
}
