/* JoberTrust Trust Score Explained. Loaded only by
   templates/pages/trust_score_explained.html.

   Same colour rule as the Checked Reviews and Verification Guide pages: the
   existing design system is the source of truth for colour. No new hex.

     navy   --jt-primary / --jt-primary-container   headings, dark panels, the star rating
     blue   --jt-info / --jt-info-soft              review-based signals, explanatory notes
     green  --jt-secondary / --jt-success-soft      verification, the Trust Score itself
     steel  --jt-on-primary-container               profile content (portfolio, bio)
     amber  --jt-warning-*                          the "not a guarantee" caveat

   In the 100-point bar the colour of a segment says what kind of signal it is.
   Profile Photo is worth 0 points, so it has no segment and a dashed marker. */

/* --- Shared ------------------------------------------------------------- */

.ts-section { margin-bottom: var(--jt-2xl); min-width: 0; scroll-margin-top: 80px; }
.ts-band {
  margin-bottom: var(--jt-2xl);
  padding-block: var(--jt-2xl) var(--jt-xl);
  scroll-margin-top: 80px;
  background-color: var(--jt-surface-container-lowest);
  border-block: 1px solid var(--jt-outline-variant);
}
.ts-band > .ts-section { margin-bottom: 0; }
.ts-hero + .ts-section { margin-top: var(--jt-2xl); }

.ts-head { max-width: 768px; margin: 0 auto var(--jt-lg); text-align: center; }
.ts-h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: var(--jt-primary);
}
@media (min-width: 768px) { .ts-h2 { font-size: 30px; } }
.ts-head-lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--jt-on-surface-variant); }

.ts-h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--jt-primary);
}
.ts-h3 .material-symbols-outlined { flex: 0 0 auto; font-size: 22px; color: var(--jt-info); }
.ts-h3-center { justify-content: center; text-align: center; }

.ts-prose { min-width: 0; }
.ts-prose p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: var(--jt-on-surface-variant); }
.ts-prose-wide { max-width: 768px; margin: 0 auto var(--jt-xl); }

.ts-list { margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--jt-on-surface-variant); }
.ts-list li { margin-bottom: 4px; }

.ts-example-lines {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 12px 14px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--jt-on-surface);
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 8px;
}

.ts-prose .ts-no {
  margin: 0 0 14px;
  padding: 2px 0 2px 14px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--jt-primary);
  border-left: 3px solid var(--jt-info);
}
.ts-prose .ts-no-plain { font-size: 18px; }

.ts-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jt-lg);
  align-items: start;
  margin-bottom: var(--jt-xl);
}
@media (min-width: 900px) {
  .ts-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--jt-xl); }
}

/* --- Stars (builds on the site-wide .pro-stars component) ---------------- */

.ts-stars .material-symbols-outlined { font-size: 16px; }
.ts-stars-lg .material-symbols-outlined { font-size: 24px; }
.ts-stars-muted .pro-stars-fill { color: var(--jt-outline); }

/* --- Hero --------------------------------------------------------------- */

.ts-hero {
  background-color: var(--jt-surface-container-low);
  border-bottom: 1px solid var(--jt-outline-variant);
}
.ts-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jt-xl);
  align-items: center;
  padding-block: var(--jt-xl) var(--jt-2xl);
}
@media (min-width: 900px) {
  .ts-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--jt-2xl);
    padding-block: var(--jt-2xl);
  }
}

.ts-hero-copy { min-width: 0; }
.ts-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 var(--jt-md);
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jt-on-secondary-container);
  background-color: var(--jt-success-soft);
  border: 1px solid var(--jt-success-line);
  border-radius: var(--jt-radius-full);
}
.ts-h1 {
  margin: 0 0 var(--jt-md);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--jt-primary);
}
@media (min-width: 768px) { .ts-h1 { font-size: 44px; } }
.ts-lede { max-width: 576px; margin: 0 0 10px; font-size: 16px; line-height: 1.65; color: var(--jt-on-surface-variant); }
.ts-lede-strong { font-weight: 600; color: var(--jt-on-surface); }
.ts-hero-actions { display: flex; flex-wrap: wrap; gap: var(--jt-sm); margin-top: var(--jt-lg); }

