/* ==========================================================
   How it works  —  templates/partials/how_it_works.html
   (Eyebrow + section title styles are shared, in style.css)
   ========================================================== */

.how-it-works {
  padding: 40px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line-accent);
  border-radius: var(--radius-md);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.step-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.step-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--text);
}

.step-text {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-soft);
}

.steps-note {
  max-width: 576px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .how-it-works {
    padding: 32px 0;
  }
}
