.page{max-width:760px;padding:34px 30px 60px}
h1{margin:0 0 2px}
p{color:#8b93a7;line-height:1.55;font-size:14px}
.head{margin-bottom:18px}
a{color:#ff7a90}

/* status + progress */
.statusbar{display:flex;align-items:center;gap:11px;background:#161a22;border:1px solid #262c38;
           border-radius:14px;padding:15px 20px;margin-bottom:14px;font-size:14px;color:#c7cdda}
.dot{width:11px;height:11px;border-radius:50%;background:#8b93a7;flex:none}
.dot.on{background:#3ddc97;box-shadow:0 0 8px #3ddc97}
.dot.off{background:#ff5d6c}
.dot.idle{background:#8b93a7}

.progress{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.progress .bar{flex:1;height:4px;background:#161a22;border-radius:3px;overflow:hidden}
.progress .bar span{display:block;height:100%;width:0;border-radius:3px;
                    background:linear-gradient(90deg,#ff4d6d,#ff7a90);transition:width .35s ease}
.ptext{font-size:12px;color:#5c6474;font-weight:600;flex:none}

/* steps */
.step{display:flex;gap:16px;background:#161a22;border:1px solid #262c38;border-radius:14px;
      padding:22px 24px;margin-bottom:14px;transition:opacity .2s,border-color .2s}
.step .num{width:30px;height:30px;border-radius:50%;background:#20262f;color:#8b93a7;
           display:grid;place-items:center;font-weight:700;font-size:14px;flex:none}
.step .body{flex:1;min-width:0}
.step h2{font-size:17px;margin:2px 0 8px;color:#e6e9ef;text-transform:none;letter-spacing:0;
         display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* the step you are on */
.step.is-now{border-left:3px solid #ff4d6d}
.step.is-now .num{background:#ff4d6d;color:#14060a}

/* steps you have finished — collapsed out of the way, not shouting */
.step.is-done{opacity:.55}
.step.is-done .num{background:rgba(61,220,151,.16);color:#3ddc97;font-size:0}
.step.is-done .num::after{content:'✓';font-size:15px}
.step.is-done .dlgrid,.step.is-done .obs,.step.is-done .tip,
.step.is-done .waiting,.step.is-done .help{display:none}
.step.is-done p{margin-bottom:0}
.step:hover.is-done{opacity:.9}

/* steps not reached yet */
.step.is-later{opacity:.45}

.done-tag{display:none;font-size:10px;letter-spacing:.07em;text-transform:uppercase;font-weight:700;
          color:#3ddc97;background:rgba(61,220,151,.13);border-radius:4px;padding:2px 7px}
.step.is-done .done-tag{display:inline-block}

/* downloads */
.dlgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:14px 0 4px}
.dlbtn{display:flex;flex-direction:column;gap:2px;background:#1c212b;border:1px solid #262c38;
       border-radius:11px;padding:13px 15px;text-decoration:none;color:#e6e9ef}
.dlbtn:hover{border-color:#ff4d6d}
.dlbtn .t{font-weight:650;font-size:14.5px}
.dlbtn .s{font-size:11.5px;color:#8b93a7}

/* key + url rows */
.keyrow{display:flex;gap:8px;align-items:center;background:#0d0f14;border:1px solid #262c38;
        border-radius:10px;padding:10px 12px;margin:12px 0 6px}
.keyrow code{font-family:var(--mono);font-size:12.5px;color:#e6e9ef;overflow-x:auto;
             white-space:nowrap;flex:1}
.ghost{background:#1c212b;border:1px solid #262c38;color:#c7cdda;padding:7px 13px;font-size:12.5px;
       border-radius:8px;cursor:pointer;flex:none}
.ghost:hover{border-color:#ff4d6d;color:#fff}
.ghost.ok{background:rgba(61,220,151,.14);border-color:#3ddc97;color:#3ddc97}

.muted{color:#5c6474;font-size:12.5px;line-height:1.55}

/* waiting spinner */
.waiting{display:flex;align-items:center;gap:9px;margin-top:14px;font-size:13px;color:#8b93a7;
         background:#1c212b;border:1px solid #262c38;border-radius:10px;padding:11px 14px}
.spin{width:13px;height:13px;border-radius:50%;border:2px solid #333a48;border-top-color:#ff4d6d;
      animation:lcpSpin .8s linear infinite;flex:none}
@keyframes lcpSpin{to{transform:rotate(360deg)}}

/* tip box */
.tip{background:rgba(255,77,109,.07);border:1px solid rgba(255,77,109,.28);border-radius:10px;
     padding:13px 15px;margin-top:14px;font-size:13.5px;color:#c7cdda;line-height:1.55}
.tip b{color:#ff7a90}

/* OBS steps */
.obs{margin:14px 0 10px;padding-left:20px;color:#c7cdda;font-size:13.5px;line-height:1.9}
.obs b{color:#e6e9ef}

/* collapsible help */
.help{margin-top:14px;border-top:1px solid #20262f;padding-top:12px}
.help summary{cursor:pointer;font-size:13px;color:#8b93a7;font-weight:600;list-style:none}
.help summary::-webkit-details-marker{display:none}
.help summary::before{content:'▸ ';color:#5c6474}
.help[open] summary::before{content:'▾ '}
.help summary:hover{color:#e6e9ef}
.help p{font-size:13px;margin:10px 0 0}
.help b{color:#c7cdda}

/* cta */
.cta{display:inline-block;background:#ff4d6d;color:#14060a;font-weight:650;font-size:14px;
     padding:10px 18px;border-radius:10px;text-decoration:none;margin-top:14px}
.cta:hover{filter:brightness(1.08)}

/* all done */
.alldone{display:flex;gap:16px;align-items:flex-start;background:#161a22;border:1px solid #262c38;
         border-left:3px solid #3ddc97;border-radius:14px;padding:22px 24px;margin-top:6px}
.tick-big{width:36px;height:36px;border-radius:50%;background:rgba(61,220,151,.14);color:#3ddc97;
          display:grid;place-items:center;font-size:18px;font-weight:700;flex:none}
.alldone h2{font-size:17px;margin:0 0 3px;color:#e6e9ef;text-transform:none;letter-spacing:0}
.alldone p{margin:0}

.linkbtn{background:none;border:0;color:#ff7a90;font-size:12.5px;cursor:pointer;padding:0;
         text-decoration:underline;font-family:inherit}

@media(max-width:600px){
  .page{padding:24px 18px 48px}
  .step{padding:18px 16px;gap:12px}
}

/* step 4 confirmation */
.confirm{display:flex;align-items:center;gap:10px;margin-top:18px;padding-top:14px;
         border-top:1px solid #20262f;font-size:13.5px;color:#c7cdda;cursor:pointer}
.confirm input{width:16px;height:16px;accent-color:#ff4d6d;cursor:pointer;flex:none}
.confirm:hover{color:#e6e9ef}

/* sub-heading inside a step */
.sub-h{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#8b93a7;
       font-weight:700;margin:16px 0 2px}

/* The hidden attribute must beat any display rule above.
   Without this, .alldone{display:flex} etc. override [hidden]{display:none}
   from the browser default stylesheet, and hidden elements stay visible. */
[hidden]{display:none !important}
