/* =========================================================
   同花顺财经门户 — Classic Finance Portal (Set 1)
   Prefix: .ths-
   ========================================================= */

:root {
  --ths-red: #C41E3A;
  --ths-red-dark: #A01830;
  --ths-red-up: #E63946;
  --ths-green-down: #2A9D8F;
  --ths-navy: #0B1F3A;
  --ths-navy-mid: #132F52;
  --ths-navy-light: #1A3A5C;
  --ths-white: #FFFFFF;
  --ths-gray-50: #F5F7FA;
  --ths-gray-100: #EEF1F6;
  --ths-gray-200: #E2E8F0;
  --ths-gray-300: #CBD5E1;
  --ths-gray-500: #64748B;
  --ths-gray-700: #334155;
  --ths-gray-800: #1E293B;
  --ths-text: #1A2332;
  --ths-radius: 6px;
  --ths-shadow: 0 2px 8px rgba(11, 31, 58, 0.08);
  --ths-shadow-md: 0 4px 16px rgba(11, 31, 58, 0.12);
  --ths-shadow-lg: 0 8px 28px rgba(11, 31, 58, 0.14);
  --ths-font-heading: "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --ths-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --ths-max: 1120px;
  --ths-nav-h: 64px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ths-font-body);
  color: var(--ths-text);
  line-height: 1.7;
  background:
    linear-gradient(180deg, #0B1F3A 0%, #132F52 120px, #E8EEF5 280px, #F5F7FA 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ths-red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ths-red-dark); }
ul, ol { list-style: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
button:disabled { cursor: wait; opacity: 0.85; }

.ths-container {
  width: 100%;
  max-width: var(--ths-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ths-font-heading);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ths-navy);
}

.ths-section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.ths-section-sub {
  text-align: center;
  color: var(--ths-gray-500);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.ths-section {
  padding: 64px 0;
}

.ths-section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(238,241,246,0.9) 100%);
}

.ths-section--navy {
  background: linear-gradient(135deg, var(--ths-navy) 0%, var(--ths-navy-mid) 100%);
  color: var(--ths-white);
}

.ths-section--navy .ths-section-title,
.ths-section--navy h2,
.ths-section--navy h3 {
  color: var(--ths-white);
}

.ths-section--navy .ths-section-sub {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Navigation ---------- */
.ths-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--ths-nav-h);
  background: var(--ths-navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.ths-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ths-nav-h);
  max-width: var(--ths-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ths-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ths-white);
  font-family: var(--ths-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ths-nav__brand:hover { color: var(--ths-white); }

.ths-nav__logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.ths-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ths-nav__link {
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: var(--ths-radius);
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}

.ths-nav__link:hover {
  color: var(--ths-white);
  background: rgba(255, 255, 255, 0.08);
}

.ths-nav__link--active {
  color: var(--ths-white);
  background: rgba(196, 30, 58, 0.35);
}

.ths-nav__link--active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--ths-red);
  border-radius: 1px;
}

.ths-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.ths-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ths-white);
  border-radius: 1px;
}

/* ---------- Buttons ---------- */
.ths-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--ths-radius);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.ths-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ths-btn--primary {
  background: var(--ths-red);
  color: var(--ths-white);
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.35);
}

.ths-btn--primary:hover {
  background: var(--ths-red-dark);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.45);
}

.ths-btn--secondary {
  background: var(--ths-white);
  color: var(--ths-navy);
  border: 1px solid var(--ths-gray-300);
}

.ths-btn--secondary:hover {
  border-color: var(--ths-navy);
  background: var(--ths-gray-50);
}

.ths-btn--outline-light {
  background: transparent;
  color: var(--ths-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.ths-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ths-white);
}

.ths-btn--lg {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.ths-btn--block {
  width: 100%;
}

.ths-btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.ths-hero {
  padding: calc(var(--ths-nav-h) + 48px) 0 56px;
}

.ths-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ths-hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ths-hero__title {
  font-size: 2.5rem;
  color: var(--ths-white);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.ths-hero__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.8;
}

.ths-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.ths-hero__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.ths-hero__visual {
  display: flex;
  justify-content: flex-end;
}

.ths-hero__chart {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--ths-shadow-lg);
}

.ths-hero__chart svg {
  width: 100%;
  height: auto;
}

/* ---------- Stats strip ---------- */
.ths-stats {
  margin-top: -24px;
  position: relative;
  z-index: 2;
  padding-bottom: 16px;
}

.ths-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--ths-white);
  border-radius: var(--ths-radius);
  box-shadow: var(--ths-shadow-md);
  padding: 28px 20px;
  border: 1px solid var(--ths-gray-200);
}

.ths-stats__item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--ths-gray-200);
}

.ths-stats__item:last-child {
  border-right: none;
}

