:root {
  --text: #303236;
  --muted: #60666d;
  --line: #e0e3e7;
  --page: #f4f6f8;
  --white: #ffffff;
  --yellow: #ffcf22;
  --sand: #eadfc9;
  --blue: #dde6f0;
  --mint: #cef3ef;
  --dark: #303030;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  height: 66px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 38px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 116px;
  font-weight: 800;
  font-size: 22px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--dark);
  border: 4px solid var(--dark);
  border-right-color: var(--yellow);
  border-bottom-color: var(--yellow);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 18px;
}

.nav a,
.account {
  transition: color .18s ease;
}

.nav a:hover,
.account:hover {
  color: #000;
}

.account {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.account-icon {
  width: 22px;
  height: 22px;
  position: relative;
}

.account-icon::before,
.account-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
}

.account-icon::before {
  top: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.account-icon::after {
  bottom: 0;
  width: 22px;
  height: 10px;
  border-radius: 10px 10px 4px 4px;
}

main {
  width: min(1420px, calc(100% - 72px));
  margin: 0 auto;
  padding: 84px 0 72px;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.card {
  min-height: 388px;
  padding: 34px 38px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.card-large {
  grid-column: span 3;
  min-height: 510px;
  text-align: center;
}

.card:not(.card-large) {
  grid-column: span 2;
  text-align: center;
}

.card-sand {
  background: var(--sand);
}

.card-blue {
  background: var(--blue);
}

.card-mint {
  background: var(--mint);
}

.card-dark {
  background: var(--dark);
  color: #f7f7f7;
}

h2 {
  margin: 12px 0 14px;
  font-size: clamp(25px, 2.8vw, 31px);
  line-height: 1.18;
  letter-spacing: 0;
}

.card p {
  max-width: 560px;
  margin: 0 auto;
  color: inherit;
  font-size: 20px;
}

.card:not(.card-dark) p {
  color: #34373b;
}

.button {
  min-height: 56px;
  margin-top: 28px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #d6d8dc;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(32, 35, 40, .1);
  font-size: 18px;
}

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

.downloads-hero {
  margin-bottom: 38px;
}

.download-panel {
  padding: 36px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.download-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.download-panel h2,
.download-help h2 {
  margin-top: 0;
}

.download-panel-head p,
.download-help p,
.release-info p,
.empty-release p {
  margin: 0;
  color: var(--muted);
}

.release-list {
  display: grid;
  gap: 14px;
}

.release-card,
.release-skeleton,
.empty-release {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #f6f8fa;
  border: 1px solid var(--line);
}

.release-icon {
  width: 58px;
  height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 15px;
}

.release-info {
  min-width: 0;
  flex: 1;
}

.release-info h3,
.empty-release h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.empty-release {
  display: block;
  text-align: center;
  padding: 34px 18px;
}

.error-release {
  border-color: #f0b8b8;
  background: #fff5f5;
}

.download-help {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.download-help article {
  padding: 30px 34px;
  border-radius: 8px;
  background: var(--sand);
}

code {
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .72);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}

.visual {
  position: absolute;
  inset: auto 34px 0;
  height: 240px;
}

.card-large .visual {
  height: 285px;
}

.printer-body {
  position: absolute;
  left: 24%;
  bottom: 26px;
  width: 300px;
  height: 135px;
  background: #f8f8f5;
  border-radius: 8px 8px 22px 22px;
  box-shadow: 0 22px 36px rgba(45, 36, 25, .2);
}

.printer-body::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 38px;
  width: 114px;
  height: 76px;
  border-radius: 8px;
  background: #36312d;
  transform: skewX(-8deg);
}

.label-roll {
  position: absolute;
  right: 17%;
  bottom: 20px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 21%, #ffc926 22% 37%, #e1a52e 38% 48%, #ffc926 49% 100%);
  box-shadow: 0 18px 28px rgba(58, 43, 14, .24);
}

.dm {
  position: absolute;
  width: 72px;
  height: 72px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #252525 50%, transparent 50%),
    linear-gradient(#252525 50%, transparent 50%);
  background-size: 12px 12px;
  border: 7px solid #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.dm-one {
  right: 29%;
  bottom: 110px;
  transform: rotate(4deg);
}

.device {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 176px;
  height: 236px;
  transform: translateX(-50%);
  border-radius: 24px;
  background: #2f3339;
  box-shadow: 0 24px 38px rgba(33, 43, 55, .24);
}

.device::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 136px;
  height: 146px;
  border-radius: 8px;
  background: #eef6fb;
}

.device::after {
  content: "";
  position: absolute;
  left: 61px;
  bottom: 20px;
  width: 54px;
  height: 26px;
  border-radius: 6px;
  background: var(--yellow);
}

.screen-code {
  position: absolute;
  left: calc(50% - 38px);
  bottom: 132px;
  width: 76px;
  height: 76px;
  background-color: #222;
  background-image:
    linear-gradient(90deg, #fff 50%, transparent 50%),
    linear-gradient(#fff 50%, transparent 50%);
  background-size: 10px 10px;
  border: 6px solid #eef6fb;
}

.scan-line {
  position: absolute;
  left: 29%;
  right: 29%;
  bottom: 174px;
  height: 4px;
  background: var(--yellow);
  box-shadow: 0 0 18px var(--yellow);
}

.shield {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 160px;
  height: 190px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #fff, #cfd3dc);
  clip-path: polygon(50% 0, 92% 16%, 82% 78%, 50% 100%, 18% 78%, 8% 16%);
}

.check {
  position: absolute;
  left: 50%;
  bottom: 100px;
  width: 74px;
  height: 36px;
  transform: translateX(-50%) rotate(-45deg);
  border-left: 12px solid var(--yellow);
  border-bottom: 12px solid var(--yellow);
}

.stack-visual span {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 170px;
  height: 76px;
  border-radius: 8px;
  background: #f6c421;
  transform: translateX(-50%) rotate(-8deg);
  box-shadow: 0 18px 28px rgba(61, 45, 12, .16);
}

.stack-visual span:nth-child(2) {
  bottom: 80px;
  width: 150px;
  background: #d9b173;
  transform: translateX(-44%) rotate(7deg);
}

.stack-visual span:nth-child(3) {
  bottom: 118px;
  width: 126px;
  background: #fff8e5;
  transform: translateX(-55%) rotate(-3deg);
}

.box {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 184px;
  height: 144px;
  transform: translateX(-50%) rotate(-4deg);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffe16a, #f4b413);
  box-shadow: 0 22px 30px rgba(51, 65, 65, .18);
}

.box::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  border: 10px solid rgba(255, 255, 255, .42);
}

.dm-two {
  left: 50%;
  bottom: 82px;
  width: 64px;
  height: 64px;
  transform: translateX(18px) rotate(5deg);
}

@media (max-width: 920px) {
  .topbar {
    height: auto;
    min-height: 66px;
    padding: 14px 22px;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    font-size: 16px;
  }

  .account {
    font-size: 16px;
  }

  main {
    width: min(100% - 28px, 720px);
    padding-top: 56px;
  }

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

  .card,
  .card-large,
  .card:not(.card-large) {
    grid-column: 1;
    min-height: 440px;
    padding: 26px 22px;
  }

  .card:not(.card-large) {
    min-height: 390px;
  }

  .lead,
  .card p {
    font-size: 18px;
  }

  .download-panel {
    padding: 24px 18px;
  }

  .download-panel-head,
  .release-card {
    align-items: stretch;
    flex-direction: column;
  }

  .download-panel-head .button,
  .release-card .button {
    width: 100%;
  }

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

@media (max-width: 520px) {
  .brand {
    min-width: auto;
    font-size: 20px;
  }

  .account span:last-child {
    display: none;
  }

  .hero {
    text-align: left;
  }

  .card,
  .card-large,
  .card:not(.card-large) {
    text-align: left;
  }

  .card p {
    margin-left: 0;
  }

  .button {
    width: 100%;
  }

  .printer-body {
    left: 4%;
    width: 246px;
  }

  .label-roll {
    right: 4%;
  }
}
