.prgm {
  --prgm-bg: #010409;
  --prgm-card: #16181d;
  --prgm-fg: #fff;
  --prgm-mut: #8c9095;
  --prgm-acc: #a3c618;
  --prgm-max: 1600px;
  --prgm-font: "Finlandica Text", "Finlandica", sans-serif;
  background: var(--prgm-bg);
  color: var(--prgm-fg);
  font-family: var(--prgm-font);
  padding: 8px 0 48px;
}

.prgm *,
.prgm *::before,
.prgm *::after {
  box-sizing: border-box;
}

.prgm-in {
  width: 100%;
  max-width: var(--prgm-max);
  margin: 0 auto;
  padding: 0 16px;
}

.prgm-hero {
  position: relative;
  display: block;
  min-height: 408px;
  margin-bottom: -72px;
  padding: 36px 40px 96px;
  overflow: hidden;
  border-radius: 16px;
  background: #010409;
}

.prgm-hd {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-top: 12px;
}

.prgm-h {
  margin: 0 0 12px;
  color: var(--prgm-fg);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
}

.prgm-cap {
  margin: 0;
  color: #cfd3d8;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.prgm-fish {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
}

.prgm-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
}

.prgm-card {
  min-width: 0;
  padding: 28px 28px 20px;
  border-radius: 16px;
  background: rgba(22, 24, 29, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.prgm-h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
}

.prgm-how {
  margin: 0 0 22px;
  color: #c5c9ce;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.prgm-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.prgm-nxt {
  text-align: right;
}

.prgm-lab {
  display: block;
  margin-bottom: 4px;
  color: var(--prgm-mut);
  font-size: 13px;
}

.prgm-val {
  color: var(--prgm-fg);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.prgm-ask {
  margin: 0 0 18px;
}

.prgm-auth {
  color: #a3c618;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
}

.prgm-auth:hover,
.prgm-auth:focus {
  color: #fff;
}

.prgm-scale {
  margin-top: 8px;
}

.prgm-sums,
.prgm-pcts,
.prgm-ticks {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}

.prgm-sums {
  font-size: 12px;
  font-weight: 500;
  color: var(--prgm-mut);
}

.prgm-pcts {
  min-height: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--prgm-mut);
}

.prgm .prgm-sums span.is-on,
.prgm .prgm-pcts span.is-on {
  color: var(--prgm-acc);
  font-weight: 600;
}

.prgm-bar {
  position: relative;
  height: 22px;
  margin: 8px 0 10px;
}

.prgm-track {
  position: relative;
  height: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2e36;
}

.prgm-fill {
  position: relative;
  z-index: 2;
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--prgm-acc);
}

.prgm-ticks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.prgm-tick {
  display: block;
  width: 2px;
  height: 100%;
  margin: 0 auto;
  background: #8c9095;
}

.prgm-note {
  margin: 14px 0 0;
  color: var(--prgm-mut);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.prgm-bday {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-radius: 16px;
  background: var(--prgm-acc);
  color: #111;
  text-align: center;
}

.prgm-bcirc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  font-size: 28px;
  font-weight: 500;
  white-space: nowrap;
}

.prgm-bh {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.prgm-bp {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.85;
}

.prgm-foot {
  margin: 36px auto 0;
  color: var(--prgm-fg);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .prgm-hero {
    min-height: 200px;
    margin-bottom: 16px;
    padding: 24px 20px 28px;
  }

  .prgm-grid {
    grid-template-columns: 1fr;
  }

  .prgm-bday {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .prgm-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 0 0 16px;
  }

  .prgm-hd {
    padding: 16px 16px 0;
    max-width: none;
    order: 1;
  }

  .prgm-h {
    font-size: 26px;
  }

  .prgm-cap {
    font-size: 16px;
  }

  .prgm-fish {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    order: 0;
  }

  .prgm-card {
    padding: 20px 16px 16px;
  }

  .prgm-meta {
    flex-direction: column;
  }

  .prgm-nxt {
    text-align: left;
  }

  .prgm-sums {
    font-size: 9px;
  }

  .prgm-pcts {
    min-height: 24px;
    font-size: 11px;
  }

  .prgm-bar,
  .prgm-track {
    height: 18px;
  }

  .prgm-foot {
    font-size: 15px;
  }
}
