/* Text pages: Answers, service pages, Training, Research.
   Plain, fast, text-first. No script is needed to read anything on these pages.
   Tokens and the shared nav, buttons and footer come from complete-ai.css,
   which must load before this file. */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--accent-link); text-decoration: none; }
img, video { max-width: 100%; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.tp h1, .tp h2, .tp h3, .tp h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.tp p, .tp li, .tp dd, .tp td { color: var(--text-light); }
.tp strong { color: var(--navy); font-weight: 600; }
.tp .tnum { font-size: 0.92em; letter-spacing: -0.01em; }
.tp p a, .tp li a, .tp td a, .tp dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tp p a:hover, .tp li a:hover, .tp td a:hover, .tp dd a:hover { color: var(--navy); }

.tp-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-link); margin-bottom: 16px;
}

/* Breadcrumb */
.tp-crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.tp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tp-crumbs li { color: var(--text-muted); }
.tp-crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--border-input); }
.tp-crumbs a { color: var(--text-light); }
.tp-crumbs a:hover { color: var(--navy); }

/* Hero */
.tp-hero { padding: 40px 0 56px; }
.tp-hero h1 { font-size: clamp(36px, 5.4vw, 54px); line-height: 1.07; max-width: 860px; margin-bottom: 22px; }
.tp-lead { font-size: 19px; line-height: 1.55; max-width: 760px; color: var(--text); }
.tp .tp-lead { color: var(--text); }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.tp-actions-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; }

/* Key facts */
.tp-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 44px; background: var(--bg);
  border: 1px solid #B4C3D4; border-radius: var(--radius); overflow: hidden;
}
.tp-facts div { padding: 20px 24px; border-left: 1px solid var(--border); }
.tp-facts div:first-child { border-left: 0; }
.tp-facts dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.tp-facts dd {
  font-family: var(--font-numeric); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
  font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.35;
}
.tp .tp-facts dd { color: var(--navy); }

/* A short hero lets the mesh run on behind the next section.
   Keep that section's text above it. */
.tp-hero ~ section { position: relative; z-index: 1; }

/* Sections */
.tp-section { padding: 72px 0; }
.tp-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tp-head { max-width: 760px; margin-bottom: 36px; }
.tp-head h2 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 14px; }
.tp-head p { font-size: 17px; line-height: 1.6; }

/* Prose */
.tp-prose { max-width: 760px; }
.tp-prose h2 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 18px; }
.tp-prose h3 { font-size: 23px; font-weight: 500; line-height: 1.25; margin: 34px 0 10px; }
.tp-prose p { font-size: 17px; line-height: 1.65; margin-bottom: 16px; }
.tp-prose p:last-child { margin-bottom: 0; }
.tp-list { list-style: none; max-width: 760px; }
.tp-list li {
  position: relative; padding: 11px 0 11px 22px; font-size: 16px; line-height: 1.55;
  border-top: 1px solid var(--border);
}
.tp-list li:first-child { border-top: 0; }
.tp-list li::before {
  content: ''; position: absolute; left: 0; top: 21px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--navy);
}

/* Cards */
.tp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tp-card {
  background: var(--bg); border: 1px solid #B4C3D4; border-radius: var(--radius);
  padding: var(--card-pad);
}
.tp-card h3 { font-size: 23px; font-weight: 500; line-height: 1.22; margin-bottom: 10px; }
.tp-card p { font-size: 15.5px; line-height: 1.6; }
.tp-card p + p { margin-top: 12px; }
.tp-card .tp-list { margin-top: 14px; }
.tp-card .tp-list li { font-size: 15px; padding: 9px 0 9px 20px; }
.tp-card .tp-list li::before { top: 18px; }
.tp-card-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-link); margin-bottom: 10px;
}
.tp-card-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 15px; }
.tp .tp-card-link { text-decoration: none; }
.tp-card-link:hover { color: var(--navy); }
.tp-card.navy { background: var(--navy); border-color: var(--navy); }
.tp-card.navy h3, .tp-card.navy strong { color: #fff; }
.tp-card.navy p, .tp-card.navy li { color: rgba(255,255,255,.82); }
.tp-card.navy .tp-card-tag, .tp-card.navy a { color: var(--accent); }
.tp-card.navy .tp-list li { border-top-color: rgba(255,255,255,.14); }
.tp-card.navy .tp-list li::before { background: var(--accent); }
.tp-card.tonal { background: var(--bg-tonal); }

/* Price line on a card */
.tp-price { font-family: var(--font-numeric); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 20px; }
.tp .tp-price { color: var(--navy); font-size: 26px; }
.tp-price span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }
.tp-price + .tp-card-link { margin-top: 10px; }

/* Sample report pages */
.tp-pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tp-pages a { display: block; text-decoration: none; }
.tp-pages img { display: block; width: 100%; height: auto; border: 1px solid #B4C3D4; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); transition: box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard); }
.tp-pages a:hover img { border-color: var(--accent-link); box-shadow: rgba(0, 55, 112, 0.16) 0 12px 32px; }
.tp-pages span { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--navy); }

/* Numbered steps */
.tp-steps { list-style: none; counter-reset: step; max-width: 820px; }
.tp-steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 30px 68px; min-height: 44px;
}
.tp-steps > li:last-child { padding-bottom: 0; }
.tp-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-numeric); font-feature-settings: "tnum"; font-weight: 600; font-size: 17px;
}
.tp-steps > li::after {
  content: ''; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px;
  background: var(--border);
}
.tp-steps > li:last-child::after { display: none; }
.tp-steps h3 { font-size: 22px; font-weight: 500; line-height: 1.25; margin-bottom: 6px; padding-top: 8px; }
.tp-steps p { font-size: 16px; line-height: 1.6; }

