.torch-study-modal[hidden] {
  display: none;
}

.torch-study-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.torch-study-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 32, 39, .68);
  backdrop-filter: blur(3px);
}

.torch-study-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, 90vh);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  padding: 32px;
  color: #18323a;
}

.torch-study-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eef5f5;
  color: #18323a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.torch-study-modal__eyebrow {
  margin: 0 48px 8px 0;
  color: #087f83;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.torch-study-modal h2 {
  margin: 0 48px 10px 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.torch-study-modal__intro {
  margin: 0 0 24px;
  color: #52666d;
  line-height: 1.6;
}

.torch-study-list {
  display: grid;
  gap: 12px;
}

.torch-study-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #d9e5e6;
  border-radius: 13px;
  background: #fff;
  padding: 17px 18px;
  cursor: pointer;
  color: inherit;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.torch-study-option:hover,
.torch-study-option:focus-visible {
  border-color: #087f83;
  box-shadow: 0 7px 22px rgba(8,127,131,.12);
  transform: translateY(-1px);
  outline: none;
}

.torch-study-option strong {
  display: block;
  margin-bottom: 5px;
  color: #087f83;
  font-size: .9rem;
  letter-spacing: .035em;
}

.torch-study-option span {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.torch-study-option em {
  display: block;
  margin-top: 8px;
  color: #087f83;
  font-style: normal;
  font-weight: 700;
}

.torch-study-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.torch-study-modal__cancel {
  border: 0;
  background: transparent;
  color: #52666d;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 4px;
}

body.torch-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .torch-study-modal {
    padding: 14px;
  }

  .torch-study-modal__dialog {
    padding: 24px 18px 20px;
    border-radius: 15px;
  }
}
