html,
body,
div,
span,
h1,
h2,
h3,
p,
a,
img,
i,
button,
section,
nav {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    vertical-align: baseline;
    border: 0;
}

html {
    width: 100%;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    color: rgba(0, 0, 0, .88);
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-variant: tabular-nums;
    line-height: 1.5715;
    background-color: #eff1f3;
    font-feature-settings: "tnum";
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: #0a59f7;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:hover {
    color: #3478ff;
}

button {
    color: inherit;
    font: inherit;
    background: transparent;
    cursor: pointer;
}

.page {
    width: 100%;
    padding: 30px 24px 48px;
}

.download-head {
    max-width: 1120px;
    padding: 0 0 52px;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0;
}

.product-icon {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto;
    object-fit: contain;
}

.download-head h1 {
    margin-top: 24px;
    color: #000;
    font-size: 56px;
    font-weight: 700;
    line-height: 74px;
}

.download-head-desc {
    max-width: 1120px;
    margin: 12px auto 0;
    color: #1f2328;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.download-head-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 26px 40px;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-top: 22px;
    font-size: 20px;
}

.guide-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: #0a59f7;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    text-align: left;
}

.guide-link:hover {
    text-decoration: underline;
}

button.guide-link {
    border: 0;
}

.guide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    color: #0a59f7;
    background-color: rgba(10, 89, 247, .1);
    border-radius: 100%;
}

.guide-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.download-panel {
    width: min(1080px, 100%);
    padding: 38px 48px 28px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
}

.os-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 38px;
    align-items: center;
    justify-content: center;
    padding-bottom: 18px;
}

.os-tab {
    position: relative;
    min-height: 34px;
    padding: 0 0 9px;
    color: #121417;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.os-tab::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 2px;
    background: transparent;
    border-radius: 999px;
    content: "";
}

.os-tab[aria-selected="true"] {
    color: #0a59f7;
}

.os-tab[aria-selected="true"]::after {
    background: #0a59f7;
}

.release-list {
    display: grid;
    gap: 12px;
}

.release-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 94px;
    padding: 16px 22px;
    background: #f1f3f5;
    border-radius: 9px;
}

.release-main {
    min-width: 0;
}

.release-main h3 {
    color: #111;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.release-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    min-width: 0;
    margin-top: 10px;
    color: #1f2328;
    font-size: 16px;
    line-height: 24px;
}

.download-link,
.pgp-link,
.hash-button {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 24px;
    color: #0a59f7;
    font-size: 16px;
    line-height: 24px;
}

.download-link span,
.pgp-link span,
.hash-button span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.download-link {
    margin-right: 22px;
}

.download-link svg,
.pgp-link svg,
.hash-button svg {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    stroke-width: 2;
}

.hash-button {
    color: #222;
}

.hash-button:hover {
    color: #0a59f7;
}

.release-separator {
    width: 1px;
    height: 18px;
    margin: 0 14px;
    background: #cfd4da;
}

.release-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 278px;
    max-width: 100%;
    color: #7d8086;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
}

.meta-line {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    max-width: 100%;
}

.meta-line span {
    overflow-wrap: anywhere;
}

.notes-link {
    margin-top: 4px;
    color: #0a59f7;
    font-size: 16px;
    line-height: 24px;
}

.older-versions {
    display: flex;
    justify-content: center;
    padding-top: 22px;
}

.older-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 40px;
    padding: 0 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    background: #0a59f7;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(10, 89, 247, .22);
}

.older-button:hover {
    color: #fff;
    background: #1d6dff;
}

.older-button svg {
    width: 17px;
    height: 17px;
    margin-left: 8px;
}

.notice-stack {
    display: grid;
    gap: 12px;
    width: min(1080px, 100%);
    margin: 18px auto 0;
}

.notice {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 9px;
    font-size: 15px;
    line-height: 23px;
}

.notice svg {
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.notice-blue {
    color: #083f9b;
    background: #e6f0ff;
    border: 1px solid #b8d2ff;
}

.notice-yellow {
    color: #735000;
    background: #fff6d8;
    border: 1px solid #ffe08a;
}

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(1080px, 100%);
    margin: 18px auto 0;
    text-align: center;
}

