/* Page-specific refinements */
body.legal .hero,
body.legal .pill-row {
  display: none;
}

.why-dlr{
  height: 72px;
  width: auto;
  margin: var(--s-5) 0 var(--s-7);
  opacity: 0.88;
}

main > .section:first-child,
main > .hero:first-child {
  position: relative;
}

main > .section:first-child::before,
main > .hero:first-child::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
}

body:not(.legal) .hero-copy > p:not(.lead):not(.eyebrow) {
  font-size: 1.02rem;
}

body:not(.legal) .split-copy > p:first-of-type:not(.eyebrow) {
  font-size: 1.02rem;
}

body:not(.legal) .panel h3,
body:not(.legal) .card h3 {
  margin-bottom: var(--s-4);
}

body:not(.legal) .panel p:last-child,
body:not(.legal) .card p:last-of-type {
  margin-bottom: 0;
}

body:not(.legal) .section + .section,
body:not(.legal) .section + .section--split,
body:not(.legal) .section--split + .section,
body:not(.legal) .section--split + .section--split {
  position: relative;
}

body:not(.legal) .section + .section::before,
body:not(.legal) .section + .section--split::before,
body:not(.legal) .section--split + .section::before,
body:not(.legal) .section--split + .section--split::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(140px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22,242,208,0.38), transparent);
  transform: translateX(-50%);
}

body:not(.legal) .hero-copy,
body:not(.legal) .split-copy {
  position: relative;
}

body:not(.legal) .section-head h2::after,
body:not(.legal) .split-copy h2::after,
body:not(.legal) .contact-copy h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(46,199,255,0.24));
}

body:not(.legal) .section-head p,
body:not(.legal) .split-copy p,
body:not(.legal) .contact-copy p {
  max-width: var(--reading);
}

body:not(.legal) .card-grid + .cta-row,
body:not(.legal) .bullets + .cta-row {
  margin-top: var(--s-6);
}

body:not(.legal) .hero-visual::after,
body:not(.legal) .panel::after,
body:not(.legal) .card::after,
body:not(.legal) .mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 36%, transparent 70%, rgba(255,255,255,0.04));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
}

body:not(.legal) .hero-visual,
body:not(.legal) .panel,
body:not(.legal) .card,
body:not(.legal) .mini-card {
  position: relative;
}

body:not(.legal) .footer-brand {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  .why-dlr{
    height: 60px;
  }
}
