/* MatrixSwaps Phase 19 content, trust and conversion layer.
 * Same-origin, dependency-free and compatible with the existing CRT theme. */
.site-nav,
.hero-actions,
.content-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
}

.site-nav {
  width: min(760px, 94vw);
  margin: 0 auto 18px;
  font-size: 11px;
  letter-spacing: 1px;
}

.site-nav a,
.hero-actions a,
.content-actions a {
  color: var(--green, #00ff41);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(0, 255, 65, .35);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.hero-actions a:hover,
.hero-actions a:focus-visible,
.content-actions a:hover,
.content-actions a:focus-visible {
  color: #000;
  background: var(--green, #00ff41);
}

.value-prop {
  width: min(760px, 94vw);
  margin: 0 auto 18px;
  text-align: center;
}

.value-prop h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 3.4vw, 30px);
  line-height: 1.2;
}

.value-prop p {
  max-width: 680px;
  margin: 0 auto 12px;
  color: rgba(0, 255, 65, .72);
  line-height: 1.7;
}

.field-help {
  grid-column: 1 / -1;
  margin: -2px 0 2px;
  color: rgba(0, 255, 65, .65);
  font-size: 11px;
  line-height: 1.5;
}

.growth-section {
  width: min(760px, 94vw);
  margin: 26px auto 0;
  border-top: 1px solid rgba(0, 255, 65, .35);
  padding-top: 18px;
}

.growth-section h2,
.content-page h1,
.content-page h2 {
  color: var(--green, #00ff41);
}

.growth-section h2 {
  font-size: 14px;
  letter-spacing: 1px;
}

.step-grid,
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.step-card,
.learn-card {
  border: 1px solid rgba(0, 255, 65, .3);
  background: rgba(0, 12, 4, .72);
  padding: 14px;
  min-width: 0;
}

.step-card h3,
.learn-card h2 {
  margin: 0 0 8px;
  font-size: 13px;
}

.step-card p,
.learn-card p,
.growth-section > p,
.content-page p,
.content-page li {
  color: rgba(0, 255, 65, .72);
  line-height: 1.75;
}

.learn-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.learn-card:hover,
.learn-card:focus-visible {
  border-color: var(--green, #00ff41);
  box-shadow: 0 0 14px rgba(0, 255, 65, .18);
}

.content-shell {
  justify-content: flex-start;
  padding-top: 44px;
}

.content-page {
  width: min(780px, 94vw);
  background: rgba(0, 18, 6, .88);
  border: 1px solid rgba(0, 255, 65, .45);
  padding: 0 24px 24px;
  box-shadow: 0 0 24px rgba(0, 255, 65, .14);
}

.content-page h1 {
  margin: 10px 0 12px;
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.2;
}

.content-page h2 {
  margin: 26px 0 8px;
  font-size: 16px;
}

.content-page .dek {
  font-size: 15px;
  color: rgba(0, 255, 65, .88);
}

.content-meta {
  margin: 14px 0;
  padding: 10px 0;
  border-top: 1px dashed rgba(0, 255, 65, .25);
  border-bottom: 1px dashed rgba(0, 255, 65, .25);
  font-size: 11px;
}

.architecture-flow {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.architecture-node {
  border: 1px solid rgba(0, 255, 65, .38);
  padding: 14px;
}

.architecture-node strong { display: block; margin-bottom: 5px; }
.architecture-arrow { text-align: center; color: rgba(0, 255, 65, .6); }

@media (max-width: 700px) {
  .step-grid,
  .learn-grid { grid-template-columns: 1fr; }
  .content-page { padding: 0 16px 20px; }
}

@media (max-width: 390px) {
  .site-nav { gap: 6px; }
  .site-nav a { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .value-prop { text-align: left; }
  .hero-actions a { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
