.updates-hero {
  position: relative;
}

.updates-hero__layout {
  align-items: center;
  gap: var(--space-10);
}

.updates-hero__content {
  max-width: 40rem;
}

.updates-hero__media {
  justify-self: flex-end;
}

.updates-hero__figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.updates-hero__image {
  width: 100%;
  height: auto;
}

.updates-section-header {
  max-width: 44rem;
  margin-bottom: var(--space-8);
}

.updates-section-header__lead {
  color: var(--color-text-muted);
}

.updates-main-card {
  margin-top: var(--space-4);
}

.updates-main-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.updates-main-card__body {
  align-items: center;
  gap: var(--space-8);
}

.updates-main-card__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.updates-main-card__image {
  width: 100%;
  height: auto;
}

.updates-main-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.updates-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
}

.updates-list--ordered {
  list-style: decimal;
}

.updates-list li + li {
  margin-top: 0.35rem;
}

.updates-grid {
  align-items: flex-start;
}

.updates-stats-grid {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.updates-stat {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-elevated);
  border: 1px solid rgba(31, 41, 55, 0.8);
}

.updates-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.updates-stat__value {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.updates-stat__hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.updates-timeline {
  position: relative;
  margin-top: var(--space-4);
}

.updates-timeline::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.6), rgba(15, 23, 42, 0.2));
}

.updates-timeline__item {
  position: relative;
  padding-left: var(--space-8);
  padding-bottom: var(--space-6);
}

.updates-timeline__item:last-child {
  padding-bottom: 0;
}

.updates-timeline__item::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.3rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 9999px;
  border: 2px solid var(--color-primary);
  background-color: var(--color-bg);
}

.updates-timeline__version {
  font-size: var(--text-sm);
  font-weight: 600;
}

.updates-timeline__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.updates-timeline__title {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.updates-timeline__text {
  font-size: var(--text-sm);
  color: var(--color-text);
}

.updates-faq {
  margin-top: var(--space-2);
}

.updates-faq__item + .updates-faq__item {
  margin-top: var(--space-4);
}

.updates-faq__question {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.updates-faq__answer {
  font-size: var(--text-sm);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .updates-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .updates-hero__media {
    order: -1;
  }

  .updates-main-card__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .updates-timeline::before {
    left: 0.8rem;
  }

  .updates-timeline__item {
    padding-left: var(--space-6);
  }
}
