*, *::before, *::after {
  box-sizing: border-box;
}

.landing-content a {
  color: #43aad6;
}


.landing-content {
  padding: 3rem 0;
}

.landing-content--wide {
  max-width: 960px;
  margin: 0 auto;
}

.heatmap3d-hero,
.heatmap3d-section {
  margin-bottom: 2.5rem;
}

.heatmap3d-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.heatmap3d-hero-copy,
.heatmap3d-summary,
.heatmap3d-card,
.heatmap3d-section-note,
.heatmap3d-metric {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.07);
}

.heatmap3d-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: 2.25rem;
}

.heatmap3d-eyebrow {
  margin: 0 0 0.75rem;
  color: #dc800f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heatmap3d-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.heatmap3d-lead {
  margin: 0;
  max-width: 42rem;
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.7;
}

.heatmap3d-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.heatmap3d-primary-link,
.heatmap3d-secondary-link,
.heatmap3d-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 4px;
  color: #111827;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.heatmap3d-primary-link {
  border-color: #dc800f;
  background: #fff;
  color: #111827;
}

.heatmap3d-primary-link:hover,
.heatmap3d-secondary-link:hover,
.heatmap3d-card-link:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 24, 39, 0.25);
  background: #fff;
  color: #111827;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.12);
}

.heatmap3d-primary-link.is-active:hover,
.heatmap3d-secondary-link.is-active:hover,
.heatmap3d-card-link.is-active:hover {
  border-color: #dc800f;
  background: #dc800f;
  color: #fff;
  box-shadow: 0 12px 24px rgba(220, 128, 15, 0.24);
}

.heatmap3d-summary {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 1.25rem;
}

.heatmap3d-model-panel {
  position: relative;
  min-height: 250px;
  margin-bottom: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 6px;
  background: #fff;
}

#landing-canvas {
  position: absolute;
  inset: 0;
  min-height: 250px;
}

#landing-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.heatmap3d-summary h2,
.heatmap3d-section h2,
.heatmap3d-section-note h2,
.heatmap3d-card h3 {
  margin-top: 0;
}

.heatmap3d-summary-list,
.heatmap3d-card-points {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #4b5563;
}

.heatmap3d-summary-list li,
.heatmap3d-card-points li {
  margin-bottom: 0.65rem;
}

.heatmap3d-section-heading {
  margin-bottom: 1rem;
}

.heatmap3d-section-heading p,
.heatmap3d-card p,
.heatmap3d-section-note p {
  color: #4b5563;
  line-height: 1.7;
}

.heatmap3d-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.heatmap3d-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.heatmap3d-card-kicker {
  margin: 0 0 0.4rem;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heatmap3d-card-preference {
  border-top: 4px solid #ff6b6b;
}

.heatmap3d-card-reachability {
  border-top: 4px solid #51cf66;
}

.heatmap3d-card-link {
  align-self: flex-start;
  margin-top: auto;
}

.heatmap3d-section-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.heatmap3d-metric {
  padding: 1.25rem;
  text-align: center;
}

.heatmap3d-metric strong {
  display: block;
  color: #111827;
  font-size: 2rem;
  line-height: 1;
}

.heatmap3d-metric span {
  display: block;
  margin-top: 0.55rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.heatmap3d-section-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.5rem;
}


@media (max-width: 900px) {
  .landing-content--wide {
    max-width: 100%;
  }

  .heatmap3d-hero,
  .heatmap3d-card-grid,
  .heatmap3d-section-metrics {
    grid-template-columns: 1fr;
  }

  .heatmap3d-hero-copy,
  .heatmap3d-summary {
    min-height: 0;
  }

  .heatmap3d-section-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-content {
    padding: 1.5rem 0;
  }

  .heatmap3d-hero-copy,
  .heatmap3d-summary,
  .heatmap3d-card,
  .heatmap3d-section-note {
    padding: 1.25rem;
  }

  .heatmap3d-model-panel,
  #landing-canvas {
    min-height: 220px;
  }

  .heatmap3d-actions {
    flex-direction: column;
  }

  .heatmap3d-primary-link,
  .heatmap3d-secondary-link,
  .heatmap3d-card-link {
    width: 100%;
  }
}