.ths-stats__num {
  font-family: var(--ths-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ths-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.ths-stats__num--up { color: var(--ths-red-up); }
.ths-stats__num--down { color: var(--ths-green-down); }

.ths-stats__label {
  font-size: 0.85rem;
  color: var(--ths-gray-500);
}

/* ---------- Feature cards ---------- */
.ths-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ths-card {
  background: var(--ths-white);
  border-radius: var(--ths-radius);
  box-shadow: var(--ths-shadow);
  border: 1px solid var(--ths-gray-200);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ths-card:hover {
  box-shadow: var(--ths-shadow-md);
  border-color: var(--ths-gray-300);
}

.ths-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ths-radius);
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(11, 31, 58, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ths-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--ths-red);
}

.ths-card__title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ths-card__text {
  font-size: 0.9rem;
  color: var(--ths-gray-700);
  line-height: 1.75;
}

/* ---------- Platform downloads ---------- */
.ths-platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ths-platform {
  background: var(--ths-white);
  border-radius: var(--ths-radius);
  box-shadow: var(--ths-shadow);
  border: 1px solid var(--ths-gray-200);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.ths-platform:hover {
  box-shadow: var(--ths-shadow-md);
}

.ths-platform__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--ths-navy);
}

.ths-platform__icon svg {
  width: 56px;
  height: 56px;
}

.ths-platform__name {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ths-platform__note {
  font-size: 0.82rem;
  color: var(--ths-gray-500);
  margin-bottom: 18px;
  min-height: 2.8em;
}

/* ---------- Deep dive ---------- */
.ths-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.ths-dive:last-child {
  margin-bottom: 0;
}

.ths-dive--reverse .ths-dive__content {
  order: 2;
}

.ths-dive--reverse .ths-dive__visual {
  order: 1;
}

.ths-dive__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ths-red);
  background: rgba(196, 30, 58, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.ths-dive__title {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.ths-dive__text {
  font-size: 0.95rem;
  color: var(--ths-gray-700);
  margin-bottom: 12px;
  line-height: 1.8;
}

.ths-dive__visual {
  background: var(--ths-white);
  border-radius: 8px;
  border: 1px solid var(--ths-gray-200);
  box-shadow: var(--ths-shadow);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ths-dive__visual svg {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* ---------- Comparison table ---------- */
.ths-table-wrap {
  overflow-x: auto;
  background: var(--ths-white);
  border-radius: var(--ths-radius);
  box-shadow: var(--ths-shadow);
  border: 1px solid var(--ths-gray-200);
}

.ths-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

.ths-table th,
.ths-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--ths-gray-200);
}

.ths-table thead th {
  background: var(--ths-navy);
  color: var(--ths-white);
  font-family: var(--ths-font-heading);
  font-weight: 600;
  font-size: 0.88rem;
}

.ths-table thead th:first-child {
  text-align: left;
  border-radius: var(--ths-radius) 0 0 0;
}

.ths-table thead th:last-child {
  border-radius: 0 var(--ths-radius) 0 0;
}

.ths-table thead th.ths-table__highlight {
  background: var(--ths-red);
}

.ths-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ths-navy);
  background: var(--ths-gray-50);
}

.ths-table tbody tr:last-child td {
  border-bottom: none;
}

.ths-table tbody tr:hover td {
  background: rgba(196, 30, 58, 0.04);
}

.ths-table tbody tr:hover td:first-child {
  background: rgba(196, 30, 58, 0.08);
}

.ths-check {
  color: var(--ths-red);
  font-weight: 700;
}

.ths-cross {
  color: var(--ths-gray-300);
}

/* ---------- Reviews ---------- */
.ths-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ths-review {
  background: var(--ths-white);
  border-radius: var(--ths-radius);
  box-shadow: var(--ths-shadow);
  border: 1px solid var(--ths-gray-200);
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.ths-review:hover {
  box-shadow: var(--ths-shadow-md);
}

.ths-review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ths-review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ths-navy) 0%, var(--ths-navy-light) 100%);
  color: var(--ths-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ths-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ths-review__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ths-navy);
}

.ths-review__role {
  font-size: 0.78rem;
  color: var(--ths-gray-500);
}

.ths-review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #F59E0B;
}

.ths-review__stars svg {
  width: 16px;
  height: 16px;
}

.ths-review__text {
  font-size: 0.88rem;
  color: var(--ths-gray-700);
  line-height: 1.75;
}

/* ---------- FAQ accordion ---------- */
.ths-faq {
  max-width: 800px;
  margin: 0 auto;
}

.ths-faq details {
  background: var(--ths-white);
  border: 1px solid var(--ths-gray-200);
  border-radius: var(--ths-radius);
  margin-bottom: 10px;
  box-shadow: var(--ths-shadow);
  overflow: hidden;
}

.ths-faq details[open] {
  border-color: rgba(196, 30, 58, 0.3);
}