.ts-sample {
  min-width: 0;
  padding: 18px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
  box-shadow: var(--jt-shadow);
}
.ts-sample-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--jt-on-surface-variant);
  background-color: var(--jt-surface-container);
  border-radius: 6px;
}
.ts-sample-flag .material-symbols-outlined { flex: 0 0 auto; font-size: 16px; }
.ts-sample-person { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ts-sample-photo {
  flex: 0 0 auto;
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center top;
  background-color: var(--jt-surface-container);
  border-radius: 10px;
}
.ts-sample-id { min-width: 0; }
.ts-sample-name { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--jt-primary); }
.ts-sample-role { margin: 2px 0 0; font-size: 14px; color: var(--jt-on-surface-variant); }
.ts-sample-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.ts-sample-tile {
  min-width: 0;
  padding: 12px;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 10px;
}
.ts-sample-label { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--jt-outline); }
.ts-sample-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--jt-primary);
}
.ts-sample-of { font-size: 14px; font-weight: 600; color: var(--jt-outline); }
.ts-sample-sub { margin: 4px 0 0; font-size: 12px; color: var(--jt-on-surface-variant); }
.ts-sample-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ts-sample-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jt-on-secondary-container);
  background-color: var(--jt-success-soft);
  border: 1px solid var(--jt-success-line);
  border-radius: var(--jt-radius-full);
}
.ts-sample-chips .material-symbols-outlined { font-size: 15px; color: var(--jt-secondary); }

.ts-meter {
  display: block;
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  background-color: var(--jt-surface-container-high);
  border-radius: var(--jt-radius-full);
}
.ts-meter-fill { display: block; height: 100%; background-color: var(--jt-secondary); border-radius: var(--jt-radius-full); }

@media (max-width: 479px) {
  .ts-sample-scores { grid-template-columns: minmax(0, 1fr); }
  .ts-sample-photo { width: 72px; height: 72px; }
}

/* --- Kenefied: the four rules as numbered steps, weights, evidence --------- */

.ts-steps-wrap { margin-bottom: var(--jt-xl); }
.ts-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--jt-md); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ts-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ts-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ts-step {
  position: relative;
  min-width: 0;
  padding: 20px;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
}
.ts-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--jt-on-primary);
  background-color: var(--jt-primary-container);
  border-radius: var(--jt-radius-full);
}
.ts-step-title { margin: 0 0 6px; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--jt-primary); }
.ts-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--jt-on-surface-variant); }
@media (min-width: 1024px) {
  .ts-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--jt-outline);
    border-right: 2px solid var(--jt-outline);
    transform: translateY(-50%) rotate(45deg);
  }
}

.ts-weights {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  padding: 18px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
  box-shadow: var(--jt-shadow-sm);
}
.ts-weight {
  min-width: 0;
  padding: 14px 10px;
  text-align: center;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 10px;
}
.ts-weight-checked { background-color: var(--jt-success-soft); border-color: var(--jt-success-line); }
.ts-weight p { margin: 0; }
.ts-weight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  color: var(--jt-info);
  background-color: var(--jt-info-soft);
  border-radius: var(--jt-radius-full);
}
.ts-weight-checked .ts-weight-icon { color: var(--jt-secondary); background-color: var(--jt-surface-container-lowest); }
.ts-weight-name { font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--jt-on-surface); }
.ts-weight-checked .ts-weight-name { color: var(--jt-on-secondary-container); }
.ts-weight .ts-weight-label { margin-top: 6px; font-size: 12px; color: var(--jt-outline); }
.ts-weight-value { font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--jt-primary); }
.ts-weight-units { font-size: 12px; color: var(--jt-on-surface-variant); }
.ts-weight-vs { align-self: center; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--jt-outline); }
.ts-weights .ts-weights-note {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--jt-on-surface);
  background-color: var(--jt-info-soft);
  border: 1px solid var(--jt-info-line);
  border-radius: 8px;
}
@media (max-width: 479px) {
  .ts-weights { grid-template-columns: minmax(0, 1fr); }
  .ts-weight-vs { justify-self: center; }
}

