/* ═══════════════════════════════════════════════════════════════════
   /teach — tutor recruitment landing, loaded ONLY on /teach
   (page-teach.tpl.php) after tokens.css + marketing.css, which supply
   the canvas, section bands, labels, steps, CTA band and fade.
   This file keeps only what is specific to this page: the hero
   composition, the after-lesson card stack (the page's signature), the
   benefits, the AI strip, the earnings math, the check lists, the
   testimonial and the FAQ. Same three tiers as the front page.
   ═══════════════════════════════════════════════════════════════════ */

/* ── 01 · Hero: the after-lesson card stack. Orange-edged card = the
   tutor's brief; --ai-edged cards = the assistant working. ─────── */
.tch-after { margin-top: 26px; }
.tch-after-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--orange);
  border-radius: 13px;
  padding: 11px 14px;
  box-shadow: var(--shadow-sm);
  font-size: .78rem;
  line-height: 1.45;
}
.tch-after-card--ai { border-inline-start-color: var(--ai-1); border-color: var(--ai-line); box-shadow: var(--glow-ai); }
.tch-after-card .ln-kicker { margin-bottom: 4px; }
.tch-after-arrow { text-align: center; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.tch-after-row { display: flex; align-items: center; gap: 6px; }
.tch-after-row strong { color: var(--ai-1); margin-inline-start: auto; }
.tch-after-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin: 6px 0; }
.tch-after-bars span { flex: 1; border-radius: 3px; background: var(--orange-soft); }
.tch-after-bars span:nth-child(1) { height: 40%; }
.tch-after-bars span:nth-child(2) { height: 56%; }
.tch-after-bars span:nth-child(3) { height: 68%; background: var(--orange); }
.tch-after-bars span:nth-child(4) { height: 84%; background: var(--orange); }
.tch-after-bars span:nth-child(5) { height: 100%; background: var(--ai-1); }
.tch-after-caption { margin-top: 12px; text-align: center; font-size: .74rem; font-weight: 600; color: var(--muted); }

/* ── 02 · Why tutors ────────────────────────────────────────────── */
.tch-benefit-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.tch-benefit-text { font-size: .85rem; color: var(--muted); }

/* ── 03 · AI assistant ──────────────────────────────────────────── */
.tch-ai-benefits { font-size: .88rem; }
.tch-ai-benefits li { display: flex; gap: 9px; align-items: flex-start; }
.tch-ai-benefits li + li { margin-top: 12px; }
.tch-ai-strip {
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--ai-line);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: .84rem;
  box-shadow: var(--glow-ai);
}

/* ── 04 · How it works ──────────────────────────────────────────── */
.tch-how-close { font-size: .86rem; font-weight: 600; color: var(--muted); }

/* ── 05 · Earnings ──────────────────────────────────────────────── */
.tch-earn { --bulma-box-padding: 22px; text-align: center; }
.tch-earn-math { display: flex; align-items: center; justify-content: center; gap: 18px; }
.tch-earn-cell { display: flex; flex-direction: column; }
.tch-earn-num { font-family: var(--serif); font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--muted); }
.tch-earn-num--keep { color: var(--orange-d); }
.tch-earn-arrow { font-size: 1.3rem; color: var(--muted); }
.tch-earn-lbl { font-size: .7rem; color: var(--muted); }
.tch-earn-note { font-size: .8rem; color: var(--muted); margin: 14px auto 0; max-width: 340px; }
.tch-checks { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.tch-checks li { display: flex; align-items: flex-start; gap: 9px; text-align: start; }
.tch-checks li + li { margin-top: 9px; }
.tch-checks--tight { margin-top: 16px; display: inline-block; }

/* ── 06 · Toolkit ───────────────────────────────────────────────── */
.tch-checks--grid li { padding: 4px 0; }

/* ── 07 · Testimonial (a front-page review box) ─────────────────── */
.tch-review { --bulma-box-padding: 20px; --bulma-box-radius: 18px; max-width: 560px; margin-inline: auto; }
.tch-rev-stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 9px; }
.tch-rev-text { font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; }
.tch-rev-who { font-size: .82rem; font-weight: 600; color: var(--muted); }

/* ── 08 · FAQ (items are .box, as on the front page) ────────────── */
.tch-faq-item { --bulma-box-radius: 14px; }
.tch-faq-item summary { font-weight: 600; cursor: pointer; font-size: .9rem; }
.tch-faq-item p { font-size: .85rem; color: var(--muted); }

/* ═══ Desktop/tablet tiers — nothing below 769px is affected ═════ */
@media (min-width: 769px) {
  .tch-checks--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; max-width: 640px; margin-inline: auto; }
  .tch-checks--grid li + li { margin-top: 0; }
}
@media (min-width: 1024px) {
  /* Hero band: copy | after-lesson stack. */
  .tch-sec--hero .hero-body > * { max-width: 1160px; margin-inline: auto; }
  .tch-hero-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0 56px; align-items: center; width: 100%; }
  .tch-sec--hero .title.is-3 { font-size: clamp(2.4rem, 2.2vw + 1.2rem, 3.33rem); line-height: 1.04; letter-spacing: -.025em; }
  .tch-hero-copy .ln-lead { max-width: 560px; font-size: 1.03rem; }
  .tch-hero-visual { max-width: 400px; }
  .tch-after-card { font-size: .84rem; padding: 13px 16px; }
  /* Gentle opposing offsets so the stack reads like a desk, not a list. */
  .tch-after-card--you { transform: rotate(-1.2deg); margin-inline-end: 34px; }
  .tch-after-card--ai { transform: rotate(1deg); margin-inline-start: 26px; }
  .tch-after-card--ai + .tch-after-arrow + .tch-after-card--ai { transform: rotate(-.8deg); margin-inline-start: 8px; }

  /* Narrow tail sections. */
  .tch-sec--ai > *, .tch-sec--faq > * { max-width: 720px; }
  .tch-ai-benefits { font-size: 1rem; }
  .tch-earn { max-width: 560px; margin-inline: auto; }
  .tch-earn-num { font-size: 2.6rem; }
}
