.how-card {
  padding: 1.25rem;
  background: var(--color-neutral);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
}
.how-card-title {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.how-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: var(--color-accent);
  font-size: 0.6875rem;
  font-weight: 600;
}
.how-step-title {
  font-size: 1rem;
  font-weight: 500;
}
.how-step-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--medium-color);
}

.how-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.how-badge {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--color-neutral);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
}
.how-badge-pill {
  justify-self: start;
  padding: 0.25rem 0.625rem;
  border-radius: 1000px;
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.how-badges-note {
  margin-top: 1.25rem;
}

.how-faq {
  background: var(--color-neutral);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
}
.how-faq-item + .how-faq-item {
  border-top: 1px solid var(--border-color);
}
.how-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  list-style: none;
  cursor: pointer;
}
.how-faq-item summary::-webkit-details-marker {
  display: none;
}
.how-faq-item summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}
.how-faq-question {
  font-size: 0.875rem;
  font-weight: 500;
}
.how-faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--medium-color);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-faq-icon-open,
.how-faq-item[open] .how-faq-icon-closed {
  display: none;
}
.how-faq-item[open] .how-faq-icon-open {
  display: block;
}
.how-faq-answer {
  margin-top: -0.375rem;
  padding: 0 1.25rem 1rem;
  line-height: 150%;
}
.how-faq-answer a {
  font-size: inherit;
  color: var(--dark-color);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .how-badge {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
    padding: 1rem;
  }
}