.ts-evidence {
  margin-bottom: var(--jt-xl);
  padding: 18px;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
}
.ts-evidence-title { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--jt-primary); }
.ts-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.ts-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jt-on-surface);
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: var(--jt-radius-full);
}
.ts-chips .material-symbols-outlined { font-size: 18px; color: var(--jt-info); }
.ts-evidence-private {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--jt-on-surface);
  background-color: var(--jt-info-soft);
  border: 1px solid var(--jt-info-line);
  border-radius: 8px;
}
.ts-evidence-private .material-symbols-outlined { flex: 0 0 auto; font-size: 20px; color: var(--jt-info); }
.ts-evidence-more { margin: 12px 0 0; font-size: 14px; }
.ts-evidence-more a { font-weight: 600; color: var(--jt-secondary); text-decoration: none; }
.ts-evidence-more a:hover { text-decoration: underline; }

/* --- Kenefied: the neutral baseline example ------------------------------ */

.ts-eq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jt-md);
  align-items: center;
  margin-bottom: var(--jt-xl);
  padding: 20px;
  background-color: var(--jt-info-soft);
  border: 1px solid var(--jt-info-line);
  border-radius: 12px;
}
@media (min-width: 900px) { .ts-eq { grid-template-columns: 220px minmax(0, 1fr); gap: var(--jt-xl); } }
.ts-eq-title { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--jt-primary); }
.ts-eq-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 768px) {
  .ts-eq-flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.1fr); align-items: center; gap: 12px; }
}
.ts-eq-box {
  min-width: 0;
  padding: 14px;
  text-align: center;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 10px;
}
.ts-eq-label { margin: 0 0 8px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--jt-on-surface); }
.ts-eq-neutral { background-color: transparent; border-style: dashed; }
.ts-eq-tag {
  display: inline-block;
  margin: 8px 0 0;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jt-on-surface-variant);
  background-color: var(--jt-surface-container);
  border-radius: var(--jt-radius-full);
}
.ts-eq-op { text-align: center; font-size: 22px; line-height: 1; font-weight: 700; color: var(--jt-outline); }
.ts-eq-result { border-color: var(--jt-info-line); }
.ts-eq-value { margin: 0 0 4px; font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--jt-primary); }
.ts-eq-result .ts-eq-label { margin: 8px 0 0; }

/* --- Kenefied: callout and Would Recommend ------------------------------- */

.ts-callout { margin-bottom: var(--jt-xl); padding: 18px; border: 1px solid; border-radius: 12px; }
.ts-callout-info { background-color: var(--jt-info-soft); border-color: var(--jt-info-line); }
.ts-callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--jt-primary);
}
.ts-callout-title .material-symbols-outlined { flex: 0 0 auto; font-size: 22px; color: var(--jt-info); }
.ts-callout p { margin: 0 0 6px; font-size: 15px; line-height: 1.65; color: var(--jt-on-surface); }
.ts-callout p:last-child { margin-bottom: 0; }

