/* ======================================================================
   home.css  ·  homepage-only sections
   Loaded after style.css by index.html. Everything here is scoped to
   .sa-section / .tk-section so nothing leaks into the shared layer.
   Colour, type and geometry all come from the design tokens in
   style.css — no new palette.
   ====================================================================== */

/* ======================================================================
   SHORT ANSWERS  ·  gauges + benefit chips
   ====================================================================== */

.sa-section {
  width: 100%;
  padding: 96px 0 0;
}

.sa-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 60px;
}

.sa-copy .headline_2 {
  margin-bottom: 14px;
}

.sa-copy .headline_2 em {
  font-style: italic;
  color: var(--terracotta);
}

.sa-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 26px;
  max-width: 420px;
}

.sa-visual {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px 22px;
}

.sa-visual svg,
.tk-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Mono caption inside both SVGs. */
.svg-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  fill: var(--ink-soft);
  text-transform: uppercase;
}

.sa-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.sa-chip {
  display: flex;
  gap: 14px;
  padding: 24px 22px;
  border-bottom: 1px solid var(--line);
}

.sa-chip:nth-child(3n + 1) {
  padding-left: 0;
}

.sa-chip:nth-child(3n) {
  padding-right: 0;
}

.sa-chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-3);
}

.sa-chip-icon svg {
  width: 14px;
  height: 14px;
  color: var(--sa-accent, var(--terracotta));
}

.sa-chip-h {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  margin: 0 0 4px;
}

.sa-chip-p {
  font-family: var(--font-body);
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

.sa-chip.is-clay {
  --sa-accent: var(--terracotta);
}

.sa-chip.is-forest {
  --sa-accent: var(--forest-soft);
}

.sa-chip.is-gold {
  --sa-accent: var(--gold);
}

/* ======================================================================
   TRACK THE DIFFERENCE  ·  sample report chart
   ====================================================================== */

.tk-section {
  width: 100%;
  padding: 0 0 100px;
}

.tk-section .padding-global_120 {
  border-top: 1px solid var(--line);
  padding-top: 88px;
}

.tk-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.tk-visual {
  order: 1;
}

.tk-copy {
  order: 2;
}

.tk-chart {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 18px;
}

.tk-chart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tk-chart-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface-3);
  padding: 4px 9px;
  border-radius: var(--radius-full);
}

.tk-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tk-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

.tk-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.tk-legend-dot.is-clay {
  background: var(--terracotta);
}

.tk-legend-dot.is-forest {
  background: var(--forest-soft);
}

.tk-chart svg {
  margin-top: 8px;
}

.tk-chart-caption {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  margin: 2px 0 0;
}

.tk-section .eyebrow {
  color: var(--forest-soft);
}

.tk-copy .headline_2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.tk-copy .headline_2 em {
  font-style: italic;
  color: var(--forest-soft);
}

.tk-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 420px;
}

.tk-stats {
  display: flex;
  gap: 32px;
}

.tk-stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 6px;
}

.tk-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */

@media (max-width: 980px) {
  .sa-section {
    padding-top: 72px;
  }

  .sa-top,
  .tk-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sa-top {
    margin-bottom: 44px;
  }

  .tk-section .padding-global_120 {
    padding-top: 72px;
  }

  .tk-section {
    padding-bottom: 80px;
  }

  /* Copy leads on narrow screens; the chart follows it. */
  .tk-copy {
    order: 1;
  }

  .tk-visual {
    order: 2;
  }

  .sa-sub,
  .tk-sub {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .sa-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sa-chip:nth-child(3n + 1),
  .sa-chip:nth-child(3n) {
    padding-left: 22px;
    padding-right: 22px;
  }

  .sa-chip:nth-child(2n + 1) {
    padding-left: 0;
  }

  .sa-chip:nth-child(2n) {
    padding-right: 0;
  }

  .tk-copy .headline_2 {
    font-size: 28px;
  }

  .tk-legend {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .sa-chips {
    grid-template-columns: 1fr;
  }

  .sa-chip {
    padding-left: 0;
    padding-right: 0;
  }

  .sa-chip:nth-child(3n + 1),
  .sa-chip:nth-child(3n),
  .sa-chip:nth-child(2n + 1),
  .sa-chip:nth-child(2n) {
    padding-left: 0;
    padding-right: 0;
  }

  .tk-stats {
    gap: 22px;
  }
}
