/* Hugent — home */

.page-home section + section {
  margin-top: 84px;
}

/* ---------- Hero ---------- */

.hm-hero {
  padding: 96px 0 0;
  text-align: center;
}

.hm-hero__eyebrow {
  margin-bottom: 22px;
}

.hm-hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 26ch;
  margin: 0 auto 16px;
}

.hm-hero__tagline {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 32ch;
  margin: 0 auto 18px;
}

.hm-hero__copy {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 30px;
}

.hm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
}

/* Proof strip */

.hm-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin-top: 38px;
}

.hm-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.hm-proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Hero stage ---------- */

.hm-stage {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-top: 44px;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #23201c;
}

.hm-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
    to top,
    rgba(18, 18, 18, 0.62) 0%,
    rgba(18, 18, 18, 0.1) 42%,
    rgba(18, 18, 18, 0.34) 100%
  );
}

.hm-stage__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-stage__overlays {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: min(100%, 430px);
}

.hm-stage__label {
  padding: 2px 4px 0;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hm-stage__panel {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 13px 16px 15px;
}

.hm-stage__panel span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2c8576;
  margin-bottom: 5px;
}

.hm-stage__panel p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.hm-stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  background: rgba(20, 20, 20, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
}

.hm-stage__bar span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hm-stage__bar strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ---------- Product blocks ---------- */

.hm-product {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.hm-product--dark {
  background: var(--ink-card);
  color: #fff;
}

.hm-product--light {
  background: var(--cream-card);
}

.hm-product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hm-product h2 {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 12px 0 6px;
  max-width: 20ch;
}

.hm-product__tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}

.hm-product--dark .hm-product__tagline {
  color: var(--muted-on-dark);
}

.hm-product__copy {
  font-size: 13.5px;
  line-height: 1.62;
  max-width: 44ch;
  margin-bottom: 22px;
  color: var(--muted);
}

.hm-product--dark .hm-product__copy {
  color: var(--muted-on-dark);
}

.hm-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.hm-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.hm-product--dark .hm-list li {
  color: #e7e5e0;
}

.hm-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
}

.hm-media {
  display: block;
  border-radius: 20px;
  min-height: 340px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #d8d4ca;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.18);
}

.hm-product--reverse .hm-media {
  order: -1;
}

/* ---------- Flow ---------- */

.hm-section-head {
  text-align: center;
  margin-bottom: 34px;
}

.hm-section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 20ch;
  margin: 12px auto 18px;
}

.hm-section-head p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

.hm-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hm-step {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}

.hm-step--dark {
  background: var(--ink-card);
  color: #fff;
}

.hm-step h3 {
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 12px 0 12px;
}

.hm-step p {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--muted);
  margin-top: auto;
}

.hm-step--dark p {
  color: var(--muted-on-dark);
}

/* ---------- Closing CTA ---------- */

.hm-cta {
  background: var(--ink-card);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hm-cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 20ch;
}

.hm-cta p {
  font-size: 13px;
  color: var(--muted-on-dark);
  margin-top: 12px;
  max-width: 44ch;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hm-product__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hm-product--reverse .hm-media {
    order: 0;
  }
  .hm-flow {
    grid-template-columns: 1fr;
  }
  .hm-stage {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .page-home section + section {
    margin-top: 56px;
  }
  .hm-hero {
    padding-top: 60px;
  }
  .hm-product {
    padding: 22px;
  }
  .hm-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }
  .hm-stage {
    min-height: 340px;
  }
  .hm-stage__overlays {
    width: 100%;
  }
}
