
:root {
  --ts-ink: #111827;
  --ts-blue: #2563eb;
  --ts-lime: #ccff00;
  --ts-bg: #f7f8fb;
  --ts-text: #111827;
  --ts-muted: #5f6878;
  --ts-paper: #ffffff;
  --ts-soft: #e9eef7;
  --ts-blue-soft: #dbeafe;
  --ts-red-soft: #fff1f2;
  --ts-line: rgba(17, 24, 39, 0.14);
  --ts-line-strong: rgba(17, 24, 39, 0.26);
  --ts-shadow: 0 18px 48px rgba(17, 24, 39, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ts-text);
  background: var(--ts-bg);
  line-height: 1.58;
}

a { color: inherit; }
p { margin: 0; }
img { display: block; max-width: 100%; }

main,
.ts-header,
.ts-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.ts-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ts-line-strong);
}

.ts-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  color: var(--ts-ink);
  text-decoration: none;
}

.ts-brand-mark {
  width: 132px;
  height: 48px;
  flex: 0 0 auto;
}

.ts-brand-mark svg {
  width: 100%;
  height: 100%;
}

.ts-brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.ts-brand-text strong {
  font-size: 15px;
}

.ts-brand-text small {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.ts-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ts-nav a {
  border: 1px solid var(--ts-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ts-ink);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.ts-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--ts-line-strong);
}

.ts-kicker,
.ts-card-meta {
  margin: 0 0 11px;
  color: var(--ts-blue);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ts-ink);
  font-weight: 950;
  line-height: 1;
}

.ts-hero h1 {
  max-width: 840px;
  font-size: 56px;
  line-height: 1.02;
}

.ts-hero-copy > p:not(.ts-kicker) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--ts-muted);
  font-size: 20px;
  line-height: 1.55;
}

.ts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ts-ink);
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--ts-ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.ts-button.primary {
  background: var(--ts-ink);
  color: #ffffff;
}

.ts-button.secondary {
  background: var(--ts-lime);
  color: var(--ts-ink);
}

.ts-hero-panel {
  overflow: hidden;
  border: 1px solid var(--ts-line-strong);
  border-radius: 8px;
  background: var(--ts-paper);
  box-shadow: var(--ts-shadow);
}

.ts-hero-image {
  height: 245px;
  background: var(--ts-soft);
}

.ts-hero-image img,
.ts-card-image img,
.ts-row-image img,
.ts-topic-image img,
.ts-category-lead-image img,
.page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-panel-copy {
  padding: 22px;
}

.ts-panel-copy span,
.ts-topic-tile span,
.ts-hero-panel .ts-proof-strip span,
.ts-article-head aside span,
.ts-category-hero aside span,
.ts-resource-grid span {
  color: var(--ts-blue);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.ts-panel-copy h2 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.06;
}

.ts-panel-copy p {
  margin-top: 12px;
  color: var(--ts-muted);
}

.ts-panel-copy a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ts-ink);
  font-weight: 900;
  text-decoration: none;
}

.ts-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ts-line);
}

.ts-proof-strip span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-right: 1px solid var(--ts-line);
  background: var(--ts-lime);
  color: var(--ts-ink) !important;
}

.ts-proof-strip span:last-child {
  border-right: 0;
}

.ts-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--ts-line-strong);
}

.ts-section-head {
  max-width: 880px;
  margin-bottom: 24px;
}

.ts-section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 24px;
  align-items: end;
}

.ts-section-head h2,
.ts-lab-copy h2,
.ts-source-copy h2 {
  font-size: 42px;
  line-height: 1.02;
}

.ts-section-head p:not(.ts-kicker),
.ts-lab-copy p:not(.ts-kicker),
.ts-source-copy p:not(.ts-kicker) {
  color: var(--ts-muted);
  font-size: 17px;
  line-height: 1.55;
}

.ts-audit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-audit-row a {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 174px;
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.ts-row-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ts-ink);
  border-radius: 8px;
  background: var(--ts-lime);
  color: var(--ts-ink);
  font-weight: 950;
}

