/* One source of truth for the Hero background: the generated mint-to-cream artwork itself. */
.hero {
  /* The page owns the single continuous backdrop; the dashboard is transparent foreground. */
  background: linear-gradient(90deg, #b9e5d9 0%, #d9eee5 38%, #fff9eb 73%, #fff9eb 100%);
  color: #252525;
  isolation: isolate;
  min-height: 700px;
  position: relative;
}

/* Disable the legacy 510px yellow circle defined in the base stylesheet. */
.hero::before {
  content: none;
  display: none;
}

/* The visual is now the Hero background itself, never a second overlaid image layer. */
.hero-art { display: none; }

.hero-dashboard-art {
  height: auto;
  max-width: none;
  pointer-events: none;
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  width: min(70vw, 1120px);
  z-index: 1;
}

.hero-grid {
  display: block;
  min-height: 592px;
  position: relative;
  z-index: 2;
}

/* A compact left-side rhythm keeps every word clear of the 3D dashboard. */
.hero-copy {
  color: #252525;
  max-width: 535px;
  padding: 76px 0 38px;
  position: relative;
  z-index: 10;
}

.hero h1 {
  color: #252525;
  font-size: clamp(50px, 3.2vw, 56px);
  letter-spacing: -3px;
  line-height: 1.16;
  max-width: 535px;
  text-shadow: 0 1px 0 rgba(255, 249, 235, .72);
}
.hero h1 em { color: #417e4d; }
.hero-text { color: #29382d; margin: 22px 0 27px; max-width: 505px; }
.hero-copy .eyebrow { color: #3f7548; }
.hero-copy .trust-row {
  align-items: stretch;
  color: #354c39;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  max-width: 535px;
}
.trust-item {
  border-left: 1px solid rgba(53, 76, 57, .28);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 0 14px;
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { color: #356b42; font-size: 24px; letter-spacing: -1px; line-height: 1.15; white-space: nowrap; }
.trust-item:nth-child(2) strong { color: #bf8714; }
.trust-item span { color: #405447; font-size: 20px; font-weight: 700; line-height: 1.35; }
.hero-marquee { position: relative; z-index: 11; }

@media (max-width: 850px) {
  .hero { min-height: 800px; }
  .hero-grid { min-height: 745px; }
  .hero-copy { max-width: 620px; padding-top: 70px; }
  .hero-dashboard-art { right: -30%; top: 58%; width: min(122vw, 920px); }
  .hero-copy .trust-row { margin-left: auto; margin-right: auto; }
}

@media (max-width: 560px) {
  .hero { min-height: 740px; }
  .hero-grid { min-height: 685px; }
  .hero-copy { padding: 60px 0 32px; }
  .hero-dashboard-art { opacity: .42; right: -42%; top: 56%; width: 132vw; }
  .hero-copy .trust-row { gap: 14px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 430px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
