.sub-page {
  --sub-primary: #2B9E98;
  --sub-primary-light: #3AAFA9;
  --sub-primary-lighter: #4DBFB8;
  --sub-primary-bg: #f0faf9;
  --sub-primary-bg-deep: #e6f7f5;
  --sub-primary-10: rgba(43, 158, 152, 0.10);
  --sub-primary-15: rgba(43, 158, 152, 0.15);
  --sub-primary-25: rgba(43, 158, 152, 0.25);
}

.sub-hero {
  background: linear-gradient(160deg, #4DBFB8 0%, #3AAFA9 40%, #2B9E98 80%, #1F8A84 100%);
}

.sub-hero::before {
  background: radial-gradient(ellipse, rgba(150, 230, 220, 0.25) 0%, transparent 60%);
}

.sub-hero-title .sub-gradient {
  background: linear-gradient(135deg, #fff 0%, #b8f0ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-inline-link:hover {
  color: #1F8A84;
  border-bottom-color: #1F8A84;
}

.sub-inline-link-light {
  color: #b8f0ea;
  border-bottom-color: rgba(184, 240, 234, 0.35);
}

.sub-inline-link-light:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.sub-aside-box {
  border-color: rgba(43, 158, 152, 0.12);
}

.sub-closing {
  border-color: rgba(43, 158, 152, 0.12);
}

.sub-check-list-warning li svg {
  stroke: #dc2626;
}

.sub-match-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sub-border);
  margin-bottom: 16px;
  table-layout: fixed;
}

.sub-match-table thead th {
  background: #1e293b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  letter-spacing: 0.02em;
}

.sub-match-table thead th:first-child {
  width: 25%;
}

.sub-match-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--sub-text);
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  word-wrap: break-word;
}

.sub-match-table tbody tr:last-child td {
  border-bottom: none;
}

.sub-match-table tbody tr:hover {
  background: var(--sub-primary-10);
}

.sub-match-table tbody td:first-child {
  font-weight: 600;
  color: var(--sub-dark);
}

.sub-section-dark .sub-match-table {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

.sub-section-dark .sub-match-table thead th {
  background: rgba(255, 255, 255, 0.1);
}

.sub-section-dark .sub-match-table tbody td {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.sub-section-dark .sub-match-table tbody td:first-child {
  color: #fff;
}

.sub-section-dark .sub-match-table tbody tr:last-child td {
  border-bottom: none;
}

.sub-section-dark .sub-match-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sub-label-teal {
  color: #4DBFB8;
}

.sub-signal-box {
  background: #fff;
  border: 1px solid var(--sub-border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.sub-signal-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sub-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sub-border);
}

.sub-signal-box-header svg {
  width: 20px;
  height: 20px;
  stroke: #dc2626;
  flex-shrink: 0;
}

.sub-signal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub-signal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sub-text);
}

.sub-signal-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fef2f2;
  flex-shrink: 0;
  position: relative;
  margin-top: 1px;
}

.sub-signal-x::before,
.sub-signal-x::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background: #dc2626;
  border-radius: 1px;
}

.sub-signal-x::before {
  transform: rotate(45deg);
}

.sub-signal-x::after {
  transform: rotate(-45deg);
}

.sub-aside-callout-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.sub-aside-callout-dark::before {
  background: linear-gradient(180deg, #4DBFB8, #2B9E98);
}

.sub-aside-callout-label-teal {
  color: #4DBFB8;
}

.sub-aside-dark-intro {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.sub-aside-dark-intro strong {
  color: #fff;
}

.sub-check-list-dark li {
  color: rgba(255, 255, 255, 0.7);
}

.sub-check-list-dark li svg {
  stroke: #ef4444;
}

@media (max-width: 600px) {
  .sub-match-table {
    font-size: 12px;
  }

  .sub-match-table thead th,
  .sub-match-table tbody td {
    padding: 10px 10px;
    font-size: 12px;
  }
}
