.legacy-content {
  min-height: 50vh;
}

.legacy-content>section {
  padding: 90px 0;
}

.legacy-content>section:nth-child(odd):not(.page-header):not(.blog-post-hero):not(.client-hero) {
  background: #fff;
}

.legacy-content>section:nth-child(even):not(.page-header):not(.blog-post-hero):not(.client-hero) {
  background: var(--parchment);
}

.legacy-content .page-header,
.legacy-content .blog-post-hero,
.legacy-content .blog-hero-simple,
.legacy-content .contact-header-simple,
.legacy-content .client-hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: 90px 0;
  color: var(--ink);
  background: var(--parchment);
  background-position: center;
  background-size: cover;
}

.legacy-content .page-header[style*="background"],
.legacy-content .client-hero {
  position: relative;
  color: #fff;
}

.legacy-content .page-header[style*="background"]::before,
.legacy-content .client-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .52);
}

.legacy-content .page-header[style*="background"] .container,
.legacy-content .client-hero .container {
  position: relative;
  z-index: 1;
}

.legacy-content h1,
.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  margin-top: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.legacy-content h1 {
  max-width: 970px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 72px) !important;
  font-weight: 600;
}

.legacy-content h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
}

.legacy-content h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
}

.legacy-content h4 {
  font-size: 19px;
  font-weight: 600;
}

.legacy-content p,
.legacy-content li {
  color: #515154;
  font-size: 17px;
  line-height: 1.65;
}

.legacy-content strong {
  color: var(--ink);
}

.legacy-content ul,
.legacy-content ol {
  padding-left: 22px;
}

.legacy-content li {
  margin-bottom: 8px;
}

.legacy-content .breadcrumb,
.legacy-content .breadcrumbs {
  color: var(--muted);
  font-size: 13px;
}

.legacy-content .section-header {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}

.legacy-content .section-header p {
  color: var(--muted);
}

.legacy-content .content-card,
.legacy-content .feature-card,
.legacy-content .service-card,
.legacy-content .info-card,
.legacy-content .benefit-card,
.legacy-content .process-card,
.legacy-content .faq-item,
.legacy-content .why-card {
  padding: 28px;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  background: #fff;
}

.legacy-content .feature-grid,
.legacy-content .services-grid,
.legacy-content .benefits-grid,
.legacy-content .process-grid,
.legacy-content .why-grid,
.legacy-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.legacy-content .two-column,
.legacy-content .content-grid,
.legacy-content .container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.legacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #fff;
}

.legacy-content th,
.legacy-content td {
  padding: 15px;
  border: 1px solid var(--line);
  text-align: left;
}

.legacy-content th {
  background: var(--parchment);
  font-size: 13px;
}

.legacy-content blockquote {
  margin: 35px 0;
  padding: 25px 30px;
  border-left: 4px solid var(--blue);
  background: var(--parchment);
  font-size: 21px;
}

.legacy-content .btn,
.legacy-content .btn-primary,
.legacy-content .btn-secondary,
.legacy-content button[type="submit"],
.legacy-content input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 400;
  cursor: pointer;
}

.legacy-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.legacy-content textarea,
.legacy-content select {
  width: 100%;
  min-height: 48px;
  padding: 11px 15px;
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
}

.legacy-content textarea {
  min-height: 130px;
  resize: vertical;
}

.legacy-content label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}

.legacy-content .form-group {
  margin-bottom: 18px;
}

.legacy-content .cta-section,
.legacy-content .cta-premium,
.legacy-content .cta-box {
  padding: 65px;
  color: #fff;
  background: var(--dark) !important;
  text-align: center;
}

.legacy-content .cta-section p,
.legacy-content .cta-premium p,
.legacy-content .cta-box p {
  color: #ccc;
}

.legacy-content .cta-section a,
.legacy-content .cta-premium a,
.legacy-content .cta-box a {
  color: var(--blue-light);
}

.legacy-content .fade-in-section {
  opacity: 1 !important;
  transform: none !important;
}

.legacy-content .newsletter-section,
.legacy-content .subscribe-section {
  display: none;
}

.legacy-content iframe {
  max-width: 100%;
}