 .page {
 width: min(1100px, calc(100% - 32px));
 margin: 36px auto 64px;
 }

 .challenge {
 overflow: hidden;
 border: 1px solid var(--border);
 border-radius: 26px;
 background: var(--surface);
 box-shadow: var(--shadow);
 }

 /* Обложка */
 .challenge-cover {
 position: relative;
 display: flex;
 align-items: flex-end;
 min-height: 350px;
 aspect-ratio: 16 / 7;
 padding: clamp(24px, 5vw, 48px);
 isolation: isolate;
 background: #244333;
 color: #ffffff;
 }

 .challenge-cover__image {
 position: absolute;
 z-index: -2;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
 }

.challenge-cover::after {
 content: "";
 position: absolute;
 z-index: -1;
 inset: 0;
 background: linear-gradient(
 180deg,
 rgb(5 16 11 / 10%) 0%,
 rgb(5 16 11 / 40%) 40%,
 rgb(5 16 11 / 94%) 100%
 );
 }

 .cover-content {
 max-width: 800px;
 }

 .cover-label {
 display: inline-block;
 margin-bottom: 16px;
 padding: 6px 12px;
 border: 1px solid rgb(255 255 255 / 35%);
 border-radius: 999px;
 background: rgb(0 0 0 / 30%);
 font-size: 12px;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 }

 .challenge-title {
 margin: 0;
 font-size: clamp(32px, 5.5vw, 60px);
 font-weight: 800;
 line-height: 1.1;
 letter-spacing: -.04em;
 overflow-wrap: anywhere;
 text-wrap: balance;
 }

 .cover-period {
 display: flex;
 flex-wrap: wrap;
 gap: 4px 8px;
 margin: 18px 0 0;
 color: #e4eee8;
 font-size: 14px;
 }

 /* Основная часть */
 .challenge-content {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
 align-items: start;
 gap: 36px;
 padding: 40px;
 }

 .section-title {
 margin: 0 0 20px;
 font-size: 22px;
 line-height: 1.3;
 letter-spacing: -.025em;
 }

 .description p {
 margin: 0 0 18px;
 color: var(--muted);
 font-size: 16px;
 line-height: 1.85;
 }

 .description p:last-child {
 margin-bottom: 0;
 }

 /* Параметры */
 .parameters {
 min-width: 0;
 padding: 24px;
 border: 1px solid var(--border);
 border-radius: 18px;
 background: var(--surface-soft);
 }

 .parameters-list {
 display: grid;
 gap: 16px;
 margin: 0;
 }

 .parameter {
 padding-bottom: 16px;
 border-bottom: 1px solid var(--border);
 }

 .parameter:last-child {
 padding-bottom: 0;
 border-bottom: 0;
 }

 .parameter dt {
 margin-bottom: 4px;
 color: var(--muted);
 font-size: 13px;
 }

 .parameter dd {
 margin: 0;
 font-size: 15px;
 font-weight: 650;
 overflow-wrap: anywhere;
 }

 /* Кнопки внизу */
 .challenge-footer {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 padding: 26px 40px;
 border-top: 1px solid var(--border);
 background: var(--surface-soft);
 }

 .participation-form {
 margin: 0;
 }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
  background-color .15s ease,
  border-color .15s ease;
  white-space: nowrap;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

 .button:focus-visible {
 outline: 3px solid var(--focus);
 outline-offset: 4px;
 }

 .button-primary {
 border-color: var(--accent);
 background: var(--accent);
 color: var(--surface);
 }

 .button-primary:hover {
 border-color: var(--accent-hover);
 background: var(--accent-hover);
 }

 @media (max-width: 850px) {
 .challenge-content {
 grid-template-columns: minmax(0, 1fr);
 gap: 28px;
 padding: 28px;
 }

 .parameters-list {
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 20px;
 }

 .parameter,
 .parameter:last-child {
 padding-bottom: 14px;
 border-bottom: 1px solid var(--border);
 }

 .challenge-footer {
 padding: 24px 28px;
 }
 }

 @media (max-width: 520px) {
 .page {
 width: calc(100% - 20px);
 margin: 12px auto 32px;
 }

 .challenge {
 border-radius: 20px;
 }

 .challenge-cover {
 min-height: 320px;
 aspect-ratio: auto;
 padding: 24px;
 }

 .challenge-content {
 padding: 24px 20px;
 }

 .parameters {
 padding: 20px;
 }

 .parameters-list {
 grid-template-columns: minmax(0, 1fr);
 gap: 14px;
 }

 .parameter:last-child {
 padding-bottom: 0;
 border-bottom: 0;
 }

 .challenge-footer {
 flex-direction: column;
 align-items: stretch;
 padding: 20px;
 }

 .participation-form,
 .button {
 width: 100%;
 }
 }

 @media (prefers-reduced-motion: reduce) {
 .button {
 transition: none;
 }
 }