* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #162032;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at 12% 18%, rgba(241, 184, 75, 0.18), transparent 28rem), linear-gradient(135deg, #f7f9fb 0%, #edf3f8 52%, #f9fbfd 100%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 4rem);
}

.hero {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #146b57;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 6.1vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 500px;
  margin: 1.35rem 0 0;
  color: #607085;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

.powered-by {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  color: #607085;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(22, 32, 50, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.powered-by img {
  width: 150px;
  height: auto;
  display: block;
}

.product-preview {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(22, 32, 50, 0.16);
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: auto -18% -18% 28%;
  height: 48%;
  background: linear-gradient(135deg, rgba(31, 138, 112, 0.18), rgba(241, 184, 75, 0.32));
  transform: rotate(-8deg);
}

.product-preview__bar {
  height: 4.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.4rem;
  border-bottom: 1px solid #d9e1ea;
  background: #fbfcfe;
}

.product-preview__bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #c8d4df;
}

.product-preview__body {
  position: relative;
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.metric {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: #ffffff;
}

.metric strong {
  font-size: 1.15rem;
}

.metric span {
  color: #607085;
  font-size: 0.95rem;
}

.metric--active {
  border-color: rgba(31, 138, 112, 0.35);
  box-shadow: 0 12px 24px rgba(31, 138, 112, 0.1);
}

.timeline {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border-radius: 8px;
  background: #f3f7fa;
}

.timeline span {
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f8a70 var(--progress), transparent var(--progress)), #dce6ee;
}

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

.grid span {
  min-height: 8rem;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), repeating-linear-gradient(90deg, transparent 0 1rem, rgba(217, 225, 234, 0.55) 1rem 1.05rem);
}

@media (max-width: 820px) {
  .page-shell {
    place-items: start;
    padding: 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 11vw, 3.8rem);
    line-height: 1.04;
  }

  .lead {
    max-width: 36rem;
  }

  .product-preview {
    width: 100%;
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding: 1.25rem;
    min-height: auto;
  }

  .powered-by {
    width: 100%;
    justify-content: space-between;
    margin-top: 1.6rem;
    padding: 0.8rem 0.9rem;
  }

  .powered-by img {
    width: 132px;
  }

  .product-preview {
    min-height: 300px;
  }

  .product-preview__bar {
    height: 3.4rem;
  }

  .product-preview__body {
    gap: 1rem;
    padding: 1rem;
  }

  .metric {
    padding: 1rem;
  }

  .metric strong {
    font-size: 1rem;
  }

  .timeline {
    padding: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .grid span {
    min-height: 5.6rem;
  }
}