.ts-row-image {
  height: 100%;
  min-height: 174px;
  background: var(--ts-soft);
}

.ts-row-copy {
  min-width: 0;
  padding: 18px 20px;
}

.ts-row-copy h3 {
  font-size: 24px;
  line-height: 1.06;
}

.ts-row-copy p:last-child {
  margin-top: 8px;
  color: var(--ts-muted);
}

.ts-card-grid,
.ts-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ts-card a {
  overflow: hidden;
  display: block;
  height: 100%;
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.ts-card-image {
  height: 154px;
  background: var(--ts-soft);
}

.ts-card-copy {
  padding: 18px;
}

.ts-card h3 {
  font-size: 23px;
  line-height: 1.08;
}

.ts-card-copy p:last-child {
  margin-top: 9px;
  color: var(--ts-muted);
}

.ts-page-lab {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ts-lab-copy {
  border: 1px solid var(--ts-line-strong);
  border-left: 6px solid var(--ts-lime);
  border-radius: 8px;
  background: var(--ts-ink);
  color: #ffffff;
  padding: 24px;
}

.ts-lab-copy h2 {
  color: #ffffff;
}

.ts-lab-copy p:not(.ts-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.ts-lab-copy .ts-kicker {
  color: var(--ts-lime);
}

.ts-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-card.page-lab a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 184px;
}

.ts-card.page-lab .ts-card-image {
  height: 100%;
  min-height: 184px;
}

.ts-card.risk a {
  background: var(--ts-blue-soft);
}

.ts-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ts-topic-tile {
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 220px;
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-paper);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.ts-topic-image {
  height: 100%;
  min-height: 220px;
  background: var(--ts-soft);
}

.ts-topic-tile div:last-child {
  min-width: 0;
  padding: 18px;
}

.ts-topic-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--ts-ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.06;
}

.ts-topic-tile p {
  margin-top: 10px;
  color: var(--ts-muted);
}

.ts-source-section {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ts-source-copy {
  border-left: 6px solid var(--ts-blue);
  padding-left: 20px;
}

.ts-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ts-resource-grid a {
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-paper);
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.ts-resource-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ts-ink);
  font-size: 20px;
  line-height: 1.15;
}

.ts-resource-grid p {
  margin-top: 8px;
  color: var(--ts-muted);
}

.ts-category-hero,
.ts-article-head {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 0.32fr);
  gap: 30px;
  align-items: end;
  padding: 38px 0 30px;
  border-bottom: 1px solid var(--ts-line-strong);
}

.ts-category-hero h1,
.ts-article-head h1 {
  max-width: 900px;
  font-size: 48px;
  line-height: 1.04;
}

.ts-category-hero p:not(.ts-kicker),
.ts-article-head p:not(.ts-kicker) {
  max-width: 780px;
  margin-top: 16px;
  color: var(--ts-muted);
  font-size: 20px;
  line-height: 1.55;
}

.ts-category-hero aside,
.ts-article-head aside {
  border: 1px solid var(--ts-line);
  border-left: 6px solid var(--ts-lime);
  border-radius: 8px;
  background: var(--ts-paper);
  padding: 20px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.ts-category-hero aside strong,
.ts-article-head aside strong {
  display: block;
  margin-top: 9px;
  color: var(--ts-ink);
  font-size: 24px;
  line-height: 1.14;
}

.ts-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  color: var(--ts-muted);
  font-size: 13px;
  font-weight: 800;
}

.ts-article-meta span + span::before {
  margin-right: 16px;
  color: var(--ts-blue);
  content: "/";
}

.ts-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ts-tag-row span {
  border: 1px solid var(--ts-line);
  border-radius: 999px;
  background: var(--ts-lime);
  padding: 8px 11px;
  color: var(--ts-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ts-category-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--ts-line-strong);
}

.ts-category-lead-image {
  overflow: hidden;
  height: 340px;
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-soft);
}

.ts-feature-copy h2 {
  font-size: 40px;
  line-height: 1.04;
}

.ts-feature-copy p:not(.ts-kicker) {
  margin: 14px 0 20px;
  color: var(--ts-muted);
  font-size: 18px;
}

