/* =============================================================================
   club.css — styles for /club-hablo.
   Loaded AFTER site-styles.css + pages.css; reuses the same tokens, nav, footer,
   buttons, and the .fa-free closing block from the agent pages.
   ============================================================================= */

/* The audience switcher marks "For agents" active on this page, but it stays a
   real link (this is not /for-agents), so the kit's cursor:default is wrong. */
.hb-nav__center a.hb-nav__link.is-active { cursor: pointer; }

/* -- Hero: text-left / visual-right ------------------------------------------ */
.ch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 56px;
  align-items: center;
  padding-top: clamp(12px, 2.4vw, 32px);
}
.ch-hero__copy .hb-eyebrow { margin-bottom: 26px; }
.ch-hero__title {
  font-size: clamp(2.5rem, 3.6vw + 0.5rem, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
  max-width: 16ch;
}
.ch-hero__lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 52ch;
  margin-top: 24px;
  text-wrap: pretty;
}
.ch-hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Hero scene — native build of the supplied Club Hablo dashboard placeholder.
   Stands in until the real platform capture exists. */
.ch-scene {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(20,40,50,0.10);
  padding: 22px 20px;
  width: 100%;
  max-width: 410px;
  margin-left: auto;
}
.ch-scene__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ch-scene__pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,147,199,0.18);
}
.ch-scene__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.ch-scene__tier {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border-strong);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.ch-scene__hr {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}
.ch-scene__total {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ch-scene__amt {
  font-size: 2.125rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.ch-scene__unit {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.ch-scene__bar {
  margin-top: 16px;
  height: 7px;
  border-radius: var(--r-pill);
  background: #EEF2F4;
  overflow: hidden;
}
.ch-scene__fill {
  display: block;
  height: 100%;
  width: 63%;
  border-radius: var(--r-pill);
  background: var(--cyan);
}
.ch-scene__next {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.ch-scene__next strong {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--fg);
}
.ch-scene__rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ch-scene__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--fg-muted);
}
.ch-scene__row strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--green-ink);
  background: var(--green-soft);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
