/* How It Works overlay (2026-10-19). Colours come from the host page's own variables, set on the overlay by how-it-works.js. */
.hiw-ov{position:fixed;inset:0;z-index:9500;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(3,8,12,.72);backdrop-filter:blur(3px);opacity:0;transition:opacity .35s ease}
.hiw-ov.hiw-in{opacity:1}
.hiw-card{width:min(560px,100%);max-height:92vh;overflow:auto;border-radius:16px;padding:22px 22px 16px;color:var(--hiw-text,#eef1f5);font-family:var(--t-font,'Inter',system-ui,sans-serif);
  background:radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--hiw-accent) 14%,transparent),transparent 55%),linear-gradient(165deg,var(--hiw-panel-hi,#1b2431),var(--hiw-panel,#121820));
  border:1px solid color-mix(in srgb,var(--hiw-accent) 45%,transparent);box-shadow:0 18px 50px rgba(0,0,0,.55),0 0 24px color-mix(in srgb,var(--hiw-accent) 18%,transparent);
  transform:translateY(14px) scale(.97);transition:transform .45s cubic-bezier(.2,1.3,.4,1)}
.hiw-ov.hiw-in .hiw-card{transform:none}
.hiw-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;padding:.45rem .85rem;border-left:3px solid var(--hiw-accent);border-radius:8px;
  background:linear-gradient(90deg,color-mix(in srgb,var(--hiw-accent) 18%,transparent),color-mix(in srgb,var(--hiw-accent) 4%,transparent))}
.hiw-title{font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.82rem;color:var(--hiw-accent)}
.hiw-x{all:unset;cursor:pointer;font-size:1.3rem;line-height:1;padding:2px 8px;border-radius:6px;opacity:.8}
.hiw-x:hover,.hiw-x:focus-visible{opacity:1;background:color-mix(in srgb,var(--hiw-accent) 18%,transparent)}
.hiw-steps{display:flex;flex-direction:column;gap:10px;min-height:120px}
.hiw-step{display:flex;gap:12px;align-items:flex-start;padding:.7rem .85rem;border-radius:10px;
  background:color-mix(in srgb,var(--hiw-accent) 7%,transparent);border:1px solid color-mix(in srgb,var(--hiw-accent) 20%,transparent);
  opacity:0;transform:translateX(-46px) skewX(-9deg)}
