.tr-hero .hero-kicker, .tr-section .hero-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.9rem;
}
.tr-hero .gradient-heading, .tr-section .gradient-heading {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--text) 0%, #c4b5fd 50%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
}
@supports not (-webkit-background-clip: text) {
  .tr-hero .gradient-heading, .tr-section .gradient-heading { background: none; -webkit-text-fill-color: currentColor; }
}
.tr-demo .demo-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber);
  border-radius: 999px; padding: 0.3rem 0.9rem; margin-bottom: 1.1rem;
}
/* 4. persistent offer highlight (survives scroll/blur; removed on change/deselect) */
.tr-card.tr-selected { outline: 2px solid var(--indigo); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .tr-card, .tr-sel-btn, .tr-sel-cue { transition: none; }
}
.tr-sel-cue { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.6rem; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 0.78em; font-weight: 600; letter-spacing: 0.02em; }
.tr-sel-btn[aria-pressed="true"] { border-color: var(--indigo); }
/* Training hub — page-scoped (tr-* classes only; mirrors the accepted optimisation pattern) */
.tr-hero { text-align: center; padding: 3rem 1.5rem 2rem; }
.tr-hero h1 { margin-bottom: 1rem; }
.tr-status { display: inline-block; font-size: 0.88rem; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.9rem; margin-bottom: 1.4rem; }
.tr-call-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.6rem; }
.tr-selector { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.6rem 0; }
.tr-sel-intro { text-align: center; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.tr-sel-group { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.tr-sel-btn { font: inherit; font-size: 0.95rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1.1rem; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; }
.tr-sel-btn[aria-pressed="true"] { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
.tr-sel-cue { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.tr-sel-view { text-align: center; margin: 0.8rem 0 0; }
.tr-sel-link { color: var(--indigo-hover); font-size: 0.9rem; }
.tr-offers { padding: 3rem 0; }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.tr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.3rem; display: flex; flex-direction: column; }
.tr-card.highlight { border-left: 3px solid var(--amber); }
.tr-card h3 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.5rem; }
.tr-price { font-size: 1.35rem; font-weight: 800; }
.tr-facts { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.8rem; }
.tr-body { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.7rem; }
.tr-meta { list-style: none; padding: 0; margin: 0 0 0.9rem; }
.tr-meta li { font-size: 0.88rem; color: var(--text-muted); padding: 0.25rem 0 0.25rem 1.2rem; position: relative; }
.tr-meta li::before { content: "\2192"; position: absolute; left: 0; color: var(--indigo-hover); }
.tr-status-card { font-size: 0.82rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 0.7rem; margin-bottom: 0.9rem; }
.tr-cta { margin-top: auto; }
.tr-compare { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.tr-table { width: 100%; max-width: 1000px; margin: 0 auto; border-collapse: collapse; font-size: 0.9rem; }
.tr-table th, .tr-table td { border: 1px solid var(--border); padding: 0.55rem 0.7rem; text-align: left; }
.tr-table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.tr-cards-mobile { display: none; }
.tr-cmp-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 0.8rem; }
.tr-cmp-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.tr-cmp-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.8rem; }
.tr-cmp-card dt { font-size: 0.78rem; text-transform: uppercase; color: var(--text-muted); align-self: center; }
.tr-cmp-card dd { margin: 0; font-size: 0.9rem; }
.tr-demo { padding: 3rem 0; }
.tr-steps { list-style: none; counter-reset: step; max-width: 900px; margin: 0 auto; padding: 0; }
.tr-steps li { counter-increment: step; position: relative; padding: 0 0 1.4rem 3rem; }
.tr-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tr-steps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.tr-steps p { color: var(--text); line-height: 1.6; font-size: 0.95rem; }
.tr-check-step::before { background: var(--amber); color: #09090d; }
.tr-demo-note { font-size: 0.85rem; color: var(--text-muted); max-width: 900px; margin: 0 auto; }
.tr-boundary { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.6rem 0; }
.tr-boundary p { max-width: 780px; margin: 0 auto 0.8rem; line-height: 1.65; color: var(--text); }
.tr-boundary p:last-child { color: var(--text-muted); font-size: 0.95rem; }
.tr-faq { padding: 3rem 0; }
.tr-close { text-align: center; padding: 3rem 0 5rem; }
.tr-close p { max-width: 640px; margin: 0 auto 1.2rem; line-height: 1.6; color: var(--text-muted); }
.tr-email { font-size: 0.9rem; margin-top: 1rem; }
/* Enlarged-text reading width (optimisation lesson): pin decorative paddings at mobile */
@media (max-width: 768px) {
  .tr-hero, .tr-close, .tr-offers, .tr-compare, .tr-demo, .tr-boundary, .tr-faq { padding-left: 8px; padding-right: 8px; }
  .tr-hero, .tr-close { padding-top: 20px; }
  .tr-card { padding: 18px 14px; }
  .tr-table { display: none; }
  .tr-cards-mobile { display: block; }
  .tr-controls {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(9, 9, 13, 0.97);
    border-top: 1px solid var(--border);
    padding: 0.55rem 0.75rem;
  }
  .tr-controls-inner {
    display: flex; align-items: stretch; justify-content: center;
    gap: 0.6rem; flex-wrap: wrap;
  }
  .tr-controls-book {
    flex: 1 1 240px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 1rem; line-height: 1.25;
    padding: 0.55rem 1rem; white-space: normal;
  }
  .tr-controls .chat-widget { position: static; bottom: auto; right: auto; display: flex; align-items: stretch; }
  .tr-controls .chat-toggle { width: auto; min-width: 54px; min-height: 44px; border-radius: var(--radius-sm); padding: 0 1rem; flex: 0 0 auto; }
  .tr-controls .chat-panel {
    position: fixed; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; top: 0.5rem;
    width: auto; max-width: none; height: auto; max-height: none;
    display: none; flex-direction: column; overflow: hidden;
  }
  .tr-controls .chat-panel.open { display: flex; }
  .tr-controls .chat-messages { flex: 1 1 auto; min-height: 140px; overflow-y: auto; }
  .tr-controls .chat-human { flex: 0 0 auto; overflow-y: auto; max-height: 25vh; border-top: 1px solid var(--border); padding-top: 0.4rem; }
  .tr-controls .chat-input-area { flex: 0 0 auto; flex-wrap: wrap; }
  .tr-controls .chat-input-area input { min-width: 0; flex: 1 1 150px; }
  .tr-controls .chat-input-area button { flex: 0 0 auto; }
  .mobile-cta { display: none !important; }
}

@media (min-width: 769px) {
  .tr-controls { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-sel-btn, .tr-card, .tr-sel-link { transition: none; }
}
/* Text enlargement: long tokens wrap */
.tr-hero, .tr-card, .tr-cmp-card, .tr-boundary, .tr-close, .tr-demo { overflow-wrap: break-word; word-break: break-word; }