.ts-recommend {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jt-lg);
  align-items: center;
  padding: 20px;
  background-color: var(--jt-surface-container-low);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
}
@media (min-width: 768px) { .ts-recommend { grid-template-columns: minmax(0, 1fr) 200px; } }
.ts-recommend-copy { min-width: 0; }
.ts-recommend-copy .ts-h3 { font-size: 16px; }
.ts-recommend-copy .ts-h3 .material-symbols-outlined { color: var(--jt-secondary); }
.ts-recommend-copy p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: var(--jt-on-surface-variant); }
.ts-recommend-copy p:last-child { margin-bottom: 0; }
.ts-recommend-stat {
  padding: 16px;
  text-align: center;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 10px;
}
.ts-recommend-stat p { margin: 0; }
.ts-recommend-eg { font-size: 12px; font-weight: 600; color: var(--jt-on-surface-variant); }
.ts-donut {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  background: conic-gradient(var(--jt-secondary) 0 var(--ts-pct), var(--jt-surface-container-high) 0);
  border-radius: var(--jt-radius-full);
}
.ts-donut-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  text-align: center;
  background-color: var(--jt-surface-container-lowest);
  border-radius: var(--jt-radius-full);
}
.ts-donut-inner b { font-size: 15px; line-height: 1.1; font-weight: 800; color: var(--jt-primary); }
.ts-donut-inner small { margin-top: 2px; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--jt-outline); }
.ts-recommend-note { margin-top: 2px !important; font-size: 12px; color: var(--jt-outline); }

/* --- Trust Score: the 100-point bar and table ---------------------------- */

.ts-built {
  margin-bottom: var(--jt-xl);
  padding: 20px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
  box-shadow: var(--jt-shadow-sm);
}
.ts-built-lead { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--jt-on-surface-variant); }
.ts-bar-total {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jt-outline);
}
.ts-bar-total strong { margin-right: 4px; font-size: 26px; letter-spacing: 0; color: var(--jt-primary); }
.ts-bar { display: flex; gap: 2px; height: 44px; overflow: hidden; border-radius: 8px; }
.ts-seg { display: flex; align-items: center; justify-content: center; flex-basis: 0; min-width: 0; }
.ts-seg b { font-size: 14px; font-weight: 700; color: var(--jt-on-primary); }

.ts-seg-rating { background-color: var(--jt-primary-container); }
.ts-seg-identity { background-color: var(--jt-secondary); }
.ts-seg-volume { background-color: var(--jt-info); }
.ts-seg-professional { background-color: var(--jt-success); }
.ts-seg-professional b { color: var(--jt-primary); }
.ts-seg-phone { background-color: var(--jt-secondary-fixed-dim); }
.ts-seg-email { background-color: var(--jt-secondary-container); }
.ts-seg-portfolio { background-color: var(--jt-on-primary-container); }
.ts-seg-bio { background-color: var(--jt-primary-fixed-dim); }

.ts-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14px; }
.ts-table th, .ts-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--jt-outline-variant); }
.ts-table thead th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jt-outline);
}
.ts-table tbody th { font-weight: 600; color: var(--jt-on-surface); }
.ts-table td, .ts-table thead th:last-child { text-align: right; }
.ts-table td { font-weight: 700; white-space: nowrap; color: var(--jt-primary); }
.ts-table tfoot th, .ts-table tfoot td {
  font-weight: 800;
  color: var(--jt-primary);
  border-top: 2px solid var(--jt-primary);
  border-bottom: 0;
}
.ts-row-zero th, .ts-row-zero td { color: var(--jt-outline); }

.ts-dot { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 10px; vertical-align: -1px; border-radius: 3px; }
.ts-dot-zero { background-color: transparent; border: 1.5px dashed var(--jt-outline); }

/* --- Trust Score: the nine component cards ------------------------------- */

.ts-parts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--jt-md); }
@media (min-width: 640px) { .ts-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ts-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ts-part {
  min-width: 0;
  padding: 18px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
}
.ts-part-lead { grid-column: 1 / -1; border-top: 4px solid var(--jt-primary-container); }
.ts-part-zero { background-color: var(--jt-surface-container-low); border-style: dashed; }

.ts-part-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: center; margin-bottom: 10px; }
.ts-part-num {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--jt-on-primary);
  background-color: var(--jt-primary-container);
  border-radius: var(--jt-radius-full);
}
.ts-part-zero .ts-part-num { color: var(--jt-on-surface-variant); background-color: var(--jt-surface-container-high); }
.ts-part-title { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--jt-primary); overflow-wrap: anywhere; }
.ts-part p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: var(--jt-on-surface-variant); }
.ts-part p:last-child { margin-bottom: 0; }
.ts-part .ts-part-points {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--jt-on-surface);
}
.ts-part .ts-part-points-zero { color: var(--jt-outline); }
.ts-part-lead .ts-part-points { font-size: 20px; }
.ts-part .ts-list { margin-bottom: 10px; font-size: 14px; line-height: 1.65; }

