/* Duit website: the Grow page (grow.html, served at /grow; written by tools/pages.py, SPEC10), and since SPEC13 the
   Agencies page (agencies.html, /agencies: the same blocks) and the Local AI page (local-ai.html, /local-ai: gr-does
   cards, gr-steps and the la-* blocks; it loads no window.css or sections.css), and since SPEC14 the Marketers page
   (marketers.html, /marketers: /agencies' blocks, and a closing call with two pills, mk-close). Loaded after site.css
   (tokens, .wrap .sec .sec-head .panel .card .cards .pills .state, the buttons), window.css (the hero's still window),
   sections.css (the closing form, ct-* and cf-*) and products.css (.p-hero .p-status .p-panel, the ea-* form row).
   Styled by token only: both themes come from site.css, never from a theme selector here. Nothing moves. No inline
   styles or scripts (strict CSP).

   gr-labels  the hero's two availability lines (Available for duit.sh, Coming for your site)
   gr-label   a section's one availability line, under its heading
   gr-does    the seven things Grow does, and #geo's three (SPEC12): a list of cards, three across from 900px, two from
              600px, one under that; a last card left alone on its row spans the row
   gr-nums    Grow at work on duit.sh: four numbers, each with its line; the row wraps
   gr-steps   how a change reaches your site: four numbered steps
   gr-cost    what agencies charge, beside the one plan
   gr-tease   the channels line, the last thing before the form
   gr-fine    a small muted line (the GitHub line, the source line, the duit.sh line)
   gr-more    a text link or a row of pills after a block, with a 44px target
   gr-agency  a link in a paragraph of its own, a 44px target that may wrap with its arrow: /grow's cost card to
              /agencies, and its #what to /marketers (SPEC14)
   la-steps   /local-ai's four steps (gr-steps): each a title and a muted line with its sources linked in it
   la-list    /local-ai's good and poor jobs: a short bulleted list in a card
   mk-close   /marketers' closing call: the head (.ct-head from sections.css) and two pills, no form under it */

.gr-labels { display: grid; gap: 8px; }

:is(.grow, .agencies, .local-ai, .marketers) .sec-head { margin-bottom: 12px; }
.gr-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: clamp(20px, 2.4vw, 28px); font-size: 16px; line-height: 1.5; color: var(--muted); }
.gr-fine { max-width: 72ch; margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.gr-more { margin-top: 10px; }
.gr-more a.link { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; }

/* ---------- What Grow does: six cards ---------- */
.gr-does { margin: 0; padding: 0; list-style: none; }
.gr-does > .card { gap: 18px; }
@media (min-width: 600px) and (max-width: 899px) { .gr-does { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a last card alone on its row takes the whole row (seven: 3 + 3 + 1, or 2 + 2 + 2 + 1; #geo's three: 2 + 1) */
@media (min-width: 600px) and (max-width: 899px) { .gr-does > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 900px) { .gr-does > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }

/* ---------- Grow at work on duit.sh: the numbers, as text (read and indexed), not in a window ---------- */
.gr-nums {
  display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none;
}
.gr-nums > li {
  display: grid; align-content: start; gap: 6px; flex: 1 1 200px; min-width: 0; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
}
.gr-num { font-size: clamp(36px, 2.6vw + 20px, 56px); font-weight: var(--w-head); line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.gr-what { font-size: 16px; line-height: 1.45; color: var(--muted); }

/* ---------- How a change reaches your site: numbered steps ---------- */
.gr-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none; counter-reset: gr-step;
}
.gr-steps > li {
  display: grid; align-content: start; gap: 12px; min-width: 0; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface);
  font-size: 16px; line-height: 1.5; color: var(--text); counter-increment: gr-step;
}
.gr-steps > li::before {
  content: counter(gr-step); content: counter(gr-step) / "";
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg);
  font-size: 15px; font-weight: 500; line-height: 1; color: var(--text);
}
@media (max-width: 1023px) { .gr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .gr-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- What agencies charge, beside the one plan ---------- */
.gr-cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gr-cost > .card > .gr-big { font-size: clamp(19px, .5vw + 15px, 22px); line-height: 1.4; letter-spacing: -0.01em; color: var(--text); }
.gr-cost > .card > p strong { font-weight: 500; color: var(--text); }
.gr-cost > .card > .gr-more { margin-top: auto; }
/* a link in a paragraph of its own: inline-block, so a wrapped label keeps its arrow on its last line; 24 + 2 x 10 = 44 */
.gr-agency { font-size: 16px; }
.gr-agency a.link { display: inline-block; padding-block: 10px; line-height: 24px; }
@media (max-width: 899px) { .gr-cost { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The channels tease ---------- */
.gr-tease { padding-bottom: 0; }
.gr-tease .p-status { font-size: 16px; }

/* ---------- /local-ai: the four steps and the jobs lists (SPEC13) ---------- */
.la-steps > li > h3 { font-size: 17px; line-height: 1.35; }
.la-steps > li > p { color: var(--muted); }
.la-list { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; list-style: disc; line-height: 1.5; color: var(--muted); }

/* ---------- /marketers: the closing call, two pills and no form (SPEC14) ---------- */
.mk-close .ct-head { margin-bottom: 0; }
.mk-close .pills { justify-content: center; }
