/* ============================================================
   geo.css — components used only by the pages built for search
   and AI-answer extraction: the answer block, the comparison
   table, long-form prose and the freshness stamp.

   Tokens come from asli.css. Nothing here redefines a token.
   ============================================================ */

/* --- The answer block ---------------------------------------
   A self-contained 40-60 word answer, first thing after the
   hero. This is the passage an AI answer engine lifts, so it
   must read correctly with zero surrounding context. */
.answer {
  border-left: 3px solid var(--copper);
  background: var(--bg1);
  padding: var(--space-md) var(--space-md) var(--space-md) 28px;
  margin: 0 0 var(--space-lg);
  max-width: 78ch;
}
.answer h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-hot);
  margin: 0 0 10px;
  font-weight: 700;
}
.answer p {
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--text-hi);
  margin: 0 0 12px;
}
.answer p:last-child { margin-bottom: 0; }
.answer p b, .answer p strong { color: var(--text-hi); font-weight: 700; }

/* --- Comparison table ---------------------------------------
   Scrolls inside its own box: the page body must never scroll
   sideways on a phone. */
.ctable-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--bg1);
  margin: 0 0 var(--space-md);
  -webkit-overflow-scrolling: touch;
}
.ctable {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.94rem;
}
.ctable th, .ctable td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.ctable thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg2);
  font-weight: 500;
  white-space: nowrap;
}
.ctable thead th.us { color: var(--copper-hot); }
.ctable tbody th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-hi);
  width: 30%;
  background: var(--bg1);
}
.ctable td { color: var(--text-mid); }
.ctable td.us { color: var(--text-hi); background: rgba(168, 106, 52, 0.055); }
.ctable td.us b, .ctable td.us strong { color: var(--copper-hot); font-weight: 700; }
.ctable tbody tr:last-child th,
.ctable tbody tr:last-child td { border-bottom: 0; }

/* --- Long-form prose ---------------------------------------- */
.prose { max-width: 74ch; }
.prose p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin: 0 0 var(--space-md);
}
.prose p b, .prose p strong { color: var(--text-hi); font-weight: 600; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: var(--space-lg) 0 var(--space-sm);
  line-height: 1.3;
}
.prose ul, .prose ol { margin: 0 0 var(--space-md); padding-left: 22px; }
.prose li {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.prose li b, .prose li strong { color: var(--text-hi); font-weight: 600; }
.prose a { color: var(--copper-hot); text-underline-offset: 3px; }

/* --- Freshness stamp ----------------------------------------
   Undated content loses to dated content of equal quality. */
.updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  display: block;
  margin-top: var(--space-md);
}
.updated b { color: var(--text-mid); font-weight: 500; }

/* --- Fairness note on comparison pages ---------------------- */
.fairness {
  border: 1px dashed var(--line);
  padding: var(--space-md);
  max-width: 78ch;
  margin: var(--space-md) 0 0;
}
.fairness p {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-dim);
  margin: 0;
}
.fairness p b { color: var(--text-mid); }

/* --- Compare hub index -------------------------------------- */
.clist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.clist a {
  display: block;
  background: var(--bg1);
  padding: var(--space-md);
  text-decoration: none;
  transition: background 0.25s var(--ease);
}
.clist a:hover { background: var(--bg2); }
.clist h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0 0 6px;
}
.clist p { font-size: 0.95rem; line-height: 1.55; color: var(--text-mid); margin: 0; }

@media (max-width: 720px) {
  .answer { padding-left: 20px; }
  .answer p { font-size: 1.03rem; }
  .ctable tbody th { width: 38%; }
}
