/* NABWORK 4.2 — generous, legible onboarding panel.
 * Scoped strictly to the home page's "How NABWORK works" section.
 * Preserve existing event handlers, URLs, state and all financial safeguards.
 */
#homeView .nw-how-section{padding-bottom:clamp(62px,6vw,96px)}
#homeView .nw-how-shell{
  padding:clamp(34px,4.6vw,65px) clamp(24px,4.3vw,62px) clamp(32px,4.2vw,56px)!important;
  border-radius:clamp(22px,2.4vw,34px);
}
#homeView .nw-how-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:clamp(20px,3vw,46px);
  margin-bottom:clamp(32px,3.5vw,51px);
}
#homeView .nw-how-intro{
  min-width:0;
  max-width:760px;
}
#homeView .nw-how-eyebrow{
  margin:0 0 15px;
  color:#72ebce;
  font-size:12px;
  font-weight:850;
  letter-spacing:.055em;
  line-height:1.5;
}
#homeView .nw-how-title{
  color:#fff;
  font-size:clamp(1.65rem,2.55vw,2.5rem);
  line-height:1.34;
  font-weight:900;
  letter-spacing:-.035em;
  text-wrap:balance;
  margin:0;
}
#homeView .nw-how-description{
  max-width:680px;
  color:#d4e4f0;
  font-size:clamp(.93rem,1.08vw,1.05rem);
  line-height:1.9;
  margin:18px 0 0;
  text-wrap:pretty;
}
#homeView .nw-how-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-height:45px;
  margin-top:12px;
  padding:10px 17px;
  border:1px solid rgba(118,230,223,.29);
  border-radius:13px;
  background:rgba(11,181,182,.09);
  color:#8df5da;
  text-decoration:none;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
  transition:background .2s,border-color .2s;
}
#homeView .nw-how-more:hover,
#homeView .nw-how-more:focus-visible{
  background:rgba(18,205,190,.18);
  border-color:rgba(151,242,224,.63);
  color:#fff;
}
#homeView .nw-how-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(18px,2vw,28px);
}
#homeView .nw-how-card{
  min-width:0;
  min-height:242px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:clamp(23px,2.2vw,32px);
  border:1px solid rgba(170,226,235,.22);
  border-radius:21px;
  background:linear-gradient(155deg,rgba(255,255,255,.09),rgba(255,255,255,.04));
}
#homeView .nw-how-card .nab-step-number{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  margin:0 0 24px;
  border-radius:13px;
  font-weight:900;
  font-size:14px;
  color:#9cffe6;
  background:rgba(34,175,190,.20);
  border:1px solid rgba(105,231,220,.20);
}
#homeView .nw-how-card-title{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(1.02rem,1.18vw,1.2rem);
  line-height:1.52;
  font-weight:850;
  letter-spacing:-.015em;
  text-wrap:pretty;
}
#homeView .nw-how-card-description{
  margin:0;
  color:#d0e2ee;
  font-size:clamp(.89rem,1vw,.98rem);
  line-height:1.85;
  overflow-wrap:anywhere;
}
#homeView .nw-how-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  border-top:1px solid rgba(158,223,231,.18);
  margin-top:clamp(32px,3.2vw,47px);
  padding-top:clamp(23px,2.4vw,33px);
}
#homeView .nw-how-actions button{
  min-height:50px;
  padding:12px 24px;
  border-radius:13px;
  font-size:14px;
  line-height:1.35;
  font-weight:850;
  transition:background .2s,transform .2s,box-shadow .2s;
}
#homeView .nw-how-action-primary{
  background:linear-gradient(105deg,#076b95,#087963);
  border:1px solid rgba(131,240,223,.30);
  color:#fff;
  box-shadow:0 9px 25px rgba(0,115,128,.20);
}
#homeView .nw-how-action-secondary{
  background:rgba(255,255,255,.065);
  border:1px solid rgba(185,226,233,.40);
  color:#fff;
}
#homeView .nw-how-actions button:hover{
  transform:translateY(-2px);
}
#homeView .nw-how-action-primary:hover{
  background:linear-gradient(105deg,#087da9,#0a8d75);
  box-shadow:0 13px 26px rgba(0,115,128,.26);
}
#homeView .nw-how-action-secondary:hover{
  background:rgba(255,255,255,.13);
}
#homeView .nw-how-section :is(button,a):focus-visible{
  outline:3px solid #7debd6;
  outline-offset:4px;
}
@media(max-width:1060px){
  #homeView .nw-how-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  #homeView .nw-how-card:last-child{grid-column:1/-1}
  #homeView .nw-how-card{min-height:219px}
}
@media(max-width:720px){
  #homeView .nw-how-shell{padding:32px 23px 30px!important}
  #homeView .nw-how-head{
    flex-direction:column;
    align-items:stretch;
    gap:17px;
    margin-bottom:29px;
  }
  #homeView .nw-how-title{font-size:clamp(1.58rem,5.4vw,2rem)}
  #homeView .nw-how-description{margin-top:15px;line-height:1.8}
  #homeView .nw-how-more{align-self:flex-start;margin-top:0}
  #homeView .nw-how-steps{grid-template-columns:minmax(0,1fr);gap:15px}
  #homeView .nw-how-card:last-child{grid-column:auto}
  #homeView .nw-how-card{min-height:0;padding:23px}
  #homeView .nw-how-card .nab-step-number{margin-bottom:18px}
  #homeView .nw-how-actions{margin-top:26px;padding-top:24px}
}
@media(max-width:390px){
  #homeView .nw-how-shell{padding:26px 18px 26px!important}
  #homeView .nw-how-actions{gap:11px}
  #homeView .nw-how-actions button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  #homeView .nw-how-section :is(.nw-how-more,.nw-how-actions button){transition:none}
  #homeView .nw-how-actions button:hover{transform:none}
}

