body {
    margin: 0;
    min-height: 100vh;
    background-color: #2a4468;
    color: #d7e4f4;
    font-family: Verdana, Tahoma, sans-serif;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-panel {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #1f334d;
    background: #3b5474;
    box-shadow: inset 0 1px 0 #b7c7d9, inset 0 -1px 0 #243a57;
}

.top-panel__inner {
    width: min(72rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-panel__brand,
.top-panel__link {
    text-decoration: none;
    border-bottom: 0;
}

.top-panel__brand,
.top-panel__brand:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #f4f8ff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.top-panel__brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    image-rendering: auto;
}

.top-panel__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.top-panel__link,
.top-panel__link:visited {
    padding: 0.35rem 0.7rem;
    border-top: 1px solid #c8d5e4;
    border-left: 1px solid #c8d5e4;
    border-right: 1px solid #1f334d;
    border-bottom: 1px solid #1f334d;
    background: #7f99b7;
    color: #0d1d31;
    font-size: 0.85rem;
    font-weight: 700;
}

.top-panel__link:hover,
.top-panel__link--active,
.top-panel__link--active:visited {
    background: #9cb2cb;
    color: #0d1d31;
}

.site-footer {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid #1f334d;
    background: #314968;
    color: #d6e2f1;
    text-align: center;
    font-size: 0.8rem;
}

.site-footer p {
    margin: 0;
}

.site-footer p+p {
    margin-top: 0.35rem;
}

.site-footer a,
.site-footer a:visited {
    color: #e6eef8;
    border-bottom-color: #9fb8d3;
}

.site-footer a:hover {
    color: #ffffff;
    border-bottom-color: #d6e2f1;
}

.landing-page,
.content-page {
    box-sizing: border-box;
    flex: 1;
    width: min(72rem, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
}

.landing-page {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: 2rem 1.25rem 3rem;
}

.content-page {
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.logo-stage,
.intro-stage,
.nav-stage,
.info-panel {
    display: flex;
}

.logo-stage,
.intro-stage,
.nav-stage {
    width: min(60rem, 100%);
    justify-content: center;
}

.intro-stage,
.info-panel {
    width: min(60rem, 100%);
}

.intro-stage {
    width: min(54rem, 100%);
    flex-direction: column;
    text-align: justify;
    color: #dbe9ff;
}

.intro-stage h1,
.info-panel h2 {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
}

.info-panel h2 {
    text-shadow: 0 2px 0 #203450, 0 -1px 0 rgba(238, 244, 251, 0.42), 0 0 1px rgba(17, 28, 43, 0.45);
}

.intro-stage h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
}

.intro-stage p,
.info-panel p,
.feature-list {
    margin: 0;
    line-height: 1.45;
}

.lead {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    text-align: center;
}

.intro-stage p {
    font-size: 0.8rem;
}

.intro-stage p+p {
    margin-top: 0.95rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(191, 208, 225, 0.4);
}

.nav-stage {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-panel {
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #89a3bf;
    background: #4a6484;
    box-shadow: 0 3px 8px rgba(18, 31, 49, 0.28), inset 1px 1px 0 #b7c7d9, inset -1px -1px 0 #243a57;
    color: #dbe8f7;
}

.info-column {
    flex: 1 1 20rem;
    padding: 0.75rem 1rem;
    border: 1px solid #243a57;
    background: #3b5474;
    box-shadow: inset 1px 1px 0 rgba(230, 238, 248, 0.18);
}

.feature-list {
    padding-left: 1.25rem;
}

.feature-list li+li {
    margin-top: 0.55rem;
}

.community-note {
    margin-top: 1rem !important;
}

.page-card {
    width: min(46rem, 100%);
    padding: 1rem 1.15rem;
    border: 2px solid #89a3bf;
    background: #4a6484;
    box-shadow: inset 1px 1px 0 #b7c7d9, inset -1px -1px 0 #243a57;
    color: #e6eef8;
}

.page-card--wide {
    width: min(56rem, 100%);
}

.page-title {
    margin: 0 0 0.6rem;
    color: #ffffff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.page-summary {
    margin: 0 0 1rem;
    line-height: 1.45;
}

.release-title {
    margin: 0;
    color: #ffffff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 1.35rem;
}

.release-block {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.release-block__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.release-note {
    margin: 0;
    color: #c2d3e6;
    font-size: 0.9rem;
}

.news-section-title {
    margin: 0.4rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(191, 208, 225, 0.45);
    color: #f4f8ff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #243a57;
    border-top-color: #6d88a8;
    border-left-color: #587190;
    border-right-color: #1d3049;
    border-bottom-color: #17263a;
    background: #36506f;
    box-shadow: inset 1px 1px 0 rgba(230, 238, 248, 0.18), inset -1px -1px 0 rgba(31, 47, 75, 0.75);
}

.download-table th,
.download-table td {
    padding: 0.95rem 1rem;
    border-top: 1px solid rgba(137, 163, 191, 0.45);
    border-bottom: 1px solid rgba(27, 43, 67, 0.65);
    text-align: left;
    vertical-align: middle;
}

.download-table th+th,
.download-table th+td,
.download-table td+td {
    border-left: 1px solid #587190;
    box-shadow: inset 1px 0 0 rgba(208, 221, 236, 0.08);
}

.download-table thead th {
    border-top: 0;
    border-bottom: 2px solid #5f7896;
    background: #d6e2f1;
    color: #20344e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.download-table tbody tr:nth-child(odd) {
    background: #3b5474;
}

.download-table tbody tr:nth-child(even) {
    background: #415a7a;
}

.download-table tbody tr:hover {
    background: #4c6788;
}

.download-table tbody th,
.download-table tbody td {
    color: #dbe8f7;
}

.download-table tbody tr:last-child th,
.download-table tbody tr:last-child td {
    border-bottom: 0;
}

.download-table__platform {
    color: #ffffff;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.download-table__action {
    width: 1%;
    white-space: nowrap;
    padding-left: 1.25rem;
    text-align: left;
}

.download-table__button {
    box-sizing: border-box;
    width: 11rem;
    min-width: 11rem;
}

.download-table__button--disabled,
.download-table__button--disabled:hover,
.download-table__button--disabled:focus,
.download-table__button--disabled:active,
.download-table__button--disabled:disabled {
    width: 11rem;
    min-width: 11rem;
    appearance: none;
    -webkit-appearance: none;
    border-top: 2px solid rgba(213, 223, 236, 0.5);
    border-left: 2px solid rgba(213, 223, 236, 0.5);
    border-right: 2px solid rgba(26, 41, 63, 0.9);
    border-bottom: 2px solid rgba(26, 41, 63, 0.9);
    background: #5a7190;
    color: #e1ebf7;
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.download-status {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0 0.8rem;
    border-top: 2px solid rgba(200, 213, 228, 0.28);
    border-left: 2px solid rgba(200, 213, 228, 0.28);
    border-right: 2px solid rgba(31, 51, 77, 0.85);
    border-bottom: 2px solid rgba(31, 51, 77, 0.85);
    background: #587292;
    color: #d7e4f4;
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .release-block__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-table,
    .download-table thead,
    .download-table tbody,
    .download-table tr,
    .download-table th,
    .download-table td {
        display: block;
    }

    .download-table thead {
        display: none;
    }

    .download-table tr+tr {
        border-top: 1px solid rgba(137, 163, 191, 0.35);
    }

    .download-table tbody th,
    .download-table tbody td {
        padding: 0.35rem 0.85rem;
        border-top: 0;
        border-left: 0;
    }

    .download-table tbody th {
        padding-top: 0.85rem;
    }

    .download-table__action {
        width: auto;
        white-space: normal;
        padding-bottom: 0.85rem !important;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .screenshot-lightbox {
        padding: 0.75rem;
    }

    .screenshot-lightbox__dialog {
        max-height: calc(100vh - 1.5rem);
        padding: 0.75rem;
    }

    .screenshot-lightbox__image {
        max-height: calc(100vh - 8rem);
    }
}

.page-list {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.5;
}

.page-list li+li {
    margin-top: 0.45rem;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.screenshot-gallery__button {
    padding: 0.65rem;
    border-top: 2px solid #bfd0e1;
    border-left: 2px solid #bfd0e1;
    border-right: 2px solid #233852;
    border-bottom: 2px solid #233852;
    background: #3f5879;
    color: #edf4fd;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 1px 1px 0 rgba(239, 245, 252, 0.16);
}

.screenshot-gallery__button:hover,
.screenshot-gallery__button:focus-visible {
    background: #4a6486;
    outline: 2px solid #dce8f6;
    outline-offset: 2px;
}

.screenshot-gallery__image {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    display: block;
    border: 1px solid #20344d;
    background: #24364d;
}

.screenshot-gallery__caption {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

body.lightbox-open {
    overflow: hidden;
}

.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.screenshot-lightbox[hidden] {
    display: none;
}

.screenshot-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 18, 28, 0.82);
    cursor: pointer;
}

.screenshot-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(70rem, 100%);
    max-height: calc(100vh - 3rem);
    padding: 0.9rem;
    border: 2px solid #89a3bf;
    background: #476281;
    box-shadow: inset 1px 1px 0 #c0d1e2, inset -1px -1px 0 #1f334d, 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}

.screenshot-lightbox__close {
    margin-left: auto;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-top: 2px solid #d6e2f1;
    border-left: 2px solid #d6e2f1;
    border-right: 2px solid #1b2f4b;
    border-bottom: 2px solid #1b2f4b;
    background: #8ea5bf;
    color: #0d1d31;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.screenshot-lightbox__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.screenshot-lightbox__image {
    width: 100%;
    max-height: calc(100vh - 10rem);
    object-fit: contain;
    display: block;
    border: 1px solid #20344d;
    background: #1f3044;
}

.screenshot-lightbox__caption {
    color: #f2f7fd;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 960px) {
    .screenshot-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

a {
    color: #d6e2f1;
    text-decoration: none;
    border-bottom: 1px dotted #a9bdd4;
}

a:hover {
    color: #ffffff;
    border-bottom-color: #d6e2f1;
}

a:visited {
    color: #d6e2f1;
}

.info-column a {
    color: #f4f8ff;
    font-weight: 700;
    border-bottom: 1px solid #d6e2f1;
    background: rgba(169, 189, 212, 0.12);
    padding: 0 0.15rem;
}

.info-column a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background: rgba(214, 226, 241, 0.28);
}

.info-column a:visited {
    color: #f4f8ff;
}

.logo-mark {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    padding: 0.55rem 1rem;
    border-top: 2px solid #d6e2f1;
    border-left: 2px solid #d6e2f1;
    border-right: 2px solid #1b2f4b;
    border-bottom: 2px solid #1b2f4b;
    border-radius: 0;
    background: #8ea5bf;
    color: #0d1d31;
    text-decoration: none;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: inset 1px 1px 0 #eef4fb;
    border-bottom-width: 2px;
}

.button:link,
.button:visited,
.button:hover,
.button:active {
    color: #0d1d31;
    text-decoration: none;
    border-bottom-style: solid;
}

.button:hover {
    background: #9cb2cb;
}

.button:active {
    border-top-color: #1b2f4b;
    border-left-color: #1b2f4b;
    border-right-color: #d6e2f1;
    border-bottom-color: #d6e2f1;
    box-shadow: inset 1px 1px 0 #56708f;
    transform: translate(3px, 3px);
}

@media (max-width: 900px) {
    .top-panel__inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .top-panel__nav {
        justify-content: center;
    }

    .nav-stage {
        justify-content: center;
    }

    .info-panel {
        flex-direction: column;
    }
}