/* /trainees -- landing page for coaching students and ACC/PCC candidates.

   Loaded AFTER /styles.css and scoped to <body class="tn">. The shared sheet
   still supplies the font, the scroll reveals (.reveal, .io.seq), the FAQ and
   tab behaviour that /main.js drives, and the sticky mobile CTA's show/hide.
   This file owns everything the page draws.

   Contrast target is WCAG AAA: body text >= 7:1, large text >= 4.5:1. The
   ratio next to each colour token was measured against the backgrounds this
   page actually uses (white, the slate-50/70 bands, slate-100 and the tints
   named beside them). Do not introduce a text colour that is not one of these
   tokens without measuring it.

   Colour language (2026-10-01): white and cool-slate surfaces with the brand's
   teal / indigo / amber / emerald accents, one per job, instead of lavender
   everywhere. Accent TEXT and white-on-accent fills sit one shade darker than
   Tailwind's usual -700 / -600 where that shade misses 7:1 (teal-700 on
   teal-50 is 5.25:1, white on teal-600 3.74:1, amber-700 on amber-50 4.84:1,
   emerald-700 on emerald-50 5.21:1, white on indigo-600 6.29:1).

   ASCII only: this file is served without a charset, so check marks and
   arrows are SVG data URIs or inline SVG in the markup, never CSS escapes. */

.tn {
  --ink: #14121c;        /* headings      18.5:1 on white */
  --text: #3d394b;       /* body          11.1:1 white, 10.8:1 slate-50/70 */
  --muted: #4f4a5e;      /* secondary      8.5:1 white,  8.2:1 slate-50/70, 7.6:1+ slate-100 */
  --brand: #5b2be0;      /* buttons: white text 7.3:1; as text 7.2:1+ */
  --brand-ink: #4a1fc4;  /* brand text on tints 7.8:1+; white on it 9.2:1 */
  --brand-tint: #efe9ff;
  --band: rgba(248, 250, 252, 0.7); /* slate-50/70 section band */
  --grey: #f1f5f9;       /* slate-100 */
  --line: rgba(15, 23, 42, 0.09);
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;  /* on slate-50 7.24:1 */
  --slate-700: #334155;  /* on slate-100 9.45:1, on white 10.35:1 */
  --slate-800: #1e293b;  /* white on it 14.6:1 */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;   /* icons and bars only, never text */
  --teal-700: #0f766e;   /* white on it 5.47:1: large text only */
  --teal-800: #115e59;   /* on teal-50 7.27:1; white on it 7.58:1 */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-600: #4f46e5; /* borders and icons; white on it 6.29:1 (large text only) */
  --indigo-700: #4338ca; /* on indigo-50 7.07:1; white on it 7.90:1 */
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-600: #d97706;  /* icons only */
  --amber-900: #78350f;  /* on amber-50 8.75:1 */
  --emerald-50: #ecfdf5;
  --emerald-600: #059669;/* icons only */
  --emerald-700: #047857;/* white on it 5.48:1: large text only */
  --emerald-800: #065f46;/* on emerald-50 7.29:1 */
  --ok-ink: #07502b;     /* on --ok-tint 8.5:1, on white 9.6:1 */
  --ok-tint: #e5f5eb;
  --ok-bar: #16a34a;
  --warn-ink: #7a3d00;   /* on --warn-tint 7.6:1 */
  --warn-tint: #fff1dc;
  --warn-bar: #d97706;
  --x-ink: #9f1d1d;
  --x-tint: #fde8e8;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.13);
  color: var(--text);
  background: #ffffff;
}

/* -- Utilities ------------------------------------------------------------ */

