.tengyu-subpage {
  color: var(--text);
  background: #fff;
}

.tengyu-subpage .page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.tengyu-subpage .hero {
  max-width: none;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: 48px;
  padding: 72px max(28px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #fff 0%, #f7fbff 48%, #cfecff 100%);
}

.tengyu-subpage .hero::before {
  background-image:
    linear-gradient(rgba(21, 94, 239, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 239, .08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.tengyu-subpage .hero::after {
  display: none;
}

.tengyu-subpage .hero-copy,
.tengyu-subpage .hero-panel {
  position: relative;
  z-index: 1;
}

.tengyu-subpage .hero h1 {
  margin: 0;
  color: #071120;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.tengyu-subpage .hero-desc,
.tengyu-subpage .section-head > p,
.tengyu-subpage .muted {
  color: #536782;
  font-size: 18px;
  line-height: 1.75;
}

.tengyu-subpage .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tengyu-subpage .hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.tengyu-subpage .panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: #4b5f7a;
}

.tengyu-subpage .panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfd2ee;
}

.tengyu-subpage .panel-top strong {
  margin-left: auto;
}

.tengyu-subpage .query-line {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font-weight: 800;
}

.tengyu-subpage .signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.tengyu-subpage .signal-grid div,
.tengyu-subpage .card,
.tengyu-subpage .step,
.tengyu-subpage .compare-table div,
.tengyu-subpage details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.tengyu-subpage .signal-grid b,
.tengyu-subpage .signal-grid span {
  display: block;
}

.tengyu-subpage .signal-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.tengyu-subpage .dark-note {
  padding: 20px;
  border-radius: 8px;
  background: #071120;
  color: #dbe8ff;
}

.tengyu-subpage .dark-note b {
  color: #72f1ff;
}

.tengyu-subpage .section {
  max-width: none;
  padding: 86px max(28px, calc((100vw - 1180px) / 2));
  scroll-margin-top: 84px;
}

.tengyu-subpage .section.alt {
  background: var(--soft);
}

.tengyu-subpage .section-head,
.tengyu-subpage .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 34px;
}

.tengyu-subpage .section h2 {
  margin: 0;
  color: #071120;
  font-size: clamp(30px, 4vw, 52px);
  line-height: .96;
  letter-spacing: 0;
}

.tengyu-subpage .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tengyu-subpage .card {
  box-shadow: 0 12px 32px rgba(17, 28, 49, .05);
}

.tengyu-subpage .card h3 {
  margin: 16px 0 10px;
  color: #071120;
  font-size: 24px;
}

.tengyu-subpage .card p,
.tengyu-subpage .card li,
.tengyu-subpage details p {
  color: #5f718c;
  line-height: 1.7;
}

.tengyu-subpage .card ul {
  padding-left: 18px;
}

.tengyu-subpage .badge,
.tengyu-subpage .step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-weight: 900;
}

.tengyu-subpage .timeline {
  display: grid;
  gap: 14px;
}

.tengyu-subpage .timeline .step {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: auto;
}

.tengyu-subpage .timeline .step::after {
  display: none;
}

.tengyu-subpage .compare-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tengyu-subpage .compare-table div {
  min-height: 180px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.tengyu-subpage .compare-table div:last-child {
  border-right: 0;
}

.tengyu-subpage .compare-table .selected {
  background: linear-gradient(145deg, #071120, #143969);
  color: #fff;
}

.tengyu-subpage .compare-table .selected p {
  color: #c6ddff;
}

.tengyu-subpage .faq-list {
  display: grid;
  gap: 12px;
}

.tengyu-subpage details {
  overflow: hidden;
}

.tengyu-subpage summary {
  cursor: pointer;
  color: #071120;
  font-weight: 850;
}

.tengyu-subpage .final-cta {
  padding: 56px;
  border-radius: 8px;
  background: linear-gradient(145deg, #071120, #0f4f78);
  color: #fff;
}

.tengyu-subpage .final-cta h2 {
  color: #fff;
}

.tengyu-subpage .final-cta p {
  max-width: 760px;
  color: #d4e5ff;
}

.tengyu-subpage .hover-card,
.tengyu-subpage .card,
.tengyu-subpage .step,
.tengyu-subpage details {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tengyu-subpage .hover-card:hover,
.tengyu-subpage .card:hover,
.tengyu-subpage .step:hover,
.tengyu-subpage details:hover {
  transform: translateY(-4px);
  border-color: #8fc9ff;
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .tengyu-subpage .hover-card,
  .tengyu-subpage .card,
  .tengyu-subpage .step,
  .tengyu-subpage details {
    transition: none;
  }

  .tengyu-subpage .hover-card:hover,
  .tengyu-subpage .card:hover,
  .tengyu-subpage .step:hover,
  .tengyu-subpage details:hover {
    transform: none;
  }
}

@media (max-width: 860px) {
  .tengyu-subpage .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .tengyu-subpage .hero h1 {
    font-size: 42px;
  }

  .tengyu-subpage .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .tengyu-subpage .section-head,
  .tengyu-subpage .split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tengyu-subpage .card-grid,
  .tengyu-subpage .signal-grid,
  .tengyu-subpage .compare-table {
    grid-template-columns: 1fr;
  }

  .tengyu-subpage .compare-table div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tengyu-subpage .compare-table div:last-child {
    border-bottom: 0;
  }
}

/* --- Final CTA spacing (fix mobile eyebrow/title overlap, P1-2) --- */
.tengyu-subpage .final-cta .eyebrow {
  margin-bottom: 18px;
}
.tengyu-subpage .final-cta h2 {
  margin-top: 0;
}
.tengyu-subpage .section-head .eyebrow {
  margin-bottom: 12px;
}

/* --- 4-column capability comparison matrix (P0-4) --- */
.tengyu-subpage .geo-matrix-wrap {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  overflow-x: auto;
  background: #fff;
  box-shadow: var(--shadow);
}
.tengyu-subpage .geo-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}
.tengyu-subpage .geo-matrix th,
.tengyu-subpage .geo-matrix td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.tengyu-subpage .geo-matrix thead th {
  background: #f3f7fc;
  color: #071120;
  font-weight: 850;
  font-size: 15px;
}
.tengyu-subpage .geo-matrix tbody th[scope="row"] {
  text-align: left;
  color: #071120;
  font-weight: 750;
  background: #fafcff;
  white-space: nowrap;
}
.tengyu-subpage .geo-matrix tr:last-child th,
.tengyu-subpage .geo-matrix tr:last-child td {
  border-bottom: 0;
}
.tengyu-subpage .geo-matrix th:last-child,
.tengyu-subpage .geo-matrix td:last-child {
  border-right: 0;
}
.tengyu-subpage .geo-matrix th.hl {
  background: linear-gradient(145deg, #071120, #143969);
  color: #fff;
}
.tengyu-subpage .geo-matrix td.hl {
  background: rgba(21, 94, 239, .06);
}
.tengyu-subpage .geo-matrix .yes {
  color: #1a8f4c;
  font-weight: 850;
  font-size: 17px;
}
.tengyu-subpage .geo-matrix .part {
  color: #b07d10;
  font-weight: 700;
  font-size: 13px;
}
.tengyu-subpage .geo-matrix .no {
  color: #9aa7b8;
  font-weight: 700;
}

/* --- Legal / policy pages (privacy, terms, cookie) --- */
.tengyu-subpage .legal {
  max-width: 820px;
}
.tengyu-subpage .legal h2 {
  margin-top: 38px;
  font-size: 22px;
  color: #071120;
}
.tengyu-subpage .legal h3 {
  margin-top: 22px;
  font-size: 17px;
  color: #071120;
}
.tengyu-subpage .legal p {
  margin-top: 12px;
  color: #3a4a63;
  font-size: 16px;
  line-height: 1.9;
}
.tengyu-subpage .legal ul {
  margin-top: 12px;
  padding-left: 22px;
}
.tengyu-subpage .legal li {
  margin-top: 8px;
  color: #3a4a63;
  font-size: 16px;
  line-height: 1.9;
}
.tengyu-subpage .legal a {
  color: var(--blue);
  text-decoration: underline;
}
