/* Scoped public downloads page; marketing tokens and typography come from site.css. */
.downloads-page {
    --dl-radius: 16px;
    background: var(--paper);
}
.downloads-page [id] {
    scroll-margin-top: 48px;
}
.dl-hero {
    padding-block: 76px 48px;
}
.dl-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin: 0 0 14px;
}
.dl-hero h1 {
    font-size: clamp(40px, 5.4vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    word-spacing: 0.05em;
    max-width: 820px;
    margin: 0 0 24px;
}
.dl-hero h1 span {
    color: var(--blue);
}
.dl-lead {
    font-size: 18px;
    max-width: 650px;
    color: var(--muted);
    line-height: 1.65;
}
.dl-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.dl-text-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    text-underline-offset: 5px;
}
.dl-workflow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.dl-workflow > div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}
.dl-workflow span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    background: var(--blue-soft);
    border-radius: 50%;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    grid-row: span 2;
}
.dl-workflow strong {
    font-size: 16px;
}
.dl-workflow p {
    font-size: 12px;
    color: var(--muted);
    margin: 2px 0 0;
}
.dl-workflow > .icon {
    color: #8e9cb0;
}
.dl-nav {
    position: sticky;
    top: 82px;
    z-index: 20;
    background: var(--white);
    border-block: 1px solid var(--line);
}
.dl-nav > .wrap {
    display: flex;
    gap: 30px;
    overflow: auto;
    white-space: nowrap;
    padding-block: 18px;
}
.dl-nav a {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
}
.dl-nav a:hover {
    color: var(--blue);
}
.dl-sections {
    padding-block: 12px 70px;
}
.dl-section {
    padding-block: 56px;
    border-bottom: 1px solid var(--line);
}
.dl-section-heading {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.dl-section-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--blue-soft);
    border-radius: 12px;
    color: var(--blue);
}
.dl-section-heading .dl-eyebrow {
    margin-bottom: 8px;
}
.dl-section h2,
.dl-help h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
}
.dl-section-heading p:not(.dl-eyebrow) {
    color: var(--muted);
    max-width: 730px;
    margin: 0;
    font-size: 15px;
}
.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.dl-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--dl-radius);
    padding: 26px;
    min-width: 0;
}
.dl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.dl-format {
    font-size: 11px;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: var(--blue);
    background: var(--blue-soft);
    padding: 4px 9px;
    border-radius: 5px;
}
.dl-version {
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.dl-card h3,
.dl-equipment h3 {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}
.dl-requirements {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 16px;
}
.dl-card-description {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0 0 24px;
}
.dl-card-action {
    margin-top: auto;
}
.dl-card-action .btn {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    font-size: 13px;
}
.dl-download {
    background: var(--blue-soft);
    color: var(--blue);
    border: 1px solid #cad9fb;
}
.dl-download:hover {
    background: var(--blue);
    color: white;
}
.dl-availability {
    font-size: 11px;
    color: var(--muted);
    margin: 9px 0 0;
}
.dl-caption {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    margin: 22px 0 0;
}
.downloads-page p a,
.dl-steps a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dl-notice {
    border-left: 3px solid var(--blue);
    background: var(--blue-soft);
    padding: 20px 24px;
    margin: 0 0 24px;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
}
.dl-notice strong {
    font-size: 14px;
}
.dl-notice p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.8;
}
.dl-commercial a {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    margin-top: 10px;
    text-underline-offset: 4px;
}
.dl-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.dl-equipment {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
}
.dl-equipment .dl-requirements {
    margin: 0;
}
.dl-guide {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
    gap: 70px;
}
.dl-guide-intro > p:not(.dl-eyebrow) {
    color: var(--muted);
    font-size: 15px;
}
.dl-guide-intro .dl-notice {
    margin-top: 28px;
}
.dl-guide-intro .dl-notice p {
    font-size: 13px;
}
.dl-steps {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 0;
}
.dl-steps li {
    counter-increment: steps;
    position: relative;
    padding: 0 0 28px 54px;
    border-left: 1px solid var(--line);
    margin-left: 17px;
}
.dl-steps li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}
.dl-steps li:before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    left: -18px;
    top: 0;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #cad9fb;
    border-radius: 50%;
    background: var(--paper);
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
}
.dl-steps h3 {
    font-size: 16px;
    line-height: 1.5;
    margin: 3px 0 10px;
}
.dl-steps p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.85;
    margin: 0 0 10px;
}
.dl-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    margin-top: 52px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--dl-radius);
}
.dl-help h2 {
    font-size: 30px;
}
.dl-help p:not(.dl-eyebrow) {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.dl-help .btn {
    flex-shrink: 0;
}
.dl-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 1000px) {
    .dl-equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dl-guide {
        gap: 36px;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    }
    .dl-nav > .wrap {
        gap: 24px;
    }
    .dl-workflow {
        gap: 16px;
    }
}
@media (max-width: 700px) {
    .dl-hero {
        padding-block: 44px 32px;
    }
    .dl-lead {
        font-size: 16px;
    }
    .dl-hero-actions {
        gap: 20px;
    }
    .dl-workflow {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 36px;
    }
    .dl-workflow > .icon {
        display: none;
    }
    .dl-nav {
        top: 76px;
    }
    .dl-nav > .wrap {
        gap: 24px;
        padding-block: 16px;
    }
    .dl-section {
        padding-block: 38px;
    }
    .dl-grid,
    .dl-equipment-grid,
    .dl-guide {
        grid-template-columns: 1fr;
    }
    .dl-card {
        padding: 24px;
    }
    .dl-guide {
        gap: 32px;
    }
    .dl-section-icon {
        width: 42px;
        height: 42px;
    }
    .dl-notice {
        padding: 18px;
    }
    .dl-steps li {
        padding-left: 34px;
    }
    .dl-help {
        padding: 28px;
        display: block;
    }
    .dl-help .btn {
        margin-top: 24px;
    }
    .downloads-page [id] {
        scroll-margin-top: 48px;
    }
}

