/* Three-step onboarding: preserve NowYouSee typography, colors and wording.
   All rules are scoped to #how; the accepted hero remains untouched. */
#how.how--refined{padding-block:84px 96px}
#how .sec-head{max-width:800px}
#how .sec-head h2{font-size:clamp(30px,3.35vw,46px);line-height:1.15;letter-spacing:-.025em;max-width:22ch;margin-inline:auto}
#how .sec-head p{font-size:17px;line-height:1.6;max-width:60ch;margin:20px auto 0}
#how .eyebrow{font-size:11px;letter-spacing:.18em}
#how .steps{position:relative;isolation:isolate;gap:24px;margin-top:42px;list-style:none}
#how .steps::before{content:'';position:absolute;top:44px;left:44px;right:44px;height:1px;background:#3dd68c4d;z-index:0;pointer-events:none}
#how .step{z-index:1;overflow:visible;padding:0 24px 24px;border-radius:20px;background:linear-gradient(165deg,#141b24,#0e1117 72%);border:1px solid #293342;box-shadow:0 12px 28px #0002;transition:border-color .2s,transform .2s;min-width:0}
#how .step::after{content:'';position:absolute;inset:auto;top:41px;right:-16px;width:6px;height:6px;background:none;border-top:1px solid #3dd68c99;border-right:1px solid #3dd68c99;transform:rotate(45deg);opacity:1;pointer-events:none}
#how .step:last-child::after{display:none}
#how .snum{position:absolute;left:22px;top:22px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid #3dd68c5c;background:#0b1714;color:var(--primary);-webkit-text-fill-color:currentColor;font-size:22px;line-height:1;letter-spacing:-.02em}
#how .step-visual{position:relative;height:136px;margin:0 -24px 24px;border-radius:20px 20px 0 0;overflow:hidden;border-bottom:1px solid #ffffff07;background:linear-gradient(120deg,#3dd68c05,transparent 70%);flex-shrink:0}
#how .step-visual svg{display:block;position:absolute;right:8px;top:6px;width:74%;max-width:248px;height:124px}
#how .step h3{font-size:19px;line-height:1.35;letter-spacing:-.015em;margin:0 0 12px;text-wrap:balance}
#how .step p{font-size:15px;line-height:1.7;margin:0;max-width:36ch;color:#acb7c6;flex:1}
#how .step .act{margin-top:24px;display:flex;min-width:0}
#how .step .act>:is(a,button){display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:11px 13px;border-radius:11px;border:1px solid #344252;font-size:14px;line-height:1.5;gap:10px;transition:background .18s,border-color .18s;color:#e2e8f0}
#how .step:first-child .tg{background:var(--primary);color:#07170f;border-color:var(--primary);font-weight:700}
#how .step:last-child .tg{background:#3dd68c08;border-color:#3dd68c40;color:var(--primary)}
#how .step .act>.codetag{background:#080a0f;font:400 13px/1.5 var(--m);justify-content:space-between;white-space:normal;overflow-wrap:anywhere;text-align:left}
#how .step .codetag .mono{color:var(--primary);font-size:16px;flex-shrink:0}
#how .step:focus-within{border-color:#3dd68c80}
@media(hover:hover) and (pointer:fine){
  #how .step:hover{transform:translateY(-2px);border-color:#3dd68c70}
  #how .step .tg:hover{gap:10px;border-color:var(--primary);background:#3dd68c14}
  #how .step:first-child .tg:hover{background:#22c55e;border-color:#22c55e}
  #how .step .codetag:hover{background:#141b24;border-color:#627384}
}
@media(max-width:1100px) and (min-width:841px){
  #how .steps{gap:20px}
  #how .step{padding-inline:20px}
  #how .step-visual{margin-inline:-20px}
  #how .snum{left:18px;width:36px;height:36px;font-size:20px;top:24px}
  #how .step h3{font-size:18px;min-height:2.7em}
  #how .step .act>:is(a,button){font-size:13px;padding-inline:10px}
  #how .step::after{right:-13px}
}
@media(max-width:840px){
  #how.how--refined{padding-block:64px 76px}
  #how .steps{grid-template-columns:1fr;max-width:600px;margin-inline:auto;gap:20px}
  #how .steps::before{left:43px;right:auto;top:44px;bottom:44px;width:1px;height:auto}
  #how .step{padding:22px 24px 22px 86px;min-height:210px}
  #how .snum{left:22px;top:22px}
  #how .step-visual{position:absolute;top:5px;right:12px;left:auto;width:180px;height:100px;margin:0;border:0;background:none;border-radius:0;pointer-events:none;opacity:.85}
  #how .step-visual svg{width:180px;height:96px;top:0;right:0}
  #how .step h3{min-height:0;max-width:calc(100% - 148px);font-size:19px;margin-bottom:14px;min-height:70px}
  #how .step p{max-width:48ch}
  #how .step .act{margin-top:20px;max-width:340px}
  #how .step::after{top:auto;bottom:-14px;left:40px;right:auto;transform:rotate(135deg)}
}
@media(max-width:600px){
  #how.how--refined{padding-block:54px 64px}
  #how .sec-head h2{font-size:clamp(28px,7.7vw,36px);line-height:1.18;max-width:20ch}
  #how .sec-head p{font-size:15px;line-height:1.7;margin-top:18px;max-width:34ch}
  #how .eyebrow{font-size:11px;letter-spacing:.12em}
  #how .steps{margin-top:30px;gap:18px}
  #how .step{padding:0 20px 20px;border-radius:18px}
  #how .snum{top:18px;left:18px;width:36px;height:36px;font-size:20px;border-radius:10px}
  #how .step-visual{position:relative;top:auto;right:auto;width:auto;height:104px;margin:0 -20px 20px;border-bottom:1px solid #ffffff07;background:linear-gradient(120deg,#3dd68c05,transparent 70%);border-radius:18px 18px 0 0;opacity:1}
  #how .step-visual svg{width:70%;max-width:230px;height:108px;right:10px;top:0}
  #how .step h3{min-height:0;max-width:none;font-size:18px;line-height:1.4;margin-bottom:10px}
  #how .step p{font-size:15px;line-height:1.65;max-width:40ch}
  #how .step .act{margin-top:20px;max-width:none}
  #how .step .act>:is(a,button){min-height:48px;font-size:13px}
  #how .steps::before{left:36px}
  #how .step::after{left:33px;bottom:-12px}
}
@media(prefers-reduced-motion:reduce){#how .step,#how .step .act>:is(a,button){transition:none!important}#how .step:hover{transform:none}}