.site-footer a {
    color: rgba(10, 89, 247, .62);
    font-size: 14px;
    font-style: italic;
    line-height: 22px;
}

.site-footer a:hover {
    color: #0a59f7;
    text-decoration: underline;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    max-width: min(360px, calc(100vw - 48px));
    padding: 11px 16px;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    background: rgba(0, 0, 0, .84);
    border-radius: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .48);
}

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

.modal-dialog {
    position: relative;
    width: min(540px, 100%);
    padding: 28px 42px 22px;
    color: #1f2328;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
}

.modal-dialog h2 {
    margin: 0 52px 26px 0;
    color: #111;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

.modal-dialog p {
    margin: 0 0 10px;
    color: #24292f;
    font-size: 15px;
    line-height: 27px;
    overflow-wrap: anywhere;
}

.modal-dialog a {
    color: #0a59f7;
}

.modal-dialog a:hover {
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #111;
    background: #f2f2f2;
    border-radius: 50%;
}

.modal-close:hover {
    background: #e8e8e8;
}

.modal-close:focus {
    outline: none;
}

.modal-close:focus-visible,
.modal-confirm:focus-visible,
.guide-link:focus-visible {
    outline: 2px solid rgba(10, 89, 247, .72);
    outline-offset: 3px;
}

.modal-close svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.modal-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 39px;
    padding: 0 26px;
    margin: 20px auto 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    background: #000;
    border-radius: 999px;
}

.modal-confirm:hover {
    background: #242424;
}

.error-state {
    padding: 22px;
    color: #a8071a;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    background: #fff1f0;
    border: 1px solid #ffa39e;
    border-radius: 9px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

@media screen and (max-width: 840px) {
    .page {
        padding: 24px 18px 36px;
    }

    .download-head {
        padding-bottom: 38px;
    }

    .product-icon {
        width: 76px;
        height: 76px;
    }

    .download-head h1 {
        font-size: 42px;
        line-height: 54px;
    }

    .download-head-desc {
        font-size: 16px;
        line-height: 25px;
    }

    .download-head-guide {
        gap: 14px 24px;
    }

    .guide-link {
        font-size: 16px;
        line-height: 26px;
    }

    .download-panel {
        padding: 30px 28px 24px;
    }

    .release-row {
        grid-template-columns: 1fr;
    }

    .release-meta {
        align-items: flex-start;
        min-width: 0;
        text-align: left;
    }

    .meta-line {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 600px) {
    .page {
        padding: 20px 12px 28px;
    }

    .download-head {
        padding-bottom: 28px;
    }

    .product-icon {
        width: 64px;
        height: 64px;
    }

    .download-head h1 {
        margin-top: 16px;
        font-size: 32px;
        line-height: 40px;
    }

    .download-head-desc {
        padding: 0 6px;
        font-size: 15px;
        line-height: 23px;
    }

    .guide-link {
        min-height: 24px;
        font-size: 14px;
        line-height: 24px;
    }

    .guide-icon {
        width: 24px;
        height: 24px;
        margin-right: 6px;
    }

    .guide-icon svg {
        width: 15px;
        height: 15px;
    }

    .download-panel {
        padding: 24px 12px 20px;
        border-radius: 16px;
    }

    .os-tabs {
        gap: 10px 20px;
    }

    .os-tab {
        font-size: 14px;
    }

    .release-row {
        min-height: 0;
        padding: 15px 14px;
    }

    .release-main h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .release-actions,
    .download-link,
    .pgp-link,
    .hash-button,
    .release-meta,
    .notes-link {
        font-size: 14px;
        line-height: 22px;
    }

    .download-link {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .release-separator {
        margin: 0 10px;
    }

    .meta-line {
        flex-direction: column;
        gap: 0;
    }

    .older-button {
        width: 100%;
        min-height: 42px;
    }

    .notice {
        padding: 14px;
        font-size: 14px;
        line-height: 22px;
    }

    .modal-dialog {
        padding: 24px 22px 20px;
        border-radius: 12px;
    }

    .modal-dialog h2 {
        margin-right: 48px;
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 28px;
    }

    .modal-dialog p {
        font-size: 14px;
        line-height: 24px;
    }

    .modal-close {
        top: 12px;
        right: 14px;
    }
}
