/* public/assets/stylesheets/pages/how-it-works.css */

/* ── Page shell ── */
.page--hiw {
  padding-block: var(--space-4);
}

/* ── Card ── */
.page--hiw .hiw {
  display: grid;
  gap: var(--space-5);
}

/* ── Header ── */
.hiw__header {
  text-align: center;
  display: grid;
  gap: var(--space-3);
}

.hiw__title {
  margin: 0;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  color: var(--irish-dark-green);
  line-height: 1.15;
}

.hiw__intro {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Divider ── */
.hiw__rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Section ── */
.hiw__section {
  display: grid;
  gap: var(--space-3);
}

/* Heading row: marker + title inline */
.hiw__section-heading {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Marker — the number or icon beside the title */
.hiw__section-marker {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, black);
  background: color-mix(in srgb, var(--surface) 97%, black);

  font-weight: 700;
  font-size: 1rem;
  color: var(--irish-dark-green);
  line-height: 1;
}

.hiw__section-marker--green {
  background: color-mix(in srgb, var(--irish-green) 10%, white);
  border-color: color-mix(in srgb, var(--irish-green) 30%, transparent);
}

.hiw__section-marker--orange {
  background: color-mix(in srgb, var(--irish-orange) 12%, white);
  border-color: color-mix(in srgb, var(--irish-orange) 30%, transparent);
}

.hiw__section-marker img {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
}

/* Section body — full width, below the heading row */
.hiw__section-body {
  display: grid;
  gap: var(--space-2);
}

.hiw__section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.hiw__section-body p {
  margin: 0;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── List ── */
.hiw__list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: var(--space-1a);
}

.hiw__list li {
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.97rem;
}
.hiw__list li::marker{
  color: var(--irish-orange);
}

/* ── Closing ── */
.hiw__closing {
  text-align: center;
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.hiw__closing-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--irish-dark-green);
}

.hiw__closing-text {
  margin: 0 auto;
  max-width: 50ch;
  line-height: 1.65;
  color: var(--text-muted);
}

.hiw__cta {
  justify-self: center;
  padding-inline: var(--space-5);
}



/* ── No column-based responsive overrides needed — layout is single column ── */