/* =========================================================================
   Ask-Y (Hero child) - every homepage section below the hero is at least one
   screen tall, so a jump from the menu shows that section alone, and a short
   section's content is centred in that screen instead of leaving all the
   room at the bottom. home.js wraps each section's content in one full-width
   .sec-in box; only that box is centred, so the layout inside it stays normal
   block flow. Sections taller than the screen are unchanged. Desktop only.
   ========================================================================= */

@media (min-width:901px){
  body.home > section:not(.hero){ min-height:100vh; }
  body.home > section.has-in{ display:flex; flex-direction:column; justify-content:center; }
  body.home > section.has-in > .sec-in{ width:100%; }

  /* How it works: three equal cards hanging from the timeline, so steps whose titles and
     text differ in length still line up. Each title gets the same two-line slot (the
     paragraphs start on one line), the cards share the tallest one's height, and the text
     reads left-aligned. The step numbers sit on the cards' top edge, on the timeline. */
  #prism-how-it-works .steps{ max-width:1240px; margin-left:auto; margin-right:auto; gap:28px; align-items:stretch; }
  #prism-how-it-works .steps::before{ top:27px; left:53px; right:calc((100% - 56px) / 3 - 53px); }
  #prism-how-it-works .step{ align-items:flex-start; text-align:left; gap:14px; margin-top:27px;
    background:#fff; border:1px solid rgba(15,23,42,.08); border-radius:16px; padding:0 26px 28px;
    box-shadow:0 14px 40px rgba(15,23,42,.05); transition:border-color .22s ease, box-shadow .22s ease; }
  #prism-how-it-works .step:hover{ border-color:rgba(2,132,199,.25); box-shadow:0 18px 44px rgba(2,132,199,.10); }
  #prism-how-it-works .step-n{ margin-top:-27px; }
  #prism-how-it-works .step h3{ line-height:1.3; min-height:2.6em; }
  #prism-how-it-works .step p{ max-width:none; text-wrap:pretty; }
}