.hiw-step.hiw-go{animation:hiwZip .55s cubic-bezier(.2,1.35,.35,1) forwards;animation-delay:calc(var(--i,0)*110ms)}
.hiw-steps.hiw-out .hiw-step{animation:hiwOut .28s ease-in forwards;animation-delay:calc(var(--i,0)*45ms)}
@keyframes hiwZip{0%{opacity:0;transform:translateX(-46px) skewX(-9deg)}60%{opacity:1;transform:translateX(7px) skewX(2deg)}100%{opacity:1;transform:none}}
@keyframes hiwOut{from{opacity:1;transform:none}to{opacity:0;transform:translateX(34px) skewX(8deg)}}
.hiw-n{flex:none;min-width:2.1em;text-align:center;font-weight:800;color:var(--hiw-accent);font-size:.95rem;padding-top:1px}
.hiw-t{font-size:.92rem;line-height:1.5}
.hiw-t b{color:#f5c542}
.hiw-t ul{margin:.35rem 0 0 1.1rem;padding:0}
.hiw-mock{margin-top:.55rem;padding:.6rem .75rem;border-radius:10px;border:1px dashed var(--hiw-accent);background:rgba(0,0,0,.25);font-size:.82rem;line-height:1.55}
.hiw-mock em{color:var(--hiw-accent);font-style:normal;font-weight:700}
.hiw-foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:10px}
.hiw-dots{font-size:.72rem;letter-spacing:.2em;opacity:.7}
.hiw-btn{all:unset;cursor:pointer;box-sizing:border-box;padding:.5rem 1.1rem;border-radius:999px;font-weight:800;font-size:.85rem;color:#06222a;background:var(--hiw-accent);transition:transform .15s ease,filter .15s ease}
.hiw-btn:hover,.hiw-btn:focus-visible{transform:translateX(3px);filter:brightness(1.12)}
@media (prefers-reduced-motion:reduce){.hiw-step{opacity:1;transform:none}.hiw-step.hiw-go,.hiw-steps.hiw-out .hiw-step{animation:none}.hiw-card{transition:none}}
/* RAVE START HERE MOMENT (2026-10-24): solid black veil, slider starts right under the hanging tile, red X pill in tile one. html body prefix beats the !important rules injected by hiw-fx.js */
.hiw-veil{position:fixed;inset:0;z-index:9400;background:#000;opacity:0;transition:opacity .5s ease}
.hiw-veil.hiw-veil-in{opacity:1}
html body .hiw-ov{background:transparent!important;align-items:flex-start!important;padding:calc(env(safe-area-inset-top,0px) + 88px) 12px 16px!important}
html body .hiw-card{max-height:calc(100vh - 108px)!important;max-height:calc(100dvh - 108px)!important}
html body .hiw-x{all:unset;box-sizing:border-box;cursor:pointer;display:grid;place-items:center;flex:0 0 auto;width:4.4rem;height:2.6rem;border-radius:999px;border:1.5px solid #fff;background:linear-gradient(180deg,rgba(232,57,92,.4),rgba(232,57,92,.16));color:#fff!important;font-family:'Rajdhani','Anton',sans-serif;font-weight:700;font-size:1.5rem!important;line-height:1;padding:0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 2px 0 rgba(0,0,0,.5);opacity:1}
html body .hiw-x:hover,html body .hiw-x:focus-visible{background:linear-gradient(180deg,rgba(232,57,92,.55),rgba(232,57,92,.26))}
@media (prefers-reduced-motion:reduce){.hiw-veil{transition:none}}
/* OVERLAY REWRITE (2026-10-24): one big step tile at a time under the hanging tile, Back / Next with dots, nothing scrolls. Tile look and fly-in animation come from hiw-fx.js. */
html body .hiw-card{width:min(480px,100%)!important;max-height:none!important;overflow:visible!important;gap:12px!important}
html body .hiw-card .hiw-step{min-height:clamp(170px,32vh,300px);min-height:clamp(170px,32dvh,300px);align-items:center;padding:1.4rem 1.5rem!important}
html body .hiw-card .hiw-step .hiw-t{font-size:clamp(1.15rem,5vw,1.55rem)!important;line-height:1.55!important}
html body .hiw-card .hiw-step .hiw-n{font-size:1.15rem}
html body .hiw-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body .hiw-dots{font-size:.85rem;letter-spacing:.35em;opacity:.9}
.hiw-nav{display:flex;align-items:center;gap:10px}
html body .hiw-btn.hiw-back{background:transparent!important}
@media (max-width:380px){html body .hiw-btn{padding:.6rem 1rem!important}html body .hiw-card .hiw-step{padding:1.1rem 1.1rem!important}}
html body .hiw-card.hiw-tight .hiw-step{min-height:0}
html body .hiw-card.hiw-tight .hiw-step .hiw-t{font-size:clamp(.92rem,3.8vw,1.08rem)!important;line-height:1.45!important}
html body .hiw-card.hiw-tight .hiw-step{padding:.8rem 1rem!important}
/* dashboards: their sticky hang-bar floats above the black veil and the slider starts under it */
html body:has(.hang-bar) .hiw-ov{padding-top:calc(env(safe-area-inset-top,0px) + 66px)!important}
html body:has(.hiw-veil) .hang-bar{z-index:9450!important}

/* START HERE EXTRAS (2026-10-27): join-for-free spring ripple, and the last slide's Login glimmer + shared bob */
.hiw-pop{position:relative;display:inline-block;cursor:pointer;overflow:visible}
.hiw-pop::after{content:"";position:absolute;left:var(--rx,50%);top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;border:2px solid #f5c542;opacity:0;pointer-events:none}
.hiw-popping{animation:hiwSpring .7s cubic-bezier(.3,1.7,.4,1) both}
.hiw-pop.hiw-popping::after{animation:hiwRing .7s cubic-bezier(.22,.61,.36,1) both}
@keyframes hiwSpring{0%{transform:scale(1)}18%{transform:scale(.86,1.12)}42%{transform:scale(1.16,.9)}66%{transform:scale(.97,1.04)}100%{transform:scale(1)}}
@keyframes hiwRing{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(9)}}
.hiw-login-watch{position:relative;overflow:hidden}
.hiw-login-watch::after{content:"";position:absolute;top:0;bottom:0;left:0;width:55%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.35) 50%,rgba(255,255,255,0));transform:translateX(-140%) skewX(-18deg);opacity:0;pointer-events:none;animation:hg-wind 2s ease-in-out infinite}
.hiw-ov.hiw-watching .hiw-login-watch,#waov-hang .go.voice.hiw-watching{animation:hiwWeave 3.2s ease-in-out infinite}
@keyframes hiwWeave{0%,100%{transform:translate(0,0) rotate(0);color:#f5c542}25%{transform:translate(-2px,-3px) rotate(-1deg)}50%{transform:translate(0,-4px) rotate(0);color:#fff}75%{transform:translate(2px,-2px) rotate(1deg)}}
@media (prefers-reduced-motion:reduce){.hiw-popping,.hiw-pop.hiw-popping::after,.hiw-login-watch::after{animation:none}.hiw-ov.hiw-watching .hiw-login-watch,#waov-hang .go.voice.hiw-watching{animation:none;color:#fff}}

/* TWO COLUMN ROWS (2026-10-27): field word on the left, domain or action on the right (Start Here slides 5 and 6) */
.hiw-grid{display:grid;grid-template-columns:minmax(4.2rem,.65fr) 1.7fr;gap:.55rem 1rem;align-items:center;margin-top:.6rem}
.hiw-grid .hiw-f{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.78em;opacity:.8;text-align:left}
.hiw-grid .hiw-d{min-width:0;overflow-wrap:anywhere}

/* SMOOTHNESS (2026-10-27): while the solid black veil covers the page, everything behind it stops animating so the cards and the hanging tile get the whole frame budget. Nothing visible changes; it all resumes the moment the cards close. */
html.hiw-open body *:not(.hiw-ov):not(.hiw-ov *):not(.hiw-veil):not(#waov-hang):not(#waov-hang *):not(.hang-bar):not(.hang-bar *),
html.hiw-open body *:not(.hiw-ov):not(.hiw-ov *):not(#waov-hang):not(#waov-hang *)::before,
html.hiw-open body *:not(.hiw-ov):not(.hiw-ov *):not(#waov-hang):not(#waov-hang *)::after{animation-play-state:paused!important}
/* cards move on their own compositor layer */
.hiw-card .hiw-step,.hiw-head{backface-visibility:hidden;-webkit-backface-visibility:hidden}

/* PAYMENT BADGES (2026-10-27): drawn in code, nothing to load */
.hiw-pay{display:flex;gap:.6rem;align-items:center;margin-top:.5rem}
.hiw-pay span{display:inline-block;padding:.22em .7em;border-radius:999px;font:800 .8em/1.2 'Rajdhani',Inter,sans-serif;letter-spacing:.02em;text-shadow:none}
.hiw-pp{background:#fff;font-style:italic}.hiw-pp i{font-style:italic}.hiw-pp i:first-child{color:#003087}.hiw-pp i:last-child{color:#009cde}
.hiw-ca{background:#00d632;color:#04210b;letter-spacing:.04em}

.hiw-perk{display:flex;flex-direction:column;gap:clamp(.9rem,3.2vw,1.5rem)}
.hiw-perk .hiw-tear{margin:.15rem 0}
.hiw-perk{line-height:1.7}
