/* Landing pages moved in from the HubSpot hub (JB-3051 / JB-3052):
   /how-it-works and /become-a-host. Loaded only on landing_* routes. */

.lp-page {
  color: #222;
}

.lp-page h1,
.lp-page h2,
.lp-page h3 {
  font-weight: 700;
}

/* ---- Heroes ---- */

.lp-hero {
  position: relative;
  overflow: hidden;
}

.lp-hero img.lp-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.lp-hero-dark {
  background: #000;
  color: #fff;
}

.lp-hero-dark .lp-hero-img {
  height: 340px;
  /* The photo fades into the black text panel on its left. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
  mask-image: linear-gradient(to right, transparent, #000 35%);
}

.lp-hero-dark .lp-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46%;
  padding: 0 4vw;
}

@media (max-width: 767px) {
  .lp-hero img.lp-hero-img,
  .lp-hero-dark .lp-hero-img {
    height: 240px;
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.55;
  }

  .lp-hero-dark .lp-hero-copy {
    max-width: 100%;
  }
}

/* ---- Sections ---- */

.lp-section {
  padding: 48px 0;
}

.lp-section-alt {
  background: #f0f4f8;
}

.lp-title {
  color: #ff5c39;
  text-align: center;
  margin: 0 0 8px;
}

.lp-card {
  text-align: left;
}

.lp-card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.lp-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lp-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Numbered steps on /become-a-host */

.lp-step-number {
  width: 44px;
  height: 44px;
  border: 2px solid #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---- Buttons ---- */

.lp-btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 8px;
  background: #ff7a59;
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

.lp-btn:hover,
.lp-btn:focus {
  background: #e8603d;
  color: #fff;
}

.lp-link {
  color: #222;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-link:hover {
  color: #ff7a59;
}

/* ---- Video facade ---- */

.lp-video {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.lp-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.lp-video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E")
    center / 34px no-repeat;
  transition: background-color 0.2s ease;
}

.lp-video-play:hover::after {
  background-color: #ff7a59;
}

/* ---- Testimonial ---- */

.lp-quote {
  background: #eef2f7;
  padding: 56px 0;
  text-align: center;
}

.lp-quote blockquote {
  font-family: "Courier New", monospace;
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto 20px;
}

.lp-quote img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Brenda block on /become-a-host */

.lp-brenda img {
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
}

.lp-brenda .lp-quote-mark {
  color: #d64541;
  font-size: 2.2rem;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ---- FAQ ---- */

.lp-faq {
  max-width: 860px;
  margin: 0 auto;
}

.lp-faq details {
  border-bottom: 1px solid #e3e7ec;
  padding: 14px 4px;
}

.lp-faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 26px;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -2px;
  color: #ff7a59;
  font-size: 1.3rem;
  font-weight: 700;
}

.lp-faq details[open] summary::before {
  content: "\2212";
}

.lp-faq details p {
  margin: 10px 0 0;
  color: #444;
}

/* ---- Covered photo ---- */

.lp-covered-photo {
  width: 100%;
  max-width: 760px;
  display: block;
  margin: 32px auto 0;
  border-radius: 10px;
}
