/* Compliance & Escrow Layout Rules */
.compliance-page {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
}

.comp-container {
	position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Blocks */
.comp-hero {
	position: relative;
  padding: 8rem 0 5rem 0;
  text-align: center;
  background: linear-gradient(180deg, #0b132b 0%, #070b13 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}



.secure-badge {
	position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 205, 0.08);
  color: var(--accent-teal);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 242, 205, 0.15);
  margin-bottom: 2rem;
}

.comp-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
/*  color: #1e3a8a;*/
  color: #fff;
}

.comp-hero p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Flexible Payments Section */
.comp-payments {
  padding: 6rem 0;
}

.section-title-centered {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-centered h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-title-centered p {
  color: var(--text-muted);
}

.payment-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.matrix-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.matrix-card.conditional-teal {
  border-color: rgba(0, 242, 205, 0.2);
  box-shadow: 0 10px 30px rgba(0, 242, 205, 0.03);
}

.matrix-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.matrix-tag.accent-tag {
  color: var(--accent-teal);
}

.matrix-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.matrix-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.dispatch-rule {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
}

.teal-text {
  color: var(--accent-teal);
}

/* Timeline & Policy Loops */
.policy-loops {
  padding: 4rem 0 8rem 0;
}

.policy-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.policy-column {
  display: flex;
  flex-direction: column;
}

.policy-header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.policy-icon {
  background: #111827;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-icon.red-glow {
  color: #ff4b4b;
  background: rgba(255, 75, 75, 0.05);
  border-color: rgba(255, 75, 75, 0.15);
}

.policy-header-row h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.policy-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.policy-box-dark {
  background: #111827;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.policy-box-teal {
  background: #ffffff;
  color: #070b13;
  border-radius: 16px;
  padding: 2rem;
}

.policy-box-dark h4, .policy-box-teal h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.policy-box-dark p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.policy-box-teal p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsiveness Adaptations */
@media (max-width: 992px) {
  .payment-matrix-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .policy-split-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .comp-hero h1 {
    font-size: 2.25rem;
  }
	
	.comp-hero p{
		font-size: 13px;
	}
}

@media (max-width: 592px) {
    .comp-hero h1 {
    font-size: 25px;
        letter-spacing: -0.4px;
  }
    
    .section-title-centered h2 {
        font-size: 20px;
        letter-spacing: -0.4px;
    }
}
	