.download-v2-main {
    position: relative;
    z-index: 2;
    padding-top: calc(14px + var(--site-nav-height-desktop));
    padding-bottom: 0;
}

.download-v2-install {
    position: relative;
    isolation: isolate;
    overflow: visible;
    width: min(var(--hero-v2-container-max), calc(100% - (max(env(safe-area-inset-left), var(--hero-v2-side-gutter)) + max(env(safe-area-inset-right), var(--hero-v2-side-gutter)))));
    margin: 0 auto;
    text-align: center;
    padding-bottom: clamp(44px, 7vh, 84px);
}

.download-v2-title {
    margin: 0;
    padding-top: 200px;
}

.download-v2-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.download-v2-action-button {
    min-width: 210px;
    height: 48px;
    font-size: clamp(15px, 1vw, 17px);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
}

#downloadMac.download-v2-action-button {
    min-width: 228px;
    text-align: center;
    padding: 10px 18px 10px 12px;
}

#downloadMacAppStore.download-v2-action-button {
    min-width: 228px;
}

#downloadMacAppStore.download-v2-action-button {
    text-align: center;
    padding: 10px 18px 10px 12px;
}

.download-v2-mac-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
}

.download-v2-ios-action {
    display: none;
}

.download-v2-mac-stack {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.download-v2-button-content {
    --download-v2-mac-icon-size: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

#downloadMac .download-v2-button-content {
    --download-v2-mac-icon-size: 32px;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
}

#downloadMacAppStore .download-v2-button-content {
    --download-v2-mac-icon-size: 32px;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
}

.download-v2-button-icon {
    display: inline-flex;
    width: var(--download-v2-mac-icon-size);
    height: var(--download-v2-mac-icon-size);
    flex: 0 0 auto;
    justify-self: center;
}

.download-v2-button-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
    transform: scale(1.04);
    transform-origin: center;
}

.download-v2-button-label {
    display: inline-block;
    white-space: nowrap;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
}

.download-v2-button-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.08;
}

.download-v2-button-subtitle {
    display: block;
    margin-top: 2px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(248, 248, 248, 0.84);
    white-space: nowrap;
}

.download-v2-mac-divider {
    margin: 0;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.download-v2-mac-store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(245, 245, 247, 0.24);
    border-radius: 999px;
    background: rgba(245, 245, 247, 0.08);
    color: rgba(245, 245, 247, 0.74);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.download-v2-mac-store-button:hover {
    border-color: rgba(92, 151, 255, 0.35);
    background: linear-gradient(180deg, rgba(52, 120, 247, 0.24), rgba(52, 120, 247, 0.12));
    color: #8ab6ff;
    box-shadow: inset 0 1px 0 rgba(176, 210, 255, 0.22);
    transform: translateY(-1px);
}

.download-v2-mac-store-button:focus-visible {
    outline: 2px solid rgba(138, 182, 255, 0.6);
    outline-offset: 3px;
}

.download-v2-mac-caption {
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.download-v2-ios-button {
    display: none;
    min-width: 228px;
    text-align: center;
    padding: 10px 18px 10px 12px;
}

html.is-ios-device .download-v2-ios-button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    align-self: stretch;
}

html.is-ios-device #downloadMac.download-v2-action-button {
    width: 100%;
    min-width: 0;
}

.download-v2-ios-caption {
    margin: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.download-v2-ios-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    min-height: 46px;
    padding: 0 12px 10px;
    border: none;
    border-radius: 16px;
    background: transparent;
}

html.is-ios-device #downloadIosQrCta {
    display: none;
}

html.is-ios-device .download-v2-actions {
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

html.is-ios-device .download-v2-mac-action {
    margin-top: 0;
    width: min(220px, calc(100vw - 80px));
    max-width: 100%;
}

html.is-ios-device .download-v2-mac-stack {
    min-height: 0;
    width: 100%;
}

html.is-ios-device #downloadMac .download-v2-button-content,
html.is-ios-device .download-v2-ios-button .download-v2-button-content {
    --download-v2-mac-icon-size: 32px;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
}

html.is-ios-device #downloadMac .download-v2-button-subtitle {
    display: none;
}

html.is-ios-device .download-v2-mac-store-button {
    display: none;
}

html.is-ios-device .download-v2-mac-divider {
    display: none;
}

html.is-ios-device .download-v2-mac-caption {
    display: block;
}