.tn-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.tn-wrap-narrow { max-width: 980px; }
.tn-vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tn-skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.tn .tn-skip:focus { top: 12px; color: #fff; }
.tn svg { flex-shrink: 0; }

.tn-sec { padding: clamp(60px, 7vw, 96px) 0; }
.tn-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin: 0 0 clamp(32px, 4vw, 48px); }
.tn-head-center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }
.tn-eyebrow {
  margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-ink);
}
.tn-h2 {
  margin: 0; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.03em;
  font-weight: 700; color: var(--ink); text-wrap: balance;
}
.tn-sub { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }

/* -- Buttons ---------------------------------------------------------------
   Solid brand fill, not the old #8a5cf6 -> #5b2be0 gradient: white text on its
   light end measured 4.25:1. Specificity is .tn a.<class> so the shared
   `a:hover { color }` and `.btn-primary:hover { color: #fff }` cannot repaint
   a label. */

.tn a.tn-btn,
.tn a.tn-btn-ghost,
.tn a.tn-btn-outline,
.tn a.tn-btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-sizing: border-box; /* full-width card buttons must not add their padding */
  border-radius: 999px; font-weight: 650; font-size: 16px; line-height: 1.2;
  padding: 14px 24px; text-align: center;
  transition: background-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tn a.tn-btn {
  background: var(--brand); color: #fff; border: 0;
  box-shadow: 0 10px 24px rgba(91, 43, 224, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.tn a.tn-btn:hover {
  background: var(--brand-ink); color: #fff; transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(91, 43, 224, 0.38), 0 0 0 6px rgba(91, 43, 224, 0.12);
}
.tn a.tn-btn-ghost,
.tn a.tn-btn-outline {
  background: #fff; color: var(--brand-ink); border: 1.5px solid rgba(74, 31, 196, 0.35);
  box-shadow: var(--shadow-sm);
}
.tn a.tn-btn-ghost:hover,
.tn a.tn-btn-outline:hover {
  background: var(--brand-tint); color: var(--brand-ink); border-color: var(--brand-ink); transform: translateY(-2px);
}
.tn a.tn-btn-light {
  background: #fff; color: var(--brand-ink); border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.tn a.tn-btn-light:hover {
  background: #f3efff; color: var(--brand-ink); transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), 0 0 0 6px rgba(255, 255, 255, 0.16);
}
.tn a.tn-btn-lg,
.tn a.tn-btn-ghost.tn-btn-lg,
.tn a.tn-btn-light.tn-btn-lg { font-size: 17px; padding: 16px 26px; }
/* Phones: the hero CTA label must stay on one line at 375px. */
@media (max-width: 560px) {
  .tn a.tn-btn-lg,
  .tn a.tn-btn-ghost.tn-btn-lg,
  .tn a.tn-btn-light.tn-btn-lg { font-size: 16px; padding: 15px 18px; }
}
.tn a.tn-btn-sm { font-size: 14.5px; padding: 10px 18px; }
.tn a.tn-btn svg,
.tn a.tn-btn-ghost svg,
.tn a.tn-btn-light svg { width: 18px; height: 18px; }

.tn a.tn-btn:focus-visible,
.tn a.tn-btn-ghost:focus-visible,
.tn a.tn-btn-outline:focus-visible,
.tn a.tn-btn-light:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 999px;
}
.tn .tn-final a.tn-btn-light:focus-visible { outline-color: #fff; }
.tn a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* -- Nav ------------------------------------------------------------------ */

.tn-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.tn-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.tn-logo { display: inline-flex; align-items: center; }
.tn-logo img { height: 30px; width: auto; display: block; }
.tn-nav-links { display: flex; align-items: center; gap: 28px; }
.tn-nav-right { display: flex; align-items: center; gap: 18px; }
.tn .tn-nav-links a,
.tn .tn-nav-right a.tn-nav-link { font-size: 15px; font-weight: 550; color: var(--text); }
.tn .tn-nav-links a:hover,
.tn .tn-nav-right a.tn-nav-link:hover { color: var(--brand-ink); }

/* -- 1. Hero -------------------------------------------------------------- */

/* Crisp white. The only colour is a dual ambient glow behind the mockup
   (.tn-mock-wrap::before): teal on its left, violet on its right. */
.tn-hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  background: #ffffff;
}
.tn-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(44px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) {
  .tn-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.tn-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-xs);
  font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--slate-700);
}
.tn-badge-ic { display: inline-flex; flex: 0 0 16px; }
.tn-badge-ic svg { width: 16px; height: 16px; }
.tn-spark-a { fill: var(--teal-600); }
.tn-spark-b { fill: var(--indigo-600); }
/* Katherine's spec (2026-10-01): one clean line of slate-900, 36px on phones,
   52px from tablet up; no strikethrough, no gradient. #0f172a is 17.9:1 on
   the hero background. */
