.updates-page {
  min-width: 320px;
}

.updates-shell {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  padding: 148px 0 96px;
}

.updates-header {
  margin-bottom: 48px;
}

.updates-header h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 680;
  letter-spacing: -0.054em;
  line-height: 1.02;
}

.updates-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.updates-release {
  padding: 32px 0 56px;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 110px;
}

.updates-release + .updates-release {
  padding-top: 48px;
}

.updates-version {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.updates-release-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.updates-offer {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background:
    radial-gradient(520px 180px at 0 0, rgb(184 67 56 / 13%), transparent 70%),
    var(--surface);
  box-shadow: inset 0 1px 0 var(--edge), 0 14px 34px var(--shade);
  scroll-margin-top: 110px;
}

.updates-offer[hidden] {
  display: none;
}

.updates-offer-kicker {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.updates-offer h3 {
  max-width: 580px;
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.updates-offer > p:not(.updates-offer-kicker, .updates-offer-status, .updates-offer-terms) {
  max-width: 580px;
  margin: 0 0 21px;
  color: var(--muted);
  line-height: 1.6;
}

.updates-offer-button {
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 3px 7px rgb(89 34 29 / 18%);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.updates-offer-button:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.updates-offer-button:disabled {
  cursor: default;
  opacity: 0.82;
}

.updates-offer[data-state="success"] .updates-offer-button {
  color: var(--page);
  background: var(--ink);
  opacity: 1;
}

.updates-offer-status {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.5;
}

.updates-offer[data-state="error"] .updates-offer-status {
  color: var(--accent-dark);
}

.updates-offer-status:empty {
  display: none;
}

.updates-offer-terms {
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 0.78rem;
  line-height: 1.5;
}

.updates-video-link {
  position: relative;
  display: block;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #101315;
  scroll-margin-top: 110px;
}

.updates-video-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.updates-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: #f3f4f5;
  background: rgb(16 19 21 / 88%);
  box-shadow: 0 10px 24px rgb(18 22 25 / 24%);
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.updates-video-play::before {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  content: "";
}

.updates-feature-section {
  margin-top: 36px;
}

.updates-feature-section h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.updates-feature-section ul {
  margin: 0;
  padding-left: 21px;
}

.updates-feature-section li {
  margin-bottom: 10px;
  padding-left: 3px;
  color: var(--muted);
  line-height: 1.6;
}

.updates-feature-section li::marker {
  color: var(--quiet);
}

.updates-feature-section a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .updates-shell {
    width: calc(100% - 40px);
    padding-top: 138px;
  }

  .updates-offer {
    padding: 23px 20px;
  }
}
