/* /how-it-works (redesigned 2026-11-11). Layout and components are Bootstrap (see site.css for the theme); only the pieces below are custom. */

/* Balance the headline on narrower screens. */
.lead-directory #hiw-title{font-size:clamp(2.4rem,4.4vw,3.75rem);text-wrap:balance;}

/* Keep YouTube's minimum player height on narrow phones. */
.hiw-demo-player{min-height:200px;}
@media (min-width:768px){.hiw-video{align-self:start;}}
@media (min-width:992px){
  .lead-directory .lh-hero-grid-balanced{grid-template-columns:minmax(0,.81fr) minmax(0,1fr);column-gap:1rem;}
  .lead-directory #hiw-title{font-size:clamp(2.4rem,4vw,3.3rem);}
}
@media (min-width:992px) and (max-height:800px){
  .lh-hero-fill{padding-top:2rem;}
  .lh-hero-fill .lh-hero-grid{padding-bottom:1.5rem;}
}

/* Poster and play link shown until the player loads */
/* Bootstrap's .ratio > * positions the link absolutely over the 16:9 box; don't override its position. */
.hiw-play{display:block;overflow:hidden;color:#fff;text-decoration:none;background:#000;}
.hiw-play img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease,opacity .3s ease;opacity:.92;}
.hiw-play-button{position:absolute;top:50%;left:50%;width:4.5rem;height:4.5rem;margin:-2.25rem 0 0 -2.25rem;border-radius:50%;display:grid;place-items:center;
  background:#0b63e5;box-shadow:0 0 0 .5rem rgba(11,99,229,.25),0 .75rem 2rem rgba(0,0,0,.35);transition:transform .2s ease;}
.hiw-play-button svg{margin-left:.2rem;}
.hiw-play-label{position:absolute;left:1rem;bottom:1rem;padding:.35rem .75rem;border-radius:50rem;background:rgba(6,17,36,.82);font-size:.875rem;font-weight:600;}
.hiw-play:hover img,.hiw-play:focus-visible img{opacity:1;transform:scale(1.02);}
.hiw-play:hover .hiw-play-button,.hiw-play:focus-visible .hiw-play-button{transform:scale(1.08);}
.hiw-play:focus-visible{outline:3px solid #7db8ff;outline-offset:-3px;}
@media (prefers-reduced-motion:reduce){.hiw-play img,.hiw-play-button{transition:none;}}

/* Frosted tiles on the dark "How you pay" band */
.hiw-glass{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;}
.hiw-glass-label{color:#a9c7f5;}

/* The section menu floats above the page when scrolling, so showing it does not shift the content. */
.hiw-nav{position:fixed;top:0;inset-inline:0;z-index:1010;background:rgba(255,255,255,.9);-webkit-backdrop-filter:saturate(180%) blur(10px);backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--bs-border-color);box-shadow:0 .5rem 1.25rem rgba(13,27,53,.07);}
.hiw-nav-label{color:#6a7891;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;}
.hiw-nav-track{min-width:0;background:#f3f6fb;border:1px solid #e2e9f4;border-radius:50rem;padding:.25rem;position:relative;}
.hiw-nav .nav{overflow-x:auto;scrollbar-width:none;}
.hiw-nav .nav::-webkit-scrollbar{display:none;}
.hiw-nav .nav-link{white-space:nowrap;border-radius:50rem;padding:.4rem .9rem;color:#44546f;font-size:.9375rem;font-weight:600;}
.hiw-nav .nav-link:hover,.hiw-nav .nav-link:focus-visible{background:#fff;color:#0d1b35;}
.hiw-nav .nav-link.active{background:#0b63e5;color:#fff;box-shadow:0 .25rem .75rem rgba(11,99,229,.25);}
@media (min-width:1200px){.hiw-nav .nav{justify-content:space-between;}}
@media (max-width:767.98px){.hiw-nav-track::after{content:"";position:absolute;top:.25rem;bottom:.25rem;right:.25rem;width:2.5rem;border-radius:0 50rem 50rem 0;
  background:linear-gradient(90deg,rgba(243,246,251,0),#f3f6fb);pointer-events:none;}}
.hiw-page section[id]{scroll-margin-top:4rem;}

/* Icon tiles */
.hiw-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:3rem;height:3rem;border-radius:.875rem;background:var(--bs-primary-bg-subtle);color:#0b63e5;}
.hiw-icon svg{width:1.5rem;height:1.5rem;}
.hiw-icon-dark{background:rgba(125,184,255,.14);color:#7db8ff;}

/* Cards lift a little on hover */
.hiw-card{transition:transform .2s ease,box-shadow .2s ease;}
.hiw-card:hover{transform:translateY(-3px);box-shadow:0 .75rem 1.5rem rgba(13,27,53,.09)!important;}
@media (prefers-reduced-motion:reduce){.hiw-card{transition:none;}.hiw-card:hover{transform:none;}}

/* Workflow: large faded step number, joined by a line in the gutters on wide screens */
.hiw-step-no{position:absolute;top:1rem;right:1.25rem;color:#dbe7fb;font-size:2.5rem;font-weight:900;line-height:1;}
@media (min-width:992px){
  .hiw-steps{position:relative;isolation:isolate;}
  .hiw-steps::before{content:"";position:absolute;z-index:-1;top:3.5rem;left:3rem;right:3rem;height:2px;background:linear-gradient(90deg,#0b63e5,#7db8ff);}
}

/* Dark "How you pay" band */
.hiw-band{background:radial-gradient(70rem 26rem at 90% -10%,rgba(31,115,255,.35),transparent 60%),#061124;}
.hiw-band .text-white-50{color:rgba(225,236,255,.7)!important;}

/* Run timing bars */
.hiw-bar{height:.5rem;}