.tn-h1 {
  margin: 20px 0 0; font-size: 36px; line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 700; color: #0f172a; text-wrap: balance;
}
@media (min-width: 768px) {
  .tn-h1 { font-size: 52px; line-height: 1.05; }
}
.tn-nowrap { white-space: nowrap; }
.tn-lead { margin: 22px 0 0; max-width: 56ch; font-size: clamp(18px, 1.55vw, 20px); line-height: 1.55; color: var(--text); }
.tn-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
@media (max-width: 560px) {
  .tn-cta-row > a { width: 100%; }
}
.tn-reassure {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; font-weight: 550; color: var(--muted);
}
.tn-reassure li {
  display: inline-flex; align-items: center; gap: 7px;
}
.tn-reassure li::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 16px;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307502b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Hero product mockup. It is one role="img" with an aria-label that states
   what it shows, so a screen reader gets the sentence, not 30 fragments. */
.tn-mock-wrap { position: relative; width: 100%; max-width: 540px; margin: 0 auto; }
.tn-mock-wrap::before {
  content: ""; position: absolute; inset: -14% -12%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 26% 55%, rgba(13, 148, 136, 0.10), rgba(13, 148, 136, 0) 100%),
    radial-gradient(closest-side at 76% 42%, rgba(99, 102, 241, 0.11), rgba(99, 102, 241, 0) 100%);
}
.tn-mock {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 22px;
}
.tn-mock-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.tn-mock-title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tn-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16); }
.tn-mock-meta { margin: 0; font-size: 13px; font-weight: 550; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tn-pill {
  display: inline-flex; align-items: center; gap: 6px; width: max-content;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.tn-pill svg { width: 12px; height: 12px; }
.tn-pill-ok { background: var(--ok-tint); color: var(--ok-ink); }
.tn-pill-warn { background: var(--warn-tint); color: var(--warn-ink); }
.tn-pill-brand { background: var(--brand-tint); color: var(--brand-ink); }
.tn-ev {
  display: flex; flex-direction: column; gap: 7px;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 13px;
}
.tn-ev-ok { border-left: 4px solid var(--ok-bar); }
.tn-ev-warn { border-left: 4px solid var(--warn-bar); }
.tn-ev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tn-ev-code { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.tn-ev-label { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); }
.tn-ev-quote { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.tn-ev-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); }
.tn-chip {
  display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px;
  background: var(--brand-tint); color: var(--brand-ink);
  font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tn-float {
  position: absolute; z-index: 2; right: -14px; bottom: 24px; /* straddles the card's bottom edge */
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ok-ink); border: 1px solid rgba(7, 80, 43, 0.2);
  font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow-md);
}
.tn-float svg { width: 15px; height: 15px; }
/* Own keyframes, not the shared sheet's heroFloat: that one lives in an
   uncommitted block of /styles.css this page should not depend on. */
