/* /how-it-works/ — page-how-it-works.php. Only layout glue around existing site.css components. */

/* product window: onboarding tracker (recon list scaled up) + KPI column */
.hiw-track li{align-items:center;gap:12px;padding:11px 0}
.hiw-track .ic{width:30px;height:30px;border-radius:9px;background:var(--ink);color:var(--lime);display:grid;place-items:center;flex:none}
.hiw-track .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hiw-track .tx b{font:600 14px var(--head);letter-spacing:-.01em;color:var(--ink)}
.hiw-track .tx em{font:500 12.5px var(--text);font-style:normal;color:var(--muted);font-variant-numeric:tabular-nums}
.hiw-kpis{display:grid;gap:16px;align-content:start}

/* the sequence: five step cards, 3 + 2, as an ordered list */
.hiw-steps{list-style:none;padding:0;display:flex;flex-wrap:wrap;justify-content:center;text-align:left}
.hiw-steps .step{flex:0 1 calc((100% - 36px)/3);min-width:0;display:flex;flex-direction:column}
.hiw-steps .no{flex:none}
.hiw-meta{display:block;margin-top:auto;padding-top:16px;font:500 13px var(--text);color:var(--muted)}
.hiw-steps .more{margin-top:10px}

/* what we need: slab checklist with two-line items */
.hiw-need li{align-items:flex-start}
.hiw-need li:before{margin-top:2px}
.hiw-need li b{display:block;color:#fff;font-weight:600}
.hiw-need li em{display:block;font-style:normal;font-size:14.5px;color:rgba(255,255,255,.6);margin-top:2px}

/* FAQ inline links on the ink open state */
.hiw-faq p a{text-decoration:underline;text-underline-offset:3px;color:#fff}

@media (max-width:880px){
  .hiw-steps .step{flex-basis:calc((100% - 18px)/2)}
  .hiw-need ul{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  .hiw-steps .step{flex-basis:100%}
}

/* /onboarding/ — page-onboarding.php (loads how-it-works.css + security.css). Six access tiles in 3 columns. */
@media (min-width:1061px){
  .sec-levels.onb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.onb-more{margin:32px auto 0;max-width:760px}
.onb-more a{text-decoration:underline;text-underline-offset:3px}
.onb-rule{margin:28px auto 0;max-width:760px}

/* /onboarding/ #portal-demo: the client portal player (assets/portal-demo/ln-demo.css) and the 40-second film.
   Runs straight on from the steps section above, so the band rhythm below is unchanged. */
.onb-demo{padding-top:0;scroll-margin-top:96px}
.onb-demo-sub{margin-top:14px}
.onb-demo-hint{margin:10px auto 0;font:500 13px var(--text);color:var(--muted)}
.onb-demo-player{max-width:1100px;margin:36px auto 0;text-align:left}
.onb-film{max-width:860px;margin:64px auto 0}
.onb-film h3{margin-bottom:16px}
.onb-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:var(--ink);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.onb-film figcaption{margin:12px auto 0;max-width:60ch;font-size:14.5px;color:var(--muted)}
@media (max-width:560px){.onb-film{margin-top:44px}}