/* NABWORK 5.1 — clearer onboarding hierarchy, full keyboard and touch support.
 * Pure presentation for #homeView; no data, checkout or account-state change.
 */
#homeView .nw-how-section{
  padding-bottom:clamp(64px,7vw,100px);
}
#homeView .nw-how-shell{
  background:
    radial-gradient(ellipse 55% 95% at 105% -10%,rgba(20,153,209,.18),transparent 80%),
    radial-gradient(ellipse 45% 80% at 0% 100%,rgba(16,174,150,.10),transparent 82%),
    linear-gradient(118deg,#0a1933,#102b48 72%,#0b3649)!important;
  border-color:rgba(120,200,222,.24);
  box-shadow:0 25px 65px rgba(11,37,76,.14);
}
#homeView .nw-how-eyebrow{
  color:#8af3e2;
  letter-spacing:.068em;
}
#homeView .nw-how-title{
  max-width:760px;
  line-height:1.32;
  text-wrap:balance;
  letter-spacing:-.027em;
}
#homeView .nw-how-description{
  max-width:670px;
  color:#d9e9f6;
  line-height:1.82;
}
#homeView .nw-how-steps{
  gap:clamp(16px,1.8vw,25px);
}
#homeView .nw-how-card{
  border-color:rgba(142,209,231,.22);
  background:linear-gradient(157deg,rgba(255,255,255,.084),rgba(255,255,255,.031));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055);
  border-radius:19px;
  transition:border-color .2s,background .2s,transform .2s;
}
#homeView .nw-how-card:hover{
  border-color:rgba(114,214,239,.39);
  background:rgba(255,255,255,.075);
  transform:translateY(-2px);
}
#homeView .nw-how-card .nab-step-number{
  background:rgba(13,127,181,.22);
  border-color:rgba(115,208,231,.30);
  color:#a4f2ff;
}
#homeView .nw-how-card-title{
  line-height:1.5;
  letter-spacing:-.014em;
}
#homeView .nw-how-card-description{
  max-width:45ch;
  color:#d0e3f2;
  line-height:1.83;
}
#homeView .nw-how-actions{gap:12px}
#homeView .nw-how-action-primary{
  background:linear-gradient(112deg,#0870ba,#098eaf);
  border-color:rgba(139,220,252,.37);
  box-shadow:0 10px 26px rgba(0,95,174,.19);
}
#homeView .nw-how-action-primary:hover{
  background:linear-gradient(110deg,#0a81c5,#09a2bd);
}
#homeView .nw-how-action-secondary{
  border-color:rgba(174,217,238,.42);
  background:rgba(255,255,255,.075);
}
#homeView .nw-how-section :is(button,a):focus-visible{
  outline:3px solid #7fdcfa;
  outline-offset:4px;
}
@media(max-width:720px){
  #homeView .nw-how-shell{
    border-radius:22px;
    padding:31px 22px 29px!important;
  }
  #homeView .nw-how-steps{gap:13px}
  #homeView .nw-how-card{
    padding:21px;
    border-radius:16px;
  }
  #homeView .nw-how-card .nab-step-number{
    margin-bottom:17px;
  }
  #homeView .nw-how-card-description{max-width:100%}
  #homeView .nw-how-actions{gap:11px}
  #homeView .nw-how-actions button{
    min-height:48px;
    line-height:1.5;
  }
}
@media(max-width:390px){
  #homeView .nw-how-shell{padding:26px 18px!important}
  #homeView .nw-how-title{font-size:1.61rem}
  #homeView .nw-how-description{line-height:1.78}
  #homeView .nw-how-card{padding:19px}
}
@media(prefers-reduced-motion:reduce){
  #homeView .nw-how-card{transition:none!important}
  #homeView .nw-how-card:hover{transform:none!important}
}
