/* Deal Analysis index — page styles (external; SEO head rewrite must not strip) */
.section-sub {
  font-family: Rubik, sans-serif;
  font-size: 1.02rem;
  color: #667788;
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.7;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 28px 0;
}
.stats-bar-item {
  text-align: left;
  padding: 4px 12px 4px 0;
}
.stats-bar-value {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #0d1b2e;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stats-bar-label {
  display: block;
  font-family: Rubik, sans-serif;
  font-size: 0.82rem;
  color: #778899;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.deal-card {
  background: #fff;
  border: 1px solid #e4ebf2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.deal-card:hover {
  box-shadow: 0 12px 32px rgba(13, 27, 46, 0.1);
  transform: translateY(-2px);
  border-color: #c9d7e6;
}
.deal-card-header {
  padding: 20px 22px 0;
}
.deal-card-header h2 {
  font-family: Poppins, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1b2e;
  margin: 0 0 12px;
  line-height: 1.35;
}
.deal-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.badge-sector,
.badge-status {
  font-family: Poppins, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 8px;
}
.badge-sector {
  background: #eaf3fc;
  color: #086ad8;
}
.badge-status {
  background: #eef2f6;
  color: #556677;
}
.badge-status.collapsed {
  background: #fdecea;
  color: #c0392b;
}
.badge-status.pending {
  background: #fff6e5;
  color: #b7791f;
}
.badge-status.closed {
  background: #e8f7ef;
  color: #1e7a46;
}
.badge-status.regulatory {
  background: #eef2f6;
  color: #556677;
}
.deal-card-body {
  padding: 0 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.deal-card-body > p {
  font-family: Rubik, sans-serif;
  font-size: 0.9rem;
  color: #556677;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.deal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  margin-bottom: 14px;
}
.deal-metric-item {
  min-width: 0;
}
.deal-metric-value {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d1b2e;
  margin-bottom: 2px;
}
.deal-metric-label {
  display: block;
  font-family: Rubik, sans-serif;
  font-size: 0.72rem;
  color: #8899aa;
  line-height: 1.35;
}
.deal-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.deal-date {
  font-family: Rubik, sans-serif;
  font-size: 0.78rem;
  color: #8899aa;
}
.deal-read-link {
  font-family: Poppins, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #086ad8;
  text-decoration: none;
}
.deal-read-link:hover {
  text-decoration: underline;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.framework-card {
  background: #f8fafc;
  border: 1px solid #e4ebf2;
  border-radius: 12px;
  padding: 24px;
}
.framework-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #086ad8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Poppins, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.framework-card h4 {
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2e;
  margin: 0 0 8px;
}
.framework-card p {
  font-family: Rubik, sans-serif;
  font-size: 0.88rem;
  color: #667788;
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0;
}
.cta-section h2 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0d1b2e;
  margin: 0 0 12px;
}
.cta-section p {
  font-family: Rubik, sans-serif;
  font-size: 1rem;
  color: #667788;
  margin: 0 0 24px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  font-family: Poppins, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0d1b2e;
  background: #fff;
  border: 1.5px solid #c8d4e0;
  border-radius: 6px;
  padding: 12px 20px;
  text-decoration: none;
}
.btn-outline-light:hover {
  border-color: #086ad8;
  color: #086ad8;
}

@media (max-width: 900px) {
  .stats-bar,
  .deal-grid,
  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .stats-bar,
  .deal-grid,
  .framework-grid,
  .deal-metrics {
    grid-template-columns: 1fr;
  }
}
