/* Main landing-page type, palette and actions, scoped to the diary hero (MAX-1041).
   Source: Alloovium Marketing 2/css/voice-landing.css. The diary copy and video stay in markup.ts. */
#landing #hero {
  --vl-orange: #f2620f;
  --vl-ink: #262821;
  --vl-paper: #fff;
  --font--body: var(--font-jakarta), "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--vl-ink);
  background: var(--vl-paper);
}

#landing #hero h1 {
  margin: 0 0 22px;
  color: var(--vl-ink);
  font: 500 clamp(52px, 5.8vw, 84px)/1.04 var(--font--heading);
  letter-spacing: -.055em;
}

#landing #hero h1 em {
  color: var(--vl-orange);
  font-style: normal;
}

#landing #hero .hero-description {
  color: #686a61;
  font: 400 15px/1.75 var(--font--body);
  letter-spacing: -.025em;
}

#landing #hero .actions {
  gap: 26px;
  margin-top: 26px;
}

#landing #hero .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 49px;
  padding: 13px 22px;
  border: 1px solid var(--vl-orange);
  border-radius: 8px;
  background: #ff6b1a;
  color: #fff;
  box-shadow: 0 3px 1px #6026000a, inset 0 1px 0 #ffffff20;
  font: 500 14px/1.5 var(--font--heading);
  text-decoration: none;
  transition: background .2s, transform .2s;
}

#landing #hero .primary:hover {
  background: #ff7d36;
  transform: translateY(-2px);
}

#landing #hero :is(a, button):focus-visible {
  outline: 3px solid var(--vl-orange);
  outline-offset: 6px;
}

#landing #hero .walkthrough-embed {
  border-color: #2628211a;
  background: var(--vl-paper);
  box-shadow: 0 12px 35px #2628210a;
}

#landing #hero .walkthrough-play {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 1px solid var(--vl-orange);
  background: #ff6b1a;
  box-shadow: 0 3px 1px #6026000a, inset 0 1px 0 #ffffff20;
  transition: background .2s, transform .2s;
}

#landing #hero .walkthrough-play::after {
  left: 26px;
  top: 20px;
  border-width: 11px 0 11px 17px;
}

#landing #hero .walkthrough-facade:is(:hover, :focus-visible) .walkthrough-play {
  background: #ff7d36;
  transform: scale(1.04);
}

/* The video card clips its contents; keep its keyboard focus ring inside the card. */
#landing #hero .walkthrough-facade:focus-visible { outline-offset: -5px; }

@media (max-width: 600px) {
    #landing #hero h1 {
    font-size: clamp(43px, 7.8vw, 58px);
    line-height: 1.07;
  }

  #landing #hero .hero-description {
    font-size: 13px;
    line-height: 1.7;
  }

  #landing #hero .actions {
    gap: 10px;
    margin-top: 23px;
  }

  #landing #hero .primary {
    gap: 16px;
    min-height: 46px;
    padding-inline: 17px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #landing #hero :is(.primary, .walkthrough-play) { transition: none; }
  #landing #hero .primary:hover,
  #landing #hero .walkthrough-facade:is(:hover, :focus-visible) .walkthrough-play { transform: none; }
}

/* Keep the play control above the muted live preview until the visitor requests audio. */
#landing #hero .walkthrough-embed { position: relative; }
#landing #hero .walkthrough-facade { position: absolute; inset: 0; z-index: 1; background: transparent; }
#landing #hero .walkthrough-facade.is-previewing img { opacity: 0; }
