.page-download {
  --download-blue: #0070eb;
  --download-blue-dark: #0058bc;
  --download-text: #191c1e;
  --download-muted: #414755;
  --download-bg: #f7f9fb;
  --download-line: #e2e8f0;
  background: var(--download-bg);
  color: var(--download-text);
}

.download-main {
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 112, 235, 0.06), transparent 32%),
    radial-gradient(circle at 82% 70%, rgba(0, 93, 168, 0.06), transparent 30%),
    var(--download-bg);
}

.download-hero {
  padding: 150px 0 124px;
  background: rgba(247, 249, 251, 0.72);
}

.download-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 84px;
  align-items: center;
}

.download-hero__copy span {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eee4ff;
  color: #6d5b99;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.download-hero h1 {
  margin-top: 28px;
  color: #191c1e;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
}

.download-hero p {
  max-width: 460px;
  margin-top: 22px;
  color: #414755;
  font-size: 16px;
  line-height: 1.65;
}

.download-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.download-button,
.download-card-button,
.download-doc-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--download-blue), var(--download-blue-dark));
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.download-button::before {
  margin-right: 8px;
  content: "↓";
}

.download-button.is-secondary {
  border: 1px solid #9ba7b6;
  background: transparent;
  color: #191c1e;
}

.download-button.is-secondary::before {
  content: "";
  margin: 0;
}

.download-hero__visual {
  margin: 0;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(25, 36, 56, 0.12);
}

.download-hero__visual img {
  width: 100%;
  border-radius: 12px;
}

.download-platforms,
.download-documents,
.download-requirements,
.download-history {
  padding: 84px 0;
}

.download-platforms {
  background: rgba(242, 244, 246, 0.5);
}

.download-section-head {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 64px;
  text-align: center;
}

.download-section-head h2 {
  color: #191c1e;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.download-section-head p {
  color: #414755;
  font-size: 16px;
  line-height: 1.5;
}

.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.download-platform-card,
.download-doc-card {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 34px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
  backdrop-filter: blur(10px);
}

.download-platform-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #e6e8ea;
  color: var(--download-blue-dark);
  font-size: 28px;
  font-weight: 800;
}

.download-platform-card__icon img {
  display: block;
  object-fit: contain;
}

.download-platform-card__icon--windows img {
  width: 27px;
  height: 27px;
}

.download-platform-card__icon--macos img {
  width: 36px;
  height: 26px;
}

.download-platform-card__icon--ios img {
  width: 23px;
  height: 33px;
}

.download-platform-card__icon--android img {
  width: 33px;
  height: 19px;
}

.download-platform-card h3,
.download-doc-card h3 {
  margin-top: 24px;
  color: #191c1e;
  font-size: 16px;
  font-weight: 500;
}

.download-platform-card p {
  margin-top: 8px;
  color: #414755;
  font-size: 14px;
  line-height: 1.45;
}

.download-card-button {
  width: 100%;
  margin-top: 32px;
}

.download-card-button.is-disabled,
.download-doc-card a.is-disabled {
  border: 1px solid var(--download-blue-dark);
  background: transparent;
  color: var(--download-blue-dark);
  pointer-events: none;
}

.download-documents {
  padding-top: 32px;
}

.download-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.download-doc-card {
  align-content: start;
  text-align: left;
  justify-items: start;
}

.download-doc-card span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 112, 235, 0.1);
  color: var(--download-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.download-doc-card p {
  min-height: 48px;
  margin-top: 12px;
  color: #414755;
  font-size: 14px;
  line-height: 1.6;
}

.download-doc-card a {
  width: 100%;
  margin-top: 24px;
}

.download-requirements__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.download-requirements__head h2 {
  font-size: 18px;
  font-weight: 500;
}

.download-requirements__head p {
  margin-top: 14px;
  color: #414755;
  font-size: 14px;
}

.download-requirements__head span {
  padding: 6px 12px;
  border-radius: 4px;
  background: #e6e8ea;
  color: #414755;
  font-size: 12px;
}

.download-requirements__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.download-requirements__grid article {
  overflow: hidden;
  border: 1px solid var(--download-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.download-requirements__grid h3 {
  padding: 22px 32px;
  border-bottom: 1px solid var(--download-line);
  color: #191c1e;
  font-size: 15px;
  font-weight: 600;
}

.download-requirements__grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  margin: 0;
  padding: 28px 32px 32px;
}

.download-requirements__grid dt {
  color: #6b7280;
  font-size: 13px;
}

.download-requirements__grid dd {
  margin: 6px 0 0;
  color: #191c1e;
  font-size: 14px;
}

.download-history {
  padding-top: 48px;
}

.download-timeline {
  position: relative;
  display: grid;
  gap: 48px;
  max-width: 760px;
  margin: 0 auto;
}

.download-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28px;
  width: 1px;
  background: #d7dde7;
  content: "";
}

.download-timeline article {
  position: relative;
  padding: 31px 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.download-timeline article::before {
  position: absolute;
  top: 32px;
  left: -37px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #cbd5e1;
  content: "";
}

.download-timeline article.is-current::before {
  background: var(--download-blue-dark);
}

.download-timeline article > div {
  display: grid;
  gap: 6px;
}

.download-timeline strong {
  color: var(--download-blue-dark);
  font-size: 16px;
}

.download-timeline time {
  color: #6b7280;
  font-size: 14px;
}

.download-timeline article > span {
  position: absolute;
  top: 31px;
  right: 28px;
  padding: 5px 12px;
  border-radius: 4px;
  background: #dcebfa;
  color: var(--download-blue-dark);
  font-size: 12px;
}

.download-timeline p {
  margin-top: 20px;
  color: #414755;
  font-size: 14px;
  line-height: 1.8;
}

.download-history__more {
  display: block;
  margin-top: 48px;
  color: var(--download-blue-dark);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1024px) {
  .download-hero__inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .download-hero {
    padding: 120px 0 72px;
  }

  .download-hero h1 {
    font-size: 30px;
  }

  .download-platforms,
  .download-documents,
  .download-requirements,
  .download-history {
    padding: 56px 0;
  }

  .download-section-head {
    margin-bottom: 36px;
  }

  .download-platform-grid,
  .download-doc-grid,
  .download-requirements__grid,
  .download-requirements__grid dl {
    grid-template-columns: 1fr;
  }

  .download-requirements__head {
    display: grid;
    align-items: start;
  }

  .download-timeline {
    margin-left: 28px;
  }
}

.download-hero__visual,
.download-platform-card,
.download-doc-card,
.download-requirements__grid article,
.download-timeline article {
  transition:
    transform var(--motion-medium) var(--motion-ease-out),
    box-shadow var(--motion-medium) ease,
    border-color var(--motion-fast) ease;
}

.download-hero__visual img {
  transition: transform var(--motion-slow) var(--motion-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .download-hero__visual:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 68px rgba(25, 36, 56, 0.16);
  }

  .download-hero__visual:hover img {
    transform: scale(1.012);
  }

  .download-platform-card:hover,
  .download-doc-card:hover,
  .download-requirements__grid article:hover,
  .download-timeline article:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 83, 179, 0.28);
    box-shadow: 0 18px 42px rgba(31, 61, 97, 0.1);
  }
}

@media (max-width: 768px) {
  .download-hero__visual,
  .download-platform-card,
  .download-doc-card,
  .download-requirements__grid article,
  .download-timeline article,
  .download-hero__visual img {
    transition-duration: var(--motion-fast);
  }
}
