/* ChilledSites: /<country> hub pages (GH#222). Page-only styles, ch- prefix.
   Shares the get-found (gf-), features (fx-) and how-it-works (hw-) design
   language: same token set (article.css v10), same card, hero and inverted
   band components reused directly. Only components that don't already exist
   on those sister pages are defined here. */

.ch-page { background: var(--bg); }

/* ─── Hero: local line under the sub copy ──────────────────────────────── */

.ch-hero-local {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 24px;
}

/* ─── Hero: "Built in <country>" live card ─────────────────────────────── */

.ch-live {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ch-live-title { font-size: 15px; font-weight: var(--w-strong); color: var(--text-strong); }
.ch-live-label-row { display: flex; align-items: center; gap: 8px; margin-top: -8px; }
.ch-live-label { font-size: 12px; color: var(--muted); }

.ch-live-number-row { display: flex; flex-direction: column; gap: 4px; }
.ch-live-number {
  font-family: 'Bricolage Grotesque', Didot, Georgia, serif;
  font-size: 40px;
  font-weight: var(--w-strong);
  color: var(--text-strong);
  line-height: 1.1;
}
.ch-live-number-label { font-size: 13px; color: var(--muted); }

.ch-live-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-live-pill {
  flex: 1 1 120px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) - 2px);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ch-live-pill-num { font-size: 17px; font-weight: var(--w-strong); color: var(--text-strong); }
.ch-live-pill-label { font-size: 12px; color: var(--muted); }

.ch-cities-block { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; border-top: 1px solid var(--divider); }
.ch-cities-block.ch-hidden { display: none; }
.ch-cities-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ch-city-row { border-bottom: 1px solid var(--divider); }
.ch-city-row:last-child { border-bottom: none; }
.ch-city-row-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: inherit;
}
a.ch-city-row-inner:hover .ch-city-name { color: var(--coral); text-decoration: none; }
.ch-city-bar-track {
  flex-shrink: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--divider);
  overflow: hidden;
}
.ch-city-bar-fill { display: block; height: 100%; background: var(--coral); border-radius: 2px; }
.ch-city-name { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-strong); transition: color var(--dur-fast) var(--ease); }
.ch-city-count { flex-shrink: 0; font-size: 12px; color: var(--faint); }

.ch-live-foot { font-size: 11.5px; color: var(--faint); padding-top: 4px; border-top: 1px solid var(--divider); }

/* Width steps for the top-city bars, baked at build time; JS sets
   element.style.width directly at runtime, which is fine per spec. */
.ch-w-10 { width: 10%; }
.ch-w-20 { width: 20%; }
.ch-w-30 { width: 30%; }
.ch-w-40 { width: 40%; }
.ch-w-50 { width: 50%; }
.ch-w-60 { width: 60%; }
.ch-w-70 { width: 70%; }
.ch-w-80 { width: 80%; }
.ch-w-90 { width: 90%; }
.ch-w-100 { width: 100%; }

/* ─── Business types: card as a link with hover glow + arrow ──────────── */

.ch-type-card { display: block; position: relative; padding-right: 56px; }
.ch-type-card:hover { box-shadow: 0 0 0 3px var(--coral-dim); text-decoration: none; }
.ch-type-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--coral);
  display: flex;
}

/* ─── Cities: pill links ───────────────────────────────────────────────── */

.ch-city-pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-city-pill {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-size: 13.5px;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.ch-city-pill:hover { border-color: var(--coral); color: var(--coral); text-decoration: none; }
.ch-regions-label {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: var(--w-med);
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── How it works: three steps in a row ───────────────────────────────── */

.ch-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}
@media (max-width: 780px) {
  .ch-steps { grid-template-columns: 1fr; gap: 32px; }
}
.ch-step { display: flex; flex-direction: column; gap: 10px; }
.ch-step h3 { font-size: 17px; color: var(--text-strong); }
.ch-step p { font-size: 14px; line-height: 1.6; color: var(--muted); }
