/* ============================================================
   L&D Contact Hero — waves BG, left copy, right live-typing bubble.
   ============================================================ */

.ldch {
  position: relative;
  overflow: hidden;
  padding: 80px 36px 120px;
  font-family: 'GT Walsheim', 'Poppins', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
}
.ldch *,
.ldch *::before,
.ldch *::after { box-sizing: border-box; }

.ldch__bg-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 55%;
  z-index: 0; pointer-events: none;
  line-height: 0;
}
.ldch__bg-waves svg { display: block; width: 100%; height: 100%; }

.ldch__inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}

/* -------- Left copy -------- */
.ldch__eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: #421C85; font-weight: 500 !important; margin-bottom: 20px;
}

.ldch__title,
.ldch__title *,
.ldch__title h1,
.ldch__title h2,
.ldch__title h3,
.ldch__title span { font-weight: 400 !important; }
.ldch__title :is(h1, h2, h3, p) {
  font-size: 50px; line-height: 1.1;
  letter-spacing: -0.015em; margin: 0 0 24px; color: #000;
}

.ldch__lead,
.ldch__lead * { font-weight: 400 !important; }
.ldch__lead :is(p, div) {
  font-size: 18px; line-height: 1.55; color: #333;
  margin: 0 0 32px; max-width: 480px;
}

.ldch__actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

.ldch__cta-primary {
  display: inline-flex; align-items: center;
  background: #421C85 !important; color: #FFFFFF !important;
  padding: 13px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.25s ease;
}
.ldch__cta-primary:hover,
.ldch__cta-primary:focus,
.ldch__cta-primary:focus-visible {
  background: #2D1259 !important; color: #FFFFFF !important; outline: none;
}
.ldch__cta-secondary {
  display: inline-block; padding: 6px 0;
  color: #421C85 !important; font-size: 15px; font-weight: 500 !important;
  border-bottom: 2px solid #421C85;
  text-decoration: none !important; white-space: nowrap;
  transition: opacity 0.2s ease;
}
.ldch__cta-secondary:hover,
.ldch__cta-secondary:focus,
.ldch__cta-secondary:focus-visible { opacity: 0.75; outline: none; }

/* -------- Right typing bubble -------- */
.ldch__visual {
  position: relative;
  display: flex; align-items: center; justify-content: flex-start;
  min-height: 220px;
}

.ldch__type-wrap {
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 26px 26px 30px;
  box-shadow: 0 24px 48px rgba(66, 28, 133, 0.12), 0 2px 6px rgba(255, 130, 90, 0.06);
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 160px;
}
/* iMessage-style rounded tail — two overlapping circles. */
.ldch__type-wrap::before,
.ldch__type-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.ldch__type-wrap::before {
  bottom: -3px; left: 24px;
  width: 22px; height: 22px;
  background: #FFFFFF;
}
.ldch__type-wrap::after {
  bottom: -14px; left: 12px;
  width: 22px; height: 22px;
  background: var(--ldch-section-bg, #FFF7F1);
}

/* Light-purple category pill inside the bubble. */
.ldch__type-cat {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EDE6F7;
  padding: 6px 14px 7px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #421C85;
  font-weight: 500 !important;
  width: fit-content;
  max-width: 100%;
}

.ldch__type-text {
  margin: 0;
  font-size: 18px; line-height: 1.4;
  color: #1a1a1a; letter-spacing: -0.01em;
  font-weight: 400 !important;
  min-height: 3.2em;
}
.ldch__type-body { white-space: pre-wrap; }

/* Blinking caret. */
.ldch__type-caret {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: #421C85;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: ldch-caret 1s steps(2) infinite;
}
@keyframes ldch-caret { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ldch__type-caret { animation: none; opacity: 1; }
}

/* -------- Responsive -------- */
@media (max-width: 1000px) {
  .ldch { padding: 64px 24px 96px; }
  .ldch__inner { grid-template-columns: 1fr; gap: 48px; }
  .ldch__title :is(h1, h2, h3, p) { font-size: 38px; }
  .ldch__lead :is(p, div) { font-size: 17px; }
  .ldch__visual { justify-content: center; }
  .ldch__type-wrap { max-width: 400px; }
}
@media (max-width: 600px) {
  .ldch__title :is(h1, h2, h3, p) { font-size: 30px; }
  .ldch__lead :is(p, div) { font-size: 16px; }
  .ldch__type-wrap { padding: 22px 22px 26px; }
  .ldch__type-text { font-size: 16px; }
}
</content>
</invoke>