/* =========================================================
   HOW HBOT WORKS PAGE STYLES
   Matches Home/About patterns (hero background + glass panel)
   ========================================================= */

/* HOW HBOT WORKS HERO */
.how-hbot-hero{
  background-image: url("/assets/how-hbot-works/hero.jpg"); /* placeholder */
  background-position: center 20%;
}

/* CONTENT HELPERS */
.hbot-narrow{
  max-width: 78ch;
}

.hbot-body{
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 78ch;
}

/* SPLIT SECTIONS */
.hbot-split{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.hbot-split--reverse{
  grid-template-columns: 0.95fr 1.05fr;
}

.hbot-media{
  margin: 0;
  align-self: start;
}

.hbot-media img{
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* CARDS */
.hbot-cards{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.hbot-fineprint{
  margin-top: 18px;
  max-width: 95ch;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .hbot-hero{
    padding: 90px 0 100px;
  }

  .hbot-hero-panel{
    padding: 34px 24px;
  }

  .hbot-hero h1{
    font-size: clamp(30px, 7vw, 42px);
  }

  .hbot-split,
  .hbot-split--reverse{
    grid-template-columns: 1fr;
  }

  .hbot-cards{
    grid-template-columns: 1fr;
  }
}

/* Transparency accessibility */
@media (prefers-reduced-transparency: reduce){
  .hbot-hero-panel{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 28, 40, 0.50);
  }
}
