.nav-toggle {
    display: none;
}

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

/* Keep media and long content inside the viewport on every page. */
img,
svg,
video {
    max-width: 100%;
    height: auto;
}

main,
section,
article,
.container,
.info-card,
.callout-panel,
.dark-panel,
.feature-panel {
    min-width: 0;
}

@media (max-width: 560px) {
    .header-inner {
        position: relative;
        padding: 18px 0;
    }

    .brand {
        font-size: 13px;
    }

    .brand-logo {
        width: 30px;
        height: 30px;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 6px;
        background: transparent;
        color: #fff;
        cursor: pointer;
    }

    .nav-toggle > span:not(.sr-only) {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .2s, opacity .2s;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(4) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        z-index: 3;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(255, 255, 255, .13);
        background: var(--ink);
        box-shadow: 0 18px 28px rgba(18, 29, 36, .22);
        font-size: 14px;
        max-height: calc(100vh - 86px);
        overflow-y: auto;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav.is-open a:not(:last-child) {
        display: block;
    }

    .main-nav a {
        padding: 12px 18px;
        color: #fff;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: rgba(211, 170, 118, .12);
        color: var(--copper);
    }
}

@media (max-width: 850px) {
    .product-image-visual {
        min-height: 0;
    }

    .product-image-visual img {
        width: 100%;
        object-fit: contain;
    }

    .workflow-visual,
    .product-hero-visual,
    .download-primary-panel,
    .feature-panel,
    .dark-panel {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .header-inner {
        gap: 12px;
    }

    .brand {
        min-width: 0;
        max-width: calc(100% - 54px);
    }

    .brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .workflow-visual {
        padding: 18px 14px;
    }

    .workflow-visual-heading {
        display: block;
    }

    .workflow-visual-heading span {
        display: block;
        margin-top: 4px;
    }

    .requirements-panel,
    .download-primary-panel,
    .feature-panel,
    .dark-panel {
        padding-right: 22px;
        padding-left: 22px;
    }

    .transfer-table-row {
        grid-template-columns: minmax(0, 1fr) 38px 52px;
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }
}