@keyframes tnFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
html.js .tn-float { animation: tnFloat 6s ease-in-out infinite; }
@media (max-width: 600px) {
  .tn-float { right: 10px; bottom: 22px; }
}
.tn-mock-cap { position: relative; z-index: 1; margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* -- 2. Trust strip ------------------------------------------------------- */

.tn-trust { background: #fff; border-bottom: 1px solid var(--slate-100); padding: clamp(30px, 4vw, 44px) 0; }
.tn-trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .tn-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tn-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.tn-trust-item { display: flex; align-items: flex-start; gap: 14px; }
.tn-ico {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; box-sizing: border-box;
  border-radius: 12px; background: var(--slate-100); color: var(--slate-700); border: 1px solid transparent;
}
.tn-ico svg { width: 22px; height: 22px; }
/* One semantic colour per proof point (icons only, so the -600 shades are
   fine: the text next to each icon carries the meaning). */
.tn-ico-teal { background: var(--teal-50); color: var(--teal-600); border-color: rgba(204, 251, 241, 0.8); }
.tn-ico-indigo { background: var(--indigo-50); color: var(--indigo-600); border-color: rgba(224, 231, 255, 0.8); }
.tn-ico-amber { background: var(--amber-50); color: var(--amber-600); border-color: rgba(254, 243, 199, 0.8); }
.tn-ico-emerald { background: var(--emerald-50); color: var(--emerald-600); border-color: rgba(209, 250, 229, 0.8); }
.tn-trust-item h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.tn-trust-item p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tn-disclaimer { margin: 26px 0 0; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* -- 3. Before / after ---------------------------------------------------- */

#before-after { background: var(--band); }
.tn-ba { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
@media (min-width: 900px) {
  .tn-ba { grid-template-columns: 1fr auto 1fr; gap: 22px; }
}
.tn-ba-col { border-radius: 22px; padding: clamp(24px, 3vw, 34px); }
.tn-ba-old { background: var(--grey); border: 1px solid rgba(15, 23, 42, 0.06); }
.tn-ba-new { background: #fff; border: 2px solid rgba(91, 43, 224, 0.4); box-shadow: 0 26px 60px rgba(91, 43, 224, 0.16); }
.tn-ba-tag {
  display: inline-block; margin: 0 0 6px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.tn-ba-old .tn-ba-tag { color: var(--muted); }
.tn-ba-new .tn-ba-tag { color: var(--brand-ink); }
.tn-ba-col h3 { margin: 0 0 20px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.tn-ba ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.tn-ba li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.tn-ba-old li { color: var(--muted); }
.tn-ba-new li { color: var(--ink); font-weight: 550; }
.tn-mark {
  display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; margin-top: -1px;
}
.tn-mark svg { width: 14px; height: 14px; }
.tn-mark-x { background: var(--x-tint); color: var(--x-ink); }
.tn-mark-ok { background: var(--ok-tint); color: var(--ok-ink); }
.tn-ba-arrow { display: none; }
@media (min-width: 900px) {
  .tn-ba-arrow {
    display: grid; place-items: center; align-self: center; width: 52px; height: 52px; border-radius: 50%;
    background: var(--brand); color: #fff; box-shadow: var(--shadow-md);
  }
  .tn-ba-arrow svg { width: 22px; height: 22px; }
}

/* -- 4. Supervision showcase ----------------------------------------------
   Three deliverables side by side from 1024px (lg), stacked below. Cards are
   equal height; each footer sits on the card's bottom edge. Replaced the
   three-tab sample on 2026-10-01 (nothing to click any more). */

.tn-demo { background: #fff; }
.tn-show { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
@media (min-width: 1024px) { .tn-show { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tn-show-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 24px 22px 20px; box-shadow: var(--shadow-md);
}
.tn-show-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tn-show-title {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.tn-show-n {
  display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 700;
}
.tn-show-badge {
  margin: 0; padding: 5px 11px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2;
}
/* One functional accent per card. Number circles carry 14px white digits,
   which need 7:1, hence teal-800 / indigo-700 rather than -600. */
.tn-show-card--teal .tn-show-n { background: var(--teal-800); }
.tn-show-card--teal .tn-show-badge { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.tn-show-card--indigo .tn-show-n { background: var(--indigo-700); }
.tn-show-card--indigo .tn-show-badge { background: var(--indigo-50); color: var(--indigo-700); border: 1px solid var(--indigo-100); }
.tn-show-card--amber .tn-show-n { background: var(--slate-800); }
.tn-show-card--amber .tn-show-badge { background: var(--amber-50); color: var(--amber-900); border: 1px solid var(--amber-100); }
.tn-show-body { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.tn-show-foot {
  margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.5; color: var(--muted);
}

/* Card 1: marker citations */
.tn-cite { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.tn-cite-ok { border-left: 4px solid var(--ok-bar); }
.tn-cite-warn { border-left: 4px solid var(--warn-bar); }
.tn-cite-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tn-cite-label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.tn-cite-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }

/* Card 2: transcript turns */
.tn-dialog { list-style: none; }
.tn-turn { padding: 10px 12px; border-radius: 14px; max-width: 94%; }
/* Coach on a soft indigo tint, client on the plain card surface with a
   hairline border and a whisper of shadow: told apart by colour and side,
   without either getting louder. Text slate-800 on both (13.7:1 / 14.6:1). */
.tn-turn-coach { align-self: flex-start; background: rgba(238, 242, 255, 0.6); border: 1px solid rgba(224, 231, 255, 0.6); border-bottom-left-radius: 5px; }
.tn-turn-client { align-self: flex-end; background: #fff; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: var(--shadow-xs); border-bottom-right-radius: 5px; }
.tn-turn-who { margin: 0 0 3px; font-size: 12.5px; font-weight: 700; color: var(--slate-800); }
.tn-turn-time { margin-left: 4px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tn-turn-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--slate-800); }

/* Card 3: mini hours log ("tn-log", not "tn-mini": that name is the
   how-it-works note below). Wraps inside the card instead of scrolling; the
   region is still scrollable as a fallback on very narrow screens. */
.tn-log-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tn-log-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.tn-log { width: 100%; border-collapse: collapse; font-size: 13px; }
.tn-log th {
  padding: 9px 8px; background: var(--slate-50); color: var(--slate-600); text-align: left; vertical-align: bottom;
  font-size: 12px; font-weight: 600; line-height: 1.25; border-bottom: 1px solid var(--slate-200);
}
.tn-log td { padding: 10px 8px; border-top: 1px solid var(--line); color: var(--ink); line-height: 1.35; vertical-align: top; font-variant-numeric: tabular-nums; }
.tn-log .num { text-align: right; white-space: nowrap; }
.tn-log tbody tr:first-child td { border-top: 0; } /* the header already draws this line */
@media (max-width: 420px) {
  .tn-log { font-size: 12.5px; }
  .tn-log th, .tn-log td { padding-left: 6px; padding-right: 6px; }
}

.tn-sample-note { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* -- 5. How it works ------------------------------------------------------ */

.tn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .tn-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tn-step {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 26px 28px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease;
}
.tn-step:hover { box-shadow: var(--shadow-md); }
.tn-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tn-step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 700;
}
/* Record = teal, reflect = indigo, export = slate. Circles carry 16px white
   digits (7:1 needed), so teal-800 / indigo-700, not -600. */
.tn-step--teal .tn-step-n { background: var(--teal-800); }
.tn-step--teal .tn-ico { background: var(--teal-50); color: var(--teal-600); }
.tn-step--indigo .tn-step-n { background: var(--indigo-700); }
.tn-step--indigo .tn-ico { background: var(--indigo-50); color: var(--indigo-600); }
.tn-step--slate .tn-step-n { background: var(--slate-800); }
.tn-step--slate .tn-ico { background: var(--slate-100); color: var(--slate-700); }
.tn-step h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.tn-step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.tn-mid-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.tn-mini { margin: 0; font-size: 14px; color: var(--muted); }

/* -- 3. Trainee feedback (sits under the trust strip since 2026-10-01) ----- */

.tn-proof { background: var(--band); }
.tn-proof-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .tn-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tn-proof-card {
  display: flex; flex-direction: column; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease;
}
.tn-proof-card:hover { box-shadow: var(--shadow-md); }
.tn-proof-who { display: flex; align-items: center; gap: 14px; }
.tn-av {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #6d3ef2, #4a1fc4); color: #fff; font-size: 19px; font-weight: 700;
}
/* The initial is 19px bold (large text, 4.5:1): every stop of both gradients
   clears that. The brief's teal-500 (2.49:1), emerald-600 (3.77:1) and
   indigo-500 (4.47:1) starts did not, so each stop sits one shade deeper. */
.tn-av-teal { background: linear-gradient(135deg, var(--teal-700), var(--emerald-700)); }
.tn-av-indigo { background: linear-gradient(135deg, var(--indigo-600), #9333ea); }
.tn-proof-id { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tn-proof-name { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.tn-proof-badge {
  margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--slate-100); border: 1px solid rgba(226, 232, 240, 0.6);
  color: var(--slate-700); font-size: 12.5px; font-weight: 500; line-height: 1.3;
}
.tn-proof-text { margin: 0; padding-left: 16px; border-left: 3px solid #c9b8f5; font-size: 17px; line-height: 1.6; color: var(--text); }
.tn-proof-metrics { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tn-proof-metrics li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: var(--ok-tint); color: var(--ok-ink);
  font-size: 14px; font-weight: 650; line-height: 1.3;
}
.tn-tick {
  flex: 0 0 14px; width: 14px; height: 14px;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307502b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
/* Tracy's outcomes emerald, Tina's teal. Text one shade darker than the
   brief's -700 (5.2:1) to reach 7:1; ticks drawn in the same ink. */
.tn-metrics-emerald li { background: var(--emerald-50); color: var(--emerald-800); border: 1px solid rgba(167, 243, 208, 0.6); }
.tn-metrics-emerald .tn-tick {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.tn-metrics-teal li { background: var(--teal-50); color: var(--teal-800); border: 1px solid rgba(153, 246, 228, 0.6); }
.tn-metrics-teal .tn-tick {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23115e59' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* -- 7. Pricing ----------------------------------------------------------- */

.tn-pricing { background: var(--band); }
/* Two plans since the free plan ended (2026-10-15): a balanced pair, narrower
   than the old three-up row so neither card stretches into a slab. */
.tn-tiers { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: stretch; max-width: 880px; margin: 0 auto; }
@media (min-width: 760px) { .tn-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tn-tier {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 32px 26px 28px; box-shadow: var(--shadow-sm);
}
.tn-tier-featured {
  border: 2px solid var(--indigo-600);
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.05), 0 8px 10px -6px rgba(99, 102, 241, 0.05);
}
/* indigo-700, not -600: the label is 12px white text (7.90:1 vs 6.29:1). */
.tn-tier-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0;
  padding: 7px 14px; border-radius: 999px; background: var(--indigo-700); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; box-shadow: var(--shadow-sm);
}
/* Coach's badge: the same pill, quiet, so Trainee stays the featured card on
   this page. Ink on white, the page's highest-contrast pair. */
.tn-tier-badge-quiet { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tn-tier-name { margin: 0; font-size: 21px; font-weight: 700; color: var(--ink); }
.tn-tier-for { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
/* Side by side, reserve two lines so both prices sit on one baseline. */
@media (min-width: 760px) { .tn-tier-for { min-height: 2.9em; } }
.tn-price { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.tn-price-n { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.tn-price-p { font-size: 15px; font-weight: 600; color: var(--muted); }
.tn-feats {
  list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 11px;
}
.tn-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text); }
.tn-feats li::before {
  content: ""; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--ok-tint) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307502b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.tn-feats li.tn-feat-lead { font-weight: 650; color: var(--ink); }
.tn .tn-tier a.tn-btn,
.tn .tn-tier a.tn-btn-outline { margin-top: auto; width: 100%; }
.tn-tier-foot { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 4px; }
.tn-cohort { margin: 30px auto 0; max-width: 620px; text-align: center; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.tn .tn-cohort a,
.tn .tn-faq-a a { color: var(--brand-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* -- 8. FAQ --------------------------------------------------------------- */

.tn-faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.tn-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.tn .tn-faq-item .faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 20px 22px; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 17px; font-weight: 650; line-height: 1.4; color: var(--ink);
}
.tn .tn-faq-item .faq-q:hover { background: var(--slate-50); }
.tn .tn-faq-item .faq-q:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: 16px; }
.tn .tn-faq-item .faq-sym {
  display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-ink); font-size: 20px; font-weight: 600; line-height: 1;
}
.tn .tn-faq-item .faq-q[aria-expanded="true"] .faq-sym { background: var(--brand); color: #fff; }
.tn-faq-a p { margin: 0; padding: 0 22px 22px; font-size: 16px; line-height: 1.65; color: var(--text); }

/* -- Final CTA ------------------------------------------------------------ */

.tn-final {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(76px, 9vw, 124px) 0;
  /* Deep navy (indigo-950 into slate-900) with a faint teal glow in one
     corner. Solid base under the gradient so contrast tools measure a real
     colour. White is 16.0:1 on the base, indigo-200 sub-copy 10.7:1; at the
     glow's strongest point they are about 12:1 and 8:1, still AAA. */
  background-color: #1e1b4b;
  background-image:
    radial-gradient(700px 360px at 100% 0%, rgba(20, 184, 166, 0.16), transparent 62%),
    linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
}
.tn-final h2 {
  margin: 0 auto; max-width: 20ch; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06;
  letter-spacing: -0.03em; font-weight: 700; color: #fff; text-wrap: balance;
}
.tn-final-sub { margin: 18px auto 0; max-width: 46ch; font-size: 19px; line-height: 1.5; color: #c7d2fe; }
.tn-final-cta { margin-top: 32px; }
.tn-final-note { margin: 16px 0 0; font-size: 14.5px; color: #c7d2fe; }

/* -- Footer --------------------------------------------------------------- */

.tn-footer { background: var(--slate-50); border-top: 1px solid var(--slate-200); padding: clamp(48px, 6vw, 72px) 0 calc(40px + env(safe-area-inset-bottom)); }
.tn-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.tn-footer-logo { height: 28px; width: auto; display: block; }
.tn-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.tn-footer-h { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tn .tn-footer-col a { color: var(--text); }
.tn .tn-footer-col a:hover { color: var(--brand-ink); }
.tn .tn-footer-col a.tn-footer-cta { color: var(--brand-ink); font-weight: 650; }
.tn-footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* -- Sticky mobile CTA (shown/hidden by /main.js) ------------------------- */

.tn-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
}
.tn-sticky-copy { display: flex; flex-direction: column; line-height: 1.25; }
.tn-sticky-t { font-size: 15px; font-weight: 700; color: var(--ink); }
.tn-sticky-s { font-size: 13px; color: var(--muted); }
.tn .tn-sticky a.tn-btn { flex: 1; max-width: 200px; padding: 13px 18px; font-size: 15.5px; }

/* -- Motion preferences --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html.js .tn-float { animation: none; }
  .tn a.tn-btn, .tn a.tn-btn-ghost, .tn a.tn-btn-outline, .tn a.tn-btn-light,
  .tn-step, .tn-proof-card { transition: none; }
  .tn a.tn-btn:hover, .tn a.tn-btn-ghost:hover, .tn a.tn-btn-outline:hover, .tn a.tn-btn-light:hover { transform: none; }
}
