:root {
    color-scheme: light;
    --background: #f6f2ea;
    --card: #fffaf2;
    --text: #24201b;
    --muted: #665f55;
    --accent: #2f6f5e;
    --accent-dark: #235648;
    --border: #ded2bf;
    --warning-background: #fff2cd;
    --warning-border: #e2b84f;
    --footer-background: #0d2b4c;
    --footer-text: #dce9f7;
    --footer-link: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body.landing-page {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow-x: hidden;
}


.site-header,
.landing-page .site-header {
    --site-header-min-height: 96px;

    display: flex;
    min-height: var(--site-header-min-height);
    align-items: center;
    background: var(--footer-background, #0d2b4c);
    background-color: #0d2b4c;
    color: #ffffff;
}

.site-header [hidden],
.landing-page .site-header [hidden] {
    display: none !important;
}

.site-header__inner,
.landing-page .site-header__inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 56px);
    padding: 12px clamp(20px, 5vw, 64px);
}

.site-header__brand,
.landing-page .site-header__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    color: #ffffff;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 850;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.site-header__logo-image,
.landing-page .site-header__logo-image {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 72px;
    height: auto;
    object-fit: contain;
}

.site-header__logo-fallback,
.landing-page .site-header__logo-fallback {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.site-header__conversation,
.landing-page .site-header__conversation {
    display: grid;
    flex: 1 1 auto;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

.site-header__headline,
.landing-page .site-header__headline {
    margin: 0;
    color: var(--footer-text, #dce9f7);
    font-size: clamp(0.98rem, 1.4vw, 1.18rem);
    font-weight: 750;
}

.site-header__language-row,
.site-header__language-list,
.landing-page .site-header__language-row,
.landing-page .site-header__language-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: clamp(0.92rem, 1.2vw, 1.06rem);
    font-weight: 700;
    list-style: none;
}

.site-header__language,
.site-header__language-list li,
.landing-page .site-header__language,
.landing-page .site-header__language-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.site-header__separator,
.landing-page .site-header__separator {
    color: rgba(255, 255, 255, 0.72);
}

.site-header__flag,
.landing-page .site-header__flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.site-header__flag-fallback,
.landing-page .site-header__flag-fallback {
    font-size: 1rem;
    line-height: 1;
}


.landing-page .landing-shell {
    display: grid;
    width: 100%;
    max-width: 100vw;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(420px, calc(100svh - 88px - var(--site-header-min-height, 92px)), 760px);
    background: #07192c;
    overflow: hidden;
}

@supports (height: 100dvh) {
    .landing-page .landing-shell {
        min-height: clamp(420px, calc(100dvh - 88px - var(--site-header-min-height, 92px)), 760px);
    }
}

.landing-page .app-panel {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
}

.landing-page .app-panel__image,
.landing-page .app-panel__shade {
    position: absolute;
    inset: 0;
}

.landing-page .app-panel__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: filter 180ms ease, transform 180ms ease;
    z-index: 0;
}

.landing-page .app-panel__shade {
    background:
        linear-gradient(180deg, rgba(4, 18, 32, 0.28) 0%, rgba(4, 18, 32, 0.08) 45%, rgba(4, 18, 32, 0.3) 100%),
        linear-gradient(90deg, rgba(4, 18, 32, 0.1), rgba(4, 18, 32, 0.02));
    z-index: 1;
}

.landing-page .app-panel__content {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(560px, calc(100% - 40px));
    min-height: clamp(280px, 30svh, 390px);
    max-height: calc(100% - clamp(32px, 8svh, 96px));
    flex-direction: column;
    align-items: flex-start;
    margin: clamp(16px, 4svh, 48px) auto;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    background: rgba(5, 22, 38, 0.3);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
    overflow: auto;
}

.landing-page .app-panel__eyebrow,
.landing-page .app-panel__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-page .app-panel__eyebrow {
    color: #c5f2e5;
}

.landing-page .app-panel__badge {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.landing-page .app-panel h1,
.landing-page .app-panel h2 {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.1;
    text-wrap: balance;
}

.landing-page .app-panel p {
    max-width: 32rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.6vw, 1.28rem);
}

.landing-page .app-panel__cue {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 13px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #0d2b4c;
    font-weight: 850;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.landing-page .app-panel__cue--disabled {
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.76);
    box-shadow: none;
    pointer-events: none;
    user-select: none;
}

.landing-page .app-panel--windows {
    cursor: pointer;
    outline-offset: -8px;
}

.landing-page .app-panel--windows::after {
    position: absolute;
    inset: 14px;
    z-index: 3;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 28px;
    pointer-events: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.landing-page .app-panel--windows:hover .app-panel__image,
.landing-page .app-panel--windows:focus-visible .app-panel__image {
    filter: brightness(1.14) saturate(1.08);
    transform: scale(1.045);
}

.landing-page .app-panel--windows:hover::after,
.landing-page .app-panel--windows:focus-visible::after {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(89, 220, 181, 0.54), 0 0 42px rgba(89, 220, 181, 0.34);
}

.landing-page .app-panel--inactive {
    cursor: default;
}

.landing-page .app-panel--inactive .app-panel__image {
    filter: grayscale(0.08) brightness(1.06) saturate(1.04);
}

.landing-page .app-panel--inactive .app-panel__shade {
    background: rgba(7, 21, 36, 0.16);
}

.landing-page .site-footer {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(20px, 5vw, 64px);
    background: var(--footer-background);
    color: var(--footer-text);
}

.landing-page .site-footer p {
    margin: 0;
}

.landing-page .site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.landing-page .site-footer__link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.landing-page .site-footer a {
    color: var(--footer-link);
    font-weight: 700;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 4px;
}

.landing-page .site-footer a:hover,
.landing-page .site-footer a:focus-visible {
    text-decoration-color: #ffffff;
}

.page-shell {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
}

.hero-card,
.details-card,
.support-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(64, 49, 30, 0.08);
}

.hero-card {
    padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

.page-shell h1 {
    margin-bottom: 16px;
    font-size: clamp(2.3rem, 7vw, 4.5rem);
    line-height: 1;
}

.page-shell h2 {
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.description {
    max-width: 680px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 1.18rem;
}

.tester-note,
.warning-note,
.status-note,
.fallback-note {
    border-radius: 12px;
    padding: 12px 14px;
}

.tester-note {
    display: inline-block;
    margin-bottom: 28px;
    background: #eef6f1;
    color: #1e5144;
    font-weight: 700;
}

.download-panel {
    display: grid;
    gap: 14px;
    align-items: start;
}

.version-line {
    margin-bottom: 0;
    color: var(--muted);
}

.download-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.download-button:hover,
.download-button:focus-visible {
    background: var(--accent-dark);
}

.download-button.is-disabled,
.download-button[aria-disabled="true"] {
    cursor: not-allowed;
    background: #8b958f;
    color: #f4f4f4;
    pointer-events: none;
}

.status-note {
    margin-bottom: 0;
    background: #eee7db;
    color: var(--muted);
}

.warning-note {
    margin-bottom: 0;
    border: 1px solid var(--warning-border);
    background: var(--warning-background);
    color: #624917;
}

.details-card,
.support-card {
    margin-top: 20px;
    padding: 24px;
}

.release-details {
    display: grid;
    gap: 12px;
    margin: 0;
}

.release-details div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.release-details div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

dt {
    color: var(--muted);
    font-weight: 700;
}

dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.fallback-note {
    margin-top: 18px;
    margin-bottom: 0;
    border: 1px solid var(--warning-border);
    background: var(--warning-background);
}

.support-card p {
    margin-bottom: 0;
}

.page-shell a {
    color: var(--accent-dark);
}

@media (max-width: 760px) {
    .site-header__inner,
    .landing-page .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .site-header__conversation,
    .landing-page .site-header__conversation {
        justify-items: start;
        text-align: left;
    }

    .site-header__logo-image,
    .landing-page .site-header__logo-image {
        max-width: 180px;
        max-height: 56px;
    }

    .landing-page .site-header__language-row,
    .landing-page .site-header__language-list {
        justify-content: flex-start;
    }

    .landing-page .landing-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .landing-page .app-panel {
        min-height: 68svh;
    }

    .landing-page .app-panel__content {
        width: min(100% - 28px, 560px);
        min-height: clamp(320px, 48svh, 410px);
        max-height: none;
        margin-top: 24px;
        overflow: visible;
    }

    .landing-page .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-page .site-footer__links {
        align-items: flex-start;
    }

    .landing-page .site-footer__link-row {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 20px, 920px);
        padding: 20px 0;
    }

    .release-details div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.notice-note {
    border: 1px solid var(--warning-border);
    border-radius: 12px;
    margin-bottom: 0;
    padding: 12px 14px;
    background: var(--warning-background);
    color: #624917;
}

.legal-page .hero-card,
.legal-page .details-card,
.legal-page .support-card {
    margin-bottom: 20px;
}

.legal-section p:last-child,
.legal-bullets:last-child {
    margin-bottom: 0;
}

.legal-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.legal-list div {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-bullets {
    padding-left: 1.25rem;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.support-card .legal-nav {
    margin-top: 14px;
}

@media (max-width: 640px) {
    .legal-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Final static homepage header one-line layout */
.site-header {
  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;
  background: var(--footer-background, #0d2b4c) !important;
  background-color: #0d2b4c !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.site-header__inner {
  width: 100% !important;
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  padding: 0 72px !important;
  box-sizing: border-box !important;
}

.site-header__brand {
  flex: 0 0 auto !important;
  width: 132px !important;
  max-width: 132px !important;
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

.site-header img.site-header__logo-image {
  display: block !important;
  max-height: 82px !important;
  max-width: 124px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.site-header__conversation,
.site-header__language-row {
  display: contents !important;
}

.site-header__conversation-line {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  background: transparent !important;
  background-color: transparent !important;
}

.site-header__headline {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  background: transparent !important;
  background-color: transparent !important;
}

.site-header__language {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Flag assets must have real transparent backgrounds; CSS does not add flag backgrounds. */
.site-header img.site-header__flag {
  display: block !important;
  width: clamp(52px, 3.9vw, 60px) !important;
  height: clamp(35px, 2.6vw, 40px) !important;
  max-width: 60px !important;
  max-height: 40px !important;
  min-width: 52px !important;
  min-height: 35px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
}

.site-header__separator,
.site-header__language-name,
.site-header__flag-fallback {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .site-header {
    height: auto !important;
    min-height: 88px !important;
    max-height: none !important;
    background: var(--footer-background, #0d2b4c) !important;
    background-color: #0d2b4c !important;
    overflow: visible !important;
  }

  .site-header__inner {
    height: auto !important;
    min-height: 88px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    padding: 8px 24px !important;
  }

  .site-header__brand {
    height: 72px !important;
    width: 124px !important;
    max-width: 124px !important;
  }

  .site-header img.site-header__logo-image {
    max-height: 72px !important;
    max-width: 116px !important;
  }

  .site-header__conversation-line {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    white-space: normal !important;
  }

  .site-header img.site-header__flag {
    width: 44px !important;
    height: 29px !important;
    max-width: 44px !important;
    max-height: 29px !important;
    min-width: 44px !important;
    min-height: 29px !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .site-header__inner {
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 16px 20px 20px !important;
  }

  .site-header__brand {
    width: auto !important;
    max-width: 150px !important;
    height: auto !important;
    justify-content: center !important;
  }

  .site-header img.site-header__logo-image {
    max-height: 70px !important;
    max-width: 140px !important;
  }

  .site-header__conversation-line {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(130px, max-content)) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px 22px !important;
    white-space: normal !important;
  }

  .site-header__headline {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    text-align: center !important;
    font-weight: 400 !important;
    white-space: normal !important;
  }

  .site-header__separator {
    display: none !important;
  }

  .site-header__language {
    justify-content: flex-start !important;
  }

  .site-header img.site-header__flag {
    width: 36px !important;
    height: 24px !important;
    max-width: 36px !important;
    max-height: 24px !important;
    min-width: 36px !important;
    min-height: 24px !important;
  }
}

.download-page {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
    overflow-x: hidden;
}

.download-page main {
    flex: 1 1 auto;
}

.download-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(720px, calc(100svh - 96px), 920px);
    padding: clamp(32px, 6vw, 78px) clamp(18px, 5vw, 72px);
    background-image: url("assets/images/landing/windows-desktop.webp");
    background-position: center;
    background-size: cover;
    color: #ffffff;
    overflow: hidden;
}

@supports (height: 100dvh) {
    .download-hero {
        min-height: clamp(720px, calc(100dvh - 96px), 920px);
    }
}

.download-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 18%, rgba(89, 220, 181, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(4, 18, 32, 0.28) 0%, rgba(4, 18, 32, 0.08) 45%, rgba(4, 18, 32, 0.30) 100%),
        linear-gradient(90deg, rgba(4, 18, 32, 0.10), rgba(4, 18, 32, 0.02));
    backdrop-filter: blur(0.5px);
}

.download-hero__inner {
    display: grid;
    width: min(1240px, 100%);
    min-height: inherit;
    align-items: center;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(24px, 4vw, 56px);
    margin: 0 auto;
}

.download-cta-panel,
.download-feature-card {
    border: 1px solid rgba(167, 217, 255, 0.34);
    background: linear-gradient(135deg, rgba(7, 29, 54, 0.72), rgba(9, 43, 76, 0.58));
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    backdrop-filter: blur(2.5px);
}

.download-cta-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(26px, 4vw, 46px);
    border-radius: 30px;
}

.download-cta-panel .eyebrow {
    color: #c5f2e5;
}

.download-cta-panel h1 {
    max-width: 12ch;
    margin: 0 0 18px;
    font-size: clamp(2.15rem, 4.4vw, 4.1rem);
    line-height: 0.96;
    text-wrap: balance;
}

.download-hero__subtitle {
    max-width: 34rem;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.download-cta-panel .version-line {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 750;
}

.download-cta-panel .version-line strong {
    color: #ffffff;
}


.download-button--hero {
    min-height: 58px;
    padding: 0 30px;
    background: #ffffff;
    color: #0d2b4c;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    font-size: 1.02rem;
}

.download-button--hero:hover,
.download-button--hero:focus-visible {
    background: #c5f2e5;
    color: #0d2b4c;
}

.download-hero__status {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
}

.download-hero__notes {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.95rem;
}

.download-hero__notes p {
    margin: 8px 0 0;
}

.download-cta-support {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.95rem;
}

.download-cta-support a {
    color: #ffffff;
    font-weight: 800;
    text-decoration-color: rgba(197, 242, 229, 0.7);
    text-underline-offset: 4px;
}

.download-cta-support a:hover,
.download-cta-support a:focus-visible {
    text-decoration-color: #ffffff;
}

.download-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.download-feature-card {
    min-height: 260px;
    padding: 16px;
    border-radius: 24px;
}

.download-feature-card__visual {
    display: grid;
    min-height: 128px;
    place-items: center;
    margin-bottom: 16px;
    border: 1px solid rgba(183, 224, 255, 0.32);
    border-radius: 18px;
    background-image:
        linear-gradient(180deg, rgba(5, 22, 38, 0.18), rgba(7, 29, 54, 0.42)),
        var(--download-card-image),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, rgba(197, 242, 229, 0.2), rgba(13, 43, 76, 0.12));
    background-position: center;
    background-size: cover;
}

.download-feature-card__visual span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-feature-card h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
}

.download-feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
}


.release-details-disclosure summary {
    cursor: pointer;
    color: var(--accent-dark);
    font-size: 1.2rem;
    font-weight: 850;
}

.release-details-disclosure .release-details {
    margin-top: 20px;
}

.download-page .site-footer {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(20px, 5vw, 64px);
    background: var(--footer-background);
    color: var(--footer-text);
}

.download-page .site-footer p {
    margin: 0;
}

.download-page .site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.download-page .site-footer__link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.download-page .site-footer a {
    color: var(--footer-link);
    font-weight: 700;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 4px;
}

@media (max-width: 900px) {
    .download-hero {
        min-height: auto;
    }

    .download-hero__inner {
        grid-template-columns: 1fr;
    }

    .download-cta-panel h1 {
        max-width: 14ch;
    }
}

@media (max-width: 640px) {
    .download-hero {
        padding: 22px 14px 30px;
    }

    .download-feature-grid {
        grid-template-columns: 1fr;
    }

    .download-feature-card {
        min-height: auto;
    }

    .download-page .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-page .site-footer__links {
        align-items: flex-start;
    }

    .download-page .site-footer__link-row {
        justify-content: flex-start;
    }
}

.download-feature-card__visual[role="button"] {
    cursor: zoom-in;
}

.download-feature-card__visual[role="button"]:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 4px;
}

.download-lightbox-open {
    overflow: hidden;
}

.download-lightbox[hidden] {
    display: none;
}

.download-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
}

.download-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 9, 18, 0.82);
    backdrop-filter: blur(5px);
}

.download-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(1120px, 94vw);
    max-height: 90vh;
}

.download-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    object-fit: contain;
}

.download-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #082136;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.download-lightbox__close:focus-visible {
    outline: 3px solid #a7f3d0;
    outline-offset: 3px;
}
