.eb-download-page {
  padding-bottom: 72px;
}

.eb-download-page .container {
  width: min(calc(100% - 48px), 1100px);
}

.eb-download-hero {
  padding: 42px 0 31px;
  border-bottom: 1px solid rgba(162, 169, 217, .1);
  background:
    radial-gradient(ellipse 58% 115% at 84% 0%, rgba(103, 82, 220, .2), transparent 72%),
    linear-gradient(180deg, rgba(24, 29, 54, .68), rgba(13, 18, 34, .16));
}

.eb-download-hero-inner {
  max-width: 1100px;
}

.eb-download-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c4b8ff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
}

.eb-download-kicker i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a38bff;
  box-shadow: 0 0 12px rgba(163, 139, 255, .55);
}

.eb-download-hero h1 {
  margin: 12px 0 8px;
  color: #f7f6ff;
  font-size: clamp(38px, 4vw, 46px);
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: -1px;
}

.eb-download-hero p {
  max-width: 760px;
  margin: 0;
  color: #c1c7db;
  font-size: 17px;
  line-height: 1.7;
}

.eb-download-platforms {
  padding-top: 30px;
}

.eb-download-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.eb-download-section-head h2 {
  margin: 8px 0 0;
  color: #f2f1fc;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -.5px;
}

.eb-download-section-head > p {
  max-width: 440px;
  margin: 0 0 2px;
  color: #b3bdd5;
  font-size: 15px;
  line-height: 1.65;
}

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

.eb-download-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(174, 181, 230, .17);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28, 35, 61, .94), rgba(16, 22, 40, .96));
  box-shadow: 0 16px 42px rgba(3, 6, 17, .16);
}

.eb-download-card-windows {
  border-color: rgba(159, 138, 255, .36);
  background:
    radial-gradient(ellipse at 78% 0%, rgba(120, 94, 234, .14), transparent 55%),
    linear-gradient(145deg, rgba(31, 37, 66, .96), rgba(16, 22, 40, .96));
}

.eb-download-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.eb-platform-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border: 1px solid rgba(174, 157, 255, .25);
  border-radius: 15px;
  background: rgba(125, 101, 229, .16);
  color: #d4caff;
  font-size: 23px;
}

.eb-download-platform-name {
  min-width: 0;
}

.eb-download-card-label {
  color: #b9b2db;
  font-size: 11px;
  font-weight: 740;
  letter-spacing: .12em;
}

.eb-download-card-heading h3 {
  margin: 3px 0 0;
  color: #f4f3fc;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.eb-download-version {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid rgba(174, 157, 255, .22);
  border-radius: 999px;
  background: rgba(124, 101, 226, .15);
  color: #e2dcff;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.eb-download-card-description {
  min-height: 52px;
  margin: 18px 0 20px;
  color: #c1c9dd;
  font-size: 16px;
  line-height: 1.65;
}

.eb-download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.eb-download-backup-slot {
  display: flex;
  min-width: 0;
}

.eb-download-backup-slot[hidden] {
  display: none !important;
}

.eb-download-button {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(186, 170, 255, .36);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.eb-download-button-primary {
  border-color: rgba(201, 185, 255, .52);
  background: linear-gradient(112deg, #826af3, #6653db);
  box-shadow: 0 8px 22px rgba(91, 71, 202, .18);
}

.eb-download-button-primary:hover {
  border-color: rgba(219, 209, 255, .82);
  background: linear-gradient(112deg, #927dff, #7563e8);
  color: #fff;
}

.eb-download-button-secondary {
  border-color: rgba(178, 166, 231, .32);
  background: rgba(6, 11, 25, .32);
  color: #eeeaff;
}

.eb-download-button-secondary:hover {
  border-color: rgba(200, 185, 255, .7);
  background: rgba(120, 97, 224, .15);
  color: #fff;
}

.eb-download-button:focus-visible,
.eb-download-contact button:focus-visible,
.eb-download-contact a:focus-visible,
.eb-download-next a:focus-visible,
.eb-download-notes a:focus-visible,
.eb-download-source-content a:focus-visible {
  outline: 3px solid #e5ddff;
  outline-offset: 3px;
}

.eb-download-contact {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 2.2fr);
  align-items: center;
  gap: 18px 24px;
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(169, 177, 226, .14);
  border-radius: 16px;
  background: rgba(20, 27, 47, .72);
}

.eb-download-contact-heading h2 {
  margin: 7px 0 3px;
  color: #eeedfa;
  font-size: 18px;
  font-weight: 680;
}

.eb-download-contact-heading p {
  margin: 0;
  color: #bcc5d9;
  font-size: 14px;
  line-height: 1.55;
}

.eb-download-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.eb-download-contact-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px 11px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(170, 179, 228, .13);
  border-radius: 10px;
  background: rgba(4, 8, 18, .17);
}

.eb-download-contact-list dt {
  color: #c0c6d8;
  font-size: 14px;
}

.eb-download-contact-list dd {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: #e3e4f2;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.eb-download-contact-list code {
  font-family: inherit;
  overflow-wrap: anywhere;
}

.eb-download-contact-list a {
  color: #e4e0ff;
  text-decoration: none;
}

.eb-download-contact-list a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eb-download-contact-list button {
  min-width: 52px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(174, 157, 255, .3);
  border-radius: 8px;
  background: rgba(125, 101, 229, .16);
  color: #e5ddff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.eb-download-contact-list button:hover {
  background: rgba(125, 101, 229, .28);
}

.eb-download-copy-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: #9fe4bc;
  font-size: 14px;
}