/* --- Star Rating vs Trust Score ------------------------------------------ */

.ts-questions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--jt-md); margin-bottom: var(--jt-lg); }
@media (min-width: 768px) { .ts-questions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ts-question {
  min-width: 0;
  padding: 20px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
}
.ts-question-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 10px;
}
.ts-question-rating { color: var(--jt-warning); background-color: var(--jt-warning-soft); }
.ts-question-trust { color: var(--jt-secondary); background-color: var(--jt-success-soft); }
.ts-question-name { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--jt-primary); }
.ts-question p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--jt-on-surface-variant); }
.ts-question .ts-question-q { margin-bottom: 10px; font-size: 16px; line-height: 1.5; font-weight: 600; font-style: italic; color: var(--jt-on-surface); }

.ts-terms {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: var(--jt-lg);
  padding: 16px 18px;
  background-color: var(--jt-info-soft);
  border: 1px solid var(--jt-info-line);
  border-radius: 12px;
}
@media (min-width: 768px) { .ts-terms { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--jt-lg); } }
.ts-terms p { margin: 0; }
.ts-terms-lead { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jt-on-surface-variant); }
.ts-term { display: flex; align-items: center; gap: 10px; font-size: 17px; line-height: 1.35; font-weight: 800; color: var(--jt-primary); }
.ts-term .material-symbols-outlined { flex: 0 0 auto; font-size: 24px; color: var(--jt-warning); }
.ts-term + .ts-term .material-symbols-outlined { color: var(--jt-secondary); }

.ts-examples { margin-top: var(--jt-lg); }
.ts-examples-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--jt-on-surface-variant);
}
.ts-examples-flag .material-symbols-outlined { flex: 0 0 auto; font-size: 18px; }
.ts-examples-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--jt-md); }
@media (min-width: 768px) { .ts-examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ts-eg {
  min-width: 0;
  padding: 20px;
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-outline-variant);
  border-radius: 12px;
  box-shadow: var(--jt-shadow-sm);
}
.ts-eg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ts-eg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--jt-on-surface-variant);
  background-color: var(--jt-surface-container);
  border-radius: var(--jt-radius-full);
}
.ts-eg-name { margin: 0; font-size: 17px; font-weight: 700; color: var(--jt-primary); }
.ts-eg-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ts-eg-scores p { margin: 0; }
.ts-eg-label { margin-bottom: 4px !important; font-size: 12px; font-weight: 600; color: var(--jt-outline); }
.ts-eg-value { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 28px; line-height: 1.15; font-weight: 800; color: var(--jt-primary); }
.ts-eg-of { font-size: 14px; font-weight: 600; color: var(--jt-outline); }
.ts-eg-sub { margin-top: 2px !important; font-size: 12px; color: var(--jt-on-surface-variant); }
.ts-eg .ts-eg-sum {
  margin: 14px 0 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--jt-on-surface);
  background-color: var(--jt-surface-container-low);
  border-radius: 8px;
}
.ts-eg .ts-eg-note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--jt-on-surface-variant); }
.ts-examples-caption { max-width: 768px; margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--jt-on-surface-variant); }
@media (max-width: 479px) { .ts-eg-scores { grid-template-columns: minmax(0, 1fr); } }

/* --- A Trust Signal, Not a Guarantee ------------------------------------- */