@media (min-width: 701px) and (max-width: 960px) {
    .dl-nav {
        top: 76px;
    }
}

@media (max-width: 680px) {
    .dl-nav {
        top: 72px;
    }
}

/* Platform identities and the visual Setup guide. */

.dl-platform-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
}
.dl-platform-icon .icon {
    width: 28px;
    height: 28px;
}
.dl-platform-brand-android {
    color: #287545;
    background: #eaf5ed;
}
.dl-platform-brand-apple {
    color: #24344d;
    background: #f0f2f6;
}
.dl-release-meta {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
}
.dl-equipment-icon {
    flex-shrink: 0;
    color: var(--blue);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--blue-soft);
}
.dl-equipment-head .dl-setup-guide-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}
.dl-setup-guide-heading > div > p:not(.dl-eyebrow) {
    color: var(--muted);
    font-size: 15px;
    margin-top: 12px;
}
.dl-setup-guide-heading > .dl-text-link {
    flex-shrink: 0;
}
.dl-setup-stages {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0 0 32px;
}
.dl-setup-stages li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: start;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: 12px;
}
.dl-setup-stages li > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.dl-setup-stages .icon {
    color: var(--blue);
}
.dl-setup-stages strong {
    grid-column: 1/-1;
    font-size: 13px;
    line-height: 1.5;
}
.dl-setup-stages small {
    grid-column: 1/-1;
    font-size: 10px;
    color: var(--muted);
}
.dl-setup-guide-body {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
    gap: 32px;
    align-items: start;
}
.dl-prerequisites {
    background: var(--blue-soft);
    padding: 26px;
    border-radius: 16px;
    border: 1px solid #d8e3fc;
}
.dl-prerequisites h3 {
    font-size: 21px;
    line-height: 1.4;
    margin: 0 0 24px;
}
.dl-prerequisites ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}
.dl-prerequisites li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.dl-prerequisites li > .icon {
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 2px;
}
.dl-prerequisites strong {
    display: block;
    font-size: 13px;
    line-height: 1.6;
}
.dl-prerequisites li p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 3px;
}
.dl-prerequisites-note {
    border-top: 1px solid #cbd9f5;
    margin-top: 24px;
    padding-top: 18px;
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
}
.dl-setup-steps {
    display: grid;
    list-style: none;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.dl-step-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
}
.dl-step-panel[open] {
    border-color: #b9cef7;
}
.dl-step-panel summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    cursor: pointer;
}
.dl-step-panel summary::-webkit-details-marker {
    display: none;
}
.dl-step-number {
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}
.dl-step-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    background: var(--blue-soft);
    color: var(--blue);
}
.dl-step-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}
.dl-step-optional {
    font-size: 9px;
    letter-spacing: 0.02em;
    font-weight: 700;
    padding: 2px 7px;
    background: #f1f4f8;
    color: var(--muted);
    border-radius: 4px;
}
.dl-step-chevron {
    flex-shrink: 0;
    margin-left: auto;
    width: 17px;
    height: 17px;
    color: var(--muted);
}
.dl-step-panel[open] .dl-step-chevron {
    transform: rotate(45deg);
    color: var(--blue);
}
.dl-step-body {
    border-top: 1px solid var(--line);
    padding: 22px;
}
.dl-step-body > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 14px;
}
.dl-step-body > .dl-step-result {
    display: flex;
    gap: 9px;
    background: #edf7f1;
    color: #285f42;
    border-radius: 8px;
    font-size: 12px;
    padding: 13px;
    margin: 20px 0 0;
}
.dl-step-result .icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
}
.dl-step-flow {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 17px 12px;
    margin-bottom: 20px;
    border-radius: 10px;
}
.dl-flow-node {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
    color: var(--muted);
    font-weight: 600;
}
.dl-flow-node > .icon {
    width: 24px;
    height: 24px;
    color: var(--blue);
}
.dl-flow-arrow {
    color: #9caac0;
    width: 15px;
    flex-shrink: 0;
}
@media (max-width: 1000px) {
    .dl-setup-stages {
        gap: 8px;
    }
    .dl-setup-stages li {
        padding: 14px;
    }
    .dl-setup-guide-body {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
        gap: 22px;
    }
}
@media (max-width: 700px) {
    .dl-setup-guide-heading {
        display: block;
    }
    .dl-setup-guide-heading > .dl-text-link {
        display: inline-block;
        margin-top: 20px;
    }
    .dl-setup-stages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dl-setup-stages li:last-child {
        grid-column: 1/-1;
    }
    .dl-setup-guide-body {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .dl-prerequisites {
        padding: 24px;
    }
    .dl-step-panel summary {
        gap: 10px;
        padding: 16px 14px;
    }
    .dl-step-title {
        font-size: 13px;
    }
    .dl-step-body {
        padding: 18px;
    }
    .dl-step-icon {
        width: 32px;
        height: 32px;
    }
    .dl-flow-node {
        font-size: 9px;
    }
}

.dl-button-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.dl-button-label .icon {
    width: 16px;
    height: 16px;
}