/* Same rail component as the tier cards, run full width inside the scene. */
.ch-scene__rail {
  width: 100%;
  margin: 18px 0 0;
}
.ch-scene__badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ch-scene__disc {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ch-scene__disc img { width: auto; height: 15px; }
.ch-scene__disc--orange { background: linear-gradient(135deg, #FFBA6A, #D4530B); }
.ch-scene__disc--blue   { background: linear-gradient(135deg, #66BEDD, #0093C7); }
.ch-scene__disc--green  { background: linear-gradient(135deg, #6FE6A8, #00AC4A); }
.ch-scene__disc--gold   { background: linear-gradient(135deg, #FFE656, #D3B300); }
.ch-scene__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.ch-scene__streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
}
.ch-scene__streak strong { color: var(--fg); font-weight: 500; }
.ch-scene__streak img { height: 13px; width: auto; }
.ch-scene__draft {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

@media (max-width: 980px) {
  .ch-hero { grid-template-columns: 1fr; gap: 44px; }
  .ch-hero__title { max-width: 22ch; }
  .ch-scene { margin-left: 0; }
}

/* -- What Club Hablo is ------------------------------------------------------ */
.ch-what {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}
.ch-what .hb-eyebrow { margin-bottom: 22px; }
.ch-what__body {
  font-size: clamp(1.25rem, 0.9vw + 1rem, 1.625rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
  text-wrap: pretty;
}

/* -- How you earn Kudos ------------------------------------------------------ */
.ch-earn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.ch-earn__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.ch-earn__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--cyan-soft);
  color: var(--cyan-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ch-earn__label {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg);
  text-wrap: pretty;
}
.ch-earn__note {
  margin: 36px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.04em;
  color: var(--fg-faint);
}

@media (max-width: 900px) { .ch-earn { grid-template-columns: repeat(2, 1fr); gap: 26px 32px; } }
@media (max-width: 620px) { .ch-earn { grid-template-columns: 1fr; } }

/* The four-node tier rail lives in pages.css — /for-agents uses the same
   component, so the two pages visibly connect. */

/* -- Tier cards -------------------------------------------------------------- */
.ch-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ch-tiers--3 { grid-template-columns: repeat(3, 1fr); }
.ch-tier {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.ch-tier__name {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-tier__figure {
  font-size: clamp(2.25rem, 2.2vw + 1rem, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--fg);
}
/* Blue's threshold is a phrase, not a numeral. Set in mono at roughly two thirds
   the size of the figures, optically balanced rather than matched, so the two
   Kudos numbers stay the largest elements in the row. */
.ch-tier__figure--word {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.4vw + 0.65rem, 1.95rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding-block: 0.22em;
}
.ch-tier__unit {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg-muted);
}
.ch-tier__inherits {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.ch-tier__list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ch-tier__list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-muted);
  text-wrap: pretty;
}
.ch-tier__tick {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
/* -- Platinum band — deliberately a band, not a fourth card. Platinum is set by
   a 12-month streak, not a monthly Kudos threshold, so it sits outside the
   comparison grid rather than inviting "12 months" to be read against 50,000. */
.ch-plat__head { margin-bottom: 44px; }
.ch-plat__head .hb-eyebrow { margin-bottom: 18px; }
.ch-plat__head .hb-h2 { color: #fff; }
.ch-plat__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--border-on-dark);
}
.ch-plat__left { display: flex; flex-direction: column; align-items: flex-start; }
.ch-plat__connect {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--fg-on-dark-muted);
  max-width: 34ch;
  text-wrap: pretty;
}
.ch-plat__figure {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 5.5vw + 1rem, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fff;
}
.ch-plat__unit {
  margin-top: 14px;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--fg-on-dark-muted);
  max-width: 34ch;
}
.ch-plat__left .ch-tier__excl { margin-top: 24px; }
.ch-plat__right .ch-tier__inherits {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: var(--fg-on-dark-faint);
}
.ch-plat__right .ch-tier__list { margin-top: 20px; }
.ch-plat__right .ch-tier__list li { color: var(--fg-on-dark-muted); }
.ch-plat__right .ch-tier__tick {
  background: rgba(11,212,113,0.16);
  color: var(--green);
}
.ch-tier__excl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-on-dark-muted);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

@media (max-width: 900px) {
  .ch-plat__grid { grid-template-columns: 1fr; gap: 36px; }
  .ch-plat__head { margin-bottom: 36px; }
}

/* -- "Coming soon" tag — neutral by design, never the cyan accent ------------- */
.ch-soon {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: var(--r-pill);
  vertical-align: middle;
  white-space: nowrap;
}
.hb-section--dark .ch-soon,
.ch-soon--dark {
  color: var(--fg-on-dark-muted);
  background: rgba(255,255,255,0.06);
  border-color: var(--border-on-dark);
}

/* -- Achievements: two columns, personal left / organisation right ------------ */
.ch-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  align-items: start;
}
.ch-badges__head { margin-bottom: 24px; }
.ch-badges__title {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}
.ch-badges__sub {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.ch-badges__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ch-badge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.ch-badge__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ch-badge__name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--fg);
  margin: 2px 0 0;
}
.ch-badge__trigger {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  .ch-tiers--3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ch-tiers, .ch-badges { grid-template-columns: 1fr; }
  .ch-badges { gap: 44px; }
}

/* -- Two kinds of recognition (separator block) ------------------------------- */
.ch-two { max-width: 64rem; }
.ch-two .hb-eyebrow { margin-bottom: 20px; }
.ch-two__body {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 64ch;
}
.ch-two__body p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  text-wrap: pretty;
}
.ch-two__punch {
  font-size: 1.1875rem !important;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg) !important;
}
.ch-two__link {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 500;
}

/* -- Organisations (buyer block) --------------------------------------------- */
.ch-org { max-width: 60rem; }
.ch-org .hb-eyebrow { margin-bottom: 20px; }
.ch-org__body {
  margin-top: 20px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.ch-org__link {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}
.ch-org__gate {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
}