.ths-faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ths-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s ease;
}

.ths-faq summary::-webkit-details-marker { display: none; }

.ths-faq summary:hover {
  background: var(--ths-gray-50);
}

.ths-faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ths-gray-500);
  border-bottom: 2px solid var(--ths-gray-500);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.ths-faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  border-color: var(--ths-red);
}

.ths-faq__answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--ths-gray-700);
  line-height: 1.8;
  border-top: 1px solid transparent;
}

.ths-faq details[open] .ths-faq__answer {
  border-top-color: var(--ths-gray-100);
  padding-top: 14px;
}

/* ---------- Download page ---------- */
.ths-page-hero {
  padding: calc(var(--ths-nav-h) + 48px) 0 40px;
  text-align: center;
}

.ths-page-hero__title {
  font-size: 2.1rem;
  color: var(--ths-white);
  margin-bottom: 12px;
}

.ths-page-hero__desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
}

.ths-dl-featured {
  background: var(--ths-white);
  border-radius: 8px;
  box-shadow: var(--ths-shadow-lg);
  border: 1px solid var(--ths-gray-200);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.ths-dl-featured__badge {
  display: inline-block;
  background: rgba(196, 30, 58, 0.1);
  color: var(--ths-red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.ths-dl-featured__title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.ths-dl-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 24px;
  font-size: 0.85rem;
  color: var(--ths-gray-500);
}

.ths-dl-featured__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ths-dl-featured__meta strong {
  color: var(--ths-navy);
}

.ths-dl-featured__reqs {
  font-size: 0.85rem;
  color: var(--ths-gray-700);
  background: var(--ths-gray-50);
  border-radius: var(--ths-radius);
  padding: 16px 18px;
  border: 1px solid var(--ths-gray-200);
}

.ths-dl-featured__reqs h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.ths-dl-featured__reqs li {
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}

.ths-dl-featured__reqs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ths-red);
}

.ths-dl-featured__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.ths-dl-featured__visual svg {
  width: 120px;
  height: 120px;
  color: var(--ths-navy);
}

/* ---------- Steps ---------- */
.ths-steps {
  display: grid;
  gap: 16px;
  counter-reset: ths-step;
}

.ths-step {
  display: flex;
  gap: 16px;
  background: var(--ths-white);
  border: 1px solid var(--ths-gray-200);
  border-radius: var(--ths-radius);
  padding: 20px 22px;
  box-shadow: var(--ths-shadow);
  counter-increment: ths-step;
}

.ths-step::before {
  content: counter(ths-step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ths-navy);
  color: var(--ths-white);
  font-family: var(--ths-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ths-step__title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.ths-step__text {
  font-size: 0.88rem;
  color: var(--ths-gray-700);
}

/* ---------- Changelog ---------- */
.ths-changelog {
  display: grid;
  gap: 14px;
}

.ths-changelog__item {
  background: var(--ths-white);
  border: 1px solid var(--ths-gray-200);
  border-radius: var(--ths-radius);
  padding: 20px 24px;
  box-shadow: var(--ths-shadow);
}

.ths-changelog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ths-changelog__ver {
  font-family: var(--ths-font-heading);
  font-weight: 700;
  color: var(--ths-navy);
  font-size: 1.05rem;
}

.ths-changelog__date {
  font-size: 0.8rem;
  color: var(--ths-gray-500);
}

.ths-changelog__tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ths-red);
  color: var(--ths-white);
  padding: 2px 8px;
  border-radius: 3px;
}

.ths-changelog__list li {
  font-size: 0.88rem;
  color: var(--ths-gray-700);
  padding: 3px 0 3px 14px;
  position: relative;
}

.ths-changelog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ths-gray-300);
}

/* ---------- Security banner ---------- */
.ths-security {
  background: linear-gradient(135deg, var(--ths-navy) 0%, var(--ths-navy-mid) 100%);
  border-radius: 8px;
  padding: 36px 40px;
  color: var(--ths-white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.ths-security__icon {
  width: 64px;
  height: 64px;
  color: #F59E0B;
}

.ths-security__icon svg {
  width: 64px;
  height: 64px;
}

.ths-security__title {
  color: var(--ths-white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.ths-security__text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.ths-security__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 14px;
}

.ths-security__list li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ths-security__list svg {
  width: 16px;
  height: 16px;
  color: var(--ths-green-down);
  flex-shrink: 0;
}

/* ---------- Article (zh-cn) ---------- */
.ths-article {
  padding: calc(var(--ths-nav-h) + 48px) 0 64px;
}

.ths-article__panel {
  background: var(--ths-white);
  border-radius: 8px;
  box-shadow: var(--ths-shadow-md);
  border: 1px solid var(--ths-gray-200);
  padding: 48px 56px;
  max-width: 820px;
  margin: 0 auto;
}

.ths-article__panel h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.ths-article__meta {
  font-size: 0.85rem;
  color: var(--ths-gray-500);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ths-gray-200);
}

.ths-article__panel h2 {
  font-size: 1.35rem;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--ths-red);
}

.ths-article__panel h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.ths-article__panel p {
  font-size: 0.95rem;
  color: var(--ths-gray-700);
  margin-bottom: 14px;
  line-height: 1.9;
  text-align: justify;
}

.ths-article__panel ul,
.ths-article__panel ol {
  margin: 0 0 16px 1.4em;
}

.ths-article__panel ul { list-style: disc; }
.ths-article__panel ol { list-style: decimal; }

.ths-article__panel li {
  font-size: 0.95rem;
  color: var(--ths-gray-700);
  margin-bottom: 6px;
  line-height: 1.8;
}

.ths-article__cta {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.04) 0%, rgba(196, 30, 58, 0.06) 100%);
  border: 1px solid var(--ths-gray-200);
  border-radius: var(--ths-radius);
  text-align: center;
}