html.is-ios-device .download-v2-ios-action {
    width: min(220px, calc(100vw - 80px));
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-v2-ios-qr-caption {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    line-height: 1.3;
}

.download-v2-ios-qr-code {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F8F8;
    border-radius: 8px;
    padding: 8px;
}

.download-v2-ios-qr-code canvas,
.download-v2-ios-qr-code img {
    max-width: 100%;
    height: auto;
    display: block;
}

.download-v2-ios-qr-caption-link {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    line-height: 1.3;
}

.download-v2-helper {
    margin-top: clamp(54px, 7vh, 82px);
    margin-bottom: 0;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(22px, 1.7vw, 36px);
    line-height: 1.45;
    color: #F8F8F8;
}

.download-v2-helper-subtitle {
    margin: 12px 0 0;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.4;
    color: #F8F8F8;
}

.download-v2-notify-form {
    --download-v2-notify-gap: clamp(16px, 2.2vh, 24px);
    margin-top: var(--download-v2-notify-gap);
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: var(--download-v2-notify-gap);
}

.download-v2-notify-email {
    width: min(420px, 100%);
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(245, 245, 247, 0.28);
    background: rgba(245, 245, 247, 0.06);
    color: #f5f5f7;
    padding: 0 14px;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 16px;
    outline: none;
}

.download-v2-notify-email::placeholder {
    color: rgba(245, 245, 247, 0.58);
}

.download-v2-notify-email:focus {
    border-color: rgba(245, 245, 247, 0.28);
    box-shadow: none;
}

.download-v2-notify-email:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: rgba(245, 245, 247, 0.28) !important;
    box-shadow: none !important;
}

.download-v2-notify-error {
    margin: calc(var(--download-v2-notify-gap, 16px) * -0.6) 0 0;
    display: none;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.3;
    color: #ff6b6b;
    text-align: center;
}

.download-v2-notify-error.is-visible {
    display: block;
}

.download-v2-notify-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.download-v2-platform-toggle {
    border: 1px solid rgba(245, 245, 247, 0.24);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(245, 245, 247, 0.08);
    color: #F8F8F8;
    cursor: pointer;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.download-v2-platform-toggle.is-selected {
    border-color: rgba(92, 151, 255, 0.35);
    background: linear-gradient(180deg, rgba(52, 120, 247, 0.24), rgba(52, 120, 247, 0.12));
    color: #8ab6ff;
    box-shadow: inset 0 1px 0 rgba(176, 210, 255, 0.22);
}

.download-v2-notify-button {
    min-width: 180px;
    font-size: clamp(16px, 1vw, 18px);
}

.download-v2-notify-status {
    margin: calc(var(--download-v2-notify-gap, 16px) * -0.6) 0 0;
    display: none;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    color: rgba(245, 245, 247, 0.74);
}

.download-v2-notify-status.is-visible {
    display: block;
}

.download-v2-notify-status.is-success {
    color: #78e39d;
}

.download-v2-notify-status.is-error {
    color: #ff6b6b;
}

@media (max-width: 900px) {
    .download-v2-actions {
        gap: 12px;
    }

    .download-v2-action-button {
        min-width: 190px;
    }

    #downloadMac.download-v2-action-button,
    #downloadMacAppStore.download-v2-action-button {
        min-width: 210px;
    }

    .download-v2-ios-qr {
        min-width: 190px;
    }

    .download-v2-install::before {
        background-size: 160% auto;
        background-position: center top;
    }
}

@media (max-width: 768px) {
    .download-v2-main {
        padding-top: var(--site-nav-height-mobile);
    }

}

@media (max-width: 640px) {

    .download-v2-title {
        padding-top: clamp(100px, 14vh, 152px);
        max-width: 18ch;
        margin-left: auto;
        margin-right: auto;
    }

    .download-v2-actions {
        justify-content: center;
        gap: 20px;
        margin-top: 32px;
    }

    .download-v2-action-button {
        min-width: 0;
        width: auto;
    }

    .download-v2-mac-stack {
        justify-content: space-between;
    }

    .download-v2-ios-qr {
        min-width: 0;
        width: auto;
    }

    .download-v2-mac-caption {
        display: none;
    }

    .download-v2-mac-action {
        margin-top: 27px;
    }

    .download-v2-mac-store-button {
        margin-top: 0;
    }

    .download-v2-helper {
        max-width: none;
        text-align: center;
    }


    .download-v2-notify-email {
        width: 100%;
    }
}