.ts-audit-list.compact {
  grid-template-columns: 1fr;
}

.ts-audit-list.compact .ts-audit-row a {
  grid-template-columns: 185px minmax(0, 1fr);
  min-height: 158px;
}

.ts-audit-list.compact .ts-row-image {
  min-height: 158px;
}

.ts-topic-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-topic-grid.compact .ts-topic-tile:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  grid-template-columns: 33% minmax(0, 1fr);
}

.ts-article {
  padding-top: 0;
}

.ts-article-head .back-link {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--ts-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.ts-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 0.34fr);
  gap: 28px;
  align-items: start;
  padding: 38px 0 0;
}

.ts-article-main {
  min-width: 0;
}

.ts-article-cover {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-soft);
}

.ts-article-cover .page-image {
  margin: 0;
}

.ts-article-cover img {
  height: 360px;
}

.ts-copy {
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-paper);
  padding: 38px;
}

.ts-copy section + section {
  margin-top: 34px;
}

.ts-copy h2 {
  margin-bottom: 12px;
  font-size: 31px;
  line-height: 1.12;
}

.ts-copy p,
.ts-copy li {
  color: var(--ts-muted);
  font-size: 17px;
  line-height: 1.72;
}

.ts-copy p + p {
  margin-top: 14px;
}

.ts-copy ul,
.ts-copy ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.ts-copy li + li {
  margin-top: 9px;
}

.ts-opening {
  border-left: 6px solid var(--ts-lime);
  padding-left: 20px;
}

.ts-opening p:first-child {
  color: var(--ts-ink);
  font-size: 20px;
  font-weight: 750;
}

.ts-frame-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ts-frame-pair div {
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-bg);
  padding: 20px;
}

.ts-frame-pair div:nth-child(2) {
  background: var(--ts-blue-soft);
}

.ts-frame-pair span {
  color: var(--ts-blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ts-frame-pair h2 {
  margin-top: 8px;
  font-size: 23px;
}

.ts-field-notes {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ts-field-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--ts-line);
  padding-top: 14px;
}

.ts-field-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ts-ink);
  border-radius: 6px;
  background: var(--ts-lime);
  color: var(--ts-ink);
  font-size: 13px;
  font-weight: 950;
}

.ts-field-note h3 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.15;
}

.ts-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 18px;
}

.ts-evidence-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--ts-line);
}

.ts-evidence-table th,
.ts-evidence-table td {
  border-bottom: 1px solid var(--ts-line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.ts-evidence-table th {
  width: 150px;
  background: var(--ts-ink);
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
}

.ts-evidence-table td {
  background: #ffffff;
  color: var(--ts-muted);
}

.ts-warning {
  border: 1px solid rgba(239, 68, 68, 0.20);
  border-radius: 8px;
  background: var(--ts-red-soft);
  padding: 20px;
}

.ts-article-aside {
  display: grid;
  gap: 14px;
}

.ts-article-box {
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-paper);
  padding: 18px;
}

.ts-article-box.first {
  background: var(--ts-ink);
  color: #ffffff;
}

.ts-article-box.first h2 {
  color: var(--ts-lime);
}

.ts-article-box.first p {
  color: rgba(255, 255, 255, 0.76);
}

.ts-article-box.warn {
  background: var(--ts-red-soft);
}

.ts-article-box h2 {
  margin-bottom: 10px;
  color: var(--ts-ink);
  font-size: 18px;
  line-height: 1.14;
}

.ts-article-box p,
.ts-article-box li {
  color: var(--ts-muted);
}

.ts-article-box ul {
  margin: 0;
  padding-left: 18px;
}

.ts-article-box li + li {
  margin-top: 8px;
}

.ts-latest-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ts-policy {
  max-width: 860px;
  margin: 42px auto 0;
  border: 1px solid var(--ts-line);
  border-radius: 8px;
  background: var(--ts-paper);
  padding: 42px;
}

.ts-policy h1 {
  margin-bottom: 16px;
  font-size: 48px;
}

.ts-policy h2 {
  margin-top: 28px;
  font-size: 26px;
}

.ts-policy p {
  color: var(--ts-muted);
  font-size: 17px;
}

.ts-policy p + p {
  margin-top: 14px;
}

.ts-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr) minmax(220px, 0.52fr);
  gap: 32px;
  margin-top: 50px;
  padding-top: 34px;
  padding-bottom: 48px;
  border-top: 1px solid var(--ts-line-strong);
}

