/* How it works (19 Nov 2026): the four steps on the left, the real screens playing on the right. Same look as the Recapmatic section. */
html body .how2.hw{padding:56px 0}
.hw-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px;align-items:center}
html body .hw .principle{font-size:16px;margin:12px 0 18px;max-width:46ch}
.hw-steps{list-style:none;margin:0;padding:0;display:grid;gap:0}
.hw-steps li{position:relative;padding:9px 0 9px 22px;cursor:pointer}
.hw-steps li::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:var(--line);transition:background-color .25s}
.hw-steps li.on::before{background:#273246}
.hw-steps b{display:block;font-size:15px;font-weight:600;color:var(--muted);transition:color .25s}
.hw-steps li.on b{color:var(--fg)}
.hw-steps span{display:none;margin-top:3px;font-size:15px;line-height:1.5;color:#3d4a5a;max-width:46ch}
.hw-steps li.on span{display:block}
.hw-card{position:relative;height:340px;background:#fff;border:1px solid #d4dbe3;border-radius:16px;box-shadow:0 20px 48px rgba(39,50,70,.12),0 2px 6px rgba(39,50,70,.06);overflow:hidden}
.hw-s{position:absolute;inset:0;padding:18px 20px;opacity:0;transform:translateY(8px);transition:opacity .35s ease-out,transform .45s cubic-bezier(.23,1,.32,1);pointer-events:none}
.hw-s.on{opacity:1;transform:none}
.hw-t{margin:0 0 12px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hw-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hw-form div{border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:#fff}
.hw-form small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.hw-form b{display:block;margin-top:2px;font-size:14px;font-weight:500;color:var(--fg)}
.hw-btn{display:inline-block;margin-top:16px;border-radius:10px;background:#273246;color:#fff;font-size:14px;font-weight:600;padding:10px 20px}
.hw-s:nth-child(1) .hw-btn{float:right}
.hw-mail{border:1px solid var(--line);border-radius:12px;padding:16px 18px;background:#f8f9fb}
.hw-mail small{font-size:12px;color:var(--muted)}
.hw-mail b{display:block;margin:4px 0 6px;font-size:16px;font-weight:600;color:var(--fg)}
.hw-mail p{margin:0;font-size:14px;line-height:1.5;color:#3d4a5a}
.hw-ok{display:inline-flex;align-items:center;gap:8px;margin-top:16px;border-radius:99px;padding:6px 14px;font-size:13px;font-weight:600;background:#e6f3ef;color:#0b6b57;border:1px solid #b9ddd3}
.hw-ok svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hw-scan{display:flex;align-items:center;gap:26px;padding-top:6px}
.hw-radar{position:relative;flex:none;width:170px;height:170px;border-radius:50%;background:#273246}
.hw-radar .ring{position:absolute;inset:0;border:1px solid rgba(255,255,255,.22);border-radius:50%}
.hw-radar .r2{inset:28px}.hw-radar .r3{inset:56px}
.hw-radar .sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(255,255,255,.4),rgba(255,255,255,0) 70deg,transparent 360deg)}
.hw-radar i{position:absolute;left:var(--x);top:var(--y);width:8px;height:8px;margin:-4px;border-radius:50%;background:rgba(255,255,255,.35)}
.hw-scan ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:14px;color:#3d4a5a}
.hw-scan li{position:relative;padding-left:22px}
.hw-scan li::before{content:"";position:absolute;left:0;top:3px;width:12px;height:12px;border-radius:50%;background:#273246}
.hw-offers{display:grid;gap:8px}
.hw-o{display:grid;grid-template-columns:1fr auto auto;gap:4px 14px;align-items:center;border:1px solid var(--line);border-left:3px solid #b7791f;border-radius:10px;padding:9px 12px;font-size:14px;background:#fff}
.hw-o span{color:var(--fg);font-weight:600}.hw-o b{font-weight:500;color:#3d4a5a}
.hw-pill{font-style:normal;border-radius:99px;padding:2px 10px;font-size:12px;font-weight:600;background:#eef2f8;color:#273246;border:1px solid #cfd8e6}
.hw-counter{grid-column:1/-1;font-size:13px;font-weight:500!important;color:#8a5a0b!important;display:none}
.hw-ok2{display:none}
/* the movements, only while the scene is the one on screen */
.hw-s.on .hw-form div{animation:hwIn .4s cubic-bezier(.23,1,.32,1) backwards}
.hw-s.on .hw-form div:nth-child(2){animation-delay:.12s}.hw-s.on .hw-form div:nth-child(3){animation-delay:.24s}.hw-s.on .hw-form div:nth-child(4){animation-delay:.36s}.hw-s.on .hw-form div:nth-child(5){animation-delay:.48s}.hw-s.on .hw-form div:nth-child(6){animation-delay:.6s}
.hw-s.on[data-scene="0"] .hw-btn{animation:hwPress 3.2s .9s both}
.hw-s.on[data-scene="1"] .hw-mail{animation:hwIn .45s cubic-bezier(.23,1,.32,1) backwards}
.hw-s.on[data-scene="1"] .hw-confirm{animation:hwPress 2.6s .8s both}
.hw-s .hw-ok{opacity:0}
.hw-s.on[data-scene="1"] .hw-ok{animation:hwIn .4s 1.5s cubic-bezier(.23,1,.32,1) both}
.hw-s.on .sweep{animation:hwSpin 2.6s linear infinite}
.hw-s.on .hw-radar i{animation:hwBlip 2.6s infinite}
.hw-s.on .hw-radar i:nth-of-type(2){animation-delay:.5s}.hw-s.on .hw-radar i:nth-of-type(3){animation-delay:1.1s}.hw-s.on .hw-radar i:nth-of-type(4){animation-delay:1.7s}.hw-s.on .hw-radar i:nth-of-type(5){animation-delay:.25s}
.hw-s.on .hw-scan li{animation:hwIn .4s cubic-bezier(.23,1,.32,1) backwards}
.hw-s.on .hw-scan li:nth-child(2){animation-delay:.5s}.hw-s.on .hw-scan li:nth-child(3){animation-delay:1s}
.hw-s.on .hw-o{animation:hwIn .4s cubic-bezier(.23,1,.32,1) backwards}
.hw-s.on .hw-o:nth-child(2){animation-delay:.15s}.hw-s.on .hw-o:nth-child(3){animation-delay:.3s}
.hw-s.on .hw-o2{animation:hwIn .4s .15s cubic-bezier(.23,1,.32,1) backwards,hwMark 4s 1.4s both}
.hw-s.on .hw-o2 .hw-counter{display:block;animation:hwIn .4s 1.4s both}
.hw-s.on .hw-ok2{display:inline-flex;animation:hwIn .4s 2.6s both}
@keyframes hwIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes hwPress{0%,18%{transform:none}24%{transform:scale(.94)}32%,100%{transform:none}}
@keyframes hwSpin{to{transform:rotate(360deg)}}
@keyframes hwBlip{0%,100%{background:rgba(255,255,255,.3)}40%{background:#fff;box-shadow:0 0 10px rgba(255,255,255,.7)}}
@keyframes hwMark{0%,30%{border-left-color:#b7791f}45%,100%{border-left-color:#0b6b57}}
@media (max-width:900px){.hw-grid{grid-template-columns:1fr;gap:28px}html body .how2.hw{padding:40px 0}}
@media (max-width:560px){.hw-card{height:380px}.hw-form{grid-template-columns:1fr}.hw-scan{flex-direction:column;align-items:flex-start;gap:14px}.hw-radar{width:130px;height:130px}.hw-radar .r2{inset:22px}.hw-radar .r3{inset:44px}}
@media (prefers-reduced-motion:reduce){.hw *{animation:none!important;transition:none!important}.hw-s .hw-ok{opacity:1}}
.hw-steps{min-height:236px}.hw-card{height:316px}
@media (max-width:900px){.hw-steps{min-height:0}}