.ts-guarantee {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--jt-md);
  padding: 22px;
  background-color: var(--jt-warning-soft);
  border: 1px solid var(--jt-warning-line);
  border-radius: 12px;
}
@media (min-width: 640px) { .ts-guarantee { grid-template-columns: auto minmax(0, 1fr); gap: 20px; } }
.ts-guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--jt-warning);
  background-color: var(--jt-surface-container-lowest);
  border: 1px solid var(--jt-warning-line);
  border-radius: var(--jt-radius-full);
}
.ts-guarantee-icon .material-symbols-outlined { font-size: 28px; }
.ts-guarantee-body { min-width: 0; }
.ts-guarantee-title { margin: 0 0 4px; font-size: 24px; line-height: 1.25; font-weight: 800; color: var(--jt-primary); }
.ts-guarantee-sub { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--jt-on-surface-variant); }
.ts-guarantee-body p { margin: 0 0 8px; font-size: 15px; line-height: 1.65; color: var(--jt-on-surface); }
.ts-guarantee-body .ts-guarantee-lead { font-weight: 700; }
.ts-guarantee-list { margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--jt-on-surface); }
.ts-guarantee-list li { margin-bottom: 2px; }
.ts-guarantee-body .ts-guarantee-strong { margin-top: 4px; font-size: 16px; font-weight: 800; color: var(--jt-primary); }

/* --- Why JoberTrust uses multiple signals -------------------------------- */

.ts-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 0 var(--jt-lg); padding: 0; list-style: none; }
.ts-flow-step { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding-bottom: 18px; }
.ts-flow-step:last-child { padding-bottom: 0; }
.ts-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 0;
  left: 27px;
  width: 2px;
  background-color: var(--jt-outline-variant);
}
.ts-flow-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--jt-info);
  background-color: var(--jt-info-soft);
  border: 1px solid var(--jt-info-line);
  border-radius: var(--jt-radius-full);
}
.ts-flow-icon .material-symbols-outlined { font-size: 26px; }
.ts-flow-end .ts-flow-icon { color: var(--jt-on-primary); background-color: var(--jt-secondary); border-color: var(--jt-secondary); }
.ts-flow-label { font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--jt-on-surface); }

@media (min-width: 640px) {
  .ts-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--jt-lg) var(--jt-md); }
  .ts-flow-step { flex-direction: column; gap: 8px; padding-bottom: 0; text-align: center; }
  .ts-flow-step:not(:last-child)::after { display: none; }
}
@media (min-width: 1024px) {
  .ts-flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .ts-flow-step:not(:last-child)::after {
    display: block;
    top: 27px;
    bottom: auto;
    left: calc(50% + 34px);
    width: calc(100% - 68px);
    height: 2px;
  }
  .ts-flow-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(150% - 42px);
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--jt-outline-variant);
    border-right: 2px solid var(--jt-outline-variant);
    transform: rotate(45deg);
  }
}

.ts-reasons { display: grid; gap: 10px; max-width: 768px; margin: 0 auto; padding: 0; list-style: none; }
.ts-reasons li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.65; color: var(--jt-on-surface-variant); }
.ts-reasons li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--jt-secondary);
  border-radius: var(--jt-radius-full);
}

/* --- Closing call to action ---------------------------------------------- */

.ts-cta { padding-block: var(--jt-2xl); text-align: center; color: var(--jt-on-primary); background-color: var(--jt-primary-container); }
.ts-cta-title { margin: 0 0 8px; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 800; color: var(--jt-on-primary); }
@media (min-width: 768px) { .ts-cta-title { font-size: 36px; } }
.ts-cta-text { max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.6; color: var(--jt-primary-fixed-dim); }
.ts-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--jt-lg); }
.ts-cta-primary { color: var(--jt-primary); background-color: var(--jt-on-primary); box-shadow: var(--jt-shadow-sm); }
.ts-cta-primary:hover { background-color: var(--jt-primary-fixed); }
.ts-cta-secondary { color: var(--jt-on-primary); background-color: transparent; border-color: var(--jt-primary-fixed-dim); }
.ts-cta-secondary:hover { background-color: var(--jt-on-primary-fixed-variant); }
@media (max-width: 479px) { .ts-cta-actions .btn { flex: 1 1 100%; } }
