.challenges {
  position: relative;
  padding-block: 120px 140px;
  background: color-mix(in srgb, var(--bg-deep) 70%, transparent);
  overflow: hidden;
}

.challenges__head {
  text-align: center;
  margin-bottom: 64px;
}

.challenges__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
}

.challenges__desc {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--text-2);
  font-size: var(--fs-base);
}

.challenges__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.ch-item {
  position: relative;
  padding: 34px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, background 0.35s ease, transform 0.35s var(--ease-out);
}

.ch-item:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
  background: color-mix(in srgb, var(--accent) 3%, transparent);
}

.ch-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 1;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}

.ch-item:hover::before {
  transform: scaleY(1);
}

.ch-item__kind {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.ch-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.ch-item p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: var(--lh-relaxed);
  max-width: 46ch;
}

.ch-item__tag {
  align-self: flex-start;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-3);
}
