.text-ratio-fix-section {
  max-width: 1120px;
  margin: 48px auto;
  padding: 0 24px;
  content-visibility: auto;
}

.text-ratio-fix-shell {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.78)),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.12), transparent 28%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.24);
}

.text-ratio-fix-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.text-ratio-fix-title {
  margin: 0 0 14px;
  color: #f8fafc;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.35;
}

.text-ratio-fix-intro,
.text-ratio-fix-copy p,
.text-ratio-fix-faq-answer,
.text-ratio-fix-links li {
  color: #cbd5e1;
  line-height: 2;
}

.text-ratio-fix-intro {
  margin: 0 0 20px;
  font-size: 1.02rem;
}

.text-ratio-fix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.text-ratio-fix-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.text-ratio-fix-card h3,
.text-ratio-fix-copy h3,
.text-ratio-fix-links h3,
.text-ratio-fix-faq h3 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 700;
}

.text-ratio-fix-copy {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.text-ratio-fix-copy p {
  margin: 0;
}

.text-ratio-fix-links,
.text-ratio-fix-faq {
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.text-ratio-fix-links ul {
  margin: 0;
  padding-inline-start: 1.15rem;
}

.text-ratio-fix-links a,
.text-ratio-fix-faq a {
  color: #fbbf24;
  text-decoration: none;
  font-weight: 700;
}

.text-ratio-fix-links a:hover,
.text-ratio-fix-faq a:hover {
  text-decoration: underline;
}

.text-ratio-fix-faq-list {
  display: grid;
  gap: 14px;
}

.text-ratio-fix-faq-item {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.text-ratio-fix-faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.text-ratio-fix-faq-question {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.text-ratio-fix-faq-answer {
  margin: 0;
}

@media (max-width: 768px) {
  .text-ratio-fix-section {
    margin: 32px auto;
    padding: 0 16px;
  }

  .text-ratio-fix-shell {
    border-radius: 20px;
    padding: 22px 18px;
  }
}
