@font-face {
  font-family: PowerBrix;
  src: url("/assets/powerbrix-display.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Manrope, system-ui, sans-serif;
  background: #080812;
  color: #faf7ff;
  --muted: #c6bfd5;
  --edge: #c5b0fa38;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 13% 14%, #51359345, transparent 34rem),
    radial-gradient(ellipse at 92% 21%, #234e8133, transparent 33rem),
    radial-gradient(ellipse at 50% 0%, #25203e, transparent 47rem);
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2.7vw, 28px);
  padding: clamp(28px, 5vw, 55px) 16px 0;
}

.beyondfest {
  width: clamp(104px, 14vw, 162px);
  height: auto;
  display: block;
}

.partner-divider { height: 31px; width: 1px; background: var(--edge); }
.powerbrix { display: flex; align-items: center; gap: clamp(5px, 1vw, 9px); }
.powerbrix-icon { width: clamp(23px, 4vw, 32px); height: auto; }
.powerbrix-wordmark { display: block; width: clamp(91px, 13vw, 136px); height: auto; }

main {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(39px, 7vw, 78px) 0 clamp(65px, 10vw, 115px);
}

.challenge h1 {
  margin: 0;
  text-align: center;
  font: 750 clamp(2.15rem, 8vw, 6.9rem)/1.02 PowerBrix, Manrope, sans-serif;
  letter-spacing: -.072em;
  text-wrap: balance;
}

.challenge h1 span {
  display: block;
  color: #c5b4ff;
  background: linear-gradient(108deg, #b8ceff 16%, #ede4ff 47%, #b9a0ff 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.commitments {
  list-style: none;
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  gap: 12px;
  margin: clamp(33px, 6vw, 64px) 0 0;
  padding: 0;
}

.commitments li {
  min-width: 0;
  padding: clamp(18px, 2.7vw, 29px);
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: linear-gradient(150deg, #ffffff0b, #ffffff03);
}

.step {
  display: block;
  margin-bottom: 14px;
  color: #d0bbff;
  font-size: .78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.commitments strong {
  font-size: clamp(1rem, 1.9vw, 1.27rem);
  line-height: 1.4;
  font-weight: 750;
}

.promise {
  max-width: 710px;
  margin: clamp(27px, 4vw, 43px) auto 0;
  color: var(--muted);
  text-align: center;
  font-size: clamp(1.06rem, 2.25vw, 1.32rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.promise strong { color: #fff; font-weight: 850; }

.resources {
  width: min(560px, 100%);
  margin: clamp(57px, 9vw, 94px) auto 0;
  text-align: center;
}

.resources h2 {
  margin: 0 0 22px;
  font: 700 clamp(1.48rem, 3.3vw, 2.08rem)/1.2 PowerBrix, Manrope, sans-serif;
  letter-spacing: -.045em;
}

.resource-links { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }

.resource-links a,
.resource-placeholder {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 69px;
  padding: 12px 16px;
  border: 1px solid var(--edge);
  border-radius: 13px;
  color: #faf7ff;
  background: #181427;
  text-decoration: none;
  text-align: left;
}

.resource-links a:hover { border-color: #c9adff; background: #241c3a; }
.resource-links a:focus-visible { outline: 2px solid #c9adff; outline-offset: 3px; }
.resource-placeholder { color: var(--muted); font-size: .92rem; }
.resource-icon {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: #2a2143;
  color: #ddcdff;
  font-size: 1.15rem;
}

@media (max-width: 690px) {
  .commitments { grid-template-columns: 1fr; gap: 8px; }
  .commitments li { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 15px; border-radius: 12px; }
  .step { margin: 0; }
}
