/* ===== /training v2 — page-scoped layer =====
   Loaded ONLY by training/v2.html. Everything is namespaced .t2- so v1 and the
   rest of the site are untouched; the heavy lifting is done by components that
   already exist in styles.css (.ways rail, .metrics, .editor, .why-grid). */

/* hero: give the page a CTA pair, which v1 never had */
.t2-kicker {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--page-accent, var(--accent));
  margin: 0 0 6px;
}
.t2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}
.t2-cta .t2-cta-note {
  font-size: 14px;
  color: var(--ink-4);
  max-width: 34ch;
}

/* formats: a comparison table instead of a third row of boxes */
.t2-tablewrap {
  margin-top: 34px;
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  overflow-x: auto;
}
.t2-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.t2-table th,
.t2-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-1);
  border-right: 1px solid var(--border-1);
}
.t2-table tr:last-child th,
.t2-table tr:last-child td {
  border-bottom: 0;
}
.t2-table th:last-child,
.t2-table td:last-child {
  border-right: 0;
}
.t2-table thead th {
  background: var(--surface-2);
  color: var(--ink-1);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.t2-table thead th .t2-th-sub {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.t2-table tbody th {
  width: 148px;
  background: var(--surface-1);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.t2-table td {
  color: var(--ink-2);
  line-height: 1.55;
}
.t2-table tbody tr:hover td {
  background: var(--surface-2);
}
.t2-scrollhint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-4);
}
@media (min-width: 860px) {
  .t2-scrollhint {
    display: none;
  }
}

/* handout showcase: prose beside the editor block, on the cool band */
.t2-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .t2-showcase {
    grid-template-columns: 1fr;
  }
}
.t2-showcase .editor {
  margin-top: 0;
  max-width: none;
}
.t2-showcase-copy h2 {
  color: #e6edf3;
}
.t2-showcase-copy p {
  color: #9aa4c0;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 46ch;
}
.t2-prompt {
  margin: 0;
  padding: 20px;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #c9d4e8;
}
.t2-prompt .t2-said {
  color: #6f7da0;
}

/* where it leads: a link row, not another card grid */
.t2-leads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
}
@media (max-width: 900px) {
  .t2-leads {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .t2-leads {
    grid-template-columns: 1fr;
  }
}
.t2-lead {
  display: block;
  background: var(--surface-1);
  padding: 22px;
  transition: background 0.2s var(--ease);
}
.t2-lead:hover {
  background: var(--surface-2);
}
.t2-lead .t2-lead-t {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-1);
  font-weight: 600;
  font-size: 15px;
}
.t2-lead:hover .t2-lead-t {
  color: var(--accent);
}
.t2-lead .t2-lead-d {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.55;
}

/* The .way-panel reveal transform starts off-screen right, which leaves ~46px of
   phantom horizontal scroll (the homepage has the same). overflow-x:clip kills it
   without creating a scroll container, so the sticky rail still sticks. Scoped to
   this page because the file is only loaded here. */
.ways {
  overflow-x: clip;
  overflow-y: visible;
}