.ths-article__cta p {
  text-align: center;
  margin-bottom: 16px;
}

.ths-article__cta a.ths-btn {
  color: var(--ths-white);
}

.ths-article__cta a.ths-btn:hover {
  color: var(--ths-white);
}

/* ---------- Requirements grid ---------- */
.ths-reqs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ths-reqs__card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ths-reqs__card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--ths-red);
}

.ths-reqs__card li {
  font-size: 0.88rem;
  color: var(--ths-gray-700);
  padding: 5px 0 5px 14px;
  position: relative;
  border-bottom: 1px dashed var(--ths-gray-200);
}

.ths-reqs__card li:last-child { border-bottom: none; }

.ths-reqs__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ths-navy);
}

/* ---------- Footer ---------- */
.ths-footer {
  background: var(--ths-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 28px;
  margin-top: 0;
}

.ths-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.ths-footer__brand {
  font-family: var(--ths-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ths-white);
  margin-bottom: 12px;
}

.ths-footer__about {
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 360px;
}

.ths-footer__col h4 {
  color: var(--ths-white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.ths-footer__col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.ths-footer__col a:hover {
  color: var(--ths-white);
}

.ths-footer__safe {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ths-radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.ths-footer__safe strong {
  color: #F59E0B;
}

.ths-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  text-align: center;
}

/* ---------- Utility ---------- */
.ths-up { color: var(--ths-red-up); }
.ths-down { color: var(--ths-green-down); }

.ths-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-family: var(--ths-font-body);
}

.ths-ticker__item {
  color: rgba(255, 255, 255, 0.7);
}

.ths-ticker__item strong {
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ths-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ths-hero__visual {
    justify-content: center;
  }

  .ths-hero__title {
    font-size: 2rem;
  }

  .ths-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ths-stats__item:nth-child(2) {
    border-right: none;
  }

  .ths-stats__item:nth-child(1),
  .ths-stats__item:nth-child(2) {
    border-bottom: 1px solid var(--ths-gray-200);
    padding-bottom: 16px;
  }

  .ths-features__grid,
  .ths-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ths-platforms__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ths-dive,
  .ths-dive--reverse .ths-dive__content,
  .ths-dive--reverse .ths-dive__visual {
    grid-template-columns: 1fr;
    order: unset;
  }

  .ths-dive {
    grid-template-columns: 1fr;
  }

  .ths-dl-featured {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .ths-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ths-security {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ths-security__icon {
    margin: 0 auto;
  }

  .ths-security__list {
    justify-content: center;
  }

  .ths-article__panel {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .ths-nav__toggle {
    display: flex;
  }

  .ths-nav__links {
    display: none;
    position: absolute;
    top: var(--ths-nav-h);
    left: 0;
    right: 0;
    background: var(--ths-navy);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .ths-nav__links.ths-nav__links--open {
    display: flex;
  }

  .ths-nav__link {
    width: 100%;
    padding: 12px 14px;
  }

  .ths-nav__link--active::after {
    display: none;
  }

  .ths-hero__title {
    font-size: 1.7rem;
  }

  .ths-section {
    padding: 48px 0;
  }

  .ths-section-title {
    font-size: 1.4rem;
  }

  .ths-stats__grid,
  .ths-features__grid,
  .ths-reviews__grid,
  .ths-platforms__grid,
  .ths-reqs__grid {
    grid-template-columns: 1fr;
  }

  .ths-stats__item {
    border-right: none !important;
    border-bottom: 1px solid var(--ths-gray-200);
    padding-bottom: 14px;
  }

  .ths-stats__item:last-child {
    border-bottom: none;
  }

  .ths-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ths-page-hero__title {
    font-size: 1.6rem;
  }

  .ths-btn--lg {
    width: 100%;
  }

  .ths-hero__actions {
    flex-direction: column;
  }
}
