/* DMO Sign landing hero. Full-bleed plum band, same colours as the old .ds-hero. */

.dsl-hero {
  padding: clamp(2rem, 1rem + 3vw, 4rem) 0 clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 0;
  background: var(--side); color: var(--side-ink);
  box-shadow: 0 0 0 100vmax var(--side); clip-path: inset(0 -100vmax);
  --focus: #f0b400;
}
.dsl-hero :focus-visible { outline-color: #f0b400; }
.dsl-hero + .dsl-section { border-top: 0; }

.dsl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.dsl-hero-text { min-width: 0; }
.dsl-hero-demo-col { min-width: 0; justify-self: stretch; }

.dsl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.1rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: .5rem 0 1rem;
  color: var(--side-ink);
  max-width: 13ch;
}
.dsl-hero .ds-eyebrow { margin-bottom: 0; }

.dsl-hero-lead {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  color: var(--side-muted);
  max-width: 34rem;
  margin: 0;
}
.dsl-hero-actions { margin-top: 1.75rem; }
.dsl-hero .dsl-hero-hint,
.dsl-hero .dsl-hero-suite { color: var(--side-muted); }
.dsl-hero .dsl-hero-hint { margin: 1rem 0 0; font-size: .95rem; }
.dsl-hero .dsl-hero-suite { margin: .4rem 0 0; font-size: .95rem; }
.dsl-hero a:not(.btn) { color: var(--side-ink); }

/* tablet: keep two columns, tighter gap */
@media (max-width: 1023px) {
  .dsl-hero-grid { gap: 2rem; }
  .dsl-hero-demo-col { max-width: 440px; }
}

/* 860px and below: one column, text first, demo under it */
@media (max-width: 859px) {
  .dsl-hero { padding-top: 1.25rem; padding-bottom: 3rem; }
  .dsl-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .dsl-hero-demo-col { justify-self: stretch; max-width: 520px; width: 100%; }
}

/* phone: buttons full width, slightly smaller gutter */
@media (max-width: 639px) {
  .dsl-hero .dsl-hero-actions .btn { width: 100%; }
}

@media (max-width: 360px) {
  .dsl-hero h1 { font-size: 2.2rem; }
}

/* Two deliberate lines: "Send it. They sign it." / "You’re done." (wraps naturally only when there is no room). */
.dsl-hero h1 .dsl-hero-line { display: block; }
.dsl-hero h1 .dsl-hero-line:first-child { text-wrap: balance; } /* if it must wrap: "Send it." / "They sign it." */
