.download-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 97, 0.16), transparent 34rem),
    #050810;
  color: #f5f7ff;
}

.compact-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 8, 16, 0.82);
  backdrop-filter: blur(18px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}

.nav-brand img {
  width: 42px;
  height: 42px;
}

.compact-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compact-nav nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  color: #b8c0d6;
  font-weight: 800;
  text-decoration: none;
}

.compact-nav nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.download-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 0 56px;
}

.download-hero {
  display: grid;
  gap: 22px;
  max-width: 900px;
}

.download-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  background: linear-gradient(90deg, #ffd3e6 0%, #ff6a61 58%, #ff9464 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.download-lead {
  margin: 0;
  max-width: 760px;
  color: #c3cadb;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.65;
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(860px, 100%);
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(15, 20, 36, 0.82);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.download-file {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.file-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 106, 97, 0.16);
  color: #ff786c;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.download-file strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 22px;
}

.download-file p,
.download-note {
  margin: 6px 0 0;
  color: #9ea8bf;
  line-height: 1.5;
}

.download-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  background: linear-gradient(135deg, #ff625d, #ff8b61);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(255, 106, 97, 0.22);
}

.download-button.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.download-note {
  grid-column: 1 / -1;
}

.download-visuals {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: clamp(26px, 5vw, 48px);
}

.visual-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(15, 20, 36, 0.72);
}

.visual-card.wide {
  grid-row: span 2;
}

.visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-card.wide img {
  aspect-ratio: 16 / 9;
}

.visual-card div,
.visual-card > span,
.visual-card > h2 {
  margin-inline: 20px;
}

.visual-card span {
  display: inline-flex;
  margin-top: 18px;
  color: #ff847b;
  font-size: 13px;
  font-weight: 950;
}

.visual-card h2 {
  margin-top: 8px;
  margin-bottom: 22px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 6vw, 70px);
}

.download-grid article,
.download-support {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(15, 20, 36, 0.72);
}

.download-grid article {
  padding: 22px;
}

.download-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 106, 97, 0.14);
  color: #ff847b;
  font-weight: 950;
}

.download-grid h2 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.download-grid p,
.download-support p {
  margin: 0;
  color: #aeb6ca;
  line-height: 1.65;
}

.download-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
}

.download-support h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
}

.support-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  font-weight: 850;
}

.support-qr img {
  width: min(190px, 40vw);
  aspect-ratio: 1;
  object-fit: contain;
}

@media (max-width: 820px) {
  .compact-nav {
    position: static;
    align-items: flex-start;
  }

  .compact-nav nav {
    overflow-x: auto;
    max-width: 100%;
  }

  .download-card,
  .download-support,
  .download-visuals {
    grid-template-columns: 1fr;
  }

  .visual-card.wide {
    grid-row: auto;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .compact-nav {
    padding-inline: 16px;
  }

  .nav-brand span {
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .download-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 34px;
  }

  .download-hero h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .download-file {
    align-items: flex-start;
  }

  .download-file strong {
    white-space: normal;
    font-size: 20px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .support-qr img {
    width: min(230px, 72vw);
  }
}