.eb-download-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 32px;
}

.eb-download-next article {
  padding: 22px 24px;
  border: 1px solid rgba(169, 177, 226, .14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(25, 32, 55, .78), rgba(14, 20, 37, .8));
}

.eb-download-next h2 {
  margin: 10px 0 7px;
  color: #efeffa;
  font-size: 18px;
  font-weight: 680;
}

.eb-download-next p {
  margin: 0;
  color: #c0c8dc;
  font-size: 15px;
  line-height: 1.7;
}

.eb-download-next article > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: #d2c8ff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.eb-download-next article > a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eb-download-install {
  padding-top: 34px;
}

.eb-download-install .eb-download-section-head {
  margin-bottom: 16px;
}

.eb-install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.eb-install-steps li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 14px;
  padding: 19px;
  border: 1px solid rgba(169, 177, 226, .14);
  border-radius: 14px;
  background: rgba(23, 30, 52, .68);
}

.eb-install-steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(130, 106, 240, .17);
  color: #e1d9ff;
  font-size: 13px;
  font-weight: 760;
}

.eb-install-steps h3 {
  margin: 1px 0 6px;
  color: #f0eff9;
  font-size: 16px;
  font-weight: 680;
}

.eb-install-steps p {
  margin: 0;
  color: #c0c8dc;
  font-size: 15px;
  line-height: 1.65;
}

.eb-download-notes {
  margin-top: 27px;
  padding: 22px 24px;
  border: 1px solid rgba(169, 177, 226, .13);
  border-radius: 15px;
  background: rgba(16, 22, 39, .58);
}

.eb-download-notes h2 {
  margin: 0 0 10px;
  color: #eeeefa;
  font-size: 20px;
  font-weight: 680;
}

.eb-download-notes ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 21px;
  color: #c0c8dc;
  font-size: 15px;
  line-height: 1.7;
}

.eb-download-notes a,
.eb-download-source-content .markdown-content a {
  color: #d4c9ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eb-download-notes a:hover,
.eb-download-source-content .markdown-content a:hover {
  color: #fff;
}

.eb-download-source-content {
  padding-top: 25px;
}

.eb-download-source-content .markdown-content {
  padding: 22px 24px;
  border: 1px solid rgba(169, 177, 226, .12);
  border-radius: 15px;
  background: rgba(16, 22, 39, .52);
  color: #c1c9dd;
  font-size: 15px;
  line-height: 1.8;
}

.eb-download-source-content .markdown-content h2 {
  margin: 24px 0 10px;
  color: #f0eff9;
  font-size: 22px;
  line-height: 1.35;
}

.eb-download-source-content .markdown-content h3 {
  margin: 20px 0 8px;
  color: #f0eff9;
  font-size: 18px;
  line-height: 1.4;
}

.eb-download-source-content .markdown-content ul,
.eb-download-source-content .markdown-content ol {
  padding-left: 23px;
}

@media (max-width: 760px) {
  .eb-download-section-head {
    display: block;
  }

  .eb-download-section-head > p {
    margin-top: 9px;
  }

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

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

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

  .eb-install-steps {
    grid-template-columns: 1fr;
  }

  .eb-install-steps li {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .eb-download-page {
    padding-bottom: 52px;
  }

  .eb-download-page .container {
    width: min(calc(100% - 36px), 1100px);
  }

  .eb-download-hero {
    padding: 34px 0 26px;
  }

  .eb-download-hero h1 {
    font-size: clamp(34px, 9vw, 40px);
  }

  .eb-download-hero p {
    font-size: 16px;
  }

  .eb-download-platforms {
    padding-top: 25px;
  }

  .eb-download-card {
    padding: 20px;
  }

  .eb-download-card-description {
    min-height: 0;
  }

  .eb-download-contact {
    padding: 17px;
  }

  .eb-download-next {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 26px;
  }

  .eb-download-next article {
    padding: 19px;
  }

  .eb-download-install {
    padding-top: 28px;
  }

  .eb-download-notes {
    padding: 19px;
  }

  .eb-download-source-content .markdown-content {
    padding: 19px;
  }
}

@media (max-width: 420px) {
  .eb-download-page .container {
    width: min(calc(100% - 32px), 1100px);
  }

  .eb-download-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .eb-download-card-heading {
    gap: 10px;
  }

  .eb-download-version {
    padding: 7px 9px;
    font-size: 14px;
  }

  .eb-download-card-heading h3 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eb-download-button {
    transition: none;
  }
}