/* Comparison table. Scrolls inside its own box on a phone. */
.tp-table-wrap { overflow-x: auto; border: 1px solid #B4C3D4; border-radius: var(--radius); background: var(--bg); }
.tp-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.tp-table th, .tp-table td { text-align: left; vertical-align: top; padding: 14px 20px; font-size: 15px; line-height: 1.5; }
.tp-table thead th {
  background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 14px;
}
.tp-table tbody th { font-weight: 600; color: var(--navy); width: 24%; font-size: 14px; }
.tp-table tbody tr + tr th, .tp-table tbody tr + tr td { border-top: 1px solid var(--border); }
.tp-table tbody tr:nth-child(even) { background: var(--bg-alt); }

/* Questions and answers. Always open: nothing is hidden behind a click. */
.tp-qa { max-width: 800px; }
.tp-qa-item { padding: 28px 0; border-top: 1px solid var(--border); scroll-margin-top: 96px; }
.tp-qa-item:first-child { border-top: 0; padding-top: 0; }
.tp-qa-item h3 { font-size: 24px; font-weight: 500; line-height: 1.25; margin-bottom: 12px; }
.tp-qa-item p { font-size: 16.5px; line-height: 1.65; margin-bottom: 12px; }
.tp-qa-item p:last-child { margin-bottom: 0; }
.tp-qa-item .tp-short { color: var(--text); font-weight: 500; }
.tp .tp-qa-item .tp-short { color: var(--text); }
.tp-qa-item .tp-list { margin: 4px 0 12px; }
.tp-qa-group { scroll-margin-top: 96px; }
.tp-qa-group + .tp-qa-group { margin-top: 64px; }
.tp-qa-group > h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); max-width: 800px; }

/* Contents list */
.tp-toc { border: 1px solid #B4C3D4; border-radius: var(--radius); padding: 28px 32px; background: var(--bg); margin-top: 40px; }
.tp-toc h2 { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.tp-toc ol { list-style: none; columns: 2; column-gap: 40px; }
.tp-toc li { padding: 6px 0; break-inside: avoid; font-size: 15px; line-height: 1.45; }
.tp .tp-toc a { text-decoration: none; }
.tp-toc a:hover { text-decoration: underline; }

/* Stat tiles */
.tp-stat { font-family: var(--font-numeric); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--navy); margin-bottom: 14px; }
.tp-source { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.tp .tp-source { color: var(--text-muted); }

/* Report feature */
.tp-feature { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.tp-feature img { width: 100%; height: auto; display: block; }
.tp-feature h2 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 14px; }
.tp-feature p { font-size: 17px; line-height: 1.6; }

/* Video */
.tp-video { border-radius: var(--radius); overflow: hidden; border: 1px solid #B4C3D4; max-width: 820px; background: var(--navy); }
.tp-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Proof strip */
.tp-proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.tp-proof h2 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 16px; }
.tp-proof p { font-size: 17px; line-height: 1.65; margin-bottom: 14px; }

/* Closing band */
.tp-cta { background: var(--navy-deep); padding: 88px 0; text-align: center; }
.tp-cta h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(30px, 4vw, 44px); color: #fff; margin-bottom: 16px; }
.tp-cta h2 em { color: #8FC5EB; }
.tp-cta p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 30px; }
.tp-cta .tp-actions { justify-content: center; margin-top: 0; }
.tp-cta .btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.tp-cta .btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--navy); }
.tp-cta-foot { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.62); }
.tp-cta .tp-cta-foot { margin-bottom: 0; font-size: 13px; color: rgba(255,255,255,.62); }

@media (max-width: 900px) {
  .tp-hero { padding: 28px 0 44px; }
  .tp-facts { grid-template-columns: repeat(2, 1fr); }
  .tp-facts div:nth-child(odd) { border-left: 0; }
  .tp-facts div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .tp-grid-3, .tp-grid-2, .tp-proof { grid-template-columns: 1fr; }
  .tp-proof { gap: 28px; }
  .tp-feature { grid-template-columns: 1fr; gap: 28px; }
  .tp-feature img { max-width: 260px; }
  .tp-section { padding: 56px 0; }
  .tp-toc ol { columns: 1; }
  .tp-pages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  /* Tables stack into labelled rows instead of scrolling sideways. */
  .tp-table { min-width: 0; }
  .tp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tp-table, .tp-table tbody, .tp-table tr, .tp-table th, .tp-table td { display: block; width: auto; }
  .tp-table tbody tr { padding: 16px 18px; }
  .tp-table tbody th { width: auto; padding: 0 0 8px; font-size: 15px; border: 0; }
  .tp-table tbody td { padding: 6px 0; border: 0; }
  .tp-table tbody tr + tr th, .tp-table tbody tr + tr td { border-top: 0; }
  .tp-table tbody tr + tr { border-top: 1px solid var(--border); }
  .tp-table td::before {
    content: attr(data-label); display: block;
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 2px;
  }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .tp-lead { font-size: 17.5px; }
  .tp-facts { grid-template-columns: 1fr; }
  .tp-facts div { border-left: 0; }
  .tp-facts div + div { border-top: 1px solid var(--border); }
  .tp-card { padding: 24px; }
  .tp-toc { padding: 22px; }
  .tp-steps > li { padding-left: 58px; }
  .tp-actions .btn { width: 100%; }
  .tp-stat { font-size: 38px; }
  .tp-cta { padding: 64px 0; }
}
