.section-head > p.muted { max-width: none; }

.delay-3 { transition-delay: 270ms; }

.pillar-hero {
  padding-top: 4.5rem;
  padding-bottom: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}
.pillar-hero__text { min-width: 0; }
.pillar-hero .breadcrumbs {
  display: flex;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.pillar-hero .breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.pillar-hero .breadcrumbs a:hover { color: var(--text); }
.pillar-hero .breadcrumbs span[aria-current] { color: var(--text); }
.pillar-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 0.2rem;
}
.pillar-hero .lead {
  font-size: 1rem;
  max-width: 54ch;
  margin-top: 1rem;
}

.pillar-hero__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 12px 40px -24px rgba(15, 23, 42, 0.18);
  min-width: 0;
}
.pillar-hero__card-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.pillar-hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillar-hero__list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.pillar-hero__list li:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-hero__list li:first-child { padding-top: 0; }
.pillar-hero__list strong {
  color: var(--text);
  font-weight: 600;
}

.pillar-toc {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.pillar-toc__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.pillar-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 2rem;
}
.pillar-toc li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  break-inside: avoid;
}
.pillar-toc a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.pillar-toc a:hover {
  color: var(--accent-dark);
  border-bottom-color: currentColor;
}

.pillar-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 72ch;
}
.pillar-note a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.compare-wrap {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table thead th {
  text-align: left;
  font-weight: 700;
  padding: 0.95rem 1.25rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
}
.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
  width: 22%;
  text-align: center;
}
.compare-table thead th .vendor {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.compare-table thead th .vendor--treex { color: var(--accent-dark); }
.compare-table tbody td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:nth-child(2),
.compare-table tbody td:nth-child(3) {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}
.compare-table .row-feature__hint {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.compare-cell--treex { background: rgba(16, 185, 129, 0.04); }
.compare-cell-text {
  display: inline-block;
  font-size: 0.85rem;
}
.compare-cell-text em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.compare-table--fields thead th:nth-child(2) {
  width: 55%;
  text-align: left;
}
.compare-table--fields tbody td:nth-child(2) {
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
}

.value-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
}
.value-card h3 {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.value-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

.bridge-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.85rem;
}
.bridge-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.bridge-item__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}
.bridge-item p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.bridge-item p strong { color: var(--text); font-weight: 600; }

.inline-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.inline-cta p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
  font-weight: 600;
  max-width: 50ch;
}

.fairness-block {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid #94a3b8;
  border-radius: var(--radius-sm);
}
.fairness-block h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.fairness-block p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.fairness-block ul {
  margin: 0.4rem 0 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.fairness-block li { margin-bottom: 0.25rem; }

.migration-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.migration-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
}
.migration-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.migration-step h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.migration-step p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

.cta-final { margin-top: 5rem; }

.alt-footer-disclaimer {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: none;
}

@media (max-width: 880px) {
  .pillar-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .pillar-hero__card { padding: 1.25rem 1.25rem 1.1rem; }
  .pillar-toc ol { columns: 1; }
}

@media (max-width: 720px) {
  .pillar-hero { padding-top: 3rem; }
  .compare-table { font-size: 0.82rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: 0.65rem 0.75rem; }
  .compare-table thead th .vendor { font-size: 0.85rem; }
  .compare-cell-text { font-size: 0.78rem; }
  .compare-cell-text em { font-size: 0.72rem; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .fairness-block { padding: 1.2rem 1.25rem; }
  .pillar-toc { padding: 1.1rem 1.2rem; }
}

@media (max-width: 480px) {
  .compare-table { min-width: 460px; }
  .compare-table tbody td:first-child { font-size: 0.82rem; }
}
