/* Infloww install modal — match prior Win/Mac screens (no Terminal) */
.cf-backdrop{
  position:fixed;inset:0;z-index:1200;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
  opacity:0;pointer-events:none;
  transition:opacity .2s ease;
}
.cf-backdrop.on{opacity:1;pointer-events:auto}

.cf-modal{
  width:min(440px,100%);
  background:#0e0e10;
  color:#f2f2f2;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  padding:22px 22px 18px;
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.cf-head{
  display:grid;
  grid-template-columns:36px 1fr 32px;
  gap:12px;
  align-items:start;
  margin-bottom:18px;
}
.cf-logo{
  width:36px;height:36px;border-radius:10px;
  object-fit:contain;background:#1a1a1e;display:block;
}
.cf-head-text{min-width:0;padding-top:1px}
.cf-head-text h3{
  margin:0;font-size:18px;font-weight:700;
  letter-spacing:-.02em;line-height:1.2;color:#fff;
}
.cf-os{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:6px;font-size:12px;color:#a0a0a8;line-height:1;
}
.cf-os svg{width:14px;height:14px;flex:0 0 auto}
.cf-x{
  width:32px;height:32px;border:0;border-radius:8px;cursor:pointer;
  background:transparent;color:#888;font-size:20px;line-height:1;
  display:grid;place-items:center;padding:0;
}
.cf-x:hover{background:rgba(255,255,255,.06);color:#fff}

.cf-steps{display:flex;flex-direction:column;gap:16px}
.cf-step{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:12px;
  align-items:start;
}
.cf-n{
  width:28px;height:28px;border-radius:50%;
  background:#fff;
  display:grid;place-items:center;
  font-size:13px;font-weight:700;color:#111;
  box-sizing:border-box;
  flex-shrink:0;
}
.cf-steps-terminal .cf-step h4{margin-top:2px}
.cf-auto-copy{
  margin:0 0 8px;font-size:12px;line-height:1.35;color:#86efac;font-weight:600;
}
.cf-cmd-row{
  display:flex;align-items:stretch;gap:0;
  margin-top:10px;border-radius:12px;overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(165deg, rgba(255,255,255,.045) 0%, transparent 42%),
    linear-gradient(180deg, #1c1c24 0%, #121216 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 4px 20px rgba(0,0,0,.25);
}
.cf-cmd{
  flex:1;min-width:0;margin:0;padding:13px 14px;
  font:450 11.5px/1.45 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color:#dddde8;letter-spacing:.015em;
  white-space:nowrap;overflow:hidden;
  -webkit-font-smoothing:antialiased;
}
.cf-cmd.cf-cmd-trunc{
  mask-image:linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image:linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}
.cf-cmd.cf-cmd-full{
  white-space:pre-wrap;word-break:break-word;
  mask-image:none;-webkit-mask-image:none;
}
.cf-cmd .cf-t-kw{color:#c4b5fd;font-weight:500}
.cf-cmd .cf-t-flag{color:#94a3b8;font-weight:450}
.cf-cmd .cf-t-val{color:#a5b4fc;font-weight:500}
.cf-cmd .cf-t-fn{color:#7dd3fc;font-weight:500}
.cf-cmd .cf-t-str{color:#86efac;font-weight:450}
.cf-copy{
  flex:0 0 auto;border:0;border-left:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
  color:#fff;font-weight:650;font-size:13px;
  padding:0 20px;cursor:pointer;font-family:inherit;
  letter-spacing:.02em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15);
}
.cf-copy:hover{filter:brightness(1.08)}
.cf-copy.is-copied{
  background:linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}
.cf-step h4{
  margin:3px 0 6px;font-size:14px;font-weight:650;
  color:#fff;line-height:1.25;letter-spacing:-.01em;
}
.cf-step p{
  margin:0;font-size:13px;line-height:1.45;color:#a8a8b0;
}
.cf-step p b,.cf-step p strong{color:#ddd;font-weight:650}

.cf-dl-btn{
  display:flex;align-items:center;justify-content:center;
  width:100%;box-sizing:border-box;
  margin-top:12px;height:44px;padding:0 18px;border-radius:12px;
  border:0;cursor:pointer;text-decoration:none;
  background:#7c3aed;color:#fff;
  font-weight:700;font-size:14px;
  box-shadow:0 8px 24px rgba(124,58,237,.4);
}
.cf-dl-btn:hover{filter:brightness(1.08)}

.cf-keys{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  margin-top:12px;
}
.cf-key{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:28px;padding:0 10px;border-radius:8px;
  background:#1a1a1f;border:1px solid rgba(255,255,255,.12);
  font-size:12px;font-weight:600;color:#eee;
  font-family:ui-sans-serif,system-ui,sans-serif;
}
.cf-plus,.cf-arrow{
  color:#666;font-size:12px;line-height:1;padding:0 1px;
}

.cf-done{
  display:grid;grid-template-columns:28px minmax(0,1fr);
  gap:12px;align-items:start;
  margin-top:18px;padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.cf-done-ico{
  width:28px;height:28px;border-radius:50%;
  background:#22c55e;display:grid;place-items:center;
  color:#fff;font-size:14px;font-weight:800;line-height:1;
}
.cf-done strong{display:block;font-size:14px;margin:2px 0 4px;color:#fff}
.cf-done span{font-size:12px;line-height:1.4;color:#a8a8b0}

.cf-switch{
  margin-top:16px;text-align:center;font-size:12px;color:#777;
}
.cf-switch button{
  background:none;border:0;color:#a78bfa;cursor:pointer;
  font:inherit;text-decoration:underline;text-underline-offset:2px;
  padding:0 3px;
}
.cf-switch button.is-active{
  color:#fff;text-decoration:none;
  outline:1px solid rgba(255,255,255,.35);
  border-radius:4px;padding:1px 6px;
}


@keyframes cf-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.cf-backdrop.on .cf-modal{
  animation: cf-modal-in .28s cubic-bezier(.2,.8,.2,1) both;
}
.cf-dl-btn{ transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; }
.cf-dl-btn:hover{ transform: translateY(-1px); }
.cf-step .cf-n{ transition: transform .2s ease, background .2s ease; }
.cf-backdrop.on .cf-steps-terminal .cf-step:nth-child(1){ animation: cf-modal-in .32s .05s both; }
.cf-backdrop.on .cf-steps-terminal .cf-step:nth-child(2){ animation: cf-modal-in .32s .1s both; }
.cf-backdrop.on .cf-steps-terminal .cf-step:nth-child(3){ animation: cf-modal-in .32s .14s both; }
.cf-backdrop.on .cf-done{ animation: cf-modal-in .32s .18s both; }
.cf-backdrop.on .cf-switch{ animation: cf-modal-in .32s .22s both; }
@media (prefers-reduced-motion: reduce){
  .cf-backdrop.on .cf-modal,
  .cf-backdrop.on .cf-step,
  .cf-backdrop.on .cf-done,
  .cf-backdrop.on .cf-switch{ animation: none !important; }
  .cf-dl-btn:hover{ transform: none; }
}