.ts-footer strong {
  display: block;
  color: var(--ts-ink);
  font-size: 22px;
}

.ts-footer p {
  margin-top: 10px;
  color: var(--ts-muted);
}

.fine-print {
  font-size: 13px;
}

.ts-footer-group h2 {
  margin: 0 0 12px;
  color: var(--ts-blue);
  font-size: 13px;
  text-transform: uppercase;
}

.ts-footer-group a {
  display: block;
  margin: 8px 0;
  color: var(--ts-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .ts-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .ts-nav {
    justify-content: flex-start;
  }

  .ts-hero,
  .ts-page-lab,
  .ts-source-section,
  .ts-category-hero,
  .ts-category-feature,
  .ts-article-head,
  .ts-reading-layout,
  .ts-footer {
    grid-template-columns: 1fr;
  }

  .ts-lab-copy,
  .ts-article-aside {
    position: static;
  }

  .ts-card-grid,
  .ts-latest-grid,
  .ts-latest-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ts-topic-grid,
  .ts-topic-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main,
  .ts-header,
  .ts-footer {
    width: min(100% - 24px, 1240px);
  }

  .ts-brand-mark {
    width: 108px;
    height: 40px;
  }

  .ts-brand-text strong { font-size: 13px; }
  .ts-brand-text small { font-size: 8px; }

  .ts-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ts-nav a {
    min-width: 0;
    border-radius: 8px;
    overflow-wrap: anywhere;
  }

  .ts-hero {
    padding: 28px 0;
  }

  .ts-hero h1,
  .ts-category-hero h1,
  .ts-article-head h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .ts-section-head h2,
  .ts-lab-copy h2,
  .ts-source-copy h2,
  .ts-feature-copy h2 {
    font-size: 32px;
  }

  .ts-hero-copy > p:not(.ts-kicker),
  .ts-category-hero p:not(.ts-kicker),
  .ts-article-head p:not(.ts-kicker) {
    font-size: 17px;
  }

  .ts-actions,
  .ts-proof-strip,
  .ts-audit-list,
  .ts-card-grid,
  .ts-page-grid,
  .ts-latest-grid,
  .ts-latest-grid.four,
  .ts-topic-grid,
  .ts-topic-grid.compact,
  .ts-resource-grid,
  .ts-section-head.split,
  .ts-frame-pair {
    grid-template-columns: 1fr;
  }

  .ts-article-meta {
    display: grid;
    gap: 4px;
  }

  .ts-article-meta span + span::before {
    display: none;
  }

  .ts-actions {
    display: grid;
  }

  .ts-audit-row a,
  .ts-audit-list.compact .ts-audit-row a,
  .ts-card.page-lab a,
  .ts-topic-tile,
  .ts-topic-grid.compact .ts-topic-tile:last-child:nth-child(odd) {
    grid-template-columns: 1fr;
  }

  .ts-row-image,
  .ts-audit-list.compact .ts-row-image,
  .ts-card.page-lab .ts-card-image,
  .ts-topic-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .ts-hero-image {
    height: 210px;
  }

  .ts-card-image {
    height: 180px;
  }

  .ts-category-lead-image,
  .ts-article-cover img {
    height: 230px;
  }

  .ts-copy,
  .ts-policy {
    padding: 24px;
  }

  .ts-card-copy,
  .ts-row-copy,
  .ts-topic-tile div:last-child,
  .ts-panel-copy,
  .ts-copy,
  .ts-copy p,
  .ts-copy li,
  .ts-card h3,
  .ts-row-copy h3,
  .ts-topic-tile strong,
  .ts-resource-grid strong {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
